]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/grid.cpp
fixed GTK critical warning when closing MDI child (patch 529369)
[wxWidgets.git] / wxPython / src / mac / grid.cpp
1 /*
2 * FILE : src/mac/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 // TODO: unicode fix
177 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
178 wxString CBNAME(int a, int b) { \
179 wxPyBeginBlockThreads(); \
180 wxString rval; \
181 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
182 PyObject* ro; \
183 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
184 if (ro) { \
185 PyObject* str = PyObject_Str(ro); \
186 rval = PyString_AsString(str); \
187 Py_DECREF(ro); Py_DECREF(str); \
188 } \
189 } \
190 wxPyEndBlockThreads(); \
191 return rval; \
192 }
193
194
195 // TODO: unicode fix
196 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
197 void CBNAME(int a, int b, const wxString& c) { \
198 wxPyBeginBlockThreads(); \
199 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
200 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str()));\
201 wxPyEndBlockThreads(); \
202 }
203
204 // TODO: unicode fix
205 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
206 wxString CBNAME(int a, int b) { \
207 bool found; \
208 wxPyBeginBlockThreads(); \
209 wxString rval; \
210 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
211 PyObject* ro; \
212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
213 if (ro) { \
214 PyObject* str = PyObject_Str(ro); \
215 rval = PyString_AsString(str); \
216 Py_DECREF(ro); Py_DECREF(str); \
217 } \
218 } \
219 wxPyEndBlockThreads(); \
220 if (! found) \
221 rval = PCLASS::CBNAME(a, b); \
222 return rval; \
223 } \
224 wxString base_##CBNAME(int a, int b) { \
225 return PCLASS::CBNAME(a, b); \
226 }
227
228
229 // TODO: unicode fix
230 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
231 bool CBNAME(int a, int b, const wxString& c) { \
232 bool rval = 0; \
233 bool found; \
234 wxPyBeginBlockThreads(); \
235 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
236 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str()));\
237 wxPyEndBlockThreads(); \
238 if (! found) \
239 rval = PCLASS::CBNAME(a,b,c); \
240 return rval; \
241 } \
242 bool base_##CBNAME(int a, int b, const wxString& c) { \
243 return PCLASS::CBNAME(a,b,c); \
244 }
245
246
247
248
249 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
250 long CBNAME(int a, int b) { \
251 long rval; \
252 bool found; \
253 wxPyBeginBlockThreads(); \
254 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
255 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
256 wxPyEndBlockThreads(); \
257 if (! found) \
258 rval = PCLASS::CBNAME(a,b); \
259 return rval; \
260 } \
261 long base_##CBNAME(int a, int b) { \
262 return PCLASS::CBNAME(a,b); \
263 }
264
265
266
267 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
268 bool CBNAME(int a, int b) { \
269 bool rval = 0; \
270 bool found; \
271 wxPyBeginBlockThreads(); \
272 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
273 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
274 wxPyEndBlockThreads(); \
275 if (! found) \
276 rval = PCLASS::CBNAME(a,b); \
277 return rval; \
278 } \
279 bool base_##CBNAME(int a, int b) { \
280 return PCLASS::CBNAME(a,b); \
281 }
282
283
284
285 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
286 double CBNAME(int a, int b) { \
287 bool found; \
288 wxPyBeginBlockThreads(); \
289 double rval; \
290 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
291 PyObject* ro; \
292 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
293 if (ro) { \
294 PyObject* str = PyObject_Str(ro); \
295 rval = PyFloat_AsDouble(str); \
296 Py_DECREF(ro); Py_DECREF(str); \
297 } \
298 } \
299 wxPyEndBlockThreads(); \
300 if (! found) \
301 rval = PCLASS::CBNAME(a, b); \
302 return rval; \
303 } \
304 double base_##CBNAME(int a, int b) { \
305 return PCLASS::CBNAME(a, b); \
306 }
307
308
309
310 #define PYCALLBACK__(PCLASS, CBNAME) \
311 void CBNAME() { \
312 bool found; \
313 wxPyBeginBlockThreads(); \
314 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
315 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
316 wxPyEndBlockThreads(); \
317 if (! found) \
318 PCLASS::CBNAME(); \
319 } \
320 void base_##CBNAME() { \
321 PCLASS::CBNAME(); \
322 }
323
324
325
326
327 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
328 bool CBNAME(size_t a, size_t b) { \
329 bool rval = 0; \
330 bool found; \
331 wxPyBeginBlockThreads(); \
332 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
333 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
334 wxPyEndBlockThreads(); \
335 if (! found) \
336 rval = PCLASS::CBNAME(a,b); \
337 return rval; \
338 } \
339 bool base_##CBNAME(size_t a, size_t b) { \
340 return PCLASS::CBNAME(a,b); \
341 }
342
343
344
345 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
346 bool CBNAME(size_t a) { \
347 bool rval = 0; \
348 bool found; \
349 wxPyBeginBlockThreads(); \
350 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
351 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
352 wxPyEndBlockThreads(); \
353 if (! found) \
354 rval = PCLASS::CBNAME(a); \
355 return rval; \
356 } \
357 bool base_##CBNAME(size_t a) { \
358 return PCLASS::CBNAME(a); \
359 }
360
361
362 // TODO: unicode fix
363 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
364 wxString CBNAME(int a) { \
365 bool found; \
366 wxPyBeginBlockThreads(); \
367 wxString rval; \
368 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
369 PyObject* ro; \
370 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
371 if (ro) { \
372 PyObject* str = PyObject_Str(ro); \
373 rval = PyString_AsString(str); \
374 Py_DECREF(ro); Py_DECREF(str); \
375 } \
376 } \
377 wxPyEndBlockThreads(); \
378 if (! found) \
379 rval = PCLASS::CBNAME(a); \
380 return rval; \
381 } \
382 wxString base_##CBNAME(int a) { \
383 return PCLASS::CBNAME(a); \
384 }
385
386
387 // TODO: unicode fix
388 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
389 void CBNAME(int a, const wxString& c) { \
390 bool found; \
391 wxPyBeginBlockThreads(); \
392 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
393 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
394 wxPyEndBlockThreads(); \
395 if (! found) \
396 PCLASS::CBNAME(a,c); \
397 } \
398 void base_##CBNAME(int a, const wxString& c) { \
399 PCLASS::CBNAME(a,c); \
400 }
401
402
403
404
405 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
406 bool CBNAME() { \
407 bool rval = 0; \
408 bool found; \
409 wxPyBeginBlockThreads(); \
410 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
411 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
412 wxPyEndBlockThreads(); \
413 if (! found) \
414 rval = PCLASS::CBNAME(); \
415 return rval; \
416 } \
417 bool base_##CBNAME() { \
418 return PCLASS::CBNAME(); \
419 }
420
421
422
423 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
424 void CBNAME(size_t a, int b) { \
425 bool found; \
426 wxPyBeginBlockThreads(); \
427 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
428 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
429 wxPyEndBlockThreads(); \
430 if (! found) \
431 PCLASS::CBNAME(a,b); \
432 } \
433 void base_##CBNAME(size_t a, int b) { \
434 PCLASS::CBNAME(a,b); \
435 }
436
437
438
439
440 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
441 void CBNAME(int a, int b, long c) { \
442 bool found; \
443 wxPyBeginBlockThreads(); \
444 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
445 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
446 wxPyEndBlockThreads(); \
447 if (! found) \
448 PCLASS::CBNAME(a,b,c); \
449 } \
450 void base_##CBNAME(int a, int b, long c) { \
451 PCLASS::CBNAME(a,b,c); \
452 }
453
454
455
456
457 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
458 void CBNAME(int a, int b, double c) { \
459 bool found; \
460 wxPyBeginBlockThreads(); \
461 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
462 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
463 wxPyEndBlockThreads(); \
464 if (! found) \
465 PCLASS::CBNAME(a,b,c); \
466 } \
467 void base_##CBNAME(int a, int b, double c) { \
468 PCLASS::CBNAME(a,b,c); \
469 }
470
471
472
473 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
474 void CBNAME(int a, int b, bool c) { \
475 bool found; \
476 wxPyBeginBlockThreads(); \
477 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
478 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
479 wxPyEndBlockThreads(); \
480 if (! found) \
481 PCLASS::CBNAME(a,b,c); \
482 } \
483 void base_##CBNAME(int a, int b, bool c) { \
484 PCLASS::CBNAME(a,b,c); \
485 }
486
487
488
489
490
491 class wxPyGridCellRenderer : public wxGridCellRenderer
492 {
493 public:
494 wxPyGridCellRenderer() : wxGridCellRenderer() {};
495
496 // Implement Python callback aware virtual methods
497 void Draw(wxGrid& grid, wxGridCellAttr& attr,
498 wxDC& dc, const wxRect& rect,
499 int row, int col, bool isSelected) {
500 wxPyBeginBlockThreads();
501 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
502 wxPyCBH_callCallback(m_myInst,
503 Py_BuildValue("(OOOOiii)",
504 wxPyConstructObject((void*)&grid, "wxGrid", 0),
505 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
506 wxPyConstructObject((void*)&dc, "wxDC", 0),
507 wxPyConstructObject((void*)&rect, "wxRect", 0),
508 row, col, isSelected));
509 }
510 wxPyEndBlockThreads();
511 }
512
513 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
514 int row, int col) {
515 wxSize rval;
516 wxPyBeginBlockThreads();
517 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
518 PyObject* ro;
519 wxSize* ptr;
520 ro = wxPyCBH_callCallbackObj(m_myInst,
521 Py_BuildValue("(OOOii)",
522 wxPyConstructObject((void*)&grid, "wxGrid", 0),
523 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
524 wxPyConstructObject((void*)&dc, "wxDC", 0),
525 row, col));
526 if (ro) {
527 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
528 rval = *ptr;
529 Py_DECREF(ro);
530 }
531 }
532 wxPyEndBlockThreads();
533 return rval;
534 }
535
536
537 wxGridCellRenderer *Clone() const {
538 wxGridCellRenderer* rval = NULL;
539 wxPyBeginBlockThreads();
540 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
541 PyObject* ro;
542 wxGridCellRenderer* ptr;
543 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
544 if (ro) {
545 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
546 rval = ptr;
547 Py_DECREF(ro);
548 }
549 }
550 wxPyEndBlockThreads();
551 return rval;
552 }
553
554 DEC_PYCALLBACK__STRING(SetParameters);
555
556 PYPRIVATE;
557 };
558
559 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
560
561
562 class wxPyGridCellEditor : public wxGridCellEditor
563 {
564 public:
565 wxPyGridCellEditor() : wxGridCellEditor() {}
566
567 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
568 wxPyBeginBlockThreads();
569 if (wxPyCBH_findCallback(m_myInst, "Create")) {
570 wxPyCBH_callCallback(m_myInst,
571 Py_BuildValue("(OiO)",
572 wxPyConstructObject((void*)parent, "wxWindow", 0),
573 id,
574 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
575 }
576 wxPyEndBlockThreads();
577 }
578
579
580 void BeginEdit(int row, int col, wxGrid* grid) {
581 wxPyBeginBlockThreads();
582 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
583 wxPyCBH_callCallback(m_myInst,
584 Py_BuildValue("(iiO)", row, col,
585 wxPyConstructObject((void*)grid, "wxGrid", 0)));
586 }
587 wxPyEndBlockThreads();
588 }
589
590
591 bool EndEdit(int row, int col, wxGrid* grid) {
592 bool rv = FALSE;
593 wxPyBeginBlockThreads();
594 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
595 rv = wxPyCBH_callCallback(m_myInst,
596 Py_BuildValue("(iiO)", row, col,
597 wxPyConstructObject((void*)grid, "wxGrid", 0)));
598 }
599 wxPyEndBlockThreads();
600 return rv;
601 }
602
603
604 wxGridCellEditor*Clone() const {
605 wxGridCellEditor* rval = NULL;
606 wxPyBeginBlockThreads();
607 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
608 PyObject* ro;
609 wxGridCellEditor* ptr;
610 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
611 if (ro) {
612 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
613 rval = ptr;
614 Py_DECREF(ro);
615 }
616 }
617 wxPyEndBlockThreads();
618 return rval;
619 }
620
621
622 void Show(bool show, wxGridCellAttr *attr) {
623 bool found;
624 wxPyBeginBlockThreads();
625 if ((found = wxPyCBH_findCallback(m_myInst, "Show")))
626 wxPyCBH_callCallback(m_myInst,
627 Py_BuildValue("(iO)", show,
628 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
629 wxPyEndBlockThreads();
630 if (! found)
631 wxGridCellEditor::Show(show, attr);
632 }
633 void base_Show(bool show, wxGridCellAttr *attr) {
634 wxGridCellEditor::Show(show, attr);
635 }
636
637
638 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
639 bool found; \
640 wxPyBeginBlockThreads();
641 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)")))
642 wxPyCBH_callCallback(m_myInst,
643 Py_BuildValue("(OO)",
644 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
645 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
646 wxPyEndBlockThreads();
647 if (! found)
648 wxGridCellEditor::PaintBackground(rectCell, attr);
649 }
650 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
651 wxGridCellEditor::PaintBackground(rectCell, attr);
652 }
653
654
655 DEC_PYCALLBACK___pure(Reset);
656 DEC_PYCALLBACK__constany(SetSize, wxRect);
657 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
658 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
659 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
660 DEC_PYCALLBACK__(StartingClick);
661 DEC_PYCALLBACK__(Destroy);
662 DEC_PYCALLBACK__STRING(SetParameters);
663
664 PYPRIVATE;
665 };
666
667
668 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
669 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
670 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
671 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
672 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
673 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
674 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
675 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
676
677
678 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
679 {
680 public:
681 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
682
683 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
684 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
685 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
686 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
687
688 PYPRIVATE;
689 };
690
691 class wxPyGridTableBase : public wxGridTableBase
692 {
693 public:
694 wxPyGridTableBase() : wxGridTableBase() {}
695
696 PYCALLBACK_INT__pure(GetNumberRows);
697 PYCALLBACK_INT__pure(GetNumberCols);
698 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
699 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
700 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
701 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
702 PYCALLBACK__(wxGridTableBase, Clear);
703 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
704 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
705 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
706 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
707 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
708 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
709 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
710 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
711 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
712 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
713 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
714 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
715 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
716 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
717 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
718
719
720 wxString GetValue(int row, int col) {
721 wxPyBeginBlockThreads();
722 wxString rval;
723 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
724 PyObject* ro;
725 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
726 if (ro) {
727 #if wxUSE_UNICODE
728 PyObject* str = PyObject_Unicode(ro);
729 rval = PyUnicode_AS_UNICODE(str);
730 #else
731 PyObject* str = PyObject_Str(ro);
732 rval = PyString_AsString(str);
733 #endif
734 Py_DECREF(ro);
735 Py_DECREF(str);
736 }
737 }
738 wxPyEndBlockThreads();
739 return rval;
740 }
741
742 void SetValue(int row, int col, const wxString& val) {
743 wxPyBeginBlockThreads();
744 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
745 #if wxUSE_UNICODE
746 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiu)",row,col,val.c_str()));
747 #else
748 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str()));
749 #endif
750 }
751 wxPyEndBlockThreads();
752 }
753
754
755 // Map the Get/Set methods for the standard non-string types to
756 // the GetValue and SetValue python methods.
757 long GetValueAsLong( int row, int col ) {
758 long rval = 0;
759 wxPyBeginBlockThreads();
760 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
761 PyObject* ro;
762 PyObject* num;
763 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
764 if (ro && PyNumber_Check(ro)) {
765 num = PyNumber_Int(ro);
766 if (num) {
767 rval = PyInt_AsLong(num);
768 Py_DECREF(num);
769 }
770 Py_DECREF(ro);
771 }
772 }
773 wxPyEndBlockThreads();
774 return rval;
775 }
776
777 double GetValueAsDouble( int row, int col ) {
778 double rval = 0.0;
779 wxPyBeginBlockThreads();
780 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
781 PyObject* ro;
782 PyObject* num;
783 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
784 if (ro && PyNumber_Check(ro)) {
785 num = PyNumber_Float(ro);
786 if (num) {
787 rval = PyFloat_AsDouble(num);
788 Py_DECREF(num);
789 }
790 Py_DECREF(ro);
791 }
792 }
793 wxPyEndBlockThreads();
794 return rval;
795 }
796
797 bool GetValueAsBool( int row, int col ) {
798 return (bool)GetValueAsLong(row, col);
799 }
800
801 void SetValueAsLong( int row, int col, long value ) {
802 wxPyBeginBlockThreads();
803 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
804 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
805 }
806 wxPyEndBlockThreads();
807 }
808
809 void SetValueAsDouble( int row, int col, double value ) {
810 wxPyBeginBlockThreads();
811 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
812 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
813 }
814 wxPyEndBlockThreads();
815 }
816
817 void SetValueAsBool( int row, int col, bool value ) {
818 SetValueAsLong( row, col, (long)value );
819 }
820
821
822 PYPRIVATE;
823 };
824
825 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
826
827 // If source is an object instance then it may already be the right type
828 if (PyInstance_Check(source)) {
829 wxGridCellCoords* ptr;
830 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
831 goto error;
832 *obj = ptr;
833 return TRUE;
834 }
835 // otherwise a 2-tuple of integers is expected
836 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
837 PyObject* o1 = PySequence_GetItem(source, 0);
838 PyObject* o2 = PySequence_GetItem(source, 1);
839 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
840 return TRUE;
841 }
842
843 error:
844 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
845 return FALSE;
846 }
847
848 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
849 #ifdef __cplusplus
850 extern "C" {
851 #endif
852 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
853
854 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
855 return 1;
856 }
857
858 static PyObject *_wrap_wxGridNoCellCoords_get() {
859 PyObject * pyobj;
860 char ptemp[128];
861
862 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
863 pyobj = PyString_FromString(ptemp);
864 return pyobj;
865 }
866
867 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
868
869 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
870 return 1;
871 }
872
873 static PyObject *_wrap_wxGridNoCellRect_get() {
874 PyObject * pyobj;
875 char ptemp[128];
876
877 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
878 pyobj = PyString_FromString(ptemp);
879 return pyobj;
880 }
881
882 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
883 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
884 PyObject * _resultobj;
885 wxGridCellRenderer * _arg0;
886 wxString * _arg1;
887 PyObject * _argo0 = 0;
888 PyObject * _obj1 = 0;
889 char *_kwnames[] = { "self","params", NULL };
890
891 self = self;
892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
893 return NULL;
894 if (_argo0) {
895 if (_argo0 == Py_None) { _arg0 = NULL; }
896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
898 return NULL;
899 }
900 }
901 {
902 _arg1 = wxString_in_helper(_obj1);
903 if (_arg1 == NULL)
904 return NULL;
905 }
906 {
907 PyThreadState* __tstate = wxPyBeginAllowThreads();
908 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
909
910 wxPyEndAllowThreads(__tstate);
911 if (PyErr_Occurred()) return NULL;
912 } Py_INCREF(Py_None);
913 _resultobj = Py_None;
914 {
915 if (_obj1)
916 delete _arg1;
917 }
918 return _resultobj;
919 }
920
921 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
922 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
923 PyObject * _resultobj;
924 wxGridCellRenderer * _arg0;
925 PyObject * _argo0 = 0;
926 char *_kwnames[] = { "self", NULL };
927
928 self = self;
929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
930 return NULL;
931 if (_argo0) {
932 if (_argo0 == Py_None) { _arg0 = NULL; }
933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
935 return NULL;
936 }
937 }
938 {
939 PyThreadState* __tstate = wxPyBeginAllowThreads();
940 wxGridCellRenderer_IncRef(_arg0);
941
942 wxPyEndAllowThreads(__tstate);
943 if (PyErr_Occurred()) return NULL;
944 } Py_INCREF(Py_None);
945 _resultobj = Py_None;
946 return _resultobj;
947 }
948
949 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
950 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
951 PyObject * _resultobj;
952 wxGridCellRenderer * _arg0;
953 PyObject * _argo0 = 0;
954 char *_kwnames[] = { "self", NULL };
955
956 self = self;
957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
958 return NULL;
959 if (_argo0) {
960 if (_argo0 == Py_None) { _arg0 = NULL; }
961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
963 return NULL;
964 }
965 }
966 {
967 PyThreadState* __tstate = wxPyBeginAllowThreads();
968 wxGridCellRenderer_DecRef(_arg0);
969
970 wxPyEndAllowThreads(__tstate);
971 if (PyErr_Occurred()) return NULL;
972 } Py_INCREF(Py_None);
973 _resultobj = Py_None;
974 return _resultobj;
975 }
976
977 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
978 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
979 PyObject * _resultobj;
980 wxGridCellRenderer * _arg0;
981 wxGrid * _arg1;
982 wxGridCellAttr * _arg2;
983 wxDC * _arg3;
984 wxRect * _arg4;
985 int _arg5;
986 int _arg6;
987 bool _arg7;
988 PyObject * _argo0 = 0;
989 PyObject * _argo1 = 0;
990 PyObject * _argo2 = 0;
991 PyObject * _argo3 = 0;
992 wxRect temp;
993 PyObject * _obj4 = 0;
994 int tempbool7;
995 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
996
997 self = self;
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
999 return NULL;
1000 if (_argo0) {
1001 if (_argo0 == Py_None) { _arg0 = NULL; }
1002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1004 return NULL;
1005 }
1006 }
1007 if (_argo1) {
1008 if (_argo1 == Py_None) { _arg1 = NULL; }
1009 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1010 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1011 return NULL;
1012 }
1013 }
1014 if (_argo2) {
1015 if (_argo2 == Py_None) { _arg2 = NULL; }
1016 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1017 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1018 return NULL;
1019 }
1020 }
1021 if (_argo3) {
1022 if (_argo3 == Py_None) { _arg3 = NULL; }
1023 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1024 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1025 return NULL;
1026 }
1027 }
1028 {
1029 _arg4 = &temp;
1030 if (! wxRect_helper(_obj4, &_arg4))
1031 return NULL;
1032 }
1033 _arg7 = (bool ) tempbool7;
1034 {
1035 PyThreadState* __tstate = wxPyBeginAllowThreads();
1036 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1037
1038 wxPyEndAllowThreads(__tstate);
1039 if (PyErr_Occurred()) return NULL;
1040 } Py_INCREF(Py_None);
1041 _resultobj = Py_None;
1042 return _resultobj;
1043 }
1044
1045 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1046 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1047 PyObject * _resultobj;
1048 wxSize * _result;
1049 wxGridCellRenderer * _arg0;
1050 wxGrid * _arg1;
1051 wxGridCellAttr * _arg2;
1052 wxDC * _arg3;
1053 int _arg4;
1054 int _arg5;
1055 PyObject * _argo0 = 0;
1056 PyObject * _argo1 = 0;
1057 PyObject * _argo2 = 0;
1058 PyObject * _argo3 = 0;
1059 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1060 char _ptemp[128];
1061
1062 self = self;
1063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1064 return NULL;
1065 if (_argo0) {
1066 if (_argo0 == Py_None) { _arg0 = NULL; }
1067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1069 return NULL;
1070 }
1071 }
1072 if (_argo1) {
1073 if (_argo1 == Py_None) { _arg1 = NULL; }
1074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1076 return NULL;
1077 }
1078 }
1079 if (_argo2) {
1080 if (_argo2 == Py_None) { _arg2 = NULL; }
1081 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1082 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1083 return NULL;
1084 }
1085 }
1086 if (_argo3) {
1087 if (_argo3 == Py_None) { _arg3 = NULL; }
1088 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1090 return NULL;
1091 }
1092 }
1093 {
1094 PyThreadState* __tstate = wxPyBeginAllowThreads();
1095 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1096
1097 wxPyEndAllowThreads(__tstate);
1098 if (PyErr_Occurred()) return NULL;
1099 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1100 _resultobj = Py_BuildValue("s",_ptemp);
1101 return _resultobj;
1102 }
1103
1104 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1105 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1106 PyObject * _resultobj;
1107 wxGridCellRenderer * _result;
1108 wxGridCellRenderer * _arg0;
1109 PyObject * _argo0 = 0;
1110 char *_kwnames[] = { "self", NULL };
1111 char _ptemp[128];
1112
1113 self = self;
1114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1115 return NULL;
1116 if (_argo0) {
1117 if (_argo0 == Py_None) { _arg0 = NULL; }
1118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1120 return NULL;
1121 }
1122 }
1123 {
1124 PyThreadState* __tstate = wxPyBeginAllowThreads();
1125 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1126
1127 wxPyEndAllowThreads(__tstate);
1128 if (PyErr_Occurred()) return NULL;
1129 } if (_result) {
1130 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1131 _resultobj = Py_BuildValue("s",_ptemp);
1132 } else {
1133 Py_INCREF(Py_None);
1134 _resultobj = Py_None;
1135 }
1136 return _resultobj;
1137 }
1138
1139 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1140 wxPyGridCellRenderer *src;
1141 wxGridCellRenderer *dest;
1142 src = (wxPyGridCellRenderer *) ptr;
1143 dest = (wxGridCellRenderer *) src;
1144 return (void *) dest;
1145 }
1146
1147 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1148 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1149 PyObject * _resultobj;
1150 wxPyGridCellRenderer * _result;
1151 char *_kwnames[] = { NULL };
1152 char _ptemp[128];
1153
1154 self = self;
1155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1156 return NULL;
1157 {
1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
1159 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1160
1161 wxPyEndAllowThreads(__tstate);
1162 if (PyErr_Occurred()) return NULL;
1163 } if (_result) {
1164 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1165 _resultobj = Py_BuildValue("s",_ptemp);
1166 } else {
1167 Py_INCREF(Py_None);
1168 _resultobj = Py_None;
1169 }
1170 return _resultobj;
1171 }
1172
1173 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1174 static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1175 PyObject * _resultobj;
1176 wxPyGridCellRenderer * _arg0;
1177 PyObject * _arg1;
1178 PyObject * _arg2;
1179 PyObject * _argo0 = 0;
1180 PyObject * _obj1 = 0;
1181 PyObject * _obj2 = 0;
1182 char *_kwnames[] = { "self","self","_class", NULL };
1183
1184 self = self;
1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1186 return NULL;
1187 if (_argo0) {
1188 if (_argo0 == Py_None) { _arg0 = NULL; }
1189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1191 return NULL;
1192 }
1193 }
1194 {
1195 _arg1 = _obj1;
1196 }
1197 {
1198 _arg2 = _obj2;
1199 }
1200 {
1201 PyThreadState* __tstate = wxPyBeginAllowThreads();
1202 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1203
1204 wxPyEndAllowThreads(__tstate);
1205 if (PyErr_Occurred()) return NULL;
1206 } Py_INCREF(Py_None);
1207 _resultobj = Py_None;
1208 return _resultobj;
1209 }
1210
1211 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1212 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1213 PyObject * _resultobj;
1214 wxPyGridCellRenderer * _arg0;
1215 wxString * _arg1;
1216 PyObject * _argo0 = 0;
1217 PyObject * _obj1 = 0;
1218 char *_kwnames[] = { "self","params", NULL };
1219
1220 self = self;
1221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1222 return NULL;
1223 if (_argo0) {
1224 if (_argo0 == Py_None) { _arg0 = NULL; }
1225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1227 return NULL;
1228 }
1229 }
1230 {
1231 _arg1 = wxString_in_helper(_obj1);
1232 if (_arg1 == NULL)
1233 return NULL;
1234 }
1235 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1238
1239 wxPyEndAllowThreads(__tstate);
1240 if (PyErr_Occurred()) return NULL;
1241 } Py_INCREF(Py_None);
1242 _resultobj = Py_None;
1243 {
1244 if (_obj1)
1245 delete _arg1;
1246 }
1247 return _resultobj;
1248 }
1249
1250 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1251 wxGridCellStringRenderer *src;
1252 wxGridCellRenderer *dest;
1253 src = (wxGridCellStringRenderer *) ptr;
1254 dest = (wxGridCellRenderer *) src;
1255 return (void *) dest;
1256 }
1257
1258 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1259 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject * _resultobj;
1261 wxGridCellStringRenderer * _result;
1262 char *_kwnames[] = { NULL };
1263 char _ptemp[128];
1264
1265 self = self;
1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1267 return NULL;
1268 {
1269 PyThreadState* __tstate = wxPyBeginAllowThreads();
1270 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1271
1272 wxPyEndAllowThreads(__tstate);
1273 if (PyErr_Occurred()) return NULL;
1274 } if (_result) {
1275 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1276 _resultobj = Py_BuildValue("s",_ptemp);
1277 } else {
1278 Py_INCREF(Py_None);
1279 _resultobj = Py_None;
1280 }
1281 return _resultobj;
1282 }
1283
1284 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1285 wxGridCellNumberRenderer *src;
1286 wxGridCellStringRenderer *dest;
1287 src = (wxGridCellNumberRenderer *) ptr;
1288 dest = (wxGridCellStringRenderer *) src;
1289 return (void *) dest;
1290 }
1291
1292 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1293 wxGridCellNumberRenderer *src;
1294 wxGridCellRenderer *dest;
1295 src = (wxGridCellNumberRenderer *) ptr;
1296 dest = (wxGridCellRenderer *) src;
1297 return (void *) dest;
1298 }
1299
1300 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1301 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1302 PyObject * _resultobj;
1303 wxGridCellNumberRenderer * _result;
1304 char *_kwnames[] = { NULL };
1305 char _ptemp[128];
1306
1307 self = self;
1308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1309 return NULL;
1310 {
1311 PyThreadState* __tstate = wxPyBeginAllowThreads();
1312 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1313
1314 wxPyEndAllowThreads(__tstate);
1315 if (PyErr_Occurred()) return NULL;
1316 } if (_result) {
1317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1318 _resultobj = Py_BuildValue("s",_ptemp);
1319 } else {
1320 Py_INCREF(Py_None);
1321 _resultobj = Py_None;
1322 }
1323 return _resultobj;
1324 }
1325
1326 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1327 wxGridCellFloatRenderer *src;
1328 wxGridCellStringRenderer *dest;
1329 src = (wxGridCellFloatRenderer *) ptr;
1330 dest = (wxGridCellStringRenderer *) src;
1331 return (void *) dest;
1332 }
1333
1334 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1335 wxGridCellFloatRenderer *src;
1336 wxGridCellRenderer *dest;
1337 src = (wxGridCellFloatRenderer *) ptr;
1338 dest = (wxGridCellRenderer *) src;
1339 return (void *) dest;
1340 }
1341
1342 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1343 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject * _resultobj;
1345 wxGridCellFloatRenderer * _result;
1346 int _arg0 = (int ) -1;
1347 int _arg1 = (int ) -1;
1348 char *_kwnames[] = { "width","precision", NULL };
1349 char _ptemp[128];
1350
1351 self = self;
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1353 return NULL;
1354 {
1355 PyThreadState* __tstate = wxPyBeginAllowThreads();
1356 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1357
1358 wxPyEndAllowThreads(__tstate);
1359 if (PyErr_Occurred()) return NULL;
1360 } if (_result) {
1361 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1362 _resultobj = Py_BuildValue("s",_ptemp);
1363 } else {
1364 Py_INCREF(Py_None);
1365 _resultobj = Py_None;
1366 }
1367 return _resultobj;
1368 }
1369
1370 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1371 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject * _resultobj;
1373 int _result;
1374 wxGridCellFloatRenderer * _arg0;
1375 PyObject * _argo0 = 0;
1376 char *_kwnames[] = { "self", NULL };
1377
1378 self = self;
1379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1380 return NULL;
1381 if (_argo0) {
1382 if (_argo0 == Py_None) { _arg0 = NULL; }
1383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1385 return NULL;
1386 }
1387 }
1388 {
1389 PyThreadState* __tstate = wxPyBeginAllowThreads();
1390 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1391
1392 wxPyEndAllowThreads(__tstate);
1393 if (PyErr_Occurred()) return NULL;
1394 } _resultobj = Py_BuildValue("i",_result);
1395 return _resultobj;
1396 }
1397
1398 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1399 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject * _resultobj;
1401 wxGridCellFloatRenderer * _arg0;
1402 int _arg1;
1403 PyObject * _argo0 = 0;
1404 char *_kwnames[] = { "self","width", NULL };
1405
1406 self = self;
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1408 return NULL;
1409 if (_argo0) {
1410 if (_argo0 == Py_None) { _arg0 = NULL; }
1411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1413 return NULL;
1414 }
1415 }
1416 {
1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
1418 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1419
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) return NULL;
1422 } Py_INCREF(Py_None);
1423 _resultobj = Py_None;
1424 return _resultobj;
1425 }
1426
1427 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1428 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject * _resultobj;
1430 int _result;
1431 wxGridCellFloatRenderer * _arg0;
1432 PyObject * _argo0 = 0;
1433 char *_kwnames[] = { "self", NULL };
1434
1435 self = self;
1436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1437 return NULL;
1438 if (_argo0) {
1439 if (_argo0 == Py_None) { _arg0 = NULL; }
1440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1442 return NULL;
1443 }
1444 }
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) return NULL;
1451 } _resultobj = Py_BuildValue("i",_result);
1452 return _resultobj;
1453 }
1454
1455 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1456 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1457 PyObject * _resultobj;
1458 wxGridCellFloatRenderer * _arg0;
1459 int _arg1;
1460 PyObject * _argo0 = 0;
1461 char *_kwnames[] = { "self","precision", NULL };
1462
1463 self = self;
1464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1465 return NULL;
1466 if (_argo0) {
1467 if (_argo0 == Py_None) { _arg0 = NULL; }
1468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1470 return NULL;
1471 }
1472 }
1473 {
1474 PyThreadState* __tstate = wxPyBeginAllowThreads();
1475 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1476
1477 wxPyEndAllowThreads(__tstate);
1478 if (PyErr_Occurred()) return NULL;
1479 } Py_INCREF(Py_None);
1480 _resultobj = Py_None;
1481 return _resultobj;
1482 }
1483
1484 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1485 wxGridCellBoolRenderer *src;
1486 wxGridCellRenderer *dest;
1487 src = (wxGridCellBoolRenderer *) ptr;
1488 dest = (wxGridCellRenderer *) src;
1489 return (void *) dest;
1490 }
1491
1492 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1493 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject * _resultobj;
1495 wxGridCellBoolRenderer * _result;
1496 char *_kwnames[] = { NULL };
1497 char _ptemp[128];
1498
1499 self = self;
1500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1501 return NULL;
1502 {
1503 PyThreadState* __tstate = wxPyBeginAllowThreads();
1504 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1505
1506 wxPyEndAllowThreads(__tstate);
1507 if (PyErr_Occurred()) return NULL;
1508 } if (_result) {
1509 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1510 _resultobj = Py_BuildValue("s",_ptemp);
1511 } else {
1512 Py_INCREF(Py_None);
1513 _resultobj = Py_None;
1514 }
1515 return _resultobj;
1516 }
1517
1518 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1519 wxGridCellDateTimeRenderer *src;
1520 wxGridCellStringRenderer *dest;
1521 src = (wxGridCellDateTimeRenderer *) ptr;
1522 dest = (wxGridCellStringRenderer *) src;
1523 return (void *) dest;
1524 }
1525
1526 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1527 wxGridCellDateTimeRenderer *src;
1528 wxGridCellRenderer *dest;
1529 src = (wxGridCellDateTimeRenderer *) ptr;
1530 dest = (wxGridCellRenderer *) src;
1531 return (void *) dest;
1532 }
1533
1534 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1535 static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1536 PyObject * _resultobj;
1537 wxGridCellDateTimeRenderer * _result;
1538 wxString * _arg0 = (wxString *) &"%c";
1539 wxString * _arg1 = (wxString *) &"%c";
1540 PyObject * _obj0 = 0;
1541 PyObject * _obj1 = 0;
1542 char *_kwnames[] = { "outformat","informat", NULL };
1543 char _ptemp[128];
1544
1545 self = self;
1546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1547 return NULL;
1548 if (_obj0)
1549 {
1550 _arg0 = wxString_in_helper(_obj0);
1551 if (_arg0 == NULL)
1552 return NULL;
1553 }
1554 if (_obj1)
1555 {
1556 _arg1 = wxString_in_helper(_obj1);
1557 if (_arg1 == NULL)
1558 return NULL;
1559 }
1560 {
1561 PyThreadState* __tstate = wxPyBeginAllowThreads();
1562 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1563
1564 wxPyEndAllowThreads(__tstate);
1565 if (PyErr_Occurred()) return NULL;
1566 } if (_result) {
1567 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1568 _resultobj = Py_BuildValue("s",_ptemp);
1569 } else {
1570 Py_INCREF(Py_None);
1571 _resultobj = Py_None;
1572 }
1573 {
1574 if (_obj0)
1575 delete _arg0;
1576 }
1577 {
1578 if (_obj1)
1579 delete _arg1;
1580 }
1581 return _resultobj;
1582 }
1583
1584 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1585 wxGridCellEnumRenderer *src;
1586 wxGridCellStringRenderer *dest;
1587 src = (wxGridCellEnumRenderer *) ptr;
1588 dest = (wxGridCellStringRenderer *) src;
1589 return (void *) dest;
1590 }
1591
1592 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1593 wxGridCellEnumRenderer *src;
1594 wxGridCellRenderer *dest;
1595 src = (wxGridCellEnumRenderer *) ptr;
1596 dest = (wxGridCellRenderer *) src;
1597 return (void *) dest;
1598 }
1599
1600 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1601 static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1602 PyObject * _resultobj;
1603 wxGridCellEnumRenderer * _result;
1604 wxString * _arg0 = (wxString *) &"";
1605 PyObject * _obj0 = 0;
1606 char *_kwnames[] = { "choices", NULL };
1607 char _ptemp[128];
1608
1609 self = self;
1610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1611 return NULL;
1612 if (_obj0)
1613 {
1614 _arg0 = wxString_LIST_helper(_obj0);
1615 if (_arg0 == NULL) {
1616 return NULL;
1617 }
1618 }
1619 {
1620 PyThreadState* __tstate = wxPyBeginAllowThreads();
1621 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1622
1623 wxPyEndAllowThreads(__tstate);
1624 if (PyErr_Occurred()) return NULL;
1625 } if (_result) {
1626 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1627 _resultobj = Py_BuildValue("s",_ptemp);
1628 } else {
1629 Py_INCREF(Py_None);
1630 _resultobj = Py_None;
1631 }
1632 {
1633 delete [] _arg0;
1634 }
1635 return _resultobj;
1636 }
1637
1638 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1639 wxGridCellAutoWrapStringRenderer *src;
1640 wxGridCellStringRenderer *dest;
1641 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1642 dest = (wxGridCellStringRenderer *) src;
1643 return (void *) dest;
1644 }
1645
1646 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1647 wxGridCellAutoWrapStringRenderer *src;
1648 wxGridCellRenderer *dest;
1649 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1650 dest = (wxGridCellRenderer *) src;
1651 return (void *) dest;
1652 }
1653
1654 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1655 static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject * _resultobj;
1657 wxGridCellAutoWrapStringRenderer * _result;
1658 char *_kwnames[] = { NULL };
1659 char _ptemp[128];
1660
1661 self = self;
1662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1663 return NULL;
1664 {
1665 PyThreadState* __tstate = wxPyBeginAllowThreads();
1666 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1667
1668 wxPyEndAllowThreads(__tstate);
1669 if (PyErr_Occurred()) return NULL;
1670 } if (_result) {
1671 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1672 _resultobj = Py_BuildValue("s",_ptemp);
1673 } else {
1674 Py_INCREF(Py_None);
1675 _resultobj = Py_None;
1676 }
1677 return _resultobj;
1678 }
1679
1680 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1681 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject * _resultobj;
1683 bool _result;
1684 wxGridCellEditor * _arg0;
1685 PyObject * _argo0 = 0;
1686 char *_kwnames[] = { "self", NULL };
1687
1688 self = self;
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1690 return NULL;
1691 if (_argo0) {
1692 if (_argo0 == Py_None) { _arg0 = NULL; }
1693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1695 return NULL;
1696 }
1697 }
1698 {
1699 PyThreadState* __tstate = wxPyBeginAllowThreads();
1700 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1701
1702 wxPyEndAllowThreads(__tstate);
1703 if (PyErr_Occurred()) return NULL;
1704 } _resultobj = Py_BuildValue("i",_result);
1705 return _resultobj;
1706 }
1707
1708 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1709 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject * _resultobj;
1711 wxControl * _result;
1712 wxGridCellEditor * _arg0;
1713 PyObject * _argo0 = 0;
1714 char *_kwnames[] = { "self", NULL };
1715
1716 self = self;
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1718 return NULL;
1719 if (_argo0) {
1720 if (_argo0 == Py_None) { _arg0 = NULL; }
1721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1723 return NULL;
1724 }
1725 }
1726 {
1727 PyThreadState* __tstate = wxPyBeginAllowThreads();
1728 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1729
1730 wxPyEndAllowThreads(__tstate);
1731 if (PyErr_Occurred()) return NULL;
1732 }{ _resultobj = wxPyMake_wxObject(_result); }
1733 return _resultobj;
1734 }
1735
1736 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1737 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject * _resultobj;
1739 wxGridCellEditor * _arg0;
1740 wxControl * _arg1;
1741 PyObject * _argo0 = 0;
1742 PyObject * _argo1 = 0;
1743 char *_kwnames[] = { "self","control", NULL };
1744
1745 self = self;
1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1747 return NULL;
1748 if (_argo0) {
1749 if (_argo0 == Py_None) { _arg0 = NULL; }
1750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1752 return NULL;
1753 }
1754 }
1755 if (_argo1) {
1756 if (_argo1 == Py_None) { _arg1 = NULL; }
1757 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1758 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1759 return NULL;
1760 }
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 wxGridCellEditor_SetControl(_arg0,_arg1);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) return NULL;
1768 } Py_INCREF(Py_None);
1769 _resultobj = Py_None;
1770 return _resultobj;
1771 }
1772
1773 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1774 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1775 PyObject * _resultobj;
1776 wxGridCellEditor * _arg0;
1777 wxString * _arg1;
1778 PyObject * _argo0 = 0;
1779 PyObject * _obj1 = 0;
1780 char *_kwnames[] = { "self","params", NULL };
1781
1782 self = self;
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1784 return NULL;
1785 if (_argo0) {
1786 if (_argo0 == Py_None) { _arg0 = NULL; }
1787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1789 return NULL;
1790 }
1791 }
1792 {
1793 _arg1 = wxString_in_helper(_obj1);
1794 if (_arg1 == NULL)
1795 return NULL;
1796 }
1797 {
1798 PyThreadState* __tstate = wxPyBeginAllowThreads();
1799 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1800
1801 wxPyEndAllowThreads(__tstate);
1802 if (PyErr_Occurred()) return NULL;
1803 } Py_INCREF(Py_None);
1804 _resultobj = Py_None;
1805 {
1806 if (_obj1)
1807 delete _arg1;
1808 }
1809 return _resultobj;
1810 }
1811
1812 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1813 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject * _resultobj;
1815 wxGridCellEditor * _arg0;
1816 PyObject * _argo0 = 0;
1817 char *_kwnames[] = { "self", NULL };
1818
1819 self = self;
1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1821 return NULL;
1822 if (_argo0) {
1823 if (_argo0 == Py_None) { _arg0 = NULL; }
1824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1826 return NULL;
1827 }
1828 }
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 wxGridCellEditor_IncRef(_arg0);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) return NULL;
1835 } Py_INCREF(Py_None);
1836 _resultobj = Py_None;
1837 return _resultobj;
1838 }
1839
1840 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1841 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject * _resultobj;
1843 wxGridCellEditor * _arg0;
1844 PyObject * _argo0 = 0;
1845 char *_kwnames[] = { "self", NULL };
1846
1847 self = self;
1848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1849 return NULL;
1850 if (_argo0) {
1851 if (_argo0 == Py_None) { _arg0 = NULL; }
1852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1854 return NULL;
1855 }
1856 }
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 wxGridCellEditor_DecRef(_arg0);
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) return NULL;
1863 } Py_INCREF(Py_None);
1864 _resultobj = Py_None;
1865 return _resultobj;
1866 }
1867
1868 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1869 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject * _resultobj;
1871 wxGridCellEditor * _arg0;
1872 wxWindow * _arg1;
1873 wxWindowID _arg2;
1874 wxEvtHandler * _arg3;
1875 PyObject * _argo0 = 0;
1876 PyObject * _argo1 = 0;
1877 PyObject * _argo3 = 0;
1878 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1879
1880 self = self;
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1882 return NULL;
1883 if (_argo0) {
1884 if (_argo0 == Py_None) { _arg0 = NULL; }
1885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1887 return NULL;
1888 }
1889 }
1890 if (_argo1) {
1891 if (_argo1 == Py_None) { _arg1 = NULL; }
1892 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1893 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1894 return NULL;
1895 }
1896 }
1897 if (_argo3) {
1898 if (_argo3 == Py_None) { _arg3 = NULL; }
1899 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1900 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1901 return NULL;
1902 }
1903 }
1904 {
1905 PyThreadState* __tstate = wxPyBeginAllowThreads();
1906 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1907
1908 wxPyEndAllowThreads(__tstate);
1909 if (PyErr_Occurred()) return NULL;
1910 } Py_INCREF(Py_None);
1911 _resultobj = Py_None;
1912 return _resultobj;
1913 }
1914
1915 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1916 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1917 PyObject * _resultobj;
1918 wxGridCellEditor * _arg0;
1919 int _arg1;
1920 int _arg2;
1921 wxGrid * _arg3;
1922 PyObject * _argo0 = 0;
1923 PyObject * _argo3 = 0;
1924 char *_kwnames[] = { "self","row","col","grid", NULL };
1925
1926 self = self;
1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1928 return NULL;
1929 if (_argo0) {
1930 if (_argo0 == Py_None) { _arg0 = NULL; }
1931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1933 return NULL;
1934 }
1935 }
1936 if (_argo3) {
1937 if (_argo3 == Py_None) { _arg3 = NULL; }
1938 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1939 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1940 return NULL;
1941 }
1942 }
1943 {
1944 PyThreadState* __tstate = wxPyBeginAllowThreads();
1945 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1946
1947 wxPyEndAllowThreads(__tstate);
1948 if (PyErr_Occurred()) return NULL;
1949 } Py_INCREF(Py_None);
1950 _resultobj = Py_None;
1951 return _resultobj;
1952 }
1953
1954 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1955 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject * _resultobj;
1957 bool _result;
1958 wxGridCellEditor * _arg0;
1959 int _arg1;
1960 int _arg2;
1961 wxGrid * _arg3;
1962 PyObject * _argo0 = 0;
1963 PyObject * _argo3 = 0;
1964 char *_kwnames[] = { "self","row","col","grid", NULL };
1965
1966 self = self;
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1968 return NULL;
1969 if (_argo0) {
1970 if (_argo0 == Py_None) { _arg0 = NULL; }
1971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1973 return NULL;
1974 }
1975 }
1976 if (_argo3) {
1977 if (_argo3 == Py_None) { _arg3 = NULL; }
1978 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1979 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1980 return NULL;
1981 }
1982 }
1983 {
1984 PyThreadState* __tstate = wxPyBeginAllowThreads();
1985 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1986
1987 wxPyEndAllowThreads(__tstate);
1988 if (PyErr_Occurred()) return NULL;
1989 } _resultobj = Py_BuildValue("i",_result);
1990 return _resultobj;
1991 }
1992
1993 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1994 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject * _resultobj;
1996 wxGridCellEditor * _arg0;
1997 PyObject * _argo0 = 0;
1998 char *_kwnames[] = { "self", NULL };
1999
2000 self = self;
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
2002 return NULL;
2003 if (_argo0) {
2004 if (_argo0 == Py_None) { _arg0 = NULL; }
2005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2007 return NULL;
2008 }
2009 }
2010 {
2011 PyThreadState* __tstate = wxPyBeginAllowThreads();
2012 wxGridCellEditor_Reset(_arg0);
2013
2014 wxPyEndAllowThreads(__tstate);
2015 if (PyErr_Occurred()) return NULL;
2016 } Py_INCREF(Py_None);
2017 _resultobj = Py_None;
2018 return _resultobj;
2019 }
2020
2021 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2022 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2023 PyObject * _resultobj;
2024 wxGridCellEditor * _result;
2025 wxGridCellEditor * _arg0;
2026 PyObject * _argo0 = 0;
2027 char *_kwnames[] = { "self", NULL };
2028 char _ptemp[128];
2029
2030 self = self;
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2032 return NULL;
2033 if (_argo0) {
2034 if (_argo0 == Py_None) { _arg0 = NULL; }
2035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2037 return NULL;
2038 }
2039 }
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) return NULL;
2046 } if (_result) {
2047 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
2048 _resultobj = Py_BuildValue("s",_ptemp);
2049 } else {
2050 Py_INCREF(Py_None);
2051 _resultobj = Py_None;
2052 }
2053 return _resultobj;
2054 }
2055
2056 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2057 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject * _resultobj;
2059 wxGridCellEditor * _arg0;
2060 wxRect * _arg1;
2061 PyObject * _argo0 = 0;
2062 wxRect temp;
2063 PyObject * _obj1 = 0;
2064 char *_kwnames[] = { "self","rect", NULL };
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2068 return NULL;
2069 if (_argo0) {
2070 if (_argo0 == Py_None) { _arg0 = NULL; }
2071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2073 return NULL;
2074 }
2075 }
2076 {
2077 _arg1 = &temp;
2078 if (! wxRect_helper(_obj1, &_arg1))
2079 return NULL;
2080 }
2081 {
2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
2083 wxGridCellEditor_SetSize(_arg0,*_arg1);
2084
2085 wxPyEndAllowThreads(__tstate);
2086 if (PyErr_Occurred()) return NULL;
2087 } Py_INCREF(Py_None);
2088 _resultobj = Py_None;
2089 return _resultobj;
2090 }
2091
2092 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2093 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject * _resultobj;
2095 wxGridCellEditor * _arg0;
2096 bool _arg1;
2097 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2098 PyObject * _argo0 = 0;
2099 int tempbool1;
2100 PyObject * _argo2 = 0;
2101 char *_kwnames[] = { "self","show","attr", NULL };
2102
2103 self = self;
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2105 return NULL;
2106 if (_argo0) {
2107 if (_argo0 == Py_None) { _arg0 = NULL; }
2108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2110 return NULL;
2111 }
2112 }
2113 _arg1 = (bool ) tempbool1;
2114 if (_argo2) {
2115 if (_argo2 == Py_None) { _arg2 = NULL; }
2116 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2117 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2118 return NULL;
2119 }
2120 }
2121 {
2122 PyThreadState* __tstate = wxPyBeginAllowThreads();
2123 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2124
2125 wxPyEndAllowThreads(__tstate);
2126 if (PyErr_Occurred()) return NULL;
2127 } Py_INCREF(Py_None);
2128 _resultobj = Py_None;
2129 return _resultobj;
2130 }
2131
2132 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2133 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject * _resultobj;
2135 wxGridCellEditor * _arg0;
2136 wxRect * _arg1;
2137 wxGridCellAttr * _arg2;
2138 PyObject * _argo0 = 0;
2139 wxRect temp;
2140 PyObject * _obj1 = 0;
2141 PyObject * _argo2 = 0;
2142 char *_kwnames[] = { "self","rectCell","attr", NULL };
2143
2144 self = self;
2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2146 return NULL;
2147 if (_argo0) {
2148 if (_argo0 == Py_None) { _arg0 = NULL; }
2149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2151 return NULL;
2152 }
2153 }
2154 {
2155 _arg1 = &temp;
2156 if (! wxRect_helper(_obj1, &_arg1))
2157 return NULL;
2158 }
2159 if (_argo2) {
2160 if (_argo2 == Py_None) { _arg2 = NULL; }
2161 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2162 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2163 return NULL;
2164 }
2165 }
2166 {
2167 PyThreadState* __tstate = wxPyBeginAllowThreads();
2168 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2169
2170 wxPyEndAllowThreads(__tstate);
2171 if (PyErr_Occurred()) return NULL;
2172 } Py_INCREF(Py_None);
2173 _resultobj = Py_None;
2174 return _resultobj;
2175 }
2176
2177 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2178 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject * _resultobj;
2180 bool _result;
2181 wxGridCellEditor * _arg0;
2182 wxKeyEvent * _arg1;
2183 PyObject * _argo0 = 0;
2184 PyObject * _argo1 = 0;
2185 char *_kwnames[] = { "self","event", NULL };
2186
2187 self = self;
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2189 return NULL;
2190 if (_argo0) {
2191 if (_argo0 == Py_None) { _arg0 = NULL; }
2192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2194 return NULL;
2195 }
2196 }
2197 if (_argo1) {
2198 if (_argo1 == Py_None) { _arg1 = NULL; }
2199 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2200 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2201 return NULL;
2202 }
2203 }
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) return NULL;
2210 } _resultobj = Py_BuildValue("i",_result);
2211 return _resultobj;
2212 }
2213
2214 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2215 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject * _resultobj;
2217 wxGridCellEditor * _arg0;
2218 wxKeyEvent * _arg1;
2219 PyObject * _argo0 = 0;
2220 PyObject * _argo1 = 0;
2221 char *_kwnames[] = { "self","event", NULL };
2222
2223 self = self;
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2225 return NULL;
2226 if (_argo0) {
2227 if (_argo0 == Py_None) { _arg0 = NULL; }
2228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2230 return NULL;
2231 }
2232 }
2233 if (_argo1) {
2234 if (_argo1 == Py_None) { _arg1 = NULL; }
2235 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2236 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2237 return NULL;
2238 }
2239 }
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) return NULL;
2246 } Py_INCREF(Py_None);
2247 _resultobj = Py_None;
2248 return _resultobj;
2249 }
2250
2251 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2252 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2253 PyObject * _resultobj;
2254 wxGridCellEditor * _arg0;
2255 PyObject * _argo0 = 0;
2256 char *_kwnames[] = { "self", NULL };
2257
2258 self = self;
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2260 return NULL;
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2265 return NULL;
2266 }
2267 }
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 wxGridCellEditor_StartingClick(_arg0);
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) return NULL;
2274 } Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 return _resultobj;
2277 }
2278
2279 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2280 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject * _resultobj;
2282 wxGridCellEditor * _arg0;
2283 wxKeyEvent * _arg1;
2284 PyObject * _argo0 = 0;
2285 PyObject * _argo1 = 0;
2286 char *_kwnames[] = { "self","event", NULL };
2287
2288 self = self;
2289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2290 return NULL;
2291 if (_argo0) {
2292 if (_argo0 == Py_None) { _arg0 = NULL; }
2293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2295 return NULL;
2296 }
2297 }
2298 if (_argo1) {
2299 if (_argo1 == Py_None) { _arg1 = NULL; }
2300 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2301 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2302 return NULL;
2303 }
2304 }
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) return NULL;
2311 } Py_INCREF(Py_None);
2312 _resultobj = Py_None;
2313 return _resultobj;
2314 }
2315
2316 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2317 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2318 PyObject * _resultobj;
2319 wxGridCellEditor * _arg0;
2320 PyObject * _argo0 = 0;
2321 char *_kwnames[] = { "self", NULL };
2322
2323 self = self;
2324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2325 return NULL;
2326 if (_argo0) {
2327 if (_argo0 == Py_None) { _arg0 = NULL; }
2328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2330 return NULL;
2331 }
2332 }
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 wxGridCellEditor_Destroy(_arg0);
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) return NULL;
2339 } Py_INCREF(Py_None);
2340 _resultobj = Py_None;
2341 return _resultobj;
2342 }
2343
2344 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2345 wxPyGridCellEditor *src;
2346 wxGridCellEditor *dest;
2347 src = (wxPyGridCellEditor *) ptr;
2348 dest = (wxGridCellEditor *) src;
2349 return (void *) dest;
2350 }
2351
2352 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2353 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject * _resultobj;
2355 wxPyGridCellEditor * _result;
2356 char *_kwnames[] = { NULL };
2357 char _ptemp[128];
2358
2359 self = self;
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2361 return NULL;
2362 {
2363 PyThreadState* __tstate = wxPyBeginAllowThreads();
2364 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2365
2366 wxPyEndAllowThreads(__tstate);
2367 if (PyErr_Occurred()) return NULL;
2368 } if (_result) {
2369 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2370 _resultobj = Py_BuildValue("s",_ptemp);
2371 } else {
2372 Py_INCREF(Py_None);
2373 _resultobj = Py_None;
2374 }
2375 return _resultobj;
2376 }
2377
2378 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2379 static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject * _resultobj;
2381 wxPyGridCellEditor * _arg0;
2382 PyObject * _arg1;
2383 PyObject * _arg2;
2384 PyObject * _argo0 = 0;
2385 PyObject * _obj1 = 0;
2386 PyObject * _obj2 = 0;
2387 char *_kwnames[] = { "self","self","_class", NULL };
2388
2389 self = self;
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2391 return NULL;
2392 if (_argo0) {
2393 if (_argo0 == Py_None) { _arg0 = NULL; }
2394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2396 return NULL;
2397 }
2398 }
2399 {
2400 _arg1 = _obj1;
2401 }
2402 {
2403 _arg2 = _obj2;
2404 }
2405 {
2406 PyThreadState* __tstate = wxPyBeginAllowThreads();
2407 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
2408
2409 wxPyEndAllowThreads(__tstate);
2410 if (PyErr_Occurred()) return NULL;
2411 } Py_INCREF(Py_None);
2412 _resultobj = Py_None;
2413 return _resultobj;
2414 }
2415
2416 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2417 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2418 PyObject * _resultobj;
2419 wxPyGridCellEditor * _arg0;
2420 wxRect * _arg1;
2421 PyObject * _argo0 = 0;
2422 wxRect temp;
2423 PyObject * _obj1 = 0;
2424 char *_kwnames[] = { "self","rect", NULL };
2425
2426 self = self;
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2428 return NULL;
2429 if (_argo0) {
2430 if (_argo0 == Py_None) { _arg0 = NULL; }
2431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2433 return NULL;
2434 }
2435 }
2436 {
2437 _arg1 = &temp;
2438 if (! wxRect_helper(_obj1, &_arg1))
2439 return NULL;
2440 }
2441 {
2442 PyThreadState* __tstate = wxPyBeginAllowThreads();
2443 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2444
2445 wxPyEndAllowThreads(__tstate);
2446 if (PyErr_Occurred()) return NULL;
2447 } Py_INCREF(Py_None);
2448 _resultobj = Py_None;
2449 return _resultobj;
2450 }
2451
2452 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2453 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject * _resultobj;
2455 wxPyGridCellEditor * _arg0;
2456 bool _arg1;
2457 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2458 PyObject * _argo0 = 0;
2459 int tempbool1;
2460 PyObject * _argo2 = 0;
2461 char *_kwnames[] = { "self","show","attr", NULL };
2462
2463 self = self;
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2465 return NULL;
2466 if (_argo0) {
2467 if (_argo0 == Py_None) { _arg0 = NULL; }
2468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2470 return NULL;
2471 }
2472 }
2473 _arg1 = (bool ) tempbool1;
2474 if (_argo2) {
2475 if (_argo2 == Py_None) { _arg2 = NULL; }
2476 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2477 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2478 return NULL;
2479 }
2480 }
2481 {
2482 PyThreadState* __tstate = wxPyBeginAllowThreads();
2483 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2484
2485 wxPyEndAllowThreads(__tstate);
2486 if (PyErr_Occurred()) return NULL;
2487 } Py_INCREF(Py_None);
2488 _resultobj = Py_None;
2489 return _resultobj;
2490 }
2491
2492 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2493 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject * _resultobj;
2495 wxPyGridCellEditor * _arg0;
2496 wxRect * _arg1;
2497 wxGridCellAttr * _arg2;
2498 PyObject * _argo0 = 0;
2499 wxRect temp;
2500 PyObject * _obj1 = 0;
2501 PyObject * _argo2 = 0;
2502 char *_kwnames[] = { "self","rectCell","attr", NULL };
2503
2504 self = self;
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2506 return NULL;
2507 if (_argo0) {
2508 if (_argo0 == Py_None) { _arg0 = NULL; }
2509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2511 return NULL;
2512 }
2513 }
2514 {
2515 _arg1 = &temp;
2516 if (! wxRect_helper(_obj1, &_arg1))
2517 return NULL;
2518 }
2519 if (_argo2) {
2520 if (_argo2 == Py_None) { _arg2 = NULL; }
2521 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2522 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2523 return NULL;
2524 }
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) return NULL;
2532 } Py_INCREF(Py_None);
2533 _resultobj = Py_None;
2534 return _resultobj;
2535 }
2536
2537 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2538 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2539 PyObject * _resultobj;
2540 wxPyGridCellEditor * _arg0;
2541 wxKeyEvent * _arg1;
2542 PyObject * _argo0 = 0;
2543 PyObject * _argo1 = 0;
2544 char *_kwnames[] = { "self","event", NULL };
2545
2546 self = self;
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2548 return NULL;
2549 if (_argo0) {
2550 if (_argo0 == Py_None) { _arg0 = NULL; }
2551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2553 return NULL;
2554 }
2555 }
2556 if (_argo1) {
2557 if (_argo1 == Py_None) { _arg1 = NULL; }
2558 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2560 return NULL;
2561 }
2562 }
2563 {
2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
2565 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2566
2567 wxPyEndAllowThreads(__tstate);
2568 if (PyErr_Occurred()) return NULL;
2569 } Py_INCREF(Py_None);
2570 _resultobj = Py_None;
2571 return _resultobj;
2572 }
2573
2574 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2575 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2576 PyObject * _resultobj;
2577 wxPyGridCellEditor * _arg0;
2578 wxKeyEvent * _arg1;
2579 PyObject * _argo0 = 0;
2580 PyObject * _argo1 = 0;
2581 char *_kwnames[] = { "self","event", NULL };
2582
2583 self = self;
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2585 return NULL;
2586 if (_argo0) {
2587 if (_argo0 == Py_None) { _arg0 = NULL; }
2588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2590 return NULL;
2591 }
2592 }
2593 if (_argo1) {
2594 if (_argo1 == Py_None) { _arg1 = NULL; }
2595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2597 return NULL;
2598 }
2599 }
2600 {
2601 PyThreadState* __tstate = wxPyBeginAllowThreads();
2602 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2603
2604 wxPyEndAllowThreads(__tstate);
2605 if (PyErr_Occurred()) return NULL;
2606 } Py_INCREF(Py_None);
2607 _resultobj = Py_None;
2608 return _resultobj;
2609 }
2610
2611 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2612 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2613 PyObject * _resultobj;
2614 wxPyGridCellEditor * _arg0;
2615 PyObject * _argo0 = 0;
2616 char *_kwnames[] = { "self", NULL };
2617
2618 self = self;
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2620 return NULL;
2621 if (_argo0) {
2622 if (_argo0 == Py_None) { _arg0 = NULL; }
2623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2625 return NULL;
2626 }
2627 }
2628 {
2629 PyThreadState* __tstate = wxPyBeginAllowThreads();
2630 wxPyGridCellEditor_base_StartingClick(_arg0);
2631
2632 wxPyEndAllowThreads(__tstate);
2633 if (PyErr_Occurred()) return NULL;
2634 } Py_INCREF(Py_None);
2635 _resultobj = Py_None;
2636 return _resultobj;
2637 }
2638
2639 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2640 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2641 PyObject * _resultobj;
2642 wxPyGridCellEditor * _arg0;
2643 wxKeyEvent * _arg1;
2644 PyObject * _argo0 = 0;
2645 PyObject * _argo1 = 0;
2646 char *_kwnames[] = { "self","event", NULL };
2647
2648 self = self;
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2650 return NULL;
2651 if (_argo0) {
2652 if (_argo0 == Py_None) { _arg0 = NULL; }
2653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2655 return NULL;
2656 }
2657 }
2658 if (_argo1) {
2659 if (_argo1 == Py_None) { _arg1 = NULL; }
2660 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2661 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2662 return NULL;
2663 }
2664 }
2665 {
2666 PyThreadState* __tstate = wxPyBeginAllowThreads();
2667 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2668
2669 wxPyEndAllowThreads(__tstate);
2670 if (PyErr_Occurred()) return NULL;
2671 } Py_INCREF(Py_None);
2672 _resultobj = Py_None;
2673 return _resultobj;
2674 }
2675
2676 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2677 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject * _resultobj;
2679 wxPyGridCellEditor * _arg0;
2680 PyObject * _argo0 = 0;
2681 char *_kwnames[] = { "self", NULL };
2682
2683 self = self;
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2685 return NULL;
2686 if (_argo0) {
2687 if (_argo0 == Py_None) { _arg0 = NULL; }
2688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2690 return NULL;
2691 }
2692 }
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 wxPyGridCellEditor_base_Destroy(_arg0);
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) return NULL;
2699 } Py_INCREF(Py_None);
2700 _resultobj = Py_None;
2701 return _resultobj;
2702 }
2703
2704 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2705 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2706 PyObject * _resultobj;
2707 wxPyGridCellEditor * _arg0;
2708 wxString * _arg1;
2709 PyObject * _argo0 = 0;
2710 PyObject * _obj1 = 0;
2711 char *_kwnames[] = { "self","params", NULL };
2712
2713 self = self;
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2715 return NULL;
2716 if (_argo0) {
2717 if (_argo0 == Py_None) { _arg0 = NULL; }
2718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2720 return NULL;
2721 }
2722 }
2723 {
2724 _arg1 = wxString_in_helper(_obj1);
2725 if (_arg1 == NULL)
2726 return NULL;
2727 }
2728 {
2729 PyThreadState* __tstate = wxPyBeginAllowThreads();
2730 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2731
2732 wxPyEndAllowThreads(__tstate);
2733 if (PyErr_Occurred()) return NULL;
2734 } Py_INCREF(Py_None);
2735 _resultobj = Py_None;
2736 {
2737 if (_obj1)
2738 delete _arg1;
2739 }
2740 return _resultobj;
2741 }
2742
2743 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2744 wxGridCellTextEditor *src;
2745 wxGridCellEditor *dest;
2746 src = (wxGridCellTextEditor *) ptr;
2747 dest = (wxGridCellEditor *) src;
2748 return (void *) dest;
2749 }
2750
2751 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2752 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2753 PyObject * _resultobj;
2754 wxGridCellTextEditor * _result;
2755 char *_kwnames[] = { NULL };
2756 char _ptemp[128];
2757
2758 self = self;
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2760 return NULL;
2761 {
2762 PyThreadState* __tstate = wxPyBeginAllowThreads();
2763 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2764
2765 wxPyEndAllowThreads(__tstate);
2766 if (PyErr_Occurred()) return NULL;
2767 } if (_result) {
2768 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2769 _resultobj = Py_BuildValue("s",_ptemp);
2770 } else {
2771 Py_INCREF(Py_None);
2772 _resultobj = Py_None;
2773 }
2774 return _resultobj;
2775 }
2776
2777 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2778 wxGridCellNumberEditor *src;
2779 wxGridCellTextEditor *dest;
2780 src = (wxGridCellNumberEditor *) ptr;
2781 dest = (wxGridCellTextEditor *) src;
2782 return (void *) dest;
2783 }
2784
2785 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2786 wxGridCellNumberEditor *src;
2787 wxGridCellEditor *dest;
2788 src = (wxGridCellNumberEditor *) ptr;
2789 dest = (wxGridCellEditor *) src;
2790 return (void *) dest;
2791 }
2792
2793 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2794 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2795 PyObject * _resultobj;
2796 wxGridCellNumberEditor * _result;
2797 int _arg0 = (int ) -1;
2798 int _arg1 = (int ) -1;
2799 char *_kwnames[] = { "min","max", NULL };
2800 char _ptemp[128];
2801
2802 self = self;
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2804 return NULL;
2805 {
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) return NULL;
2811 } if (_result) {
2812 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2813 _resultobj = Py_BuildValue("s",_ptemp);
2814 } else {
2815 Py_INCREF(Py_None);
2816 _resultobj = Py_None;
2817 }
2818 return _resultobj;
2819 }
2820
2821 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2822 wxGridCellFloatEditor *src;
2823 wxGridCellTextEditor *dest;
2824 src = (wxGridCellFloatEditor *) ptr;
2825 dest = (wxGridCellTextEditor *) src;
2826 return (void *) dest;
2827 }
2828
2829 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2830 wxGridCellFloatEditor *src;
2831 wxGridCellEditor *dest;
2832 src = (wxGridCellFloatEditor *) ptr;
2833 dest = (wxGridCellEditor *) src;
2834 return (void *) dest;
2835 }
2836
2837 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2838 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2839 PyObject * _resultobj;
2840 wxGridCellFloatEditor * _result;
2841 char *_kwnames[] = { NULL };
2842 char _ptemp[128];
2843
2844 self = self;
2845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2846 return NULL;
2847 {
2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
2849 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2850
2851 wxPyEndAllowThreads(__tstate);
2852 if (PyErr_Occurred()) return NULL;
2853 } if (_result) {
2854 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2855 _resultobj = Py_BuildValue("s",_ptemp);
2856 } else {
2857 Py_INCREF(Py_None);
2858 _resultobj = Py_None;
2859 }
2860 return _resultobj;
2861 }
2862
2863 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2864 wxGridCellBoolEditor *src;
2865 wxGridCellEditor *dest;
2866 src = (wxGridCellBoolEditor *) ptr;
2867 dest = (wxGridCellEditor *) src;
2868 return (void *) dest;
2869 }
2870
2871 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2872 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2873 PyObject * _resultobj;
2874 wxGridCellBoolEditor * _result;
2875 char *_kwnames[] = { NULL };
2876 char _ptemp[128];
2877
2878 self = self;
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2880 return NULL;
2881 {
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) return NULL;
2887 } if (_result) {
2888 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2889 _resultobj = Py_BuildValue("s",_ptemp);
2890 } else {
2891 Py_INCREF(Py_None);
2892 _resultobj = Py_None;
2893 }
2894 return _resultobj;
2895 }
2896
2897 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2898 wxGridCellChoiceEditor *src;
2899 wxGridCellEditor *dest;
2900 src = (wxGridCellChoiceEditor *) ptr;
2901 dest = (wxGridCellEditor *) src;
2902 return (void *) dest;
2903 }
2904
2905 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2906 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject * _resultobj;
2908 wxGridCellChoiceEditor * _result;
2909 int _arg0 = (int ) 0;
2910 wxString * _arg1 = (wxString *) NULL;
2911 bool _arg2 = (bool ) FALSE;
2912 PyObject * _obj1 = 0;
2913 int tempbool2 = (int) FALSE;
2914 char *_kwnames[] = { "choices","allowOthers", NULL };
2915 char _ptemp[128];
2916
2917 self = self;
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2919 return NULL;
2920 if (_obj1)
2921 {
2922 _arg1 = wxString_LIST_helper(_obj1);
2923 if (_arg1 == NULL) {
2924 return NULL;
2925 }
2926 }
2927 _arg2 = (bool ) tempbool2;
2928 {
2929 if (_obj1) {
2930 _arg0 = PyList_Size(_obj1);
2931 }
2932 else {
2933 _arg0 = 0;
2934 }
2935 }
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) return NULL;
2942 } if (_result) {
2943 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2944 _resultobj = Py_BuildValue("s",_ptemp);
2945 } else {
2946 Py_INCREF(Py_None);
2947 _resultobj = Py_None;
2948 }
2949 {
2950 delete [] _arg1;
2951 }
2952 return _resultobj;
2953 }
2954
2955 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
2956 wxGridCellEnumEditor *src;
2957 wxGridCellChoiceEditor *dest;
2958 src = (wxGridCellEnumEditor *) ptr;
2959 dest = (wxGridCellChoiceEditor *) src;
2960 return (void *) dest;
2961 }
2962
2963 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
2964 wxGridCellEnumEditor *src;
2965 wxGridCellEditor *dest;
2966 src = (wxGridCellEnumEditor *) ptr;
2967 dest = (wxGridCellEditor *) src;
2968 return (void *) dest;
2969 }
2970
2971 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
2972 static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2973 PyObject * _resultobj;
2974 wxGridCellEnumEditor * _result;
2975 wxString * _arg0 = (wxString *) &"";
2976 PyObject * _obj0 = 0;
2977 char *_kwnames[] = { "choices", NULL };
2978 char _ptemp[128];
2979
2980 self = self;
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
2982 return NULL;
2983 if (_obj0)
2984 {
2985 _arg0 = wxString_LIST_helper(_obj0);
2986 if (_arg0 == NULL) {
2987 return NULL;
2988 }
2989 }
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) return NULL;
2996 } if (_result) {
2997 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
2998 _resultobj = Py_BuildValue("s",_ptemp);
2999 } else {
3000 Py_INCREF(Py_None);
3001 _resultobj = Py_None;
3002 }
3003 {
3004 delete [] _arg0;
3005 }
3006 return _resultobj;
3007 }
3008
3009 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
3010 wxGridCellAutoWrapStringEditor *src;
3011 wxGridCellTextEditor *dest;
3012 src = (wxGridCellAutoWrapStringEditor *) ptr;
3013 dest = (wxGridCellTextEditor *) src;
3014 return (void *) dest;
3015 }
3016
3017 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3018 wxGridCellAutoWrapStringEditor *src;
3019 wxGridCellEditor *dest;
3020 src = (wxGridCellAutoWrapStringEditor *) ptr;
3021 dest = (wxGridCellEditor *) src;
3022 return (void *) dest;
3023 }
3024
3025 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3026 static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3027 PyObject * _resultobj;
3028 wxGridCellAutoWrapStringEditor * _result;
3029 char *_kwnames[] = { NULL };
3030 char _ptemp[128];
3031
3032 self = self;
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3034 return NULL;
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) return NULL;
3041 } if (_result) {
3042 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3043 _resultobj = Py_BuildValue("s",_ptemp);
3044 } else {
3045 Py_INCREF(Py_None);
3046 _resultobj = Py_None;
3047 }
3048 return _resultobj;
3049 }
3050
3051 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3052 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject * _resultobj;
3054 wxGridCellAttr * _result;
3055 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3056 PyObject * _argo0 = 0;
3057 char *_kwnames[] = { "attrDefault", NULL };
3058 char _ptemp[128];
3059
3060 self = self;
3061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
3062 return NULL;
3063 if (_argo0) {
3064 if (_argo0 == Py_None) { _arg0 = NULL; }
3065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3067 return NULL;
3068 }
3069 }
3070 {
3071 PyThreadState* __tstate = wxPyBeginAllowThreads();
3072 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
3073
3074 wxPyEndAllowThreads(__tstate);
3075 if (PyErr_Occurred()) return NULL;
3076 } if (_result) {
3077 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3078 _resultobj = Py_BuildValue("s",_ptemp);
3079 } else {
3080 Py_INCREF(Py_None);
3081 _resultobj = Py_None;
3082 }
3083 return _resultobj;
3084 }
3085
3086 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3087 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3088 PyObject * _resultobj;
3089 wxGridCellAttr * _result;
3090 wxGridCellAttr * _arg0;
3091 PyObject * _argo0 = 0;
3092 char *_kwnames[] = { "self", NULL };
3093 char _ptemp[128];
3094
3095 self = self;
3096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3097 return NULL;
3098 if (_argo0) {
3099 if (_argo0 == Py_None) { _arg0 = NULL; }
3100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3102 return NULL;
3103 }
3104 }
3105 {
3106 PyThreadState* __tstate = wxPyBeginAllowThreads();
3107 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3108
3109 wxPyEndAllowThreads(__tstate);
3110 if (PyErr_Occurred()) return NULL;
3111 } if (_result) {
3112 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3113 _resultobj = Py_BuildValue("s",_ptemp);
3114 } else {
3115 Py_INCREF(Py_None);
3116 _resultobj = Py_None;
3117 }
3118 return _resultobj;
3119 }
3120
3121 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3122 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject * _resultobj;
3124 wxGridCellAttr * _arg0;
3125 wxGridCellAttr * _arg1;
3126 PyObject * _argo0 = 0;
3127 PyObject * _argo1 = 0;
3128 char *_kwnames[] = { "self","mergefrom", NULL };
3129
3130 self = self;
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3132 return NULL;
3133 if (_argo0) {
3134 if (_argo0 == Py_None) { _arg0 = NULL; }
3135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3137 return NULL;
3138 }
3139 }
3140 if (_argo1) {
3141 if (_argo1 == Py_None) { _arg1 = NULL; }
3142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3144 return NULL;
3145 }
3146 }
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 wxGridCellAttr_MergeWith(_arg0,_arg1);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) return NULL;
3153 } Py_INCREF(Py_None);
3154 _resultobj = Py_None;
3155 return _resultobj;
3156 }
3157
3158 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3159 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3160 PyObject * _resultobj;
3161 wxGridCellAttr * _arg0;
3162 PyObject * _argo0 = 0;
3163 char *_kwnames[] = { "self", NULL };
3164
3165 self = self;
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3167 return NULL;
3168 if (_argo0) {
3169 if (_argo0 == Py_None) { _arg0 = NULL; }
3170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3172 return NULL;
3173 }
3174 }
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 wxGridCellAttr_IncRef(_arg0);
3178
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) return NULL;
3181 } Py_INCREF(Py_None);
3182 _resultobj = Py_None;
3183 return _resultobj;
3184 }
3185
3186 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3187 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3188 PyObject * _resultobj;
3189 wxGridCellAttr * _arg0;
3190 PyObject * _argo0 = 0;
3191 char *_kwnames[] = { "self", NULL };
3192
3193 self = self;
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3195 return NULL;
3196 if (_argo0) {
3197 if (_argo0 == Py_None) { _arg0 = NULL; }
3198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3200 return NULL;
3201 }
3202 }
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 wxGridCellAttr_DecRef(_arg0);
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) return NULL;
3209 } Py_INCREF(Py_None);
3210 _resultobj = Py_None;
3211 return _resultobj;
3212 }
3213
3214 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3215 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3216 PyObject * _resultobj;
3217 wxGridCellAttr * _arg0;
3218 wxColour * _arg1;
3219 PyObject * _argo0 = 0;
3220 wxColour temp;
3221 PyObject * _obj1 = 0;
3222 char *_kwnames[] = { "self","colText", NULL };
3223
3224 self = self;
3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3226 return NULL;
3227 if (_argo0) {
3228 if (_argo0 == Py_None) { _arg0 = NULL; }
3229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3231 return NULL;
3232 }
3233 }
3234 {
3235 _arg1 = &temp;
3236 if (! wxColour_helper(_obj1, &_arg1))
3237 return NULL;
3238 }
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
3242
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) return NULL;
3245 } Py_INCREF(Py_None);
3246 _resultobj = Py_None;
3247 return _resultobj;
3248 }
3249
3250 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3251 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject * _resultobj;
3253 wxGridCellAttr * _arg0;
3254 wxColour * _arg1;
3255 PyObject * _argo0 = 0;
3256 wxColour temp;
3257 PyObject * _obj1 = 0;
3258 char *_kwnames[] = { "self","colBack", NULL };
3259
3260 self = self;
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3262 return NULL;
3263 if (_argo0) {
3264 if (_argo0 == Py_None) { _arg0 = NULL; }
3265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3267 return NULL;
3268 }
3269 }
3270 {
3271 _arg1 = &temp;
3272 if (! wxColour_helper(_obj1, &_arg1))
3273 return NULL;
3274 }
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) return NULL;
3281 } Py_INCREF(Py_None);
3282 _resultobj = Py_None;
3283 return _resultobj;
3284 }
3285
3286 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3287 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject * _resultobj;
3289 wxGridCellAttr * _arg0;
3290 wxFont * _arg1;
3291 PyObject * _argo0 = 0;
3292 PyObject * _argo1 = 0;
3293 char *_kwnames[] = { "self","font", NULL };
3294
3295 self = self;
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3297 return NULL;
3298 if (_argo0) {
3299 if (_argo0 == Py_None) { _arg0 = NULL; }
3300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3302 return NULL;
3303 }
3304 }
3305 if (_argo1) {
3306 if (_argo1 == Py_None) { _arg1 = NULL; }
3307 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3308 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3309 return NULL;
3310 }
3311 }
3312 {
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 wxGridCellAttr_SetFont(_arg0,*_arg1);
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) return NULL;
3318 } Py_INCREF(Py_None);
3319 _resultobj = Py_None;
3320 return _resultobj;
3321 }
3322
3323 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3324 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3325 PyObject * _resultobj;
3326 wxGridCellAttr * _arg0;
3327 int _arg1;
3328 int _arg2;
3329 PyObject * _argo0 = 0;
3330 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3331
3332 self = self;
3333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3334 return NULL;
3335 if (_argo0) {
3336 if (_argo0 == Py_None) { _arg0 = NULL; }
3337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3339 return NULL;
3340 }
3341 }
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) return NULL;
3348 } Py_INCREF(Py_None);
3349 _resultobj = Py_None;
3350 return _resultobj;
3351 }
3352
3353 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3354 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3355 PyObject * _resultobj;
3356 wxGridCellAttr * _arg0;
3357 bool _arg1 = (bool ) TRUE;
3358 PyObject * _argo0 = 0;
3359 int tempbool1 = (int) TRUE;
3360 char *_kwnames[] = { "self","isReadOnly", NULL };
3361
3362 self = self;
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3364 return NULL;
3365 if (_argo0) {
3366 if (_argo0 == Py_None) { _arg0 = NULL; }
3367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3369 return NULL;
3370 }
3371 }
3372 _arg1 = (bool ) tempbool1;
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) return NULL;
3379 } Py_INCREF(Py_None);
3380 _resultobj = Py_None;
3381 return _resultobj;
3382 }
3383
3384 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3385 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3386 PyObject * _resultobj;
3387 wxGridCellAttr * _arg0;
3388 wxGridCellRenderer * _arg1;
3389 PyObject * _argo0 = 0;
3390 PyObject * _argo1 = 0;
3391 char *_kwnames[] = { "self","renderer", NULL };
3392
3393 self = self;
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3400 return NULL;
3401 }
3402 }
3403 if (_argo1) {
3404 if (_argo1 == Py_None) { _arg1 = NULL; }
3405 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3406 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3407 return NULL;
3408 }
3409 }
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) return NULL;
3416 } Py_INCREF(Py_None);
3417 _resultobj = Py_None;
3418 return _resultobj;
3419 }
3420
3421 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3422 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject * _resultobj;
3424 wxGridCellAttr * _arg0;
3425 wxGridCellEditor * _arg1;
3426 PyObject * _argo0 = 0;
3427 PyObject * _argo1 = 0;
3428 char *_kwnames[] = { "self","editor", NULL };
3429
3430 self = self;
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3432 return NULL;
3433 if (_argo0) {
3434 if (_argo0 == Py_None) { _arg0 = NULL; }
3435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3437 return NULL;
3438 }
3439 }
3440 if (_argo1) {
3441 if (_argo1 == Py_None) { _arg1 = NULL; }
3442 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3443 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3444 return NULL;
3445 }
3446 }
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 wxGridCellAttr_SetEditor(_arg0,_arg1);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) return NULL;
3453 } Py_INCREF(Py_None);
3454 _resultobj = Py_None;
3455 return _resultobj;
3456 }
3457
3458 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3459 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject * _resultobj;
3461 wxGridCellAttr * _arg0;
3462 wxGridCellAttr::wxAttrKind _arg1;
3463 PyObject * _argo0 = 0;
3464 char *_kwnames[] = { "self","kind", NULL };
3465
3466 self = self;
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3468 return NULL;
3469 if (_argo0) {
3470 if (_argo0 == Py_None) { _arg0 = NULL; }
3471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3473 return NULL;
3474 }
3475 }
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 wxGridCellAttr_SetKind(_arg0,_arg1);
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) return NULL;
3482 } Py_INCREF(Py_None);
3483 _resultobj = Py_None;
3484 return _resultobj;
3485 }
3486
3487 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3488 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3489 PyObject * _resultobj;
3490 bool _result;
3491 wxGridCellAttr * _arg0;
3492 PyObject * _argo0 = 0;
3493 char *_kwnames[] = { "self", NULL };
3494
3495 self = self;
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3497 return NULL;
3498 if (_argo0) {
3499 if (_argo0 == Py_None) { _arg0 = NULL; }
3500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3502 return NULL;
3503 }
3504 }
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3508
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) return NULL;
3511 } _resultobj = Py_BuildValue("i",_result);
3512 return _resultobj;
3513 }
3514
3515 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3516 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3517 PyObject * _resultobj;
3518 bool _result;
3519 wxGridCellAttr * _arg0;
3520 PyObject * _argo0 = 0;
3521 char *_kwnames[] = { "self", NULL };
3522
3523 self = self;
3524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3525 return NULL;
3526 if (_argo0) {
3527 if (_argo0 == Py_None) { _arg0 = NULL; }
3528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3530 return NULL;
3531 }
3532 }
3533 {
3534 PyThreadState* __tstate = wxPyBeginAllowThreads();
3535 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3536
3537 wxPyEndAllowThreads(__tstate);
3538 if (PyErr_Occurred()) return NULL;
3539 } _resultobj = Py_BuildValue("i",_result);
3540 return _resultobj;
3541 }
3542
3543 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3544 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject * _resultobj;
3546 bool _result;
3547 wxGridCellAttr * _arg0;
3548 PyObject * _argo0 = 0;
3549 char *_kwnames[] = { "self", NULL };
3550
3551 self = self;
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3553 return NULL;
3554 if (_argo0) {
3555 if (_argo0 == Py_None) { _arg0 = NULL; }
3556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3558 return NULL;
3559 }
3560 }
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3564
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) return NULL;
3567 } _resultobj = Py_BuildValue("i",_result);
3568 return _resultobj;
3569 }
3570
3571 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3572 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3573 PyObject * _resultobj;
3574 bool _result;
3575 wxGridCellAttr * _arg0;
3576 PyObject * _argo0 = 0;
3577 char *_kwnames[] = { "self", NULL };
3578
3579 self = self;
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3581 return NULL;
3582 if (_argo0) {
3583 if (_argo0 == Py_None) { _arg0 = NULL; }
3584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3586 return NULL;
3587 }
3588 }
3589 {
3590 PyThreadState* __tstate = wxPyBeginAllowThreads();
3591 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3592
3593 wxPyEndAllowThreads(__tstate);
3594 if (PyErr_Occurred()) return NULL;
3595 } _resultobj = Py_BuildValue("i",_result);
3596 return _resultobj;
3597 }
3598
3599 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3600 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3601 PyObject * _resultobj;
3602 bool _result;
3603 wxGridCellAttr * _arg0;
3604 PyObject * _argo0 = 0;
3605 char *_kwnames[] = { "self", NULL };
3606
3607 self = self;
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3609 return NULL;
3610 if (_argo0) {
3611 if (_argo0 == Py_None) { _arg0 = NULL; }
3612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3614 return NULL;
3615 }
3616 }
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) return NULL;
3623 } _resultobj = Py_BuildValue("i",_result);
3624 return _resultobj;
3625 }
3626
3627 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3628 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject * _resultobj;
3630 bool _result;
3631 wxGridCellAttr * _arg0;
3632 PyObject * _argo0 = 0;
3633 char *_kwnames[] = { "self", NULL };
3634
3635 self = self;
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3637 return NULL;
3638 if (_argo0) {
3639 if (_argo0 == Py_None) { _arg0 = NULL; }
3640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3642 return NULL;
3643 }
3644 }
3645 {
3646 PyThreadState* __tstate = wxPyBeginAllowThreads();
3647 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3648
3649 wxPyEndAllowThreads(__tstate);
3650 if (PyErr_Occurred()) return NULL;
3651 } _resultobj = Py_BuildValue("i",_result);
3652 return _resultobj;
3653 }
3654
3655 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3656 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject * _resultobj;
3658 bool _result;
3659 wxGridCellAttr * _arg0;
3660 PyObject * _argo0 = 0;
3661 char *_kwnames[] = { "self", NULL };
3662
3663 self = self;
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3665 return NULL;
3666 if (_argo0) {
3667 if (_argo0 == Py_None) { _arg0 = NULL; }
3668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3670 return NULL;
3671 }
3672 }
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3676
3677 wxPyEndAllowThreads(__tstate);
3678 if (PyErr_Occurred()) return NULL;
3679 } _resultobj = Py_BuildValue("i",_result);
3680 return _resultobj;
3681 }
3682
3683 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3684 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3685 PyObject * _resultobj;
3686 wxColour * _result;
3687 wxGridCellAttr * _arg0;
3688 PyObject * _argo0 = 0;
3689 char *_kwnames[] = { "self", NULL };
3690 char _ptemp[128];
3691
3692 self = self;
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3694 return NULL;
3695 if (_argo0) {
3696 if (_argo0 == Py_None) { _arg0 = NULL; }
3697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3699 return NULL;
3700 }
3701 }
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) return NULL;
3708 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3709 _resultobj = Py_BuildValue("s",_ptemp);
3710 return _resultobj;
3711 }
3712
3713 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3714 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3715 PyObject * _resultobj;
3716 wxColour * _result;
3717 wxGridCellAttr * _arg0;
3718 PyObject * _argo0 = 0;
3719 char *_kwnames[] = { "self", NULL };
3720 char _ptemp[128];
3721
3722 self = self;
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3724 return NULL;
3725 if (_argo0) {
3726 if (_argo0 == Py_None) { _arg0 = NULL; }
3727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3729 return NULL;
3730 }
3731 }
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) return NULL;
3738 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3739 _resultobj = Py_BuildValue("s",_ptemp);
3740 return _resultobj;
3741 }
3742
3743 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3744 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject * _resultobj;
3746 wxFont * _result;
3747 wxGridCellAttr * _arg0;
3748 PyObject * _argo0 = 0;
3749 char *_kwnames[] = { "self", NULL };
3750 char _ptemp[128];
3751
3752 self = self;
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3754 return NULL;
3755 if (_argo0) {
3756 if (_argo0 == Py_None) { _arg0 = NULL; }
3757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3759 return NULL;
3760 }
3761 }
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) return NULL;
3768 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
3769 _resultobj = Py_BuildValue("s",_ptemp);
3770 return _resultobj;
3771 }
3772
3773 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3774 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject * _resultobj;
3776 wxGridCellAttr * _arg0;
3777 int * _arg1;
3778 int temp;
3779 int * _arg2;
3780 int temp0;
3781 PyObject * _argo0 = 0;
3782 char *_kwnames[] = { "self", NULL };
3783
3784 self = self;
3785 {
3786 _arg1 = &temp;
3787 }
3788 {
3789 _arg2 = &temp0;
3790 }
3791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3792 return NULL;
3793 if (_argo0) {
3794 if (_argo0 == Py_None) { _arg0 = NULL; }
3795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3797 return NULL;
3798 }
3799 }
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3803
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) return NULL;
3806 } Py_INCREF(Py_None);
3807 _resultobj = Py_None;
3808 {
3809 PyObject *o;
3810 o = PyInt_FromLong((long) (*_arg1));
3811 _resultobj = t_output_helper(_resultobj, o);
3812 }
3813 {
3814 PyObject *o;
3815 o = PyInt_FromLong((long) (*_arg2));
3816 _resultobj = t_output_helper(_resultobj, o);
3817 }
3818 return _resultobj;
3819 }
3820
3821 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3822 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject * _resultobj;
3824 wxGridCellRenderer * _result;
3825 wxGridCellAttr * _arg0;
3826 wxGrid * _arg1;
3827 int _arg2;
3828 int _arg3;
3829 PyObject * _argo0 = 0;
3830 PyObject * _argo1 = 0;
3831 char *_kwnames[] = { "self","grid","row","col", NULL };
3832 char _ptemp[128];
3833
3834 self = self;
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3836 return NULL;
3837 if (_argo0) {
3838 if (_argo0 == Py_None) { _arg0 = NULL; }
3839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3841 return NULL;
3842 }
3843 }
3844 if (_argo1) {
3845 if (_argo1 == Py_None) { _arg1 = NULL; }
3846 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3847 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3848 return NULL;
3849 }
3850 }
3851 {
3852 PyThreadState* __tstate = wxPyBeginAllowThreads();
3853 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3854
3855 wxPyEndAllowThreads(__tstate);
3856 if (PyErr_Occurred()) return NULL;
3857 } if (_result) {
3858 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3859 _resultobj = Py_BuildValue("s",_ptemp);
3860 } else {
3861 Py_INCREF(Py_None);
3862 _resultobj = Py_None;
3863 }
3864 return _resultobj;
3865 }
3866
3867 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3868 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3869 PyObject * _resultobj;
3870 wxGridCellEditor * _result;
3871 wxGridCellAttr * _arg0;
3872 wxGrid * _arg1;
3873 int _arg2;
3874 int _arg3;
3875 PyObject * _argo0 = 0;
3876 PyObject * _argo1 = 0;
3877 char *_kwnames[] = { "self","grid","row","col", NULL };
3878 char _ptemp[128];
3879
3880 self = self;
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3882 return NULL;
3883 if (_argo0) {
3884 if (_argo0 == Py_None) { _arg0 = NULL; }
3885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3887 return NULL;
3888 }
3889 }
3890 if (_argo1) {
3891 if (_argo1 == Py_None) { _arg1 = NULL; }
3892 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3893 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3894 return NULL;
3895 }
3896 }
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) return NULL;
3903 } if (_result) {
3904 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3905 _resultobj = Py_BuildValue("s",_ptemp);
3906 } else {
3907 Py_INCREF(Py_None);
3908 _resultobj = Py_None;
3909 }
3910 return _resultobj;
3911 }
3912
3913 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3914 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject * _resultobj;
3916 bool _result;
3917 wxGridCellAttr * _arg0;
3918 PyObject * _argo0 = 0;
3919 char *_kwnames[] = { "self", NULL };
3920
3921 self = self;
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3923 return NULL;
3924 if (_argo0) {
3925 if (_argo0 == Py_None) { _arg0 = NULL; }
3926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3928 return NULL;
3929 }
3930 }
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) return NULL;
3937 } _resultobj = Py_BuildValue("i",_result);
3938 return _resultobj;
3939 }
3940
3941 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3942 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject * _resultobj;
3944 wxGridCellAttr * _arg0;
3945 wxGridCellAttr * _arg1;
3946 PyObject * _argo0 = 0;
3947 PyObject * _argo1 = 0;
3948 char *_kwnames[] = { "self","defAttr", NULL };
3949
3950 self = self;
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3952 return NULL;
3953 if (_argo0) {
3954 if (_argo0 == Py_None) { _arg0 = NULL; }
3955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3957 return NULL;
3958 }
3959 }
3960 if (_argo1) {
3961 if (_argo1 == Py_None) { _arg1 = NULL; }
3962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3964 return NULL;
3965 }
3966 }
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) return NULL;
3973 } Py_INCREF(Py_None);
3974 _resultobj = Py_None;
3975 return _resultobj;
3976 }
3977
3978 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3979 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject * _resultobj;
3981 wxGridCellAttrProvider * _result;
3982 char *_kwnames[] = { NULL };
3983 char _ptemp[128];
3984
3985 self = self;
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3987 return NULL;
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) return NULL;
3994 } if (_result) {
3995 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3996 _resultobj = Py_BuildValue("s",_ptemp);
3997 } else {
3998 Py_INCREF(Py_None);
3999 _resultobj = Py_None;
4000 }
4001 return _resultobj;
4002 }
4003
4004 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4005 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject * _resultobj;
4007 wxGridCellAttr * _result;
4008 wxGridCellAttrProvider * _arg0;
4009 int _arg1;
4010 int _arg2;
4011 wxGridCellAttr::wxAttrKind _arg3;
4012 PyObject * _argo0 = 0;
4013 char *_kwnames[] = { "self","row","col","kind", NULL };
4014 char _ptemp[128];
4015
4016 self = self;
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4018 return NULL;
4019 if (_argo0) {
4020 if (_argo0 == Py_None) { _arg0 = NULL; }
4021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4023 return NULL;
4024 }
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) return NULL;
4032 } if (_result) {
4033 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4034 _resultobj = Py_BuildValue("s",_ptemp);
4035 } else {
4036 Py_INCREF(Py_None);
4037 _resultobj = Py_None;
4038 }
4039 return _resultobj;
4040 }
4041
4042 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4043 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4044 PyObject * _resultobj;
4045 wxGridCellAttrProvider * _arg0;
4046 wxGridCellAttr * _arg1;
4047 int _arg2;
4048 int _arg3;
4049 PyObject * _argo0 = 0;
4050 PyObject * _argo1 = 0;
4051 char *_kwnames[] = { "self","attr","row","col", NULL };
4052
4053 self = self;
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4055 return NULL;
4056 if (_argo0) {
4057 if (_argo0 == Py_None) { _arg0 = NULL; }
4058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4060 return NULL;
4061 }
4062 }
4063 if (_argo1) {
4064 if (_argo1 == Py_None) { _arg1 = NULL; }
4065 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4066 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4067 return NULL;
4068 }
4069 }
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4073
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) return NULL;
4076 } Py_INCREF(Py_None);
4077 _resultobj = Py_None;
4078 return _resultobj;
4079 }
4080
4081 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4082 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4083 PyObject * _resultobj;
4084 wxGridCellAttrProvider * _arg0;
4085 wxGridCellAttr * _arg1;
4086 int _arg2;
4087 PyObject * _argo0 = 0;
4088 PyObject * _argo1 = 0;
4089 char *_kwnames[] = { "self","attr","row", NULL };
4090
4091 self = self;
4092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4093 return NULL;
4094 if (_argo0) {
4095 if (_argo0 == Py_None) { _arg0 = NULL; }
4096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4098 return NULL;
4099 }
4100 }
4101 if (_argo1) {
4102 if (_argo1 == Py_None) { _arg1 = NULL; }
4103 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4104 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4105 return NULL;
4106 }
4107 }
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4111
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) return NULL;
4114 } Py_INCREF(Py_None);
4115 _resultobj = Py_None;
4116 return _resultobj;
4117 }
4118
4119 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4120 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject * _resultobj;
4122 wxGridCellAttrProvider * _arg0;
4123 wxGridCellAttr * _arg1;
4124 int _arg2;
4125 PyObject * _argo0 = 0;
4126 PyObject * _argo1 = 0;
4127 char *_kwnames[] = { "self","attr","col", NULL };
4128
4129 self = self;
4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4131 return NULL;
4132 if (_argo0) {
4133 if (_argo0 == Py_None) { _arg0 = NULL; }
4134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4136 return NULL;
4137 }
4138 }
4139 if (_argo1) {
4140 if (_argo1 == Py_None) { _arg1 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4143 return NULL;
4144 }
4145 }
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) return NULL;
4152 } Py_INCREF(Py_None);
4153 _resultobj = Py_None;
4154 return _resultobj;
4155 }
4156
4157 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4158 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject * _resultobj;
4160 wxGridCellAttrProvider * _arg0;
4161 size_t _arg1;
4162 int _arg2;
4163 PyObject * _argo0 = 0;
4164 char *_kwnames[] = { "self","pos","numRows", NULL };
4165
4166 self = self;
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4168 return NULL;
4169 if (_argo0) {
4170 if (_argo0 == Py_None) { _arg0 = NULL; }
4171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4173 return NULL;
4174 }
4175 }
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) return NULL;
4182 } Py_INCREF(Py_None);
4183 _resultobj = Py_None;
4184 return _resultobj;
4185 }
4186
4187 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4188 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject * _resultobj;
4190 wxGridCellAttrProvider * _arg0;
4191 size_t _arg1;
4192 int _arg2;
4193 PyObject * _argo0 = 0;
4194 char *_kwnames[] = { "self","pos","numCols", NULL };
4195
4196 self = self;
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4198 return NULL;
4199 if (_argo0) {
4200 if (_argo0 == Py_None) { _arg0 = NULL; }
4201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4203 return NULL;
4204 }
4205 }
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) return NULL;
4212 } Py_INCREF(Py_None);
4213 _resultobj = Py_None;
4214 return _resultobj;
4215 }
4216
4217 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4218 wxPyGridCellAttrProvider *src;
4219 wxGridCellAttrProvider *dest;
4220 src = (wxPyGridCellAttrProvider *) ptr;
4221 dest = (wxGridCellAttrProvider *) src;
4222 return (void *) dest;
4223 }
4224
4225 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4226 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4227 PyObject * _resultobj;
4228 wxPyGridCellAttrProvider * _result;
4229 char *_kwnames[] = { NULL };
4230 char _ptemp[128];
4231
4232 self = self;
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4234 return NULL;
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) return NULL;
4241 } if (_result) {
4242 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4243 _resultobj = Py_BuildValue("s",_ptemp);
4244 } else {
4245 Py_INCREF(Py_None);
4246 _resultobj = Py_None;
4247 }
4248 return _resultobj;
4249 }
4250
4251 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4252 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject * _resultobj;
4254 wxPyGridCellAttrProvider * _arg0;
4255 PyObject * _arg1;
4256 PyObject * _arg2;
4257 PyObject * _argo0 = 0;
4258 PyObject * _obj1 = 0;
4259 PyObject * _obj2 = 0;
4260 char *_kwnames[] = { "self","self","_class", NULL };
4261
4262 self = self;
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4264 return NULL;
4265 if (_argo0) {
4266 if (_argo0 == Py_None) { _arg0 = NULL; }
4267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4269 return NULL;
4270 }
4271 }
4272 {
4273 _arg1 = _obj1;
4274 }
4275 {
4276 _arg2 = _obj2;
4277 }
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) return NULL;
4284 } Py_INCREF(Py_None);
4285 _resultobj = Py_None;
4286 return _resultobj;
4287 }
4288
4289 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4290 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4291 PyObject * _resultobj;
4292 wxGridCellAttr * _result;
4293 wxPyGridCellAttrProvider * _arg0;
4294 int _arg1;
4295 int _arg2;
4296 wxGridCellAttr::wxAttrKind _arg3;
4297 PyObject * _argo0 = 0;
4298 char *_kwnames[] = { "self","row","col","kind", NULL };
4299 char _ptemp[128];
4300
4301 self = self;
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4303 return NULL;
4304 if (_argo0) {
4305 if (_argo0 == Py_None) { _arg0 = NULL; }
4306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4308 return NULL;
4309 }
4310 }
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4314
4315 wxPyEndAllowThreads(__tstate);
4316 if (PyErr_Occurred()) return NULL;
4317 } if (_result) {
4318 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4319 _resultobj = Py_BuildValue("s",_ptemp);
4320 } else {
4321 Py_INCREF(Py_None);
4322 _resultobj = Py_None;
4323 }
4324 return _resultobj;
4325 }
4326
4327 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4328 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject * _resultobj;
4330 wxPyGridCellAttrProvider * _arg0;
4331 wxGridCellAttr * _arg1;
4332 int _arg2;
4333 int _arg3;
4334 PyObject * _argo0 = 0;
4335 PyObject * _argo1 = 0;
4336 char *_kwnames[] = { "self","attr","row","col", NULL };
4337
4338 self = self;
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4340 return NULL;
4341 if (_argo0) {
4342 if (_argo0 == Py_None) { _arg0 = NULL; }
4343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4345 return NULL;
4346 }
4347 }
4348 if (_argo1) {
4349 if (_argo1 == Py_None) { _arg1 = NULL; }
4350 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4351 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4352 return NULL;
4353 }
4354 }
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) return NULL;
4361 } Py_INCREF(Py_None);
4362 _resultobj = Py_None;
4363 return _resultobj;
4364 }
4365
4366 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4367 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject * _resultobj;
4369 wxPyGridCellAttrProvider * _arg0;
4370 wxGridCellAttr * _arg1;
4371 int _arg2;
4372 PyObject * _argo0 = 0;
4373 PyObject * _argo1 = 0;
4374 char *_kwnames[] = { "self","attr","row", NULL };
4375
4376 self = self;
4377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4378 return NULL;
4379 if (_argo0) {
4380 if (_argo0 == Py_None) { _arg0 = NULL; }
4381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4383 return NULL;
4384 }
4385 }
4386 if (_argo1) {
4387 if (_argo1 == Py_None) { _arg1 = NULL; }
4388 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4389 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4390 return NULL;
4391 }
4392 }
4393 {
4394 PyThreadState* __tstate = wxPyBeginAllowThreads();
4395 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4396
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) return NULL;
4399 } Py_INCREF(Py_None);
4400 _resultobj = Py_None;
4401 return _resultobj;
4402 }
4403
4404 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4405 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4406 PyObject * _resultobj;
4407 wxPyGridCellAttrProvider * _arg0;
4408 wxGridCellAttr * _arg1;
4409 int _arg2;
4410 PyObject * _argo0 = 0;
4411 PyObject * _argo1 = 0;
4412 char *_kwnames[] = { "self","attr","col", NULL };
4413
4414 self = self;
4415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4416 return NULL;
4417 if (_argo0) {
4418 if (_argo0 == Py_None) { _arg0 = NULL; }
4419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4421 return NULL;
4422 }
4423 }
4424 if (_argo1) {
4425 if (_argo1 == Py_None) { _arg1 = NULL; }
4426 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4427 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4428 return NULL;
4429 }
4430 }
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) return NULL;
4437 } Py_INCREF(Py_None);
4438 _resultobj = Py_None;
4439 return _resultobj;
4440 }
4441
4442 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4443 wxGridTableBase *src;
4444 wxObject *dest;
4445 src = (wxGridTableBase *) ptr;
4446 dest = (wxObject *) src;
4447 return (void *) dest;
4448 }
4449
4450 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4451 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject * _resultobj;
4453 wxGridTableBase * _arg0;
4454 wxGridCellAttrProvider * _arg1;
4455 PyObject * _argo0 = 0;
4456 PyObject * _argo1 = 0;
4457 char *_kwnames[] = { "self","attrProvider", NULL };
4458
4459 self = self;
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4461 return NULL;
4462 if (_argo0) {
4463 if (_argo0 == Py_None) { _arg0 = NULL; }
4464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4466 return NULL;
4467 }
4468 }
4469 if (_argo1) {
4470 if (_argo1 == Py_None) { _arg1 = NULL; }
4471 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4472 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4473 return NULL;
4474 }
4475 }
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) return NULL;
4482 } Py_INCREF(Py_None);
4483 _resultobj = Py_None;
4484 return _resultobj;
4485 }
4486
4487 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4488 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4489 PyObject * _resultobj;
4490 wxGridCellAttrProvider * _result;
4491 wxGridTableBase * _arg0;
4492 PyObject * _argo0 = 0;
4493 char *_kwnames[] = { "self", NULL };
4494 char _ptemp[128];
4495
4496 self = self;
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4498 return NULL;
4499 if (_argo0) {
4500 if (_argo0 == Py_None) { _arg0 = NULL; }
4501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4503 return NULL;
4504 }
4505 }
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4509
4510 wxPyEndAllowThreads(__tstate);
4511 if (PyErr_Occurred()) return NULL;
4512 } if (_result) {
4513 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4514 _resultobj = Py_BuildValue("s",_ptemp);
4515 } else {
4516 Py_INCREF(Py_None);
4517 _resultobj = Py_None;
4518 }
4519 return _resultobj;
4520 }
4521
4522 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4523 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4524 PyObject * _resultobj;
4525 wxGridTableBase * _arg0;
4526 wxGrid * _arg1;
4527 PyObject * _argo0 = 0;
4528 PyObject * _argo1 = 0;
4529 char *_kwnames[] = { "self","grid", NULL };
4530
4531 self = self;
4532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4533 return NULL;
4534 if (_argo0) {
4535 if (_argo0 == Py_None) { _arg0 = NULL; }
4536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4538 return NULL;
4539 }
4540 }
4541 if (_argo1) {
4542 if (_argo1 == Py_None) { _arg1 = NULL; }
4543 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4544 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4545 return NULL;
4546 }
4547 }
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 wxGridTableBase_SetView(_arg0,_arg1);
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) return NULL;
4554 } Py_INCREF(Py_None);
4555 _resultobj = Py_None;
4556 return _resultobj;
4557 }
4558
4559 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4560 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4561 PyObject * _resultobj;
4562 wxGrid * _result;
4563 wxGridTableBase * _arg0;
4564 PyObject * _argo0 = 0;
4565 char *_kwnames[] = { "self", NULL };
4566
4567 self = self;
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4569 return NULL;
4570 if (_argo0) {
4571 if (_argo0 == Py_None) { _arg0 = NULL; }
4572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4574 return NULL;
4575 }
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) return NULL;
4583 }{ _resultobj = wxPyMake_wxObject(_result); }
4584 return _resultobj;
4585 }
4586
4587 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4588 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4589 PyObject * _resultobj;
4590 int _result;
4591 wxGridTableBase * _arg0;
4592 PyObject * _argo0 = 0;
4593 char *_kwnames[] = { "self", NULL };
4594
4595 self = self;
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4597 return NULL;
4598 if (_argo0) {
4599 if (_argo0 == Py_None) { _arg0 = NULL; }
4600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4602 return NULL;
4603 }
4604 }
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) return NULL;
4611 } _resultobj = Py_BuildValue("i",_result);
4612 return _resultobj;
4613 }
4614
4615 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4616 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4617 PyObject * _resultobj;
4618 int _result;
4619 wxGridTableBase * _arg0;
4620 PyObject * _argo0 = 0;
4621 char *_kwnames[] = { "self", NULL };
4622
4623 self = self;
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4625 return NULL;
4626 if (_argo0) {
4627 if (_argo0 == Py_None) { _arg0 = NULL; }
4628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4630 return NULL;
4631 }
4632 }
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) return NULL;
4639 } _resultobj = Py_BuildValue("i",_result);
4640 return _resultobj;
4641 }
4642
4643 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4644 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4645 PyObject * _resultobj;
4646 bool _result;
4647 wxGridTableBase * _arg0;
4648 int _arg1;
4649 int _arg2;
4650 PyObject * _argo0 = 0;
4651 char *_kwnames[] = { "self","row","col", NULL };
4652
4653 self = self;
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4655 return NULL;
4656 if (_argo0) {
4657 if (_argo0 == Py_None) { _arg0 = NULL; }
4658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4660 return NULL;
4661 }
4662 }
4663 {
4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
4665 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4666
4667 wxPyEndAllowThreads(__tstate);
4668 if (PyErr_Occurred()) return NULL;
4669 } _resultobj = Py_BuildValue("i",_result);
4670 return _resultobj;
4671 }
4672
4673 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4674 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject * _resultobj;
4676 wxString * _result;
4677 wxGridTableBase * _arg0;
4678 int _arg1;
4679 int _arg2;
4680 PyObject * _argo0 = 0;
4681 char *_kwnames[] = { "self","row","col", NULL };
4682
4683 self = self;
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4685 return NULL;
4686 if (_argo0) {
4687 if (_argo0 == Py_None) { _arg0 = NULL; }
4688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4690 return NULL;
4691 }
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) return NULL;
4699 }{
4700 #if wxUSE_UNICODE
4701 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4702 #else
4703 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4704 #endif
4705 }
4706 {
4707 delete _result;
4708 }
4709 return _resultobj;
4710 }
4711
4712 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4713 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject * _resultobj;
4715 wxGridTableBase * _arg0;
4716 int _arg1;
4717 int _arg2;
4718 wxString * _arg3;
4719 PyObject * _argo0 = 0;
4720 PyObject * _obj3 = 0;
4721 char *_kwnames[] = { "self","row","col","value", NULL };
4722
4723 self = self;
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4725 return NULL;
4726 if (_argo0) {
4727 if (_argo0 == Py_None) { _arg0 = NULL; }
4728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4730 return NULL;
4731 }
4732 }
4733 {
4734 _arg3 = wxString_in_helper(_obj3);
4735 if (_arg3 == NULL)
4736 return NULL;
4737 }
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) return NULL;
4744 } Py_INCREF(Py_None);
4745 _resultobj = Py_None;
4746 {
4747 if (_obj3)
4748 delete _arg3;
4749 }
4750 return _resultobj;
4751 }
4752
4753 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4754 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject * _resultobj;
4756 wxString * _result;
4757 wxGridTableBase * _arg0;
4758 int _arg1;
4759 int _arg2;
4760 PyObject * _argo0 = 0;
4761 char *_kwnames[] = { "self","row","col", NULL };
4762
4763 self = self;
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4765 return NULL;
4766 if (_argo0) {
4767 if (_argo0 == Py_None) { _arg0 = NULL; }
4768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4770 return NULL;
4771 }
4772 }
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) return NULL;
4779 }{
4780 #if wxUSE_UNICODE
4781 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4782 #else
4783 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4784 #endif
4785 }
4786 {
4787 delete _result;
4788 }
4789 return _resultobj;
4790 }
4791
4792 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4793 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4794 PyObject * _resultobj;
4795 bool _result;
4796 wxGridTableBase * _arg0;
4797 int _arg1;
4798 int _arg2;
4799 wxString * _arg3;
4800 PyObject * _argo0 = 0;
4801 PyObject * _obj3 = 0;
4802 char *_kwnames[] = { "self","row","col","typeName", NULL };
4803
4804 self = self;
4805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4806 return NULL;
4807 if (_argo0) {
4808 if (_argo0 == Py_None) { _arg0 = NULL; }
4809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4811 return NULL;
4812 }
4813 }
4814 {
4815 _arg3 = wxString_in_helper(_obj3);
4816 if (_arg3 == NULL)
4817 return NULL;
4818 }
4819 {
4820 PyThreadState* __tstate = wxPyBeginAllowThreads();
4821 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4822
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) return NULL;
4825 } _resultobj = Py_BuildValue("i",_result);
4826 {
4827 if (_obj3)
4828 delete _arg3;
4829 }
4830 return _resultobj;
4831 }
4832
4833 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4834 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4835 PyObject * _resultobj;
4836 bool _result;
4837 wxGridTableBase * _arg0;
4838 int _arg1;
4839 int _arg2;
4840 wxString * _arg3;
4841 PyObject * _argo0 = 0;
4842 PyObject * _obj3 = 0;
4843 char *_kwnames[] = { "self","row","col","typeName", NULL };
4844
4845 self = self;
4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4847 return NULL;
4848 if (_argo0) {
4849 if (_argo0 == Py_None) { _arg0 = NULL; }
4850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4852 return NULL;
4853 }
4854 }
4855 {
4856 _arg3 = wxString_in_helper(_obj3);
4857 if (_arg3 == NULL)
4858 return NULL;
4859 }
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) return NULL;
4866 } _resultobj = Py_BuildValue("i",_result);
4867 {
4868 if (_obj3)
4869 delete _arg3;
4870 }
4871 return _resultobj;
4872 }
4873
4874 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4875 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject * _resultobj;
4877 long _result;
4878 wxGridTableBase * _arg0;
4879 int _arg1;
4880 int _arg2;
4881 PyObject * _argo0 = 0;
4882 char *_kwnames[] = { "self","row","col", NULL };
4883
4884 self = self;
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4886 return NULL;
4887 if (_argo0) {
4888 if (_argo0 == Py_None) { _arg0 = NULL; }
4889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4891 return NULL;
4892 }
4893 }
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) return NULL;
4900 } _resultobj = Py_BuildValue("l",_result);
4901 return _resultobj;
4902 }
4903
4904 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4905 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject * _resultobj;
4907 double _result;
4908 wxGridTableBase * _arg0;
4909 int _arg1;
4910 int _arg2;
4911 PyObject * _argo0 = 0;
4912 char *_kwnames[] = { "self","row","col", NULL };
4913
4914 self = self;
4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4916 return NULL;
4917 if (_argo0) {
4918 if (_argo0 == Py_None) { _arg0 = NULL; }
4919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4921 return NULL;
4922 }
4923 }
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) return NULL;
4930 } _resultobj = Py_BuildValue("d",_result);
4931 return _resultobj;
4932 }
4933
4934 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4935 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject * _resultobj;
4937 bool _result;
4938 wxGridTableBase * _arg0;
4939 int _arg1;
4940 int _arg2;
4941 PyObject * _argo0 = 0;
4942 char *_kwnames[] = { "self","row","col", NULL };
4943
4944 self = self;
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4946 return NULL;
4947 if (_argo0) {
4948 if (_argo0 == Py_None) { _arg0 = NULL; }
4949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4951 return NULL;
4952 }
4953 }
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) return NULL;
4960 } _resultobj = Py_BuildValue("i",_result);
4961 return _resultobj;
4962 }
4963
4964 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4965 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject * _resultobj;
4967 wxGridTableBase * _arg0;
4968 int _arg1;
4969 int _arg2;
4970 long _arg3;
4971 PyObject * _argo0 = 0;
4972 char *_kwnames[] = { "self","row","col","value", NULL };
4973
4974 self = self;
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4976 return NULL;
4977 if (_argo0) {
4978 if (_argo0 == Py_None) { _arg0 = NULL; }
4979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4981 return NULL;
4982 }
4983 }
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) return NULL;
4990 } Py_INCREF(Py_None);
4991 _resultobj = Py_None;
4992 return _resultobj;
4993 }
4994
4995 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4996 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4997 PyObject * _resultobj;
4998 wxGridTableBase * _arg0;
4999 int _arg1;
5000 int _arg2;
5001 double _arg3;
5002 PyObject * _argo0 = 0;
5003 char *_kwnames[] = { "self","row","col","value", NULL };
5004
5005 self = self;
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5007 return NULL;
5008 if (_argo0) {
5009 if (_argo0 == Py_None) { _arg0 = NULL; }
5010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5012 return NULL;
5013 }
5014 }
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) return NULL;
5021 } Py_INCREF(Py_None);
5022 _resultobj = Py_None;
5023 return _resultobj;
5024 }
5025
5026 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5027 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject * _resultobj;
5029 wxGridTableBase * _arg0;
5030 int _arg1;
5031 int _arg2;
5032 bool _arg3;
5033 PyObject * _argo0 = 0;
5034 int tempbool3;
5035 char *_kwnames[] = { "self","row","col","value", NULL };
5036
5037 self = self;
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5039 return NULL;
5040 if (_argo0) {
5041 if (_argo0 == Py_None) { _arg0 = NULL; }
5042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5044 return NULL;
5045 }
5046 }
5047 _arg3 = (bool ) tempbool3;
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) return NULL;
5054 } Py_INCREF(Py_None);
5055 _resultobj = Py_None;
5056 return _resultobj;
5057 }
5058
5059 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5060 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5061 PyObject * _resultobj;
5062 wxGridTableBase * _arg0;
5063 PyObject * _argo0 = 0;
5064 char *_kwnames[] = { "self", NULL };
5065
5066 self = self;
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5068 return NULL;
5069 if (_argo0) {
5070 if (_argo0 == Py_None) { _arg0 = NULL; }
5071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5073 return NULL;
5074 }
5075 }
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 wxGridTableBase_Clear(_arg0);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) return NULL;
5082 } Py_INCREF(Py_None);
5083 _resultobj = Py_None;
5084 return _resultobj;
5085 }
5086
5087 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5088 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5089 PyObject * _resultobj;
5090 bool _result;
5091 wxGridTableBase * _arg0;
5092 size_t _arg1 = (size_t ) 0;
5093 size_t _arg2 = (size_t ) 1;
5094 PyObject * _argo0 = 0;
5095 char *_kwnames[] = { "self","pos","numRows", NULL };
5096
5097 self = self;
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5099 return NULL;
5100 if (_argo0) {
5101 if (_argo0 == Py_None) { _arg0 = NULL; }
5102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5104 return NULL;
5105 }
5106 }
5107 {
5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
5109 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5110
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) return NULL;
5113 } _resultobj = Py_BuildValue("i",_result);
5114 return _resultobj;
5115 }
5116
5117 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5118 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject * _resultobj;
5120 bool _result;
5121 wxGridTableBase * _arg0;
5122 size_t _arg1 = (size_t ) 1;
5123 PyObject * _argo0 = 0;
5124 char *_kwnames[] = { "self","numRows", NULL };
5125
5126 self = self;
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5128 return NULL;
5129 if (_argo0) {
5130 if (_argo0 == Py_None) { _arg0 = NULL; }
5131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5133 return NULL;
5134 }
5135 }
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5139
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) return NULL;
5142 } _resultobj = Py_BuildValue("i",_result);
5143 return _resultobj;
5144 }
5145
5146 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5147 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5148 PyObject * _resultobj;
5149 bool _result;
5150 wxGridTableBase * _arg0;
5151 size_t _arg1 = (size_t ) 0;
5152 size_t _arg2 = (size_t ) 1;
5153 PyObject * _argo0 = 0;
5154 char *_kwnames[] = { "self","pos","numRows", NULL };
5155
5156 self = self;
5157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5158 return NULL;
5159 if (_argo0) {
5160 if (_argo0 == Py_None) { _arg0 = NULL; }
5161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5163 return NULL;
5164 }
5165 }
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) return NULL;
5172 } _resultobj = Py_BuildValue("i",_result);
5173 return _resultobj;
5174 }
5175
5176 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5177 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5178 PyObject * _resultobj;
5179 bool _result;
5180 wxGridTableBase * _arg0;
5181 size_t _arg1 = (size_t ) 0;
5182 size_t _arg2 = (size_t ) 1;
5183 PyObject * _argo0 = 0;
5184 char *_kwnames[] = { "self","pos","numCols", NULL };
5185
5186 self = self;
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5188 return NULL;
5189 if (_argo0) {
5190 if (_argo0 == Py_None) { _arg0 = NULL; }
5191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5193 return NULL;
5194 }
5195 }
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) return NULL;
5202 } _resultobj = Py_BuildValue("i",_result);
5203 return _resultobj;
5204 }
5205
5206 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5207 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject * _resultobj;
5209 bool _result;
5210 wxGridTableBase * _arg0;
5211 size_t _arg1 = (size_t ) 1;
5212 PyObject * _argo0 = 0;
5213 char *_kwnames[] = { "self","numCols", NULL };
5214
5215 self = self;
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5217 return NULL;
5218 if (_argo0) {
5219 if (_argo0 == Py_None) { _arg0 = NULL; }
5220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5222 return NULL;
5223 }
5224 }
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) return NULL;
5231 } _resultobj = Py_BuildValue("i",_result);
5232 return _resultobj;
5233 }
5234
5235 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5236 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject * _resultobj;
5238 bool _result;
5239 wxGridTableBase * _arg0;
5240 size_t _arg1 = (size_t ) 0;
5241 size_t _arg2 = (size_t ) 1;
5242 PyObject * _argo0 = 0;
5243 char *_kwnames[] = { "self","pos","numCols", NULL };
5244
5245 self = self;
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5247 return NULL;
5248 if (_argo0) {
5249 if (_argo0 == Py_None) { _arg0 = NULL; }
5250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5252 return NULL;
5253 }
5254 }
5255 {
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5258
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) return NULL;
5261 } _resultobj = Py_BuildValue("i",_result);
5262 return _resultobj;
5263 }
5264
5265 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5266 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5267 PyObject * _resultobj;
5268 wxString * _result;
5269 wxGridTableBase * _arg0;
5270 int _arg1;
5271 PyObject * _argo0 = 0;
5272 char *_kwnames[] = { "self","row", NULL };
5273
5274 self = self;
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5276 return NULL;
5277 if (_argo0) {
5278 if (_argo0 == Py_None) { _arg0 = NULL; }
5279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5281 return NULL;
5282 }
5283 }
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) return NULL;
5290 }{
5291 #if wxUSE_UNICODE
5292 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5293 #else
5294 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5295 #endif
5296 }
5297 {
5298 delete _result;
5299 }
5300 return _resultobj;
5301 }
5302
5303 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5304 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5305 PyObject * _resultobj;
5306 wxString * _result;
5307 wxGridTableBase * _arg0;
5308 int _arg1;
5309 PyObject * _argo0 = 0;
5310 char *_kwnames[] = { "self","col", NULL };
5311
5312 self = self;
5313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5314 return NULL;
5315 if (_argo0) {
5316 if (_argo0 == Py_None) { _arg0 = NULL; }
5317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5319 return NULL;
5320 }
5321 }
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) return NULL;
5328 }{
5329 #if wxUSE_UNICODE
5330 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5331 #else
5332 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5333 #endif
5334 }
5335 {
5336 delete _result;
5337 }
5338 return _resultobj;
5339 }
5340
5341 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5342 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject * _resultobj;
5344 wxGridTableBase * _arg0;
5345 int _arg1;
5346 wxString * _arg2;
5347 PyObject * _argo0 = 0;
5348 PyObject * _obj2 = 0;
5349 char *_kwnames[] = { "self","row","value", NULL };
5350
5351 self = self;
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5353 return NULL;
5354 if (_argo0) {
5355 if (_argo0 == Py_None) { _arg0 = NULL; }
5356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5358 return NULL;
5359 }
5360 }
5361 {
5362 _arg2 = wxString_in_helper(_obj2);
5363 if (_arg2 == NULL)
5364 return NULL;
5365 }
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) return NULL;
5372 } Py_INCREF(Py_None);
5373 _resultobj = Py_None;
5374 {
5375 if (_obj2)
5376 delete _arg2;
5377 }
5378 return _resultobj;
5379 }
5380
5381 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5382 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5383 PyObject * _resultobj;
5384 wxGridTableBase * _arg0;
5385 int _arg1;
5386 wxString * _arg2;
5387 PyObject * _argo0 = 0;
5388 PyObject * _obj2 = 0;
5389 char *_kwnames[] = { "self","col","value", NULL };
5390
5391 self = self;
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5393 return NULL;
5394 if (_argo0) {
5395 if (_argo0 == Py_None) { _arg0 = NULL; }
5396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5398 return NULL;
5399 }
5400 }
5401 {
5402 _arg2 = wxString_in_helper(_obj2);
5403 if (_arg2 == NULL)
5404 return NULL;
5405 }
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) return NULL;
5412 } Py_INCREF(Py_None);
5413 _resultobj = Py_None;
5414 {
5415 if (_obj2)
5416 delete _arg2;
5417 }
5418 return _resultobj;
5419 }
5420
5421 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5422 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject * _resultobj;
5424 bool _result;
5425 wxGridTableBase * _arg0;
5426 PyObject * _argo0 = 0;
5427 char *_kwnames[] = { "self", NULL };
5428
5429 self = self;
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5431 return NULL;
5432 if (_argo0) {
5433 if (_argo0 == Py_None) { _arg0 = NULL; }
5434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5436 return NULL;
5437 }
5438 }
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) return NULL;
5445 } _resultobj = Py_BuildValue("i",_result);
5446 return _resultobj;
5447 }
5448
5449 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5450 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject * _resultobj;
5452 wxGridCellAttr * _result;
5453 wxGridTableBase * _arg0;
5454 int _arg1;
5455 int _arg2;
5456 wxGridCellAttr::wxAttrKind _arg3;
5457 PyObject * _argo0 = 0;
5458 char *_kwnames[] = { "self","row","col","kind", NULL };
5459 char _ptemp[128];
5460
5461 self = self;
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5463 return NULL;
5464 if (_argo0) {
5465 if (_argo0 == Py_None) { _arg0 = NULL; }
5466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5468 return NULL;
5469 }
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) return NULL;
5477 } if (_result) {
5478 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5479 _resultobj = Py_BuildValue("s",_ptemp);
5480 } else {
5481 Py_INCREF(Py_None);
5482 _resultobj = Py_None;
5483 }
5484 return _resultobj;
5485 }
5486
5487 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5488 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5489 PyObject * _resultobj;
5490 wxGridTableBase * _arg0;
5491 wxGridCellAttr * _arg1;
5492 int _arg2;
5493 int _arg3;
5494 PyObject * _argo0 = 0;
5495 PyObject * _argo1 = 0;
5496 char *_kwnames[] = { "self","attr","row","col", NULL };
5497
5498 self = self;
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5500 return NULL;
5501 if (_argo0) {
5502 if (_argo0 == Py_None) { _arg0 = NULL; }
5503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5505 return NULL;
5506 }
5507 }
5508 if (_argo1) {
5509 if (_argo1 == Py_None) { _arg1 = NULL; }
5510 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5511 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5512 return NULL;
5513 }
5514 }
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) return NULL;
5521 } Py_INCREF(Py_None);
5522 _resultobj = Py_None;
5523 return _resultobj;
5524 }
5525
5526 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5527 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5528 PyObject * _resultobj;
5529 wxGridTableBase * _arg0;
5530 wxGridCellAttr * _arg1;
5531 int _arg2;
5532 PyObject * _argo0 = 0;
5533 PyObject * _argo1 = 0;
5534 char *_kwnames[] = { "self","attr","row", NULL };
5535
5536 self = self;
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5538 return NULL;
5539 if (_argo0) {
5540 if (_argo0 == Py_None) { _arg0 = NULL; }
5541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5543 return NULL;
5544 }
5545 }
5546 if (_argo1) {
5547 if (_argo1 == Py_None) { _arg1 = NULL; }
5548 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5549 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5550 return NULL;
5551 }
5552 }
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) return NULL;
5559 } Py_INCREF(Py_None);
5560 _resultobj = Py_None;
5561 return _resultobj;
5562 }
5563
5564 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5565 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5566 PyObject * _resultobj;
5567 wxGridTableBase * _arg0;
5568 wxGridCellAttr * _arg1;
5569 int _arg2;
5570 PyObject * _argo0 = 0;
5571 PyObject * _argo1 = 0;
5572 char *_kwnames[] = { "self","attr","col", NULL };
5573
5574 self = self;
5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5576 return NULL;
5577 if (_argo0) {
5578 if (_argo0 == Py_None) { _arg0 = NULL; }
5579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5581 return NULL;
5582 }
5583 }
5584 if (_argo1) {
5585 if (_argo1 == Py_None) { _arg1 = NULL; }
5586 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5588 return NULL;
5589 }
5590 }
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) return NULL;
5597 } Py_INCREF(Py_None);
5598 _resultobj = Py_None;
5599 return _resultobj;
5600 }
5601
5602 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5603 wxPyGridTableBase *src;
5604 wxGridTableBase *dest;
5605 src = (wxPyGridTableBase *) ptr;
5606 dest = (wxGridTableBase *) src;
5607 return (void *) dest;
5608 }
5609
5610 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5611 wxPyGridTableBase *src;
5612 wxObject *dest;
5613 src = (wxPyGridTableBase *) ptr;
5614 dest = (wxObject *) src;
5615 return (void *) dest;
5616 }
5617
5618 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5619 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5620 PyObject * _resultobj;
5621 wxPyGridTableBase * _result;
5622 char *_kwnames[] = { NULL };
5623 char _ptemp[128];
5624
5625 self = self;
5626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5627 return NULL;
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5631
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) return NULL;
5634 } if (_result) {
5635 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5636 _resultobj = Py_BuildValue("s",_ptemp);
5637 } else {
5638 Py_INCREF(Py_None);
5639 _resultobj = Py_None;
5640 }
5641 return _resultobj;
5642 }
5643
5644 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5645 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5646 PyObject * _resultobj;
5647 wxPyGridTableBase * _arg0;
5648 PyObject * _arg1;
5649 PyObject * _arg2;
5650 PyObject * _argo0 = 0;
5651 PyObject * _obj1 = 0;
5652 PyObject * _obj2 = 0;
5653 char *_kwnames[] = { "self","self","_class", NULL };
5654
5655 self = self;
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5657 return NULL;
5658 if (_argo0) {
5659 if (_argo0 == Py_None) { _arg0 = NULL; }
5660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5662 return NULL;
5663 }
5664 }
5665 {
5666 _arg1 = _obj1;
5667 }
5668 {
5669 _arg2 = _obj2;
5670 }
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) return NULL;
5677 } Py_INCREF(Py_None);
5678 _resultobj = Py_None;
5679 return _resultobj;
5680 }
5681
5682 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5683 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject * _resultobj;
5685 wxPyGridTableBase * _arg0;
5686 PyObject * _argo0 = 0;
5687 char *_kwnames[] = { "self", NULL };
5688
5689 self = self;
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5691 return NULL;
5692 if (_argo0) {
5693 if (_argo0 == Py_None) { _arg0 = NULL; }
5694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5696 return NULL;
5697 }
5698 }
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 wxPyGridTableBase_Destroy(_arg0);
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) return NULL;
5705 } Py_INCREF(Py_None);
5706 _resultobj = Py_None;
5707 return _resultobj;
5708 }
5709
5710 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5711 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5712 PyObject * _resultobj;
5713 wxString * _result;
5714 wxPyGridTableBase * _arg0;
5715 int _arg1;
5716 int _arg2;
5717 PyObject * _argo0 = 0;
5718 char *_kwnames[] = { "self","row","col", NULL };
5719
5720 self = self;
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5722 return NULL;
5723 if (_argo0) {
5724 if (_argo0 == Py_None) { _arg0 = NULL; }
5725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5727 return NULL;
5728 }
5729 }
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) return NULL;
5736 }{
5737 #if wxUSE_UNICODE
5738 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5739 #else
5740 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5741 #endif
5742 }
5743 {
5744 delete _result;
5745 }
5746 return _resultobj;
5747 }
5748
5749 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5750 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject * _resultobj;
5752 bool _result;
5753 wxPyGridTableBase * _arg0;
5754 int _arg1;
5755 int _arg2;
5756 wxString * _arg3;
5757 PyObject * _argo0 = 0;
5758 PyObject * _obj3 = 0;
5759 char *_kwnames[] = { "self","row","col","typeName", NULL };
5760
5761 self = self;
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5763 return NULL;
5764 if (_argo0) {
5765 if (_argo0 == Py_None) { _arg0 = NULL; }
5766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5768 return NULL;
5769 }
5770 }
5771 {
5772 _arg3 = wxString_in_helper(_obj3);
5773 if (_arg3 == NULL)
5774 return NULL;
5775 }
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) return NULL;
5782 } _resultobj = Py_BuildValue("i",_result);
5783 {
5784 if (_obj3)
5785 delete _arg3;
5786 }
5787 return _resultobj;
5788 }
5789
5790 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5791 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5792 PyObject * _resultobj;
5793 bool _result;
5794 wxPyGridTableBase * _arg0;
5795 int _arg1;
5796 int _arg2;
5797 wxString * _arg3;
5798 PyObject * _argo0 = 0;
5799 PyObject * _obj3 = 0;
5800 char *_kwnames[] = { "self","row","col","typeName", NULL };
5801
5802 self = self;
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5804 return NULL;
5805 if (_argo0) {
5806 if (_argo0 == Py_None) { _arg0 = NULL; }
5807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5809 return NULL;
5810 }
5811 }
5812 {
5813 _arg3 = wxString_in_helper(_obj3);
5814 if (_arg3 == NULL)
5815 return NULL;
5816 }
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) return NULL;
5823 } _resultobj = Py_BuildValue("i",_result);
5824 {
5825 if (_obj3)
5826 delete _arg3;
5827 }
5828 return _resultobj;
5829 }
5830
5831 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5832 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject * _resultobj;
5834 wxPyGridTableBase * _arg0;
5835 PyObject * _argo0 = 0;
5836 char *_kwnames[] = { "self", NULL };
5837
5838 self = self;
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5840 return NULL;
5841 if (_argo0) {
5842 if (_argo0 == Py_None) { _arg0 = NULL; }
5843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5845 return NULL;
5846 }
5847 }
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 wxPyGridTableBase_base_Clear(_arg0);
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) return NULL;
5854 } Py_INCREF(Py_None);
5855 _resultobj = Py_None;
5856 return _resultobj;
5857 }
5858
5859 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5860 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject * _resultobj;
5862 bool _result;
5863 wxPyGridTableBase * _arg0;
5864 size_t _arg1 = (size_t ) 0;
5865 size_t _arg2 = (size_t ) 1;
5866 PyObject * _argo0 = 0;
5867 char *_kwnames[] = { "self","pos","numRows", NULL };
5868
5869 self = self;
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5871 return NULL;
5872 if (_argo0) {
5873 if (_argo0 == Py_None) { _arg0 = NULL; }
5874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5876 return NULL;
5877 }
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) return NULL;
5885 } _resultobj = Py_BuildValue("i",_result);
5886 return _resultobj;
5887 }
5888
5889 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5890 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject * _resultobj;
5892 bool _result;
5893 wxPyGridTableBase * _arg0;
5894 size_t _arg1 = (size_t ) 1;
5895 PyObject * _argo0 = 0;
5896 char *_kwnames[] = { "self","numRows", NULL };
5897
5898 self = self;
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5900 return NULL;
5901 if (_argo0) {
5902 if (_argo0 == Py_None) { _arg0 = NULL; }
5903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5905 return NULL;
5906 }
5907 }
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) return NULL;
5914 } _resultobj = Py_BuildValue("i",_result);
5915 return _resultobj;
5916 }
5917
5918 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5919 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5920 PyObject * _resultobj;
5921 bool _result;
5922 wxPyGridTableBase * _arg0;
5923 size_t _arg1 = (size_t ) 0;
5924 size_t _arg2 = (size_t ) 1;
5925 PyObject * _argo0 = 0;
5926 char *_kwnames[] = { "self","pos","numRows", NULL };
5927
5928 self = self;
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5930 return NULL;
5931 if (_argo0) {
5932 if (_argo0 == Py_None) { _arg0 = NULL; }
5933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5935 return NULL;
5936 }
5937 }
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5941
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) return NULL;
5944 } _resultobj = Py_BuildValue("i",_result);
5945 return _resultobj;
5946 }
5947
5948 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5949 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject * _resultobj;
5951 bool _result;
5952 wxPyGridTableBase * _arg0;
5953 size_t _arg1 = (size_t ) 0;
5954 size_t _arg2 = (size_t ) 1;
5955 PyObject * _argo0 = 0;
5956 char *_kwnames[] = { "self","pos","numCols", NULL };
5957
5958 self = self;
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5960 return NULL;
5961 if (_argo0) {
5962 if (_argo0 == Py_None) { _arg0 = NULL; }
5963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5965 return NULL;
5966 }
5967 }
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) return NULL;
5974 } _resultobj = Py_BuildValue("i",_result);
5975 return _resultobj;
5976 }
5977
5978 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5979 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5980 PyObject * _resultobj;
5981 bool _result;
5982 wxPyGridTableBase * _arg0;
5983 size_t _arg1 = (size_t ) 1;
5984 PyObject * _argo0 = 0;
5985 char *_kwnames[] = { "self","numCols", NULL };
5986
5987 self = self;
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5989 return NULL;
5990 if (_argo0) {
5991 if (_argo0 == Py_None) { _arg0 = NULL; }
5992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5994 return NULL;
5995 }
5996 }
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) return NULL;
6003 } _resultobj = Py_BuildValue("i",_result);
6004 return _resultobj;
6005 }
6006
6007 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6008 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6009 PyObject * _resultobj;
6010 bool _result;
6011 wxPyGridTableBase * _arg0;
6012 size_t _arg1 = (size_t ) 0;
6013 size_t _arg2 = (size_t ) 1;
6014 PyObject * _argo0 = 0;
6015 char *_kwnames[] = { "self","pos","numCols", NULL };
6016
6017 self = self;
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6019 return NULL;
6020 if (_argo0) {
6021 if (_argo0 == Py_None) { _arg0 = NULL; }
6022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6024 return NULL;
6025 }
6026 }
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) return NULL;
6033 } _resultobj = Py_BuildValue("i",_result);
6034 return _resultobj;
6035 }
6036
6037 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6038 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6039 PyObject * _resultobj;
6040 wxString * _result;
6041 wxPyGridTableBase * _arg0;
6042 int _arg1;
6043 PyObject * _argo0 = 0;
6044 char *_kwnames[] = { "self","row", NULL };
6045
6046 self = self;
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6048 return NULL;
6049 if (_argo0) {
6050 if (_argo0 == Py_None) { _arg0 = NULL; }
6051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6053 return NULL;
6054 }
6055 }
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) return NULL;
6062 }{
6063 #if wxUSE_UNICODE
6064 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6065 #else
6066 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6067 #endif
6068 }
6069 {
6070 delete _result;
6071 }
6072 return _resultobj;
6073 }
6074
6075 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6076 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6077 PyObject * _resultobj;
6078 wxString * _result;
6079 wxPyGridTableBase * _arg0;
6080 int _arg1;
6081 PyObject * _argo0 = 0;
6082 char *_kwnames[] = { "self","col", NULL };
6083
6084 self = self;
6085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6086 return NULL;
6087 if (_argo0) {
6088 if (_argo0 == Py_None) { _arg0 = NULL; }
6089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6091 return NULL;
6092 }
6093 }
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) return NULL;
6100 }{
6101 #if wxUSE_UNICODE
6102 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6103 #else
6104 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6105 #endif
6106 }
6107 {
6108 delete _result;
6109 }
6110 return _resultobj;
6111 }
6112
6113 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6114 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject * _resultobj;
6116 wxPyGridTableBase * _arg0;
6117 int _arg1;
6118 wxString * _arg2;
6119 PyObject * _argo0 = 0;
6120 PyObject * _obj2 = 0;
6121 char *_kwnames[] = { "self","row","value", NULL };
6122
6123 self = self;
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6125 return NULL;
6126 if (_argo0) {
6127 if (_argo0 == Py_None) { _arg0 = NULL; }
6128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6130 return NULL;
6131 }
6132 }
6133 {
6134 _arg2 = wxString_in_helper(_obj2);
6135 if (_arg2 == NULL)
6136 return NULL;
6137 }
6138 {
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6141
6142 wxPyEndAllowThreads(__tstate);
6143 if (PyErr_Occurred()) return NULL;
6144 } Py_INCREF(Py_None);
6145 _resultobj = Py_None;
6146 {
6147 if (_obj2)
6148 delete _arg2;
6149 }
6150 return _resultobj;
6151 }
6152
6153 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6154 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject * _resultobj;
6156 wxPyGridTableBase * _arg0;
6157 int _arg1;
6158 wxString * _arg2;
6159 PyObject * _argo0 = 0;
6160 PyObject * _obj2 = 0;
6161 char *_kwnames[] = { "self","col","value", NULL };
6162
6163 self = self;
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6165 return NULL;
6166 if (_argo0) {
6167 if (_argo0 == Py_None) { _arg0 = NULL; }
6168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6170 return NULL;
6171 }
6172 }
6173 {
6174 _arg2 = wxString_in_helper(_obj2);
6175 if (_arg2 == NULL)
6176 return NULL;
6177 }
6178 {
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6180 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6181
6182 wxPyEndAllowThreads(__tstate);
6183 if (PyErr_Occurred()) return NULL;
6184 } Py_INCREF(Py_None);
6185 _resultobj = Py_None;
6186 {
6187 if (_obj2)
6188 delete _arg2;
6189 }
6190 return _resultobj;
6191 }
6192
6193 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6194 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject * _resultobj;
6196 bool _result;
6197 wxPyGridTableBase * _arg0;
6198 PyObject * _argo0 = 0;
6199 char *_kwnames[] = { "self", NULL };
6200
6201 self = self;
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6203 return NULL;
6204 if (_argo0) {
6205 if (_argo0 == Py_None) { _arg0 = NULL; }
6206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6208 return NULL;
6209 }
6210 }
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6214
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) return NULL;
6217 } _resultobj = Py_BuildValue("i",_result);
6218 return _resultobj;
6219 }
6220
6221 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6222 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6223 PyObject * _resultobj;
6224 wxGridCellAttr * _result;
6225 wxPyGridTableBase * _arg0;
6226 int _arg1;
6227 int _arg2;
6228 wxGridCellAttr::wxAttrKind _arg3;
6229 PyObject * _argo0 = 0;
6230 char *_kwnames[] = { "self","row","col","kind", NULL };
6231 char _ptemp[128];
6232
6233 self = self;
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6235 return NULL;
6236 if (_argo0) {
6237 if (_argo0 == Py_None) { _arg0 = NULL; }
6238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6240 return NULL;
6241 }
6242 }
6243 {
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6245 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6246
6247 wxPyEndAllowThreads(__tstate);
6248 if (PyErr_Occurred()) return NULL;
6249 } if (_result) {
6250 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
6251 _resultobj = Py_BuildValue("s",_ptemp);
6252 } else {
6253 Py_INCREF(Py_None);
6254 _resultobj = Py_None;
6255 }
6256 return _resultobj;
6257 }
6258
6259 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6260 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject * _resultobj;
6262 wxPyGridTableBase * _arg0;
6263 wxGridCellAttr * _arg1;
6264 int _arg2;
6265 int _arg3;
6266 PyObject * _argo0 = 0;
6267 PyObject * _argo1 = 0;
6268 char *_kwnames[] = { "self","attr","row","col", NULL };
6269
6270 self = self;
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6272 return NULL;
6273 if (_argo0) {
6274 if (_argo0 == Py_None) { _arg0 = NULL; }
6275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6277 return NULL;
6278 }
6279 }
6280 if (_argo1) {
6281 if (_argo1 == Py_None) { _arg1 = NULL; }
6282 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6283 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6284 return NULL;
6285 }
6286 }
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) return NULL;
6293 } Py_INCREF(Py_None);
6294 _resultobj = Py_None;
6295 return _resultobj;
6296 }
6297
6298 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6299 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject * _resultobj;
6301 wxPyGridTableBase * _arg0;
6302 wxGridCellAttr * _arg1;
6303 int _arg2;
6304 PyObject * _argo0 = 0;
6305 PyObject * _argo1 = 0;
6306 char *_kwnames[] = { "self","attr","row", NULL };
6307
6308 self = self;
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6310 return NULL;
6311 if (_argo0) {
6312 if (_argo0 == Py_None) { _arg0 = NULL; }
6313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6315 return NULL;
6316 }
6317 }
6318 if (_argo1) {
6319 if (_argo1 == Py_None) { _arg1 = NULL; }
6320 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6321 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6322 return NULL;
6323 }
6324 }
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) return NULL;
6331 } Py_INCREF(Py_None);
6332 _resultobj = Py_None;
6333 return _resultobj;
6334 }
6335
6336 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6337 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6338 PyObject * _resultobj;
6339 wxPyGridTableBase * _arg0;
6340 wxGridCellAttr * _arg1;
6341 int _arg2;
6342 PyObject * _argo0 = 0;
6343 PyObject * _argo1 = 0;
6344 char *_kwnames[] = { "self","attr","col", NULL };
6345
6346 self = self;
6347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6348 return NULL;
6349 if (_argo0) {
6350 if (_argo0 == Py_None) { _arg0 = NULL; }
6351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6353 return NULL;
6354 }
6355 }
6356 if (_argo1) {
6357 if (_argo1 == Py_None) { _arg1 = NULL; }
6358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6360 return NULL;
6361 }
6362 }
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) return NULL;
6369 } Py_INCREF(Py_None);
6370 _resultobj = Py_None;
6371 return _resultobj;
6372 }
6373
6374 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6375 wxGridStringTable *src;
6376 wxGridTableBase *dest;
6377 src = (wxGridStringTable *) ptr;
6378 dest = (wxGridTableBase *) src;
6379 return (void *) dest;
6380 }
6381
6382 static void *SwigwxGridStringTableTowxObject(void *ptr) {
6383 wxGridStringTable *src;
6384 wxObject *dest;
6385 src = (wxGridStringTable *) ptr;
6386 dest = (wxObject *) src;
6387 return (void *) dest;
6388 }
6389
6390 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6391 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject * _resultobj;
6393 wxGridStringTable * _result;
6394 int _arg0 = (int ) 0;
6395 int _arg1 = (int ) 0;
6396 char *_kwnames[] = { "numRows","numCols", NULL };
6397 char _ptemp[128];
6398
6399 self = self;
6400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6401 return NULL;
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) return NULL;
6408 } if (_result) {
6409 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6410 _resultobj = Py_BuildValue("s",_ptemp);
6411 } else {
6412 Py_INCREF(Py_None);
6413 _resultobj = Py_None;
6414 }
6415 return _resultobj;
6416 }
6417
6418 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6419 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject * _resultobj;
6421 wxGridTableMessage * _result;
6422 wxGridTableBase * _arg0;
6423 int _arg1;
6424 int _arg2 = (int ) -1;
6425 int _arg3 = (int ) -1;
6426 PyObject * _argo0 = 0;
6427 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6428 char _ptemp[128];
6429
6430 self = self;
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6432 return NULL;
6433 if (_argo0) {
6434 if (_argo0 == Py_None) { _arg0 = NULL; }
6435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6437 return NULL;
6438 }
6439 }
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) return NULL;
6446 } if (_result) {
6447 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6448 _resultobj = Py_BuildValue("s",_ptemp);
6449 } else {
6450 Py_INCREF(Py_None);
6451 _resultobj = Py_None;
6452 }
6453 return _resultobj;
6454 }
6455
6456 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6457 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject * _resultobj;
6459 wxGridTableMessage * _arg0;
6460 PyObject * _argo0 = 0;
6461 char *_kwnames[] = { "self", NULL };
6462
6463 self = self;
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6465 return NULL;
6466 if (_argo0) {
6467 if (_argo0 == Py_None) { _arg0 = NULL; }
6468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6470 return NULL;
6471 }
6472 }
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 delete_wxGridTableMessage(_arg0);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) return NULL;
6479 } Py_INCREF(Py_None);
6480 _resultobj = Py_None;
6481 return _resultobj;
6482 }
6483
6484 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6485 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6486 PyObject * _resultobj;
6487 wxGridTableMessage * _arg0;
6488 wxGridTableBase * _arg1;
6489 PyObject * _argo0 = 0;
6490 PyObject * _argo1 = 0;
6491 char *_kwnames[] = { "self","table", NULL };
6492
6493 self = self;
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6495 return NULL;
6496 if (_argo0) {
6497 if (_argo0 == Py_None) { _arg0 = NULL; }
6498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6500 return NULL;
6501 }
6502 }
6503 if (_argo1) {
6504 if (_argo1 == Py_None) { _arg1 = NULL; }
6505 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6506 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6507 return NULL;
6508 }
6509 }
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6513
6514 wxPyEndAllowThreads(__tstate);
6515 if (PyErr_Occurred()) return NULL;
6516 } Py_INCREF(Py_None);
6517 _resultobj = Py_None;
6518 return _resultobj;
6519 }
6520
6521 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6522 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6523 PyObject * _resultobj;
6524 wxGridTableBase * _result;
6525 wxGridTableMessage * _arg0;
6526 PyObject * _argo0 = 0;
6527 char *_kwnames[] = { "self", NULL };
6528
6529 self = self;
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6531 return NULL;
6532 if (_argo0) {
6533 if (_argo0 == Py_None) { _arg0 = NULL; }
6534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6536 return NULL;
6537 }
6538 }
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6542
6543 wxPyEndAllowThreads(__tstate);
6544 if (PyErr_Occurred()) return NULL;
6545 }{ _resultobj = wxPyMake_wxObject(_result); }
6546 return _resultobj;
6547 }
6548
6549 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6550 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6551 PyObject * _resultobj;
6552 wxGridTableMessage * _arg0;
6553 int _arg1;
6554 PyObject * _argo0 = 0;
6555 char *_kwnames[] = { "self","id", NULL };
6556
6557 self = self;
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6559 return NULL;
6560 if (_argo0) {
6561 if (_argo0 == Py_None) { _arg0 = NULL; }
6562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6564 return NULL;
6565 }
6566 }
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 wxGridTableMessage_SetId(_arg0,_arg1);
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) return NULL;
6573 } Py_INCREF(Py_None);
6574 _resultobj = Py_None;
6575 return _resultobj;
6576 }
6577
6578 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6579 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6580 PyObject * _resultobj;
6581 int _result;
6582 wxGridTableMessage * _arg0;
6583 PyObject * _argo0 = 0;
6584 char *_kwnames[] = { "self", NULL };
6585
6586 self = self;
6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6588 return NULL;
6589 if (_argo0) {
6590 if (_argo0 == Py_None) { _arg0 = NULL; }
6591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6593 return NULL;
6594 }
6595 }
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 _result = (int )wxGridTableMessage_GetId(_arg0);
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) return NULL;
6602 } _resultobj = Py_BuildValue("i",_result);
6603 return _resultobj;
6604 }
6605
6606 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6607 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6608 PyObject * _resultobj;
6609 wxGridTableMessage * _arg0;
6610 int _arg1;
6611 PyObject * _argo0 = 0;
6612 char *_kwnames[] = { "self","comInt1", NULL };
6613
6614 self = self;
6615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6616 return NULL;
6617 if (_argo0) {
6618 if (_argo0 == Py_None) { _arg0 = NULL; }
6619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6621 return NULL;
6622 }
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) return NULL;
6630 } Py_INCREF(Py_None);
6631 _resultobj = Py_None;
6632 return _resultobj;
6633 }
6634
6635 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6636 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6637 PyObject * _resultobj;
6638 int _result;
6639 wxGridTableMessage * _arg0;
6640 PyObject * _argo0 = 0;
6641 char *_kwnames[] = { "self", NULL };
6642
6643 self = self;
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6645 return NULL;
6646 if (_argo0) {
6647 if (_argo0 == Py_None) { _arg0 = NULL; }
6648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6650 return NULL;
6651 }
6652 }
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) return NULL;
6659 } _resultobj = Py_BuildValue("i",_result);
6660 return _resultobj;
6661 }
6662
6663 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6664 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6665 PyObject * _resultobj;
6666 wxGridTableMessage * _arg0;
6667 int _arg1;
6668 PyObject * _argo0 = 0;
6669 char *_kwnames[] = { "self","comInt2", NULL };
6670
6671 self = self;
6672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6673 return NULL;
6674 if (_argo0) {
6675 if (_argo0 == Py_None) { _arg0 = NULL; }
6676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6678 return NULL;
6679 }
6680 }
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) return NULL;
6687 } Py_INCREF(Py_None);
6688 _resultobj = Py_None;
6689 return _resultobj;
6690 }
6691
6692 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6693 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject * _resultobj;
6695 int _result;
6696 wxGridTableMessage * _arg0;
6697 PyObject * _argo0 = 0;
6698 char *_kwnames[] = { "self", NULL };
6699
6700 self = self;
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6702 return NULL;
6703 if (_argo0) {
6704 if (_argo0 == Py_None) { _arg0 = NULL; }
6705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6707 return NULL;
6708 }
6709 }
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) return NULL;
6716 } _resultobj = Py_BuildValue("i",_result);
6717 return _resultobj;
6718 }
6719
6720 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6721 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6722 PyObject * _resultobj;
6723 wxGridCellCoords * _result;
6724 int _arg0 = (int ) -1;
6725 int _arg1 = (int ) -1;
6726 char *_kwnames[] = { "r","c", NULL };
6727 char _ptemp[128];
6728
6729 self = self;
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6731 return NULL;
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) return NULL;
6738 } if (_result) {
6739 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6740 _resultobj = Py_BuildValue("s",_ptemp);
6741 } else {
6742 Py_INCREF(Py_None);
6743 _resultobj = Py_None;
6744 }
6745 return _resultobj;
6746 }
6747
6748 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6749 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6750 PyObject * _resultobj;
6751 wxGridCellCoords * _arg0;
6752 PyObject * _argo0 = 0;
6753 char *_kwnames[] = { "self", NULL };
6754
6755 self = self;
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6757 return NULL;
6758 if (_argo0) {
6759 if (_argo0 == Py_None) { _arg0 = NULL; }
6760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6762 return NULL;
6763 }
6764 }
6765 {
6766 PyThreadState* __tstate = wxPyBeginAllowThreads();
6767 delete_wxGridCellCoords(_arg0);
6768
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) return NULL;
6771 } Py_INCREF(Py_None);
6772 _resultobj = Py_None;
6773 return _resultobj;
6774 }
6775
6776 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6777 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject * _resultobj;
6779 int _result;
6780 wxGridCellCoords * _arg0;
6781 PyObject * _argo0 = 0;
6782 char *_kwnames[] = { "self", NULL };
6783
6784 self = self;
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6786 return NULL;
6787 if (_argo0) {
6788 if (_argo0 == Py_None) { _arg0 = NULL; }
6789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6791 return NULL;
6792 }
6793 }
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 _result = (int )wxGridCellCoords_GetRow(_arg0);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) return NULL;
6800 } _resultobj = Py_BuildValue("i",_result);
6801 return _resultobj;
6802 }
6803
6804 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6805 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject * _resultobj;
6807 wxGridCellCoords * _arg0;
6808 int _arg1;
6809 PyObject * _argo0 = 0;
6810 char *_kwnames[] = { "self","n", NULL };
6811
6812 self = self;
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6814 return NULL;
6815 if (_argo0) {
6816 if (_argo0 == Py_None) { _arg0 = NULL; }
6817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6819 return NULL;
6820 }
6821 }
6822 {
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 wxGridCellCoords_SetRow(_arg0,_arg1);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) return NULL;
6828 } Py_INCREF(Py_None);
6829 _resultobj = Py_None;
6830 return _resultobj;
6831 }
6832
6833 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6834 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6835 PyObject * _resultobj;
6836 int _result;
6837 wxGridCellCoords * _arg0;
6838 PyObject * _argo0 = 0;
6839 char *_kwnames[] = { "self", NULL };
6840
6841 self = self;
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6843 return NULL;
6844 if (_argo0) {
6845 if (_argo0 == Py_None) { _arg0 = NULL; }
6846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6848 return NULL;
6849 }
6850 }
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 _result = (int )wxGridCellCoords_GetCol(_arg0);
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) return NULL;
6857 } _resultobj = Py_BuildValue("i",_result);
6858 return _resultobj;
6859 }
6860
6861 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6862 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject * _resultobj;
6864 wxGridCellCoords * _arg0;
6865 int _arg1;
6866 PyObject * _argo0 = 0;
6867 char *_kwnames[] = { "self","n", NULL };
6868
6869 self = self;
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6871 return NULL;
6872 if (_argo0) {
6873 if (_argo0 == Py_None) { _arg0 = NULL; }
6874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6876 return NULL;
6877 }
6878 }
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 wxGridCellCoords_SetCol(_arg0,_arg1);
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) return NULL;
6885 } Py_INCREF(Py_None);
6886 _resultobj = Py_None;
6887 return _resultobj;
6888 }
6889
6890 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6891 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject * _resultobj;
6893 wxGridCellCoords * _arg0;
6894 int _arg1;
6895 int _arg2;
6896 PyObject * _argo0 = 0;
6897 char *_kwnames[] = { "self","row","col", NULL };
6898
6899 self = self;
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6901 return NULL;
6902 if (_argo0) {
6903 if (_argo0 == Py_None) { _arg0 = NULL; }
6904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6906 return NULL;
6907 }
6908 }
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6912
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) return NULL;
6915 } Py_INCREF(Py_None);
6916 _resultobj = Py_None;
6917 return _resultobj;
6918 }
6919
6920 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6921 PyObject* tup = PyTuple_New(2);
6922 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6923 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6924 return tup;
6925 }
6926 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject * _resultobj;
6928 PyObject * _result;
6929 wxGridCellCoords * _arg0;
6930 PyObject * _argo0 = 0;
6931 char *_kwnames[] = { "self", NULL };
6932
6933 self = self;
6934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6935 return NULL;
6936 if (_argo0) {
6937 if (_argo0 == Py_None) { _arg0 = NULL; }
6938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6940 return NULL;
6941 }
6942 }
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6946
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) return NULL;
6949 }{
6950 _resultobj = _result;
6951 }
6952 return _resultobj;
6953 }
6954
6955 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6956 return *self != other;
6957 }
6958 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6959 PyObject * _resultobj;
6960 int _result;
6961 wxGridCellCoords * _arg0;
6962 wxGridCellCoords * _arg1;
6963 PyObject * _argo0 = 0;
6964 PyObject * _argo1 = 0;
6965 char *_kwnames[] = { "self","other", NULL };
6966
6967 self = self;
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6969 return NULL;
6970 if (_argo0) {
6971 if (_argo0 == Py_None) { _arg0 = NULL; }
6972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6974 return NULL;
6975 }
6976 }
6977 if (_argo1) {
6978 if (_argo1 == Py_None) { _arg1 = NULL; }
6979 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6980 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6981 return NULL;
6982 }
6983 }
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) return NULL;
6990 } _resultobj = Py_BuildValue("i",_result);
6991 return _resultobj;
6992 }
6993
6994 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6995 wxGrid *src;
6996 wxScrolledWindow *dest;
6997 src = (wxGrid *) ptr;
6998 dest = (wxScrolledWindow *) src;
6999 return (void *) dest;
7000 }
7001
7002 static void *SwigwxGridTowxPanel(void *ptr) {
7003 wxGrid *src;
7004 wxPanel *dest;
7005 src = (wxGrid *) ptr;
7006 dest = (wxPanel *) src;
7007 return (void *) dest;
7008 }
7009
7010 static void *SwigwxGridTowxWindow(void *ptr) {
7011 wxGrid *src;
7012 wxWindow *dest;
7013 src = (wxGrid *) ptr;
7014 dest = (wxWindow *) src;
7015 return (void *) dest;
7016 }
7017
7018 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7019 wxGrid *src;
7020 wxEvtHandler *dest;
7021 src = (wxGrid *) ptr;
7022 dest = (wxEvtHandler *) src;
7023 return (void *) dest;
7024 }
7025
7026 static void *SwigwxGridTowxObject(void *ptr) {
7027 wxGrid *src;
7028 wxObject *dest;
7029 src = (wxGrid *) ptr;
7030 dest = (wxObject *) src;
7031 return (void *) dest;
7032 }
7033
7034 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7035 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject * _resultobj;
7037 wxGrid * _result;
7038 wxWindow * _arg0;
7039 wxWindowID _arg1;
7040 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7041 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7042 long _arg4 = (long ) wxWANTS_CHARS;
7043 char * _arg5 = (char *) wxPanelNameStr;
7044 PyObject * _argo0 = 0;
7045 wxPoint temp;
7046 PyObject * _obj2 = 0;
7047 wxSize temp0;
7048 PyObject * _obj3 = 0;
7049 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7050 char _ptemp[128];
7051
7052 self = self;
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
7054 return NULL;
7055 if (_argo0) {
7056 if (_argo0 == Py_None) { _arg0 = NULL; }
7057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7059 return NULL;
7060 }
7061 }
7062 if (_obj2)
7063 {
7064 _arg2 = &temp;
7065 if (! wxPoint_helper(_obj2, &_arg2))
7066 return NULL;
7067 }
7068 if (_obj3)
7069 {
7070 _arg3 = &temp0;
7071 if (! wxSize_helper(_obj3, &_arg3))
7072 return NULL;
7073 }
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) return NULL;
7080 } if (_result) {
7081 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7082 _resultobj = Py_BuildValue("s",_ptemp);
7083 } else {
7084 Py_INCREF(Py_None);
7085 _resultobj = Py_None;
7086 }
7087 return _resultobj;
7088 }
7089
7090 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7091 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7092 PyObject * _resultobj;
7093 bool _result;
7094 wxGrid * _arg0;
7095 int _arg1;
7096 int _arg2;
7097 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7098 PyObject * _argo0 = 0;
7099 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7100
7101 self = self;
7102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7103 return NULL;
7104 if (_argo0) {
7105 if (_argo0 == Py_None) { _arg0 = NULL; }
7106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7108 return NULL;
7109 }
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) return NULL;
7117 } _resultobj = Py_BuildValue("i",_result);
7118 return _resultobj;
7119 }
7120
7121 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7122 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject * _resultobj;
7124 wxGrid * _arg0;
7125 WXGRIDSELECTIONMODES _arg1;
7126 PyObject * _argo0 = 0;
7127 char *_kwnames[] = { "self","selmode", NULL };
7128
7129 self = self;
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7131 return NULL;
7132 if (_argo0) {
7133 if (_argo0 == Py_None) { _arg0 = NULL; }
7134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7136 return NULL;
7137 }
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 wxGrid_SetSelectionMode(_arg0,_arg1);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) return NULL;
7145 } Py_INCREF(Py_None);
7146 _resultobj = Py_None;
7147 return _resultobj;
7148 }
7149
7150 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7151 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject * _resultobj;
7153 int _result;
7154 wxGrid * _arg0;
7155 PyObject * _argo0 = 0;
7156 char *_kwnames[] = { "self", NULL };
7157
7158 self = self;
7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7160 return NULL;
7161 if (_argo0) {
7162 if (_argo0 == Py_None) { _arg0 = NULL; }
7163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7165 return NULL;
7166 }
7167 }
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 _result = (int )wxGrid_GetNumberRows(_arg0);
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) return NULL;
7174 } _resultobj = Py_BuildValue("i",_result);
7175 return _resultobj;
7176 }
7177
7178 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7179 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7180 PyObject * _resultobj;
7181 int _result;
7182 wxGrid * _arg0;
7183 PyObject * _argo0 = 0;
7184 char *_kwnames[] = { "self", NULL };
7185
7186 self = self;
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7188 return NULL;
7189 if (_argo0) {
7190 if (_argo0 == Py_None) { _arg0 = NULL; }
7191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7193 return NULL;
7194 }
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 _result = (int )wxGrid_GetNumberCols(_arg0);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) return NULL;
7202 } _resultobj = Py_BuildValue("i",_result);
7203 return _resultobj;
7204 }
7205
7206 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7207 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject * _resultobj;
7209 bool _result;
7210 wxGrid * _arg0;
7211 wxGridTableMessage * _arg1;
7212 PyObject * _argo0 = 0;
7213 PyObject * _argo1 = 0;
7214 char *_kwnames[] = { "self","arg2", NULL };
7215
7216 self = self;
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7218 return NULL;
7219 if (_argo0) {
7220 if (_argo0 == Py_None) { _arg0 = NULL; }
7221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7223 return NULL;
7224 }
7225 }
7226 if (_argo1) {
7227 if (_argo1 == Py_None) { _arg1 = NULL; }
7228 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7229 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7230 return NULL;
7231 }
7232 }
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) return NULL;
7239 } _resultobj = Py_BuildValue("i",_result);
7240 return _resultobj;
7241 }
7242
7243 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7244 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject * _resultobj;
7246 wxGridTableBase * _result;
7247 wxGrid * _arg0;
7248 PyObject * _argo0 = 0;
7249 char *_kwnames[] = { "self", NULL };
7250
7251 self = self;
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7253 return NULL;
7254 if (_argo0) {
7255 if (_argo0 == Py_None) { _arg0 = NULL; }
7256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7258 return NULL;
7259 }
7260 }
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) return NULL;
7267 }{ _resultobj = wxPyMake_wxObject(_result); }
7268 return _resultobj;
7269 }
7270
7271 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7272 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7273 PyObject * _resultobj;
7274 bool _result;
7275 wxGrid * _arg0;
7276 wxGridTableBase * _arg1;
7277 bool _arg2 = (bool ) FALSE;
7278 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7279 PyObject * _argo0 = 0;
7280 PyObject * _argo1 = 0;
7281 int tempbool2 = (int) FALSE;
7282 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7283
7284 self = self;
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7286 return NULL;
7287 if (_argo0) {
7288 if (_argo0 == Py_None) { _arg0 = NULL; }
7289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7291 return NULL;
7292 }
7293 }
7294 if (_argo1) {
7295 if (_argo1 == Py_None) { _arg1 = NULL; }
7296 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7297 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7298 return NULL;
7299 }
7300 }
7301 _arg2 = (bool ) tempbool2;
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) return NULL;
7308 } _resultobj = Py_BuildValue("i",_result);
7309 return _resultobj;
7310 }
7311
7312 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7313 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7314 PyObject * _resultobj;
7315 wxGrid * _arg0;
7316 PyObject * _argo0 = 0;
7317 char *_kwnames[] = { "self", NULL };
7318
7319 self = self;
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7321 return NULL;
7322 if (_argo0) {
7323 if (_argo0 == Py_None) { _arg0 = NULL; }
7324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7326 return NULL;
7327 }
7328 }
7329 {
7330 PyThreadState* __tstate = wxPyBeginAllowThreads();
7331 wxGrid_ClearGrid(_arg0);
7332
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) return NULL;
7335 } Py_INCREF(Py_None);
7336 _resultobj = Py_None;
7337 return _resultobj;
7338 }
7339
7340 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7341 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7342 PyObject * _resultobj;
7343 bool _result;
7344 wxGrid * _arg0;
7345 int _arg1 = (int ) 0;
7346 int _arg2 = (int ) 1;
7347 bool _arg3 = (bool ) TRUE;
7348 PyObject * _argo0 = 0;
7349 int tempbool3 = (int) TRUE;
7350 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7351
7352 self = self;
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7354 return NULL;
7355 if (_argo0) {
7356 if (_argo0 == Py_None) { _arg0 = NULL; }
7357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7359 return NULL;
7360 }
7361 }
7362 _arg3 = (bool ) tempbool3;
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) return NULL;
7369 } _resultobj = Py_BuildValue("i",_result);
7370 return _resultobj;
7371 }
7372
7373 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7374 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject * _resultobj;
7376 bool _result;
7377 wxGrid * _arg0;
7378 int _arg1 = (int ) 1;
7379 bool _arg2 = (bool ) TRUE;
7380 PyObject * _argo0 = 0;
7381 int tempbool2 = (int) TRUE;
7382 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7383
7384 self = self;
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7386 return NULL;
7387 if (_argo0) {
7388 if (_argo0 == Py_None) { _arg0 = NULL; }
7389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7391 return NULL;
7392 }
7393 }
7394 _arg2 = (bool ) tempbool2;
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) return NULL;
7401 } _resultobj = Py_BuildValue("i",_result);
7402 return _resultobj;
7403 }
7404
7405 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7406 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7407 PyObject * _resultobj;
7408 bool _result;
7409 wxGrid * _arg0;
7410 int _arg1 = (int ) 0;
7411 int _arg2 = (int ) 1;
7412 bool _arg3 = (bool ) TRUE;
7413 PyObject * _argo0 = 0;
7414 int tempbool3 = (int) TRUE;
7415 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7416
7417 self = self;
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7419 return NULL;
7420 if (_argo0) {
7421 if (_argo0 == Py_None) { _arg0 = NULL; }
7422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7424 return NULL;
7425 }
7426 }
7427 _arg3 = (bool ) tempbool3;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) return NULL;
7434 } _resultobj = Py_BuildValue("i",_result);
7435 return _resultobj;
7436 }
7437
7438 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7439 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject * _resultobj;
7441 bool _result;
7442 wxGrid * _arg0;
7443 int _arg1 = (int ) 0;
7444 int _arg2 = (int ) 1;
7445 bool _arg3 = (bool ) TRUE;
7446 PyObject * _argo0 = 0;
7447 int tempbool3 = (int) TRUE;
7448 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7449
7450 self = self;
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7452 return NULL;
7453 if (_argo0) {
7454 if (_argo0 == Py_None) { _arg0 = NULL; }
7455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7457 return NULL;
7458 }
7459 }
7460 _arg3 = (bool ) tempbool3;
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) return NULL;
7467 } _resultobj = Py_BuildValue("i",_result);
7468 return _resultobj;
7469 }
7470
7471 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7472 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject * _resultobj;
7474 bool _result;
7475 wxGrid * _arg0;
7476 int _arg1 = (int ) 1;
7477 bool _arg2 = (bool ) TRUE;
7478 PyObject * _argo0 = 0;
7479 int tempbool2 = (int) TRUE;
7480 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7481
7482 self = self;
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7484 return NULL;
7485 if (_argo0) {
7486 if (_argo0 == Py_None) { _arg0 = NULL; }
7487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7489 return NULL;
7490 }
7491 }
7492 _arg2 = (bool ) tempbool2;
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7496
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) return NULL;
7499 } _resultobj = Py_BuildValue("i",_result);
7500 return _resultobj;
7501 }
7502
7503 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7504 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject * _resultobj;
7506 bool _result;
7507 wxGrid * _arg0;
7508 int _arg1 = (int ) 0;
7509 int _arg2 = (int ) 1;
7510 bool _arg3 = (bool ) TRUE;
7511 PyObject * _argo0 = 0;
7512 int tempbool3 = (int) TRUE;
7513 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7514
7515 self = self;
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7517 return NULL;
7518 if (_argo0) {
7519 if (_argo0 == Py_None) { _arg0 = NULL; }
7520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7522 return NULL;
7523 }
7524 }
7525 _arg3 = (bool ) tempbool3;
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) return NULL;
7532 } _resultobj = Py_BuildValue("i",_result);
7533 return _resultobj;
7534 }
7535
7536 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7537 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7538 PyObject * _resultobj;
7539 wxGrid * _arg0;
7540 wxDC * _arg1;
7541 wxGridCellAttr * _arg2;
7542 PyObject * _argo0 = 0;
7543 PyObject * _argo1 = 0;
7544 PyObject * _argo2 = 0;
7545 char *_kwnames[] = { "self","dc","attr", NULL };
7546
7547 self = self;
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7549 return NULL;
7550 if (_argo0) {
7551 if (_argo0 == Py_None) { _arg0 = NULL; }
7552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7554 return NULL;
7555 }
7556 }
7557 if (_argo1) {
7558 if (_argo1 == Py_None) { _arg1 = NULL; }
7559 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7560 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7561 return NULL;
7562 }
7563 }
7564 if (_argo2) {
7565 if (_argo2 == Py_None) { _arg2 = NULL; }
7566 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7567 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7568 return NULL;
7569 }
7570 }
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) return NULL;
7577 } Py_INCREF(Py_None);
7578 _resultobj = Py_None;
7579 return _resultobj;
7580 }
7581
7582 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7583 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7584 PyObject * _resultobj;
7585 wxGrid * _arg0;
7586 wxDC * _arg1;
7587 wxString * _arg2;
7588 wxRect * _arg3;
7589 int _arg4 = (int ) wxLEFT;
7590 int _arg5 = (int ) wxTOP;
7591 PyObject * _argo0 = 0;
7592 PyObject * _argo1 = 0;
7593 PyObject * _obj2 = 0;
7594 wxRect temp;
7595 PyObject * _obj3 = 0;
7596 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7597
7598 self = self;
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7600 return NULL;
7601 if (_argo0) {
7602 if (_argo0 == Py_None) { _arg0 = NULL; }
7603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7605 return NULL;
7606 }
7607 }
7608 if (_argo1) {
7609 if (_argo1 == Py_None) { _arg1 = NULL; }
7610 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7612 return NULL;
7613 }
7614 }
7615 {
7616 _arg2 = wxString_in_helper(_obj2);
7617 if (_arg2 == NULL)
7618 return NULL;
7619 }
7620 {
7621 _arg3 = &temp;
7622 if (! wxRect_helper(_obj3, &_arg3))
7623 return NULL;
7624 }
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7628
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) return NULL;
7631 } Py_INCREF(Py_None);
7632 _resultobj = Py_None;
7633 {
7634 if (_obj2)
7635 delete _arg2;
7636 }
7637 return _resultobj;
7638 }
7639
7640 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7641 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7642 PyObject * _resultobj;
7643 wxGrid * _arg0;
7644 wxDC * _arg1;
7645 wxArrayString * _arg2;
7646 long * _arg3;
7647 long temp;
7648 long * _arg4;
7649 long temp0;
7650 PyObject * _argo0 = 0;
7651 PyObject * _argo1 = 0;
7652 PyObject * _obj2 = 0;
7653 char *_kwnames[] = { "self","dc","lines", NULL };
7654
7655 self = self;
7656 {
7657 _arg3 = &temp;
7658 }
7659 {
7660 _arg4 = &temp0;
7661 }
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
7663 return NULL;
7664 if (_argo0) {
7665 if (_argo0 == Py_None) { _arg0 = NULL; }
7666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7668 return NULL;
7669 }
7670 }
7671 if (_argo1) {
7672 if (_argo1 == Py_None) { _arg1 = NULL; }
7673 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7674 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7675 return NULL;
7676 }
7677 }
7678 {
7679 if (! PySequence_Check(_obj2)) {
7680 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7681 return NULL;
7682 }
7683 _arg2 = new wxArrayString;
7684 int i, len=PySequence_Length(_obj2);
7685 for (i=0; i<len; i++) {
7686 PyObject* item = PySequence_GetItem(_obj2, i);
7687 #if wxUSE_UNICODE
7688 PyObject* str = PyObject_Unicode(item);
7689 _arg2->Add(PyUnicode_AsUnicode(str));
7690 #else
7691 PyObject* str = PyObject_Str(item);
7692 _arg2->Add(PyString_AsString(str));
7693 #endif
7694 Py_DECREF(item);
7695 Py_DECREF(str);
7696 }
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) return NULL;
7704 } Py_INCREF(Py_None);
7705 _resultobj = Py_None;
7706 {
7707 PyObject *o;
7708 o = PyInt_FromLong((long) (*_arg3));
7709 _resultobj = t_output_helper(_resultobj, o);
7710 }
7711 {
7712 PyObject *o;
7713 o = PyInt_FromLong((long) (*_arg4));
7714 _resultobj = t_output_helper(_resultobj, o);
7715 }
7716 {
7717 if (_obj2)
7718 delete _arg2;
7719 }
7720 return _resultobj;
7721 }
7722
7723 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7724 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7725 PyObject * _resultobj;
7726 wxGrid * _arg0;
7727 PyObject * _argo0 = 0;
7728 char *_kwnames[] = { "self", NULL };
7729
7730 self = self;
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7732 return NULL;
7733 if (_argo0) {
7734 if (_argo0 == Py_None) { _arg0 = NULL; }
7735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7737 return NULL;
7738 }
7739 }
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 wxGrid_BeginBatch(_arg0);
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) return NULL;
7746 } Py_INCREF(Py_None);
7747 _resultobj = Py_None;
7748 return _resultobj;
7749 }
7750
7751 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7752 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject * _resultobj;
7754 wxGrid * _arg0;
7755 PyObject * _argo0 = 0;
7756 char *_kwnames[] = { "self", NULL };
7757
7758 self = self;
7759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7760 return NULL;
7761 if (_argo0) {
7762 if (_argo0 == Py_None) { _arg0 = NULL; }
7763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7765 return NULL;
7766 }
7767 }
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 wxGrid_EndBatch(_arg0);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) return NULL;
7774 } Py_INCREF(Py_None);
7775 _resultobj = Py_None;
7776 return _resultobj;
7777 }
7778
7779 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7780 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject * _resultobj;
7782 int _result;
7783 wxGrid * _arg0;
7784 PyObject * _argo0 = 0;
7785 char *_kwnames[] = { "self", NULL };
7786
7787 self = self;
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7789 return NULL;
7790 if (_argo0) {
7791 if (_argo0 == Py_None) { _arg0 = NULL; }
7792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7794 return NULL;
7795 }
7796 }
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 _result = (int )wxGrid_GetBatchCount(_arg0);
7800
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) return NULL;
7803 } _resultobj = Py_BuildValue("i",_result);
7804 return _resultobj;
7805 }
7806
7807 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7808 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject * _resultobj;
7810 wxGrid * _arg0;
7811 PyObject * _argo0 = 0;
7812 char *_kwnames[] = { "self", NULL };
7813
7814 self = self;
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
7816 return NULL;
7817 if (_argo0) {
7818 if (_argo0 == Py_None) { _arg0 = NULL; }
7819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7821 return NULL;
7822 }
7823 }
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 wxGrid_ForceRefresh(_arg0);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) return NULL;
7830 } Py_INCREF(Py_None);
7831 _resultobj = Py_None;
7832 return _resultobj;
7833 }
7834
7835 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7836 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject * _resultobj;
7838 bool _result;
7839 wxGrid * _arg0;
7840 PyObject * _argo0 = 0;
7841 char *_kwnames[] = { "self", NULL };
7842
7843 self = self;
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7845 return NULL;
7846 if (_argo0) {
7847 if (_argo0 == Py_None) { _arg0 = NULL; }
7848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7850 return NULL;
7851 }
7852 }
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 _result = (bool )wxGrid_IsEditable(_arg0);
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) return NULL;
7859 } _resultobj = Py_BuildValue("i",_result);
7860 return _resultobj;
7861 }
7862
7863 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7864 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject * _resultobj;
7866 wxGrid * _arg0;
7867 bool _arg1;
7868 PyObject * _argo0 = 0;
7869 int tempbool1;
7870 char *_kwnames[] = { "self","edit", NULL };
7871
7872 self = self;
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7874 return NULL;
7875 if (_argo0) {
7876 if (_argo0 == Py_None) { _arg0 = NULL; }
7877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7879 return NULL;
7880 }
7881 }
7882 _arg1 = (bool ) tempbool1;
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 wxGrid_EnableEditing(_arg0,_arg1);
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) return NULL;
7889 } Py_INCREF(Py_None);
7890 _resultobj = Py_None;
7891 return _resultobj;
7892 }
7893
7894 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7895 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject * _resultobj;
7897 wxGrid * _arg0;
7898 bool _arg1 = (bool ) TRUE;
7899 PyObject * _argo0 = 0;
7900 int tempbool1 = (int) TRUE;
7901 char *_kwnames[] = { "self","enable", NULL };
7902
7903 self = self;
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7905 return NULL;
7906 if (_argo0) {
7907 if (_argo0 == Py_None) { _arg0 = NULL; }
7908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7910 return NULL;
7911 }
7912 }
7913 _arg1 = (bool ) tempbool1;
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 wxGrid_EnableCellEditControl(_arg0,_arg1);
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) return NULL;
7920 } Py_INCREF(Py_None);
7921 _resultobj = Py_None;
7922 return _resultobj;
7923 }
7924
7925 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7926 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject * _resultobj;
7928 wxGrid * _arg0;
7929 PyObject * _argo0 = 0;
7930 char *_kwnames[] = { "self", NULL };
7931
7932 self = self;
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7934 return NULL;
7935 if (_argo0) {
7936 if (_argo0 == Py_None) { _arg0 = NULL; }
7937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7939 return NULL;
7940 }
7941 }
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 wxGrid_DisableCellEditControl(_arg0);
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) return NULL;
7948 } Py_INCREF(Py_None);
7949 _resultobj = Py_None;
7950 return _resultobj;
7951 }
7952
7953 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7954 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject * _resultobj;
7956 bool _result;
7957 wxGrid * _arg0;
7958 PyObject * _argo0 = 0;
7959 char *_kwnames[] = { "self", NULL };
7960
7961 self = self;
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7963 return NULL;
7964 if (_argo0) {
7965 if (_argo0 == Py_None) { _arg0 = NULL; }
7966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7968 return NULL;
7969 }
7970 }
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) return NULL;
7977 } _resultobj = Py_BuildValue("i",_result);
7978 return _resultobj;
7979 }
7980
7981 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7982 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject * _resultobj;
7984 bool _result;
7985 wxGrid * _arg0;
7986 PyObject * _argo0 = 0;
7987 char *_kwnames[] = { "self", NULL };
7988
7989 self = self;
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7991 return NULL;
7992 if (_argo0) {
7993 if (_argo0 == Py_None) { _arg0 = NULL; }
7994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7996 return NULL;
7997 }
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) return NULL;
8005 } _resultobj = Py_BuildValue("i",_result);
8006 return _resultobj;
8007 }
8008
8009 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8010 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject * _resultobj;
8012 bool _result;
8013 wxGrid * _arg0;
8014 PyObject * _argo0 = 0;
8015 char *_kwnames[] = { "self", NULL };
8016
8017 self = self;
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8019 return NULL;
8020 if (_argo0) {
8021 if (_argo0 == Py_None) { _arg0 = NULL; }
8022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8024 return NULL;
8025 }
8026 }
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) return NULL;
8033 } _resultobj = Py_BuildValue("i",_result);
8034 return _resultobj;
8035 }
8036
8037 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8038 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8039 PyObject * _resultobj;
8040 bool _result;
8041 wxGrid * _arg0;
8042 PyObject * _argo0 = 0;
8043 char *_kwnames[] = { "self", NULL };
8044
8045 self = self;
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8047 return NULL;
8048 if (_argo0) {
8049 if (_argo0 == Py_None) { _arg0 = NULL; }
8050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8052 return NULL;
8053 }
8054 }
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) return NULL;
8061 } _resultobj = Py_BuildValue("i",_result);
8062 return _resultobj;
8063 }
8064
8065 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8066 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject * _resultobj;
8068 wxGrid * _arg0;
8069 PyObject * _argo0 = 0;
8070 char *_kwnames[] = { "self", NULL };
8071
8072 self = self;
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8074 return NULL;
8075 if (_argo0) {
8076 if (_argo0 == Py_None) { _arg0 = NULL; }
8077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8079 return NULL;
8080 }
8081 }
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 wxGrid_ShowCellEditControl(_arg0);
8085
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) return NULL;
8088 } Py_INCREF(Py_None);
8089 _resultobj = Py_None;
8090 return _resultobj;
8091 }
8092
8093 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8094 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8095 PyObject * _resultobj;
8096 wxGrid * _arg0;
8097 PyObject * _argo0 = 0;
8098 char *_kwnames[] = { "self", NULL };
8099
8100 self = self;
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8102 return NULL;
8103 if (_argo0) {
8104 if (_argo0 == Py_None) { _arg0 = NULL; }
8105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8107 return NULL;
8108 }
8109 }
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
8112 wxGrid_HideCellEditControl(_arg0);
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) return NULL;
8116 } Py_INCREF(Py_None);
8117 _resultobj = Py_None;
8118 return _resultobj;
8119 }
8120
8121 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8122 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8123 PyObject * _resultobj;
8124 wxGrid * _arg0;
8125 PyObject * _argo0 = 0;
8126 char *_kwnames[] = { "self", NULL };
8127
8128 self = self;
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8130 return NULL;
8131 if (_argo0) {
8132 if (_argo0 == Py_None) { _arg0 = NULL; }
8133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8135 return NULL;
8136 }
8137 }
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 wxGrid_SaveEditControlValue(_arg0);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) return NULL;
8144 } Py_INCREF(Py_None);
8145 _resultobj = Py_None;
8146 return _resultobj;
8147 }
8148
8149 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8150 wxGridCellCoords rv;
8151 self->XYToCell(x, y, rv);
8152 return new wxGridCellCoords(rv);
8153 }
8154 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8155 PyObject * _resultobj;
8156 wxGridCellCoords * _result;
8157 wxGrid * _arg0;
8158 int _arg1;
8159 int _arg2;
8160 PyObject * _argo0 = 0;
8161 char *_kwnames[] = { "self","x","y", NULL };
8162 char _ptemp[128];
8163
8164 self = self;
8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8166 return NULL;
8167 if (_argo0) {
8168 if (_argo0 == Py_None) { _arg0 = NULL; }
8169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8171 return NULL;
8172 }
8173 }
8174 {
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8177
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) return NULL;
8180 } if (_result) {
8181 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8182 _resultobj = Py_BuildValue("s",_ptemp);
8183 } else {
8184 Py_INCREF(Py_None);
8185 _resultobj = Py_None;
8186 }
8187 return _resultobj;
8188 }
8189
8190 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8191 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject * _resultobj;
8193 int _result;
8194 wxGrid * _arg0;
8195 int _arg1;
8196 PyObject * _argo0 = 0;
8197 char *_kwnames[] = { "self","y", NULL };
8198
8199 self = self;
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8201 return NULL;
8202 if (_argo0) {
8203 if (_argo0 == Py_None) { _arg0 = NULL; }
8204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8206 return NULL;
8207 }
8208 }
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) return NULL;
8215 } _resultobj = Py_BuildValue("i",_result);
8216 return _resultobj;
8217 }
8218
8219 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8220 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8221 PyObject * _resultobj;
8222 int _result;
8223 wxGrid * _arg0;
8224 int _arg1;
8225 PyObject * _argo0 = 0;
8226 char *_kwnames[] = { "self","x", NULL };
8227
8228 self = self;
8229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8230 return NULL;
8231 if (_argo0) {
8232 if (_argo0 == Py_None) { _arg0 = NULL; }
8233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8235 return NULL;
8236 }
8237 }
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) return NULL;
8244 } _resultobj = Py_BuildValue("i",_result);
8245 return _resultobj;
8246 }
8247
8248 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8249 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8250 PyObject * _resultobj;
8251 int _result;
8252 wxGrid * _arg0;
8253 int _arg1;
8254 PyObject * _argo0 = 0;
8255 char *_kwnames[] = { "self","y", NULL };
8256
8257 self = self;
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8259 return NULL;
8260 if (_argo0) {
8261 if (_argo0 == Py_None) { _arg0 = NULL; }
8262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8264 return NULL;
8265 }
8266 }
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) return NULL;
8273 } _resultobj = Py_BuildValue("i",_result);
8274 return _resultobj;
8275 }
8276
8277 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8278 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject * _resultobj;
8280 int _result;
8281 wxGrid * _arg0;
8282 int _arg1;
8283 PyObject * _argo0 = 0;
8284 char *_kwnames[] = { "self","x", NULL };
8285
8286 self = self;
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8288 return NULL;
8289 if (_argo0) {
8290 if (_argo0 == Py_None) { _arg0 = NULL; }
8291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8293 return NULL;
8294 }
8295 }
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) return NULL;
8302 } _resultobj = Py_BuildValue("i",_result);
8303 return _resultobj;
8304 }
8305
8306 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8307 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8308 PyObject * _resultobj;
8309 wxRect * _result;
8310 wxGrid * _arg0;
8311 int _arg1;
8312 int _arg2;
8313 PyObject * _argo0 = 0;
8314 char *_kwnames[] = { "self","row","col", NULL };
8315 char _ptemp[128];
8316
8317 self = self;
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8319 return NULL;
8320 if (_argo0) {
8321 if (_argo0 == Py_None) { _arg0 = NULL; }
8322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8324 return NULL;
8325 }
8326 }
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) return NULL;
8333 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8334 _resultobj = Py_BuildValue("s",_ptemp);
8335 return _resultobj;
8336 }
8337
8338 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8339 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject * _resultobj;
8341 int _result;
8342 wxGrid * _arg0;
8343 PyObject * _argo0 = 0;
8344 char *_kwnames[] = { "self", NULL };
8345
8346 self = self;
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8348 return NULL;
8349 if (_argo0) {
8350 if (_argo0 == Py_None) { _arg0 = NULL; }
8351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8353 return NULL;
8354 }
8355 }
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) return NULL;
8362 } _resultobj = Py_BuildValue("i",_result);
8363 return _resultobj;
8364 }
8365
8366 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8367 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8368 PyObject * _resultobj;
8369 int _result;
8370 wxGrid * _arg0;
8371 PyObject * _argo0 = 0;
8372 char *_kwnames[] = { "self", NULL };
8373
8374 self = self;
8375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8376 return NULL;
8377 if (_argo0) {
8378 if (_argo0 == Py_None) { _arg0 = NULL; }
8379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8381 return NULL;
8382 }
8383 }
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) return NULL;
8390 } _resultobj = Py_BuildValue("i",_result);
8391 return _resultobj;
8392 }
8393
8394 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8395 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject * _resultobj;
8397 bool _result;
8398 wxGrid * _arg0;
8399 int _arg1;
8400 int _arg2;
8401 bool _arg3 = (bool ) TRUE;
8402 PyObject * _argo0 = 0;
8403 int tempbool3 = (int) TRUE;
8404 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8405
8406 self = self;
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8408 return NULL;
8409 if (_argo0) {
8410 if (_argo0 == Py_None) { _arg0 = NULL; }
8411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8413 return NULL;
8414 }
8415 }
8416 _arg3 = (bool ) tempbool3;
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) return NULL;
8423 } _resultobj = Py_BuildValue("i",_result);
8424 return _resultobj;
8425 }
8426
8427 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8428 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8429 PyObject * _resultobj;
8430 wxGrid * _arg0;
8431 int _arg1;
8432 int _arg2;
8433 PyObject * _argo0 = 0;
8434 char *_kwnames[] = { "self","row","col", NULL };
8435
8436 self = self;
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8438 return NULL;
8439 if (_argo0) {
8440 if (_argo0 == Py_None) { _arg0 = NULL; }
8441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8443 return NULL;
8444 }
8445 }
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) return NULL;
8452 } Py_INCREF(Py_None);
8453 _resultobj = Py_None;
8454 return _resultobj;
8455 }
8456
8457 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8458 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject * _resultobj;
8460 wxGrid * _arg0;
8461 int _arg1;
8462 int _arg2;
8463 PyObject * _argo0 = 0;
8464 char *_kwnames[] = { "self","row","col", NULL };
8465
8466 self = self;
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8468 return NULL;
8469 if (_argo0) {
8470 if (_argo0 == Py_None) { _arg0 = NULL; }
8471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8473 return NULL;
8474 }
8475 }
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) return NULL;
8482 } Py_INCREF(Py_None);
8483 _resultobj = Py_None;
8484 return _resultobj;
8485 }
8486
8487 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8488 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8489 PyObject * _resultobj;
8490 bool _result;
8491 wxGrid * _arg0;
8492 bool _arg1;
8493 PyObject * _argo0 = 0;
8494 int tempbool1;
8495 char *_kwnames[] = { "self","expandSelection", NULL };
8496
8497 self = self;
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8499 return NULL;
8500 if (_argo0) {
8501 if (_argo0 == Py_None) { _arg0 = NULL; }
8502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8504 return NULL;
8505 }
8506 }
8507 _arg1 = (bool ) tempbool1;
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) return NULL;
8514 } _resultobj = Py_BuildValue("i",_result);
8515 return _resultobj;
8516 }
8517
8518 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8519 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8520 PyObject * _resultobj;
8521 bool _result;
8522 wxGrid * _arg0;
8523 bool _arg1;
8524 PyObject * _argo0 = 0;
8525 int tempbool1;
8526 char *_kwnames[] = { "self","expandSelection", NULL };
8527
8528 self = self;
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8530 return NULL;
8531 if (_argo0) {
8532 if (_argo0 == Py_None) { _arg0 = NULL; }
8533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8535 return NULL;
8536 }
8537 }
8538 _arg1 = (bool ) tempbool1;
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8542
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) return NULL;
8545 } _resultobj = Py_BuildValue("i",_result);
8546 return _resultobj;
8547 }
8548
8549 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8550 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject * _resultobj;
8552 bool _result;
8553 wxGrid * _arg0;
8554 bool _arg1;
8555 PyObject * _argo0 = 0;
8556 int tempbool1;
8557 char *_kwnames[] = { "self","expandSelection", NULL };
8558
8559 self = self;
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8561 return NULL;
8562 if (_argo0) {
8563 if (_argo0 == Py_None) { _arg0 = NULL; }
8564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8566 return NULL;
8567 }
8568 }
8569 _arg1 = (bool ) tempbool1;
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) return NULL;
8576 } _resultobj = Py_BuildValue("i",_result);
8577 return _resultobj;
8578 }
8579
8580 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8581 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject * _resultobj;
8583 bool _result;
8584 wxGrid * _arg0;
8585 bool _arg1;
8586 PyObject * _argo0 = 0;
8587 int tempbool1;
8588 char *_kwnames[] = { "self","expandSelection", NULL };
8589
8590 self = self;
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8592 return NULL;
8593 if (_argo0) {
8594 if (_argo0 == Py_None) { _arg0 = NULL; }
8595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8597 return NULL;
8598 }
8599 }
8600 _arg1 = (bool ) tempbool1;
8601 {
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8604
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) return NULL;
8607 } _resultobj = Py_BuildValue("i",_result);
8608 return _resultobj;
8609 }
8610
8611 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8612 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8613 PyObject * _resultobj;
8614 bool _result;
8615 wxGrid * _arg0;
8616 PyObject * _argo0 = 0;
8617 char *_kwnames[] = { "self", NULL };
8618
8619 self = self;
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8621 return NULL;
8622 if (_argo0) {
8623 if (_argo0 == Py_None) { _arg0 = NULL; }
8624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8626 return NULL;
8627 }
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 _result = (bool )wxGrid_MovePageDown(_arg0);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) return NULL;
8635 } _resultobj = Py_BuildValue("i",_result);
8636 return _resultobj;
8637 }
8638
8639 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8640 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject * _resultobj;
8642 bool _result;
8643 wxGrid * _arg0;
8644 PyObject * _argo0 = 0;
8645 char *_kwnames[] = { "self", NULL };
8646
8647 self = self;
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8649 return NULL;
8650 if (_argo0) {
8651 if (_argo0 == Py_None) { _arg0 = NULL; }
8652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8654 return NULL;
8655 }
8656 }
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 _result = (bool )wxGrid_MovePageUp(_arg0);
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) return NULL;
8663 } _resultobj = Py_BuildValue("i",_result);
8664 return _resultobj;
8665 }
8666
8667 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8668 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8669 PyObject * _resultobj;
8670 bool _result;
8671 wxGrid * _arg0;
8672 bool _arg1;
8673 PyObject * _argo0 = 0;
8674 int tempbool1;
8675 char *_kwnames[] = { "self","expandSelection", NULL };
8676
8677 self = self;
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8679 return NULL;
8680 if (_argo0) {
8681 if (_argo0 == Py_None) { _arg0 = NULL; }
8682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8684 return NULL;
8685 }
8686 }
8687 _arg1 = (bool ) tempbool1;
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) return NULL;
8694 } _resultobj = Py_BuildValue("i",_result);
8695 return _resultobj;
8696 }
8697
8698 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8699 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8700 PyObject * _resultobj;
8701 bool _result;
8702 wxGrid * _arg0;
8703 bool _arg1;
8704 PyObject * _argo0 = 0;
8705 int tempbool1;
8706 char *_kwnames[] = { "self","expandSelection", NULL };
8707
8708 self = self;
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8710 return NULL;
8711 if (_argo0) {
8712 if (_argo0 == Py_None) { _arg0 = NULL; }
8713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8715 return NULL;
8716 }
8717 }
8718 _arg1 = (bool ) tempbool1;
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) return NULL;
8725 } _resultobj = Py_BuildValue("i",_result);
8726 return _resultobj;
8727 }
8728
8729 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8730 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8731 PyObject * _resultobj;
8732 bool _result;
8733 wxGrid * _arg0;
8734 bool _arg1;
8735 PyObject * _argo0 = 0;
8736 int tempbool1;
8737 char *_kwnames[] = { "self","expandSelection", NULL };
8738
8739 self = self;
8740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8741 return NULL;
8742 if (_argo0) {
8743 if (_argo0 == Py_None) { _arg0 = NULL; }
8744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8746 return NULL;
8747 }
8748 }
8749 _arg1 = (bool ) tempbool1;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) return NULL;
8756 } _resultobj = Py_BuildValue("i",_result);
8757 return _resultobj;
8758 }
8759
8760 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8761 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject * _resultobj;
8763 bool _result;
8764 wxGrid * _arg0;
8765 bool _arg1;
8766 PyObject * _argo0 = 0;
8767 int tempbool1;
8768 char *_kwnames[] = { "self","expandSelection", NULL };
8769
8770 self = self;
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8772 return NULL;
8773 if (_argo0) {
8774 if (_argo0 == Py_None) { _arg0 = NULL; }
8775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8777 return NULL;
8778 }
8779 }
8780 _arg1 = (bool ) tempbool1;
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) return NULL;
8787 } _resultobj = Py_BuildValue("i",_result);
8788 return _resultobj;
8789 }
8790
8791 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8792 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8793 PyObject * _resultobj;
8794 int _result;
8795 wxGrid * _arg0;
8796 PyObject * _argo0 = 0;
8797 char *_kwnames[] = { "self", NULL };
8798
8799 self = self;
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8801 return NULL;
8802 if (_argo0) {
8803 if (_argo0 == Py_None) { _arg0 = NULL; }
8804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8806 return NULL;
8807 }
8808 }
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) return NULL;
8815 } _resultobj = Py_BuildValue("i",_result);
8816 return _resultobj;
8817 }
8818
8819 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8820 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject * _resultobj;
8822 int _result;
8823 wxGrid * _arg0;
8824 PyObject * _argo0 = 0;
8825 char *_kwnames[] = { "self", NULL };
8826
8827 self = self;
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8829 return NULL;
8830 if (_argo0) {
8831 if (_argo0 == Py_None) { _arg0 = NULL; }
8832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8834 return NULL;
8835 }
8836 }
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) return NULL;
8843 } _resultobj = Py_BuildValue("i",_result);
8844 return _resultobj;
8845 }
8846
8847 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8848 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8849 PyObject * _resultobj;
8850 int _result;
8851 wxGrid * _arg0;
8852 PyObject * _argo0 = 0;
8853 char *_kwnames[] = { "self", NULL };
8854
8855 self = self;
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8857 return NULL;
8858 if (_argo0) {
8859 if (_argo0 == Py_None) { _arg0 = NULL; }
8860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8862 return NULL;
8863 }
8864 }
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) return NULL;
8871 } _resultobj = Py_BuildValue("i",_result);
8872 return _resultobj;
8873 }
8874
8875 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8876 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8877 PyObject * _resultobj;
8878 int _result;
8879 wxGrid * _arg0;
8880 PyObject * _argo0 = 0;
8881 char *_kwnames[] = { "self", NULL };
8882
8883 self = self;
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8885 return NULL;
8886 if (_argo0) {
8887 if (_argo0 == Py_None) { _arg0 = NULL; }
8888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8890 return NULL;
8891 }
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 _result = (int )wxGrid_GetColLabelSize(_arg0);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) return NULL;
8899 } _resultobj = Py_BuildValue("i",_result);
8900 return _resultobj;
8901 }
8902
8903 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8904 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8905 PyObject * _resultobj;
8906 wxColour * _result;
8907 wxGrid * _arg0;
8908 PyObject * _argo0 = 0;
8909 char *_kwnames[] = { "self", NULL };
8910 char _ptemp[128];
8911
8912 self = self;
8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8914 return NULL;
8915 if (_argo0) {
8916 if (_argo0 == Py_None) { _arg0 = NULL; }
8917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8919 return NULL;
8920 }
8921 }
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8925
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) return NULL;
8928 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8929 _resultobj = Py_BuildValue("s",_ptemp);
8930 return _resultobj;
8931 }
8932
8933 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8934 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8935 PyObject * _resultobj;
8936 wxColour * _result;
8937 wxGrid * _arg0;
8938 PyObject * _argo0 = 0;
8939 char *_kwnames[] = { "self", NULL };
8940 char _ptemp[128];
8941
8942 self = self;
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8944 return NULL;
8945 if (_argo0) {
8946 if (_argo0 == Py_None) { _arg0 = NULL; }
8947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8949 return NULL;
8950 }
8951 }
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) return NULL;
8958 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8959 _resultobj = Py_BuildValue("s",_ptemp);
8960 return _resultobj;
8961 }
8962
8963 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8964 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8965 PyObject * _resultobj;
8966 wxFont * _result;
8967 wxGrid * _arg0;
8968 PyObject * _argo0 = 0;
8969 char *_kwnames[] = { "self", NULL };
8970 char _ptemp[128];
8971
8972 self = self;
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8974 return NULL;
8975 if (_argo0) {
8976 if (_argo0 == Py_None) { _arg0 = NULL; }
8977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8979 return NULL;
8980 }
8981 }
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) return NULL;
8988 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8989 _resultobj = Py_BuildValue("s",_ptemp);
8990 return _resultobj;
8991 }
8992
8993 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8994 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8995 PyObject * _resultobj;
8996 wxGrid * _arg0;
8997 int * _arg1;
8998 int temp;
8999 int * _arg2;
9000 int temp0;
9001 PyObject * _argo0 = 0;
9002 char *_kwnames[] = { "self", NULL };
9003
9004 self = self;
9005 {
9006 _arg1 = &temp;
9007 }
9008 {
9009 _arg2 = &temp0;
9010 }
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9012 return NULL;
9013 if (_argo0) {
9014 if (_argo0 == Py_None) { _arg0 = NULL; }
9015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9017 return NULL;
9018 }
9019 }
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) return NULL;
9026 } Py_INCREF(Py_None);
9027 _resultobj = Py_None;
9028 {
9029 PyObject *o;
9030 o = PyInt_FromLong((long) (*_arg1));
9031 _resultobj = t_output_helper(_resultobj, o);
9032 }
9033 {
9034 PyObject *o;
9035 o = PyInt_FromLong((long) (*_arg2));
9036 _resultobj = t_output_helper(_resultobj, o);
9037 }
9038 return _resultobj;
9039 }
9040
9041 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9042 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject * _resultobj;
9044 wxGrid * _arg0;
9045 int * _arg1;
9046 int temp;
9047 int * _arg2;
9048 int temp0;
9049 PyObject * _argo0 = 0;
9050 char *_kwnames[] = { "self", NULL };
9051
9052 self = self;
9053 {
9054 _arg1 = &temp;
9055 }
9056 {
9057 _arg2 = &temp0;
9058 }
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9060 return NULL;
9061 if (_argo0) {
9062 if (_argo0 == Py_None) { _arg0 = NULL; }
9063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9065 return NULL;
9066 }
9067 }
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9071
9072 wxPyEndAllowThreads(__tstate);
9073 if (PyErr_Occurred()) return NULL;
9074 } Py_INCREF(Py_None);
9075 _resultobj = Py_None;
9076 {
9077 PyObject *o;
9078 o = PyInt_FromLong((long) (*_arg1));
9079 _resultobj = t_output_helper(_resultobj, o);
9080 }
9081 {
9082 PyObject *o;
9083 o = PyInt_FromLong((long) (*_arg2));
9084 _resultobj = t_output_helper(_resultobj, o);
9085 }
9086 return _resultobj;
9087 }
9088
9089 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9090 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject * _resultobj;
9092 wxString * _result;
9093 wxGrid * _arg0;
9094 int _arg1;
9095 PyObject * _argo0 = 0;
9096 char *_kwnames[] = { "self","row", NULL };
9097
9098 self = self;
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9100 return NULL;
9101 if (_argo0) {
9102 if (_argo0 == Py_None) { _arg0 = NULL; }
9103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9105 return NULL;
9106 }
9107 }
9108 {
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9111
9112 wxPyEndAllowThreads(__tstate);
9113 if (PyErr_Occurred()) return NULL;
9114 }{
9115 #if wxUSE_UNICODE
9116 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9117 #else
9118 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9119 #endif
9120 }
9121 {
9122 delete _result;
9123 }
9124 return _resultobj;
9125 }
9126
9127 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9128 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9129 PyObject * _resultobj;
9130 wxString * _result;
9131 wxGrid * _arg0;
9132 int _arg1;
9133 PyObject * _argo0 = 0;
9134 char *_kwnames[] = { "self","col", NULL };
9135
9136 self = self;
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9138 return NULL;
9139 if (_argo0) {
9140 if (_argo0 == Py_None) { _arg0 = NULL; }
9141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9143 return NULL;
9144 }
9145 }
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9149
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) return NULL;
9152 }{
9153 #if wxUSE_UNICODE
9154 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9155 #else
9156 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9157 #endif
9158 }
9159 {
9160 delete _result;
9161 }
9162 return _resultobj;
9163 }
9164
9165 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9166 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9167 PyObject * _resultobj;
9168 wxColour * _result;
9169 wxGrid * _arg0;
9170 PyObject * _argo0 = 0;
9171 char *_kwnames[] = { "self", NULL };
9172 char _ptemp[128];
9173
9174 self = self;
9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9176 return NULL;
9177 if (_argo0) {
9178 if (_argo0 == Py_None) { _arg0 = NULL; }
9179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9181 return NULL;
9182 }
9183 }
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) return NULL;
9190 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9191 _resultobj = Py_BuildValue("s",_ptemp);
9192 return _resultobj;
9193 }
9194
9195 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9196 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject * _resultobj;
9198 wxColour * _result;
9199 wxGrid * _arg0;
9200 PyObject * _argo0 = 0;
9201 char *_kwnames[] = { "self", NULL };
9202 char _ptemp[128];
9203
9204 self = self;
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9206 return NULL;
9207 if (_argo0) {
9208 if (_argo0 == Py_None) { _arg0 = NULL; }
9209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9211 return NULL;
9212 }
9213 }
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) return NULL;
9220 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9221 _resultobj = Py_BuildValue("s",_ptemp);
9222 return _resultobj;
9223 }
9224
9225 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9226 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9227 PyObject * _resultobj;
9228 int _result;
9229 wxGrid * _arg0;
9230 PyObject * _argo0 = 0;
9231 char *_kwnames[] = { "self", NULL };
9232
9233 self = self;
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9235 return NULL;
9236 if (_argo0) {
9237 if (_argo0 == Py_None) { _arg0 = NULL; }
9238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9240 return NULL;
9241 }
9242 }
9243 {
9244 PyThreadState* __tstate = wxPyBeginAllowThreads();
9245 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9246
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) return NULL;
9249 } _resultobj = Py_BuildValue("i",_result);
9250 return _resultobj;
9251 }
9252
9253 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9254 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9255 PyObject * _resultobj;
9256 int _result;
9257 wxGrid * _arg0;
9258 PyObject * _argo0 = 0;
9259 char *_kwnames[] = { "self", NULL };
9260
9261 self = self;
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9263 return NULL;
9264 if (_argo0) {
9265 if (_argo0 == Py_None) { _arg0 = NULL; }
9266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9268 return NULL;
9269 }
9270 }
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9274
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) return NULL;
9277 } _resultobj = Py_BuildValue("i",_result);
9278 return _resultobj;
9279 }
9280
9281 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9282 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9283 PyObject * _resultobj;
9284 wxGrid * _arg0;
9285 int _arg1;
9286 PyObject * _argo0 = 0;
9287 char *_kwnames[] = { "self","width", NULL };
9288
9289 self = self;
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9291 return NULL;
9292 if (_argo0) {
9293 if (_argo0 == Py_None) { _arg0 = NULL; }
9294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9296 return NULL;
9297 }
9298 }
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 wxGrid_SetRowLabelSize(_arg0,_arg1);
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) return NULL;
9305 } Py_INCREF(Py_None);
9306 _resultobj = Py_None;
9307 return _resultobj;
9308 }
9309
9310 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9311 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9312 PyObject * _resultobj;
9313 wxGrid * _arg0;
9314 int _arg1;
9315 PyObject * _argo0 = 0;
9316 char *_kwnames[] = { "self","height", NULL };
9317
9318 self = self;
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9320 return NULL;
9321 if (_argo0) {
9322 if (_argo0 == Py_None) { _arg0 = NULL; }
9323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9325 return NULL;
9326 }
9327 }
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 wxGrid_SetColLabelSize(_arg0,_arg1);
9331
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) return NULL;
9334 } Py_INCREF(Py_None);
9335 _resultobj = Py_None;
9336 return _resultobj;
9337 }
9338
9339 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9340 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject * _resultobj;
9342 wxGrid * _arg0;
9343 wxColour * _arg1;
9344 PyObject * _argo0 = 0;
9345 wxColour temp;
9346 PyObject * _obj1 = 0;
9347 char *_kwnames[] = { "self","arg2", NULL };
9348
9349 self = self;
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9351 return NULL;
9352 if (_argo0) {
9353 if (_argo0 == Py_None) { _arg0 = NULL; }
9354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9356 return NULL;
9357 }
9358 }
9359 {
9360 _arg1 = &temp;
9361 if (! wxColour_helper(_obj1, &_arg1))
9362 return NULL;
9363 }
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9367
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) return NULL;
9370 } Py_INCREF(Py_None);
9371 _resultobj = Py_None;
9372 return _resultobj;
9373 }
9374
9375 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9376 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9377 PyObject * _resultobj;
9378 wxGrid * _arg0;
9379 wxColour * _arg1;
9380 PyObject * _argo0 = 0;
9381 wxColour temp;
9382 PyObject * _obj1 = 0;
9383 char *_kwnames[] = { "self","arg2", NULL };
9384
9385 self = self;
9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9387 return NULL;
9388 if (_argo0) {
9389 if (_argo0 == Py_None) { _arg0 = NULL; }
9390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9392 return NULL;
9393 }
9394 }
9395 {
9396 _arg1 = &temp;
9397 if (! wxColour_helper(_obj1, &_arg1))
9398 return NULL;
9399 }
9400 {
9401 PyThreadState* __tstate = wxPyBeginAllowThreads();
9402 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9403
9404 wxPyEndAllowThreads(__tstate);
9405 if (PyErr_Occurred()) return NULL;
9406 } Py_INCREF(Py_None);
9407 _resultobj = Py_None;
9408 return _resultobj;
9409 }
9410
9411 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9412 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject * _resultobj;
9414 wxGrid * _arg0;
9415 wxFont * _arg1;
9416 PyObject * _argo0 = 0;
9417 PyObject * _argo1 = 0;
9418 char *_kwnames[] = { "self","arg2", NULL };
9419
9420 self = self;
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9422 return NULL;
9423 if (_argo0) {
9424 if (_argo0 == Py_None) { _arg0 = NULL; }
9425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9427 return NULL;
9428 }
9429 }
9430 if (_argo1) {
9431 if (_argo1 == Py_None) { _arg1 = NULL; }
9432 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9433 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9434 return NULL;
9435 }
9436 }
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 wxGrid_SetLabelFont(_arg0,*_arg1);
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) return NULL;
9443 } Py_INCREF(Py_None);
9444 _resultobj = Py_None;
9445 return _resultobj;
9446 }
9447
9448 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9449 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9450 PyObject * _resultobj;
9451 wxGrid * _arg0;
9452 int _arg1;
9453 int _arg2;
9454 PyObject * _argo0 = 0;
9455 char *_kwnames[] = { "self","horiz","vert", NULL };
9456
9457 self = self;
9458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9459 return NULL;
9460 if (_argo0) {
9461 if (_argo0 == Py_None) { _arg0 = NULL; }
9462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9464 return NULL;
9465 }
9466 }
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) return NULL;
9473 } Py_INCREF(Py_None);
9474 _resultobj = Py_None;
9475 return _resultobj;
9476 }
9477
9478 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9479 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject * _resultobj;
9481 wxGrid * _arg0;
9482 int _arg1;
9483 int _arg2;
9484 PyObject * _argo0 = 0;
9485 char *_kwnames[] = { "self","horiz","vert", NULL };
9486
9487 self = self;
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9489 return NULL;
9490 if (_argo0) {
9491 if (_argo0 == Py_None) { _arg0 = NULL; }
9492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9494 return NULL;
9495 }
9496 }
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) return NULL;
9503 } Py_INCREF(Py_None);
9504 _resultobj = Py_None;
9505 return _resultobj;
9506 }
9507
9508 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9509 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject * _resultobj;
9511 wxGrid * _arg0;
9512 int _arg1;
9513 wxString * _arg2;
9514 PyObject * _argo0 = 0;
9515 PyObject * _obj2 = 0;
9516 char *_kwnames[] = { "self","row","arg3", NULL };
9517
9518 self = self;
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9520 return NULL;
9521 if (_argo0) {
9522 if (_argo0 == Py_None) { _arg0 = NULL; }
9523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9525 return NULL;
9526 }
9527 }
9528 {
9529 _arg2 = wxString_in_helper(_obj2);
9530 if (_arg2 == NULL)
9531 return NULL;
9532 }
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) return NULL;
9539 } Py_INCREF(Py_None);
9540 _resultobj = Py_None;
9541 {
9542 if (_obj2)
9543 delete _arg2;
9544 }
9545 return _resultobj;
9546 }
9547
9548 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9549 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9550 PyObject * _resultobj;
9551 wxGrid * _arg0;
9552 int _arg1;
9553 wxString * _arg2;
9554 PyObject * _argo0 = 0;
9555 PyObject * _obj2 = 0;
9556 char *_kwnames[] = { "self","col","arg3", NULL };
9557
9558 self = self;
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9560 return NULL;
9561 if (_argo0) {
9562 if (_argo0 == Py_None) { _arg0 = NULL; }
9563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9565 return NULL;
9566 }
9567 }
9568 {
9569 _arg2 = wxString_in_helper(_obj2);
9570 if (_arg2 == NULL)
9571 return NULL;
9572 }
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) return NULL;
9579 } Py_INCREF(Py_None);
9580 _resultobj = Py_None;
9581 {
9582 if (_obj2)
9583 delete _arg2;
9584 }
9585 return _resultobj;
9586 }
9587
9588 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9589 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9590 PyObject * _resultobj;
9591 wxGrid * _arg0;
9592 wxColour * _arg1;
9593 PyObject * _argo0 = 0;
9594 wxColour temp;
9595 PyObject * _obj1 = 0;
9596 char *_kwnames[] = { "self","arg2", NULL };
9597
9598 self = self;
9599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9600 return NULL;
9601 if (_argo0) {
9602 if (_argo0 == Py_None) { _arg0 = NULL; }
9603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9605 return NULL;
9606 }
9607 }
9608 {
9609 _arg1 = &temp;
9610 if (! wxColour_helper(_obj1, &_arg1))
9611 return NULL;
9612 }
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 wxGrid_SetGridLineColour(_arg0,*_arg1);
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) return NULL;
9619 } Py_INCREF(Py_None);
9620 _resultobj = Py_None;
9621 return _resultobj;
9622 }
9623
9624 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9625 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject * _resultobj;
9627 wxGrid * _arg0;
9628 wxColour * _arg1;
9629 PyObject * _argo0 = 0;
9630 wxColour temp;
9631 PyObject * _obj1 = 0;
9632 char *_kwnames[] = { "self","arg2", NULL };
9633
9634 self = self;
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9636 return NULL;
9637 if (_argo0) {
9638 if (_argo0 == Py_None) { _arg0 = NULL; }
9639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9641 return NULL;
9642 }
9643 }
9644 {
9645 _arg1 = &temp;
9646 if (! wxColour_helper(_obj1, &_arg1))
9647 return NULL;
9648 }
9649 {
9650 PyThreadState* __tstate = wxPyBeginAllowThreads();
9651 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9652
9653 wxPyEndAllowThreads(__tstate);
9654 if (PyErr_Occurred()) return NULL;
9655 } Py_INCREF(Py_None);
9656 _resultobj = Py_None;
9657 return _resultobj;
9658 }
9659
9660 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9661 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject * _resultobj;
9663 wxGrid * _arg0;
9664 int _arg1;
9665 PyObject * _argo0 = 0;
9666 char *_kwnames[] = { "self","width", NULL };
9667
9668 self = self;
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9670 return NULL;
9671 if (_argo0) {
9672 if (_argo0 == Py_None) { _arg0 = NULL; }
9673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9675 return NULL;
9676 }
9677 }
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) return NULL;
9684 } Py_INCREF(Py_None);
9685 _resultobj = Py_None;
9686 return _resultobj;
9687 }
9688
9689 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9690 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9691 PyObject * _resultobj;
9692 wxGrid * _arg0;
9693 int _arg1;
9694 PyObject * _argo0 = 0;
9695 char *_kwnames[] = { "self","width", NULL };
9696
9697 self = self;
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9699 return NULL;
9700 if (_argo0) {
9701 if (_argo0 == Py_None) { _arg0 = NULL; }
9702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9704 return NULL;
9705 }
9706 }
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) return NULL;
9713 } Py_INCREF(Py_None);
9714 _resultobj = Py_None;
9715 return _resultobj;
9716 }
9717
9718 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9719 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject * _resultobj;
9721 wxGrid * _arg0;
9722 bool _arg1 = (bool ) TRUE;
9723 PyObject * _argo0 = 0;
9724 int tempbool1 = (int) TRUE;
9725 char *_kwnames[] = { "self","enable", NULL };
9726
9727 self = self;
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9729 return NULL;
9730 if (_argo0) {
9731 if (_argo0 == Py_None) { _arg0 = NULL; }
9732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9734 return NULL;
9735 }
9736 }
9737 _arg1 = (bool ) tempbool1;
9738 {
9739 PyThreadState* __tstate = wxPyBeginAllowThreads();
9740 wxGrid_EnableDragRowSize(_arg0,_arg1);
9741
9742 wxPyEndAllowThreads(__tstate);
9743 if (PyErr_Occurred()) return NULL;
9744 } Py_INCREF(Py_None);
9745 _resultobj = Py_None;
9746 return _resultobj;
9747 }
9748
9749 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9750 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9751 PyObject * _resultobj;
9752 wxGrid * _arg0;
9753 PyObject * _argo0 = 0;
9754 char *_kwnames[] = { "self", NULL };
9755
9756 self = self;
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9758 return NULL;
9759 if (_argo0) {
9760 if (_argo0 == Py_None) { _arg0 = NULL; }
9761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9763 return NULL;
9764 }
9765 }
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 wxGrid_DisableDragRowSize(_arg0);
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) return NULL;
9772 } Py_INCREF(Py_None);
9773 _resultobj = Py_None;
9774 return _resultobj;
9775 }
9776
9777 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9778 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject * _resultobj;
9780 bool _result;
9781 wxGrid * _arg0;
9782 PyObject * _argo0 = 0;
9783 char *_kwnames[] = { "self", NULL };
9784
9785 self = self;
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9787 return NULL;
9788 if (_argo0) {
9789 if (_argo0 == Py_None) { _arg0 = NULL; }
9790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9792 return NULL;
9793 }
9794 }
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) return NULL;
9801 } _resultobj = Py_BuildValue("i",_result);
9802 return _resultobj;
9803 }
9804
9805 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9806 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9807 PyObject * _resultobj;
9808 wxGrid * _arg0;
9809 bool _arg1 = (bool ) TRUE;
9810 PyObject * _argo0 = 0;
9811 int tempbool1 = (int) TRUE;
9812 char *_kwnames[] = { "self","enable", NULL };
9813
9814 self = self;
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9816 return NULL;
9817 if (_argo0) {
9818 if (_argo0 == Py_None) { _arg0 = NULL; }
9819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9821 return NULL;
9822 }
9823 }
9824 _arg1 = (bool ) tempbool1;
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 wxGrid_EnableDragColSize(_arg0,_arg1);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) return NULL;
9831 } Py_INCREF(Py_None);
9832 _resultobj = Py_None;
9833 return _resultobj;
9834 }
9835
9836 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9837 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject * _resultobj;
9839 wxGrid * _arg0;
9840 PyObject * _argo0 = 0;
9841 char *_kwnames[] = { "self", NULL };
9842
9843 self = self;
9844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9845 return NULL;
9846 if (_argo0) {
9847 if (_argo0 == Py_None) { _arg0 = NULL; }
9848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9850 return NULL;
9851 }
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 wxGrid_DisableDragColSize(_arg0);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) return NULL;
9859 } Py_INCREF(Py_None);
9860 _resultobj = Py_None;
9861 return _resultobj;
9862 }
9863
9864 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9865 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9866 PyObject * _resultobj;
9867 bool _result;
9868 wxGrid * _arg0;
9869 PyObject * _argo0 = 0;
9870 char *_kwnames[] = { "self", NULL };
9871
9872 self = self;
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9874 return NULL;
9875 if (_argo0) {
9876 if (_argo0 == Py_None) { _arg0 = NULL; }
9877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9879 return NULL;
9880 }
9881 }
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 _result = (bool )wxGrid_CanDragColSize(_arg0);
9885
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) return NULL;
9888 } _resultobj = Py_BuildValue("i",_result);
9889 return _resultobj;
9890 }
9891
9892 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9893 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject * _resultobj;
9895 wxGrid * _arg0;
9896 bool _arg1 = (bool ) TRUE;
9897 PyObject * _argo0 = 0;
9898 int tempbool1 = (int) TRUE;
9899 char *_kwnames[] = { "self","enable", NULL };
9900
9901 self = self;
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9903 return NULL;
9904 if (_argo0) {
9905 if (_argo0 == Py_None) { _arg0 = NULL; }
9906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9908 return NULL;
9909 }
9910 }
9911 _arg1 = (bool ) tempbool1;
9912 {
9913 PyThreadState* __tstate = wxPyBeginAllowThreads();
9914 wxGrid_EnableDragGridSize(_arg0,_arg1);
9915
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) return NULL;
9918 } Py_INCREF(Py_None);
9919 _resultobj = Py_None;
9920 return _resultobj;
9921 }
9922
9923 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9924 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9925 PyObject * _resultobj;
9926 wxGrid * _arg0;
9927 PyObject * _argo0 = 0;
9928 char *_kwnames[] = { "self", NULL };
9929
9930 self = self;
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9932 return NULL;
9933 if (_argo0) {
9934 if (_argo0 == Py_None) { _arg0 = NULL; }
9935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9937 return NULL;
9938 }
9939 }
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 wxGrid_DisableDragGridSize(_arg0);
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) return NULL;
9946 } Py_INCREF(Py_None);
9947 _resultobj = Py_None;
9948 return _resultobj;
9949 }
9950
9951 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9952 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject * _resultobj;
9954 bool _result;
9955 wxGrid * _arg0;
9956 PyObject * _argo0 = 0;
9957 char *_kwnames[] = { "self", NULL };
9958
9959 self = self;
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9961 return NULL;
9962 if (_argo0) {
9963 if (_argo0 == Py_None) { _arg0 = NULL; }
9964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9966 return NULL;
9967 }
9968 }
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) return NULL;
9975 } _resultobj = Py_BuildValue("i",_result);
9976 return _resultobj;
9977 }
9978
9979 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9980 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9981 PyObject * _resultobj;
9982 wxGrid * _arg0;
9983 int _arg1;
9984 wxGridCellAttr * _arg2;
9985 PyObject * _argo0 = 0;
9986 PyObject * _argo2 = 0;
9987 char *_kwnames[] = { "self","row","attr", NULL };
9988
9989 self = self;
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9991 return NULL;
9992 if (_argo0) {
9993 if (_argo0 == Py_None) { _arg0 = NULL; }
9994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9996 return NULL;
9997 }
9998 }
9999 if (_argo2) {
10000 if (_argo2 == Py_None) { _arg2 = NULL; }
10001 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10002 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10003 return NULL;
10004 }
10005 }
10006 {
10007 PyThreadState* __tstate = wxPyBeginAllowThreads();
10008 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10009
10010 wxPyEndAllowThreads(__tstate);
10011 if (PyErr_Occurred()) return NULL;
10012 } Py_INCREF(Py_None);
10013 _resultobj = Py_None;
10014 return _resultobj;
10015 }
10016
10017 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10018 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10019 PyObject * _resultobj;
10020 wxGrid * _arg0;
10021 int _arg1;
10022 wxGridCellAttr * _arg2;
10023 PyObject * _argo0 = 0;
10024 PyObject * _argo2 = 0;
10025 char *_kwnames[] = { "self","col","attr", NULL };
10026
10027 self = self;
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10029 return NULL;
10030 if (_argo0) {
10031 if (_argo0 == Py_None) { _arg0 = NULL; }
10032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10034 return NULL;
10035 }
10036 }
10037 if (_argo2) {
10038 if (_argo2 == Py_None) { _arg2 = NULL; }
10039 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10040 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10041 return NULL;
10042 }
10043 }
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) return NULL;
10050 } Py_INCREF(Py_None);
10051 _resultobj = Py_None;
10052 return _resultobj;
10053 }
10054
10055 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10056 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10057 PyObject * _resultobj;
10058 wxGrid * _arg0;
10059 int _arg1;
10060 PyObject * _argo0 = 0;
10061 char *_kwnames[] = { "self","col", NULL };
10062
10063 self = self;
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10065 return NULL;
10066 if (_argo0) {
10067 if (_argo0 == Py_None) { _arg0 = NULL; }
10068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10070 return NULL;
10071 }
10072 }
10073 {
10074 PyThreadState* __tstate = wxPyBeginAllowThreads();
10075 wxGrid_SetColFormatBool(_arg0,_arg1);
10076
10077 wxPyEndAllowThreads(__tstate);
10078 if (PyErr_Occurred()) return NULL;
10079 } Py_INCREF(Py_None);
10080 _resultobj = Py_None;
10081 return _resultobj;
10082 }
10083
10084 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10085 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10086 PyObject * _resultobj;
10087 wxGrid * _arg0;
10088 int _arg1;
10089 PyObject * _argo0 = 0;
10090 char *_kwnames[] = { "self","col", NULL };
10091
10092 self = self;
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10094 return NULL;
10095 if (_argo0) {
10096 if (_argo0 == Py_None) { _arg0 = NULL; }
10097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10099 return NULL;
10100 }
10101 }
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 wxGrid_SetColFormatNumber(_arg0,_arg1);
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) return NULL;
10108 } Py_INCREF(Py_None);
10109 _resultobj = Py_None;
10110 return _resultobj;
10111 }
10112
10113 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10114 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10115 PyObject * _resultobj;
10116 wxGrid * _arg0;
10117 int _arg1;
10118 int _arg2 = (int ) -1;
10119 int _arg3 = (int ) -1;
10120 PyObject * _argo0 = 0;
10121 char *_kwnames[] = { "self","col","width","precision", NULL };
10122
10123 self = self;
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10125 return NULL;
10126 if (_argo0) {
10127 if (_argo0 == Py_None) { _arg0 = NULL; }
10128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10130 return NULL;
10131 }
10132 }
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) return NULL;
10139 } Py_INCREF(Py_None);
10140 _resultobj = Py_None;
10141 return _resultobj;
10142 }
10143
10144 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10145 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10146 PyObject * _resultobj;
10147 wxGrid * _arg0;
10148 int _arg1;
10149 wxString * _arg2;
10150 PyObject * _argo0 = 0;
10151 PyObject * _obj2 = 0;
10152 char *_kwnames[] = { "self","col","typeName", NULL };
10153
10154 self = self;
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10156 return NULL;
10157 if (_argo0) {
10158 if (_argo0 == Py_None) { _arg0 = NULL; }
10159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10161 return NULL;
10162 }
10163 }
10164 {
10165 _arg2 = wxString_in_helper(_obj2);
10166 if (_arg2 == NULL)
10167 return NULL;
10168 }
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) return NULL;
10175 } Py_INCREF(Py_None);
10176 _resultobj = Py_None;
10177 {
10178 if (_obj2)
10179 delete _arg2;
10180 }
10181 return _resultobj;
10182 }
10183
10184 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10185 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject * _resultobj;
10187 wxGrid * _arg0;
10188 bool _arg1 = (bool ) TRUE;
10189 PyObject * _argo0 = 0;
10190 int tempbool1 = (int) TRUE;
10191 char *_kwnames[] = { "self","enable", NULL };
10192
10193 self = self;
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10195 return NULL;
10196 if (_argo0) {
10197 if (_argo0 == Py_None) { _arg0 = NULL; }
10198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10200 return NULL;
10201 }
10202 }
10203 _arg1 = (bool ) tempbool1;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 wxGrid_EnableGridLines(_arg0,_arg1);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) return NULL;
10210 } Py_INCREF(Py_None);
10211 _resultobj = Py_None;
10212 return _resultobj;
10213 }
10214
10215 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10216 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10217 PyObject * _resultobj;
10218 bool _result;
10219 wxGrid * _arg0;
10220 PyObject * _argo0 = 0;
10221 char *_kwnames[] = { "self", NULL };
10222
10223 self = self;
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10225 return NULL;
10226 if (_argo0) {
10227 if (_argo0 == Py_None) { _arg0 = NULL; }
10228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10230 return NULL;
10231 }
10232 }
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) return NULL;
10239 } _resultobj = Py_BuildValue("i",_result);
10240 return _resultobj;
10241 }
10242
10243 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10244 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject * _resultobj;
10246 int _result;
10247 wxGrid * _arg0;
10248 PyObject * _argo0 = 0;
10249 char *_kwnames[] = { "self", NULL };
10250
10251 self = self;
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10253 return NULL;
10254 if (_argo0) {
10255 if (_argo0 == Py_None) { _arg0 = NULL; }
10256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10258 return NULL;
10259 }
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) return NULL;
10267 } _resultobj = Py_BuildValue("i",_result);
10268 return _resultobj;
10269 }
10270
10271 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10272 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject * _resultobj;
10274 int _result;
10275 wxGrid * _arg0;
10276 int _arg1;
10277 PyObject * _argo0 = 0;
10278 char *_kwnames[] = { "self","row", NULL };
10279
10280 self = self;
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10282 return NULL;
10283 if (_argo0) {
10284 if (_argo0 == Py_None) { _arg0 = NULL; }
10285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10287 return NULL;
10288 }
10289 }
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) return NULL;
10296 } _resultobj = Py_BuildValue("i",_result);
10297 return _resultobj;
10298 }
10299
10300 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10301 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10302 PyObject * _resultobj;
10303 int _result;
10304 wxGrid * _arg0;
10305 PyObject * _argo0 = 0;
10306 char *_kwnames[] = { "self", NULL };
10307
10308 self = self;
10309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10310 return NULL;
10311 if (_argo0) {
10312 if (_argo0 == Py_None) { _arg0 = NULL; }
10313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10315 return NULL;
10316 }
10317 }
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) return NULL;
10324 } _resultobj = Py_BuildValue("i",_result);
10325 return _resultobj;
10326 }
10327
10328 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10329 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10330 PyObject * _resultobj;
10331 int _result;
10332 wxGrid * _arg0;
10333 int _arg1;
10334 PyObject * _argo0 = 0;
10335 char *_kwnames[] = { "self","col", NULL };
10336
10337 self = self;
10338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10339 return NULL;
10340 if (_argo0) {
10341 if (_argo0 == Py_None) { _arg0 = NULL; }
10342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10344 return NULL;
10345 }
10346 }
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10350
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) return NULL;
10353 } _resultobj = Py_BuildValue("i",_result);
10354 return _resultobj;
10355 }
10356
10357 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10358 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10359 PyObject * _resultobj;
10360 wxColour * _result;
10361 wxGrid * _arg0;
10362 PyObject * _argo0 = 0;
10363 char *_kwnames[] = { "self", NULL };
10364 char _ptemp[128];
10365
10366 self = self;
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10368 return NULL;
10369 if (_argo0) {
10370 if (_argo0 == Py_None) { _arg0 = NULL; }
10371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10373 return NULL;
10374 }
10375 }
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) return NULL;
10382 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10383 _resultobj = Py_BuildValue("s",_ptemp);
10384 return _resultobj;
10385 }
10386
10387 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10388 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject * _resultobj;
10390 wxColour * _result;
10391 wxGrid * _arg0;
10392 int _arg1;
10393 int _arg2;
10394 PyObject * _argo0 = 0;
10395 char *_kwnames[] = { "self","row","col", NULL };
10396 char _ptemp[128];
10397
10398 self = self;
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10400 return NULL;
10401 if (_argo0) {
10402 if (_argo0 == Py_None) { _arg0 = NULL; }
10403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10405 return NULL;
10406 }
10407 }
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) return NULL;
10414 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10415 _resultobj = Py_BuildValue("s",_ptemp);
10416 return _resultobj;
10417 }
10418
10419 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10420 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject * _resultobj;
10422 wxColour * _result;
10423 wxGrid * _arg0;
10424 PyObject * _argo0 = 0;
10425 char *_kwnames[] = { "self", NULL };
10426 char _ptemp[128];
10427
10428 self = self;
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10430 return NULL;
10431 if (_argo0) {
10432 if (_argo0 == Py_None) { _arg0 = NULL; }
10433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10435 return NULL;
10436 }
10437 }
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) return NULL;
10444 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10445 _resultobj = Py_BuildValue("s",_ptemp);
10446 return _resultobj;
10447 }
10448
10449 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10450 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject * _resultobj;
10452 wxColour * _result;
10453 wxGrid * _arg0;
10454 int _arg1;
10455 int _arg2;
10456 PyObject * _argo0 = 0;
10457 char *_kwnames[] = { "self","row","col", NULL };
10458 char _ptemp[128];
10459
10460 self = self;
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10462 return NULL;
10463 if (_argo0) {
10464 if (_argo0 == Py_None) { _arg0 = NULL; }
10465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10467 return NULL;
10468 }
10469 }
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) return NULL;
10476 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10477 _resultobj = Py_BuildValue("s",_ptemp);
10478 return _resultobj;
10479 }
10480
10481 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10482 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject * _resultobj;
10484 wxFont * _result;
10485 wxGrid * _arg0;
10486 PyObject * _argo0 = 0;
10487 char *_kwnames[] = { "self", NULL };
10488 char _ptemp[128];
10489
10490 self = self;
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10492 return NULL;
10493 if (_argo0) {
10494 if (_argo0 == Py_None) { _arg0 = NULL; }
10495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10497 return NULL;
10498 }
10499 }
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) return NULL;
10506 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10507 _resultobj = Py_BuildValue("s",_ptemp);
10508 return _resultobj;
10509 }
10510
10511 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10512 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject * _resultobj;
10514 wxFont * _result;
10515 wxGrid * _arg0;
10516 int _arg1;
10517 int _arg2;
10518 PyObject * _argo0 = 0;
10519 char *_kwnames[] = { "self","row","col", NULL };
10520 char _ptemp[128];
10521
10522 self = self;
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10524 return NULL;
10525 if (_argo0) {
10526 if (_argo0 == Py_None) { _arg0 = NULL; }
10527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10529 return NULL;
10530 }
10531 }
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) return NULL;
10538 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10539 _resultobj = Py_BuildValue("s",_ptemp);
10540 return _resultobj;
10541 }
10542
10543 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10544 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10545 PyObject * _resultobj;
10546 wxGrid * _arg0;
10547 int * _arg1;
10548 int * _arg2;
10549 PyObject * _argo0 = 0;
10550 PyObject * _argo1 = 0;
10551 PyObject * _argo2 = 0;
10552 char *_kwnames[] = { "self","horiz","vert", NULL };
10553
10554 self = self;
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10556 return NULL;
10557 if (_argo0) {
10558 if (_argo0 == Py_None) { _arg0 = NULL; }
10559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10561 return NULL;
10562 }
10563 }
10564 if (_argo1) {
10565 if (_argo1 == Py_None) { _arg1 = NULL; }
10566 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10567 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10568 return NULL;
10569 }
10570 }
10571 if (_argo2) {
10572 if (_argo2 == Py_None) { _arg2 = NULL; }
10573 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10574 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10575 return NULL;
10576 }
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) return NULL;
10584 } Py_INCREF(Py_None);
10585 _resultobj = Py_None;
10586 return _resultobj;
10587 }
10588
10589 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10590 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject * _resultobj;
10592 wxGrid * _arg0;
10593 int _arg1;
10594 int _arg2;
10595 int * _arg3;
10596 int * _arg4;
10597 PyObject * _argo0 = 0;
10598 PyObject * _argo3 = 0;
10599 PyObject * _argo4 = 0;
10600 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10601
10602 self = self;
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10604 return NULL;
10605 if (_argo0) {
10606 if (_argo0 == Py_None) { _arg0 = NULL; }
10607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10609 return NULL;
10610 }
10611 }
10612 if (_argo3) {
10613 if (_argo3 == Py_None) { _arg3 = NULL; }
10614 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10615 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10616 return NULL;
10617 }
10618 }
10619 if (_argo4) {
10620 if (_argo4 == Py_None) { _arg4 = NULL; }
10621 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10622 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10623 return NULL;
10624 }
10625 }
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) return NULL;
10632 } Py_INCREF(Py_None);
10633 _resultobj = Py_None;
10634 return _resultobj;
10635 }
10636
10637 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10638 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10639 PyObject * _resultobj;
10640 wxGrid * _arg0;
10641 int _arg1;
10642 bool _arg2 = (bool ) FALSE;
10643 PyObject * _argo0 = 0;
10644 int tempbool2 = (int) FALSE;
10645 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10646
10647 self = self;
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10649 return NULL;
10650 if (_argo0) {
10651 if (_argo0 == Py_None) { _arg0 = NULL; }
10652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10654 return NULL;
10655 }
10656 }
10657 _arg2 = (bool ) tempbool2;
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10661
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) return NULL;
10664 } Py_INCREF(Py_None);
10665 _resultobj = Py_None;
10666 return _resultobj;
10667 }
10668
10669 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10670 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject * _resultobj;
10672 wxGrid * _arg0;
10673 int _arg1;
10674 int _arg2;
10675 PyObject * _argo0 = 0;
10676 char *_kwnames[] = { "self","row","height", NULL };
10677
10678 self = self;
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10680 return NULL;
10681 if (_argo0) {
10682 if (_argo0 == Py_None) { _arg0 = NULL; }
10683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10685 return NULL;
10686 }
10687 }
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) return NULL;
10694 } Py_INCREF(Py_None);
10695 _resultobj = Py_None;
10696 return _resultobj;
10697 }
10698
10699 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10700 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject * _resultobj;
10702 wxGrid * _arg0;
10703 int _arg1;
10704 bool _arg2 = (bool ) FALSE;
10705 PyObject * _argo0 = 0;
10706 int tempbool2 = (int) FALSE;
10707 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10708
10709 self = self;
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10711 return NULL;
10712 if (_argo0) {
10713 if (_argo0 == Py_None) { _arg0 = NULL; }
10714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10716 return NULL;
10717 }
10718 }
10719 _arg2 = (bool ) tempbool2;
10720 {
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10723
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) return NULL;
10726 } Py_INCREF(Py_None);
10727 _resultobj = Py_None;
10728 return _resultobj;
10729 }
10730
10731 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10732 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10733 PyObject * _resultobj;
10734 wxGrid * _arg0;
10735 int _arg1;
10736 int _arg2;
10737 PyObject * _argo0 = 0;
10738 char *_kwnames[] = { "self","col","width", NULL };
10739
10740 self = self;
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10742 return NULL;
10743 if (_argo0) {
10744 if (_argo0 == Py_None) { _arg0 = NULL; }
10745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10747 return NULL;
10748 }
10749 }
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) return NULL;
10756 } Py_INCREF(Py_None);
10757 _resultobj = Py_None;
10758 return _resultobj;
10759 }
10760
10761 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10762 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject * _resultobj;
10764 wxGrid * _arg0;
10765 int _arg1;
10766 bool _arg2 = (bool ) TRUE;
10767 PyObject * _argo0 = 0;
10768 int tempbool2 = (int) TRUE;
10769 char *_kwnames[] = { "self","col","setAsMin", NULL };
10770
10771 self = self;
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10773 return NULL;
10774 if (_argo0) {
10775 if (_argo0 == Py_None) { _arg0 = NULL; }
10776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10778 return NULL;
10779 }
10780 }
10781 _arg2 = (bool ) tempbool2;
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) return NULL;
10788 } Py_INCREF(Py_None);
10789 _resultobj = Py_None;
10790 return _resultobj;
10791 }
10792
10793 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10794 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject * _resultobj;
10796 wxGrid * _arg0;
10797 int _arg1;
10798 bool _arg2 = (bool ) TRUE;
10799 PyObject * _argo0 = 0;
10800 int tempbool2 = (int) TRUE;
10801 char *_kwnames[] = { "self","row","setAsMin", NULL };
10802
10803 self = self;
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10805 return NULL;
10806 if (_argo0) {
10807 if (_argo0 == Py_None) { _arg0 = NULL; }
10808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10810 return NULL;
10811 }
10812 }
10813 _arg2 = (bool ) tempbool2;
10814 {
10815 PyThreadState* __tstate = wxPyBeginAllowThreads();
10816 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10817
10818 wxPyEndAllowThreads(__tstate);
10819 if (PyErr_Occurred()) return NULL;
10820 } Py_INCREF(Py_None);
10821 _resultobj = Py_None;
10822 return _resultobj;
10823 }
10824
10825 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10826 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10827 PyObject * _resultobj;
10828 wxGrid * _arg0;
10829 bool _arg1 = (bool ) TRUE;
10830 PyObject * _argo0 = 0;
10831 int tempbool1 = (int) TRUE;
10832 char *_kwnames[] = { "self","setAsMin", NULL };
10833
10834 self = self;
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10836 return NULL;
10837 if (_argo0) {
10838 if (_argo0 == Py_None) { _arg0 = NULL; }
10839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10841 return NULL;
10842 }
10843 }
10844 _arg1 = (bool ) tempbool1;
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 wxGrid_AutoSizeColumns(_arg0,_arg1);
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) return NULL;
10851 } Py_INCREF(Py_None);
10852 _resultobj = Py_None;
10853 return _resultobj;
10854 }
10855
10856 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10857 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10858 PyObject * _resultobj;
10859 wxGrid * _arg0;
10860 bool _arg1 = (bool ) TRUE;
10861 PyObject * _argo0 = 0;
10862 int tempbool1 = (int) TRUE;
10863 char *_kwnames[] = { "self","setAsMin", NULL };
10864
10865 self = self;
10866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10867 return NULL;
10868 if (_argo0) {
10869 if (_argo0 == Py_None) { _arg0 = NULL; }
10870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10872 return NULL;
10873 }
10874 }
10875 _arg1 = (bool ) tempbool1;
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 wxGrid_AutoSizeRows(_arg0,_arg1);
10879
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) return NULL;
10882 } Py_INCREF(Py_None);
10883 _resultobj = Py_None;
10884 return _resultobj;
10885 }
10886
10887 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10888 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10889 PyObject * _resultobj;
10890 wxGrid * _arg0;
10891 PyObject * _argo0 = 0;
10892 char *_kwnames[] = { "self", NULL };
10893
10894 self = self;
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10896 return NULL;
10897 if (_argo0) {
10898 if (_argo0 == Py_None) { _arg0 = NULL; }
10899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10901 return NULL;
10902 }
10903 }
10904 {
10905 PyThreadState* __tstate = wxPyBeginAllowThreads();
10906 wxGrid_AutoSize(_arg0);
10907
10908 wxPyEndAllowThreads(__tstate);
10909 if (PyErr_Occurred()) return NULL;
10910 } Py_INCREF(Py_None);
10911 _resultobj = Py_None;
10912 return _resultobj;
10913 }
10914
10915 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10916 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10917 PyObject * _resultobj;
10918 wxGrid * _arg0;
10919 int _arg1;
10920 int _arg2;
10921 PyObject * _argo0 = 0;
10922 char *_kwnames[] = { "self","col","width", NULL };
10923
10924 self = self;
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10926 return NULL;
10927 if (_argo0) {
10928 if (_argo0 == Py_None) { _arg0 = NULL; }
10929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10931 return NULL;
10932 }
10933 }
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) return NULL;
10940 } Py_INCREF(Py_None);
10941 _resultobj = Py_None;
10942 return _resultobj;
10943 }
10944
10945 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10946 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject * _resultobj;
10948 wxGrid * _arg0;
10949 int _arg1;
10950 int _arg2;
10951 PyObject * _argo0 = 0;
10952 char *_kwnames[] = { "self","row","width", NULL };
10953
10954 self = self;
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10956 return NULL;
10957 if (_argo0) {
10958 if (_argo0 == Py_None) { _arg0 = NULL; }
10959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10961 return NULL;
10962 }
10963 }
10964 {
10965 PyThreadState* __tstate = wxPyBeginAllowThreads();
10966 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10967
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) return NULL;
10970 } Py_INCREF(Py_None);
10971 _resultobj = Py_None;
10972 return _resultobj;
10973 }
10974
10975 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10976 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10977 PyObject * _resultobj;
10978 wxGrid * _arg0;
10979 wxColour * _arg1;
10980 PyObject * _argo0 = 0;
10981 wxColour temp;
10982 PyObject * _obj1 = 0;
10983 char *_kwnames[] = { "self","arg2", NULL };
10984
10985 self = self;
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10987 return NULL;
10988 if (_argo0) {
10989 if (_argo0 == Py_None) { _arg0 = NULL; }
10990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10992 return NULL;
10993 }
10994 }
10995 {
10996 _arg1 = &temp;
10997 if (! wxColour_helper(_obj1, &_arg1))
10998 return NULL;
10999 }
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) return NULL;
11006 } Py_INCREF(Py_None);
11007 _resultobj = Py_None;
11008 return _resultobj;
11009 }
11010
11011 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11012 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject * _resultobj;
11014 wxGrid * _arg0;
11015 int _arg1;
11016 int _arg2;
11017 wxColour * _arg3;
11018 PyObject * _argo0 = 0;
11019 wxColour temp;
11020 PyObject * _obj3 = 0;
11021 char *_kwnames[] = { "self","row","col","arg4", NULL };
11022
11023 self = self;
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11025 return NULL;
11026 if (_argo0) {
11027 if (_argo0 == Py_None) { _arg0 = NULL; }
11028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11030 return NULL;
11031 }
11032 }
11033 {
11034 _arg3 = &temp;
11035 if (! wxColour_helper(_obj3, &_arg3))
11036 return NULL;
11037 }
11038 {
11039 PyThreadState* __tstate = wxPyBeginAllowThreads();
11040 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
11041
11042 wxPyEndAllowThreads(__tstate);
11043 if (PyErr_Occurred()) return NULL;
11044 } Py_INCREF(Py_None);
11045 _resultobj = Py_None;
11046 return _resultobj;
11047 }
11048
11049 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11050 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11051 PyObject * _resultobj;
11052 wxGrid * _arg0;
11053 wxColour * _arg1;
11054 PyObject * _argo0 = 0;
11055 wxColour temp;
11056 PyObject * _obj1 = 0;
11057 char *_kwnames[] = { "self","arg2", NULL };
11058
11059 self = self;
11060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11061 return NULL;
11062 if (_argo0) {
11063 if (_argo0 == Py_None) { _arg0 = NULL; }
11064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11066 return NULL;
11067 }
11068 }
11069 {
11070 _arg1 = &temp;
11071 if (! wxColour_helper(_obj1, &_arg1))
11072 return NULL;
11073 }
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) return NULL;
11080 } Py_INCREF(Py_None);
11081 _resultobj = Py_None;
11082 return _resultobj;
11083 }
11084
11085 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11086 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject * _resultobj;
11088 wxGrid * _arg0;
11089 int _arg1;
11090 int _arg2;
11091 wxColour * _arg3;
11092 PyObject * _argo0 = 0;
11093 wxColour temp;
11094 PyObject * _obj3 = 0;
11095 char *_kwnames[] = { "self","row","col","arg4", NULL };
11096
11097 self = self;
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11099 return NULL;
11100 if (_argo0) {
11101 if (_argo0 == Py_None) { _arg0 = NULL; }
11102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11104 return NULL;
11105 }
11106 }
11107 {
11108 _arg3 = &temp;
11109 if (! wxColour_helper(_obj3, &_arg3))
11110 return NULL;
11111 }
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) return NULL;
11118 } Py_INCREF(Py_None);
11119 _resultobj = Py_None;
11120 return _resultobj;
11121 }
11122
11123 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11124 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11125 PyObject * _resultobj;
11126 wxGrid * _arg0;
11127 wxFont * _arg1;
11128 PyObject * _argo0 = 0;
11129 PyObject * _argo1 = 0;
11130 char *_kwnames[] = { "self","arg2", NULL };
11131
11132 self = self;
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11134 return NULL;
11135 if (_argo0) {
11136 if (_argo0 == Py_None) { _arg0 = NULL; }
11137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11139 return NULL;
11140 }
11141 }
11142 if (_argo1) {
11143 if (_argo1 == Py_None) { _arg1 = NULL; }
11144 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11146 return NULL;
11147 }
11148 }
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11152
11153 wxPyEndAllowThreads(__tstate);
11154 if (PyErr_Occurred()) return NULL;
11155 } Py_INCREF(Py_None);
11156 _resultobj = Py_None;
11157 return _resultobj;
11158 }
11159
11160 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11161 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11162 PyObject * _resultobj;
11163 wxGrid * _arg0;
11164 int _arg1;
11165 int _arg2;
11166 wxFont * _arg3;
11167 PyObject * _argo0 = 0;
11168 PyObject * _argo3 = 0;
11169 char *_kwnames[] = { "self","row","col","arg4", NULL };
11170
11171 self = self;
11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11173 return NULL;
11174 if (_argo0) {
11175 if (_argo0 == Py_None) { _arg0 = NULL; }
11176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11178 return NULL;
11179 }
11180 }
11181 if (_argo3) {
11182 if (_argo3 == Py_None) { _arg3 = NULL; }
11183 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11184 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11185 return NULL;
11186 }
11187 }
11188 {
11189 PyThreadState* __tstate = wxPyBeginAllowThreads();
11190 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11191
11192 wxPyEndAllowThreads(__tstate);
11193 if (PyErr_Occurred()) return NULL;
11194 } Py_INCREF(Py_None);
11195 _resultobj = Py_None;
11196 return _resultobj;
11197 }
11198
11199 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11200 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject * _resultobj;
11202 wxGrid * _arg0;
11203 int _arg1;
11204 int _arg2;
11205 PyObject * _argo0 = 0;
11206 char *_kwnames[] = { "self","horiz","vert", NULL };
11207
11208 self = self;
11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11210 return NULL;
11211 if (_argo0) {
11212 if (_argo0 == Py_None) { _arg0 = NULL; }
11213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11215 return NULL;
11216 }
11217 }
11218 {
11219 PyThreadState* __tstate = wxPyBeginAllowThreads();
11220 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11221
11222 wxPyEndAllowThreads(__tstate);
11223 if (PyErr_Occurred()) return NULL;
11224 } Py_INCREF(Py_None);
11225 _resultobj = Py_None;
11226 return _resultobj;
11227 }
11228
11229 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11230 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11231 PyObject * _resultobj;
11232 wxGrid * _arg0;
11233 int _arg1;
11234 int _arg2;
11235 int _arg3;
11236 int _arg4;
11237 PyObject * _argo0 = 0;
11238 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11239
11240 self = self;
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11242 return NULL;
11243 if (_argo0) {
11244 if (_argo0 == Py_None) { _arg0 = NULL; }
11245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11247 return NULL;
11248 }
11249 }
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
11252 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) return NULL;
11256 } Py_INCREF(Py_None);
11257 _resultobj = Py_None;
11258 return _resultobj;
11259 }
11260
11261 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11262 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11263 PyObject * _resultobj;
11264 wxGrid * _arg0;
11265 wxGridCellRenderer * _arg1;
11266 PyObject * _argo0 = 0;
11267 PyObject * _argo1 = 0;
11268 char *_kwnames[] = { "self","renderer", NULL };
11269
11270 self = self;
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11272 return NULL;
11273 if (_argo0) {
11274 if (_argo0 == Py_None) { _arg0 = NULL; }
11275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11277 return NULL;
11278 }
11279 }
11280 if (_argo1) {
11281 if (_argo1 == Py_None) { _arg1 = NULL; }
11282 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11283 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11284 return NULL;
11285 }
11286 }
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11290
11291 wxPyEndAllowThreads(__tstate);
11292 if (PyErr_Occurred()) return NULL;
11293 } Py_INCREF(Py_None);
11294 _resultobj = Py_None;
11295 return _resultobj;
11296 }
11297
11298 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11299 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11300 PyObject * _resultobj;
11301 wxGrid * _arg0;
11302 int _arg1;
11303 int _arg2;
11304 wxGridCellRenderer * _arg3;
11305 PyObject * _argo0 = 0;
11306 PyObject * _argo3 = 0;
11307 char *_kwnames[] = { "self","row","col","renderer", NULL };
11308
11309 self = self;
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11311 return NULL;
11312 if (_argo0) {
11313 if (_argo0 == Py_None) { _arg0 = NULL; }
11314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11316 return NULL;
11317 }
11318 }
11319 if (_argo3) {
11320 if (_argo3 == Py_None) { _arg3 = NULL; }
11321 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11322 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11323 return NULL;
11324 }
11325 }
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) return NULL;
11332 } Py_INCREF(Py_None);
11333 _resultobj = Py_None;
11334 return _resultobj;
11335 }
11336
11337 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11338 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject * _resultobj;
11340 wxGridCellRenderer * _result;
11341 wxGrid * _arg0;
11342 PyObject * _argo0 = 0;
11343 char *_kwnames[] = { "self", NULL };
11344 char _ptemp[128];
11345
11346 self = self;
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11348 return NULL;
11349 if (_argo0) {
11350 if (_argo0 == Py_None) { _arg0 = NULL; }
11351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11353 return NULL;
11354 }
11355 }
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11359
11360 wxPyEndAllowThreads(__tstate);
11361 if (PyErr_Occurred()) return NULL;
11362 } if (_result) {
11363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11364 _resultobj = Py_BuildValue("s",_ptemp);
11365 } else {
11366 Py_INCREF(Py_None);
11367 _resultobj = Py_None;
11368 }
11369 return _resultobj;
11370 }
11371
11372 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11373 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11374 PyObject * _resultobj;
11375 wxGridCellRenderer * _result;
11376 wxGrid * _arg0;
11377 int _arg1;
11378 int _arg2;
11379 PyObject * _argo0 = 0;
11380 char *_kwnames[] = { "self","row","col", NULL };
11381 char _ptemp[128];
11382
11383 self = self;
11384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11385 return NULL;
11386 if (_argo0) {
11387 if (_argo0 == Py_None) { _arg0 = NULL; }
11388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11390 return NULL;
11391 }
11392 }
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11396
11397 wxPyEndAllowThreads(__tstate);
11398 if (PyErr_Occurred()) return NULL;
11399 } if (_result) {
11400 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11401 _resultobj = Py_BuildValue("s",_ptemp);
11402 } else {
11403 Py_INCREF(Py_None);
11404 _resultobj = Py_None;
11405 }
11406 return _resultobj;
11407 }
11408
11409 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11410 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject * _resultobj;
11412 wxGrid * _arg0;
11413 wxGridCellEditor * _arg1;
11414 PyObject * _argo0 = 0;
11415 PyObject * _argo1 = 0;
11416 char *_kwnames[] = { "self","editor", NULL };
11417
11418 self = self;
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11420 return NULL;
11421 if (_argo0) {
11422 if (_argo0 == Py_None) { _arg0 = NULL; }
11423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11425 return NULL;
11426 }
11427 }
11428 if (_argo1) {
11429 if (_argo1 == Py_None) { _arg1 = NULL; }
11430 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11431 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11432 return NULL;
11433 }
11434 }
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
11437 wxGrid_SetDefaultEditor(_arg0,_arg1);
11438
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) return NULL;
11441 } Py_INCREF(Py_None);
11442 _resultobj = Py_None;
11443 return _resultobj;
11444 }
11445
11446 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11447 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11448 PyObject * _resultobj;
11449 wxGrid * _arg0;
11450 int _arg1;
11451 int _arg2;
11452 wxGridCellEditor * _arg3;
11453 PyObject * _argo0 = 0;
11454 PyObject * _argo3 = 0;
11455 char *_kwnames[] = { "self","row","col","editor", NULL };
11456
11457 self = self;
11458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11459 return NULL;
11460 if (_argo0) {
11461 if (_argo0 == Py_None) { _arg0 = NULL; }
11462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11464 return NULL;
11465 }
11466 }
11467 if (_argo3) {
11468 if (_argo3 == Py_None) { _arg3 = NULL; }
11469 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11470 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11471 return NULL;
11472 }
11473 }
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) return NULL;
11480 } Py_INCREF(Py_None);
11481 _resultobj = Py_None;
11482 return _resultobj;
11483 }
11484
11485 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11486 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11487 PyObject * _resultobj;
11488 wxGridCellEditor * _result;
11489 wxGrid * _arg0;
11490 PyObject * _argo0 = 0;
11491 char *_kwnames[] = { "self", NULL };
11492 char _ptemp[128];
11493
11494 self = self;
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11496 return NULL;
11497 if (_argo0) {
11498 if (_argo0 == Py_None) { _arg0 = NULL; }
11499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11501 return NULL;
11502 }
11503 }
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) return NULL;
11510 } if (_result) {
11511 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11512 _resultobj = Py_BuildValue("s",_ptemp);
11513 } else {
11514 Py_INCREF(Py_None);
11515 _resultobj = Py_None;
11516 }
11517 return _resultobj;
11518 }
11519
11520 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11521 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject * _resultobj;
11523 wxGridCellEditor * _result;
11524 wxGrid * _arg0;
11525 int _arg1;
11526 int _arg2;
11527 PyObject * _argo0 = 0;
11528 char *_kwnames[] = { "self","row","col", NULL };
11529 char _ptemp[128];
11530
11531 self = self;
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11533 return NULL;
11534 if (_argo0) {
11535 if (_argo0 == Py_None) { _arg0 = NULL; }
11536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11538 return NULL;
11539 }
11540 }
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) return NULL;
11547 } if (_result) {
11548 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11549 _resultobj = Py_BuildValue("s",_ptemp);
11550 } else {
11551 Py_INCREF(Py_None);
11552 _resultobj = Py_None;
11553 }
11554 return _resultobj;
11555 }
11556
11557 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11558 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11559 PyObject * _resultobj;
11560 wxString * _result;
11561 wxGrid * _arg0;
11562 int _arg1;
11563 int _arg2;
11564 PyObject * _argo0 = 0;
11565 char *_kwnames[] = { "self","row","col", NULL };
11566
11567 self = self;
11568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11569 return NULL;
11570 if (_argo0) {
11571 if (_argo0 == Py_None) { _arg0 = NULL; }
11572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11574 return NULL;
11575 }
11576 }
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) return NULL;
11583 }{
11584 #if wxUSE_UNICODE
11585 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11586 #else
11587 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11588 #endif
11589 }
11590 {
11591 delete _result;
11592 }
11593 return _resultobj;
11594 }
11595
11596 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11597 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject * _resultobj;
11599 wxGrid * _arg0;
11600 int _arg1;
11601 int _arg2;
11602 wxString * _arg3;
11603 PyObject * _argo0 = 0;
11604 PyObject * _obj3 = 0;
11605 char *_kwnames[] = { "self","row","col","s", NULL };
11606
11607 self = self;
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11609 return NULL;
11610 if (_argo0) {
11611 if (_argo0 == Py_None) { _arg0 = NULL; }
11612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11614 return NULL;
11615 }
11616 }
11617 {
11618 _arg3 = wxString_in_helper(_obj3);
11619 if (_arg3 == NULL)
11620 return NULL;
11621 }
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) return NULL;
11628 } Py_INCREF(Py_None);
11629 _resultobj = Py_None;
11630 {
11631 if (_obj3)
11632 delete _arg3;
11633 }
11634 return _resultobj;
11635 }
11636
11637 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11638 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11639 PyObject * _resultobj;
11640 bool _result;
11641 wxGrid * _arg0;
11642 int _arg1;
11643 int _arg2;
11644 PyObject * _argo0 = 0;
11645 char *_kwnames[] = { "self","row","col", NULL };
11646
11647 self = self;
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11649 return NULL;
11650 if (_argo0) {
11651 if (_argo0 == Py_None) { _arg0 = NULL; }
11652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11654 return NULL;
11655 }
11656 }
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) return NULL;
11663 } _resultobj = Py_BuildValue("i",_result);
11664 return _resultobj;
11665 }
11666
11667 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11668 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject * _resultobj;
11670 wxGrid * _arg0;
11671 int _arg1;
11672 int _arg2;
11673 bool _arg3 = (bool ) TRUE;
11674 PyObject * _argo0 = 0;
11675 int tempbool3 = (int) TRUE;
11676 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11677
11678 self = self;
11679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11680 return NULL;
11681 if (_argo0) {
11682 if (_argo0 == Py_None) { _arg0 = NULL; }
11683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11685 return NULL;
11686 }
11687 }
11688 _arg3 = (bool ) tempbool3;
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) return NULL;
11695 } Py_INCREF(Py_None);
11696 _resultobj = Py_None;
11697 return _resultobj;
11698 }
11699
11700 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11701 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11702 PyObject * _resultobj;
11703 wxGrid * _arg0;
11704 int _arg1;
11705 bool _arg2 = (bool ) FALSE;
11706 PyObject * _argo0 = 0;
11707 int tempbool2 = (int) FALSE;
11708 char *_kwnames[] = { "self","row","addToSelected", NULL };
11709
11710 self = self;
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11712 return NULL;
11713 if (_argo0) {
11714 if (_argo0 == Py_None) { _arg0 = NULL; }
11715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11717 return NULL;
11718 }
11719 }
11720 _arg2 = (bool ) tempbool2;
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) return NULL;
11727 } Py_INCREF(Py_None);
11728 _resultobj = Py_None;
11729 return _resultobj;
11730 }
11731
11732 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11733 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject * _resultobj;
11735 wxGrid * _arg0;
11736 int _arg1;
11737 bool _arg2 = (bool ) FALSE;
11738 PyObject * _argo0 = 0;
11739 int tempbool2 = (int) FALSE;
11740 char *_kwnames[] = { "self","col","addToSelected", NULL };
11741
11742 self = self;
11743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11744 return NULL;
11745 if (_argo0) {
11746 if (_argo0 == Py_None) { _arg0 = NULL; }
11747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11749 return NULL;
11750 }
11751 }
11752 _arg2 = (bool ) tempbool2;
11753 {
11754 PyThreadState* __tstate = wxPyBeginAllowThreads();
11755 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11756
11757 wxPyEndAllowThreads(__tstate);
11758 if (PyErr_Occurred()) return NULL;
11759 } Py_INCREF(Py_None);
11760 _resultobj = Py_None;
11761 return _resultobj;
11762 }
11763
11764 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11765 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11766 PyObject * _resultobj;
11767 wxGrid * _arg0;
11768 int _arg1;
11769 int _arg2;
11770 int _arg3;
11771 int _arg4;
11772 bool _arg5 = (bool ) FALSE;
11773 PyObject * _argo0 = 0;
11774 int tempbool5 = (int) FALSE;
11775 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11776
11777 self = self;
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11779 return NULL;
11780 if (_argo0) {
11781 if (_argo0 == Py_None) { _arg0 = NULL; }
11782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11784 return NULL;
11785 }
11786 }
11787 _arg5 = (bool ) tempbool5;
11788 {
11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
11790 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11791
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) return NULL;
11794 } Py_INCREF(Py_None);
11795 _resultobj = Py_None;
11796 return _resultobj;
11797 }
11798
11799 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11800 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11801 PyObject * _resultobj;
11802 wxGrid * _arg0;
11803 PyObject * _argo0 = 0;
11804 char *_kwnames[] = { "self", NULL };
11805
11806 self = self;
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11808 return NULL;
11809 if (_argo0) {
11810 if (_argo0 == Py_None) { _arg0 = NULL; }
11811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11813 return NULL;
11814 }
11815 }
11816 {
11817 PyThreadState* __tstate = wxPyBeginAllowThreads();
11818 wxGrid_SelectAll(_arg0);
11819
11820 wxPyEndAllowThreads(__tstate);
11821 if (PyErr_Occurred()) return NULL;
11822 } Py_INCREF(Py_None);
11823 _resultobj = Py_None;
11824 return _resultobj;
11825 }
11826
11827 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11828 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject * _resultobj;
11830 bool _result;
11831 wxGrid * _arg0;
11832 PyObject * _argo0 = 0;
11833 char *_kwnames[] = { "self", NULL };
11834
11835 self = self;
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11837 return NULL;
11838 if (_argo0) {
11839 if (_argo0 == Py_None) { _arg0 = NULL; }
11840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11842 return NULL;
11843 }
11844 }
11845 {
11846 PyThreadState* __tstate = wxPyBeginAllowThreads();
11847 _result = (bool )wxGrid_IsSelection(_arg0);
11848
11849 wxPyEndAllowThreads(__tstate);
11850 if (PyErr_Occurred()) return NULL;
11851 } _resultobj = Py_BuildValue("i",_result);
11852 return _resultobj;
11853 }
11854
11855 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11856 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11857 PyObject * _resultobj;
11858 wxGrid * _arg0;
11859 PyObject * _argo0 = 0;
11860 char *_kwnames[] = { "self", NULL };
11861
11862 self = self;
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11864 return NULL;
11865 if (_argo0) {
11866 if (_argo0 == Py_None) { _arg0 = NULL; }
11867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11869 return NULL;
11870 }
11871 }
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 wxGrid_ClearSelection(_arg0);
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) return NULL;
11878 } Py_INCREF(Py_None);
11879 _resultobj = Py_None;
11880 return _resultobj;
11881 }
11882
11883 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11884 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11885 PyObject * _resultobj;
11886 bool _result;
11887 wxGrid * _arg0;
11888 int _arg1;
11889 int _arg2;
11890 PyObject * _argo0 = 0;
11891 char *_kwnames[] = { "self","row","col", NULL };
11892
11893 self = self;
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11895 return NULL;
11896 if (_argo0) {
11897 if (_argo0 == Py_None) { _arg0 = NULL; }
11898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11900 return NULL;
11901 }
11902 }
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
11905 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11906
11907 wxPyEndAllowThreads(__tstate);
11908 if (PyErr_Occurred()) return NULL;
11909 } _resultobj = Py_BuildValue("i",_result);
11910 return _resultobj;
11911 }
11912
11913 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11914 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11915 PyObject * _resultobj;
11916 wxRect * _result;
11917 wxGrid * _arg0;
11918 wxGridCellCoords * _arg1;
11919 wxGridCellCoords * _arg2;
11920 PyObject * _argo0 = 0;
11921 wxGridCellCoords temp;
11922 PyObject * _obj1 = 0;
11923 wxGridCellCoords temp0;
11924 PyObject * _obj2 = 0;
11925 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11926 char _ptemp[128];
11927
11928 self = self;
11929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11930 return NULL;
11931 if (_argo0) {
11932 if (_argo0 == Py_None) { _arg0 = NULL; }
11933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11935 return NULL;
11936 }
11937 }
11938 {
11939 _arg1 = &temp;
11940 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11941 return NULL;
11942 }
11943 {
11944 _arg2 = &temp0;
11945 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11946 return NULL;
11947 }
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) return NULL;
11954 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11955 _resultobj = Py_BuildValue("s",_ptemp);
11956 return _resultobj;
11957 }
11958
11959 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11960 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11961 PyObject * _resultobj;
11962 wxColour * _result;
11963 wxGrid * _arg0;
11964 PyObject * _argo0 = 0;
11965 char *_kwnames[] = { "self", NULL };
11966 char _ptemp[128];
11967
11968 self = self;
11969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11970 return NULL;
11971 if (_argo0) {
11972 if (_argo0 == Py_None) { _arg0 = NULL; }
11973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11975 return NULL;
11976 }
11977 }
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) return NULL;
11984 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11985 _resultobj = Py_BuildValue("s",_ptemp);
11986 return _resultobj;
11987 }
11988
11989 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11990 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11991 PyObject * _resultobj;
11992 wxColour * _result;
11993 wxGrid * _arg0;
11994 PyObject * _argo0 = 0;
11995 char *_kwnames[] = { "self", NULL };
11996 char _ptemp[128];
11997
11998 self = self;
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
12000 return NULL;
12001 if (_argo0) {
12002 if (_argo0 == Py_None) { _arg0 = NULL; }
12003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12005 return NULL;
12006 }
12007 }
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) return NULL;
12014 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12015 _resultobj = Py_BuildValue("s",_ptemp);
12016 return _resultobj;
12017 }
12018
12019 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12020 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12021 PyObject * _resultobj;
12022 wxGrid * _arg0;
12023 wxColour * _arg1;
12024 PyObject * _argo0 = 0;
12025 wxColour temp;
12026 PyObject * _obj1 = 0;
12027 char *_kwnames[] = { "self","c", NULL };
12028
12029 self = self;
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
12031 return NULL;
12032 if (_argo0) {
12033 if (_argo0 == Py_None) { _arg0 = NULL; }
12034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12036 return NULL;
12037 }
12038 }
12039 {
12040 _arg1 = &temp;
12041 if (! wxColour_helper(_obj1, &_arg1))
12042 return NULL;
12043 }
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 wxGrid_SetSelectionBackground(_arg0,*_arg1);
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) return NULL;
12050 } Py_INCREF(Py_None);
12051 _resultobj = Py_None;
12052 return _resultobj;
12053 }
12054
12055 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12056 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12057 PyObject * _resultobj;
12058 wxGrid * _arg0;
12059 wxColour * _arg1;
12060 PyObject * _argo0 = 0;
12061 wxColour temp;
12062 PyObject * _obj1 = 0;
12063 char *_kwnames[] = { "self","c", NULL };
12064
12065 self = self;
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12067 return NULL;
12068 if (_argo0) {
12069 if (_argo0 == Py_None) { _arg0 = NULL; }
12070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12072 return NULL;
12073 }
12074 }
12075 {
12076 _arg1 = &temp;
12077 if (! wxColour_helper(_obj1, &_arg1))
12078 return NULL;
12079 }
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) return NULL;
12086 } Py_INCREF(Py_None);
12087 _resultobj = Py_None;
12088 return _resultobj;
12089 }
12090
12091 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12092 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject * _resultobj;
12094 wxGrid * _arg0;
12095 wxString * _arg1;
12096 wxGridCellRenderer * _arg2;
12097 wxGridCellEditor * _arg3;
12098 PyObject * _argo0 = 0;
12099 PyObject * _obj1 = 0;
12100 PyObject * _argo2 = 0;
12101 PyObject * _argo3 = 0;
12102 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12103
12104 self = self;
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12106 return NULL;
12107 if (_argo0) {
12108 if (_argo0 == Py_None) { _arg0 = NULL; }
12109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12111 return NULL;
12112 }
12113 }
12114 {
12115 _arg1 = wxString_in_helper(_obj1);
12116 if (_arg1 == NULL)
12117 return NULL;
12118 }
12119 if (_argo2) {
12120 if (_argo2 == Py_None) { _arg2 = NULL; }
12121 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12122 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12123 return NULL;
12124 }
12125 }
12126 if (_argo3) {
12127 if (_argo3 == Py_None) { _arg3 = NULL; }
12128 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12129 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12130 return NULL;
12131 }
12132 }
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) return NULL;
12139 } Py_INCREF(Py_None);
12140 _resultobj = Py_None;
12141 {
12142 if (_obj1)
12143 delete _arg1;
12144 }
12145 return _resultobj;
12146 }
12147
12148 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12149 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12150 PyObject * _resultobj;
12151 wxGridCellEditor * _result;
12152 wxGrid * _arg0;
12153 int _arg1;
12154 int _arg2;
12155 PyObject * _argo0 = 0;
12156 char *_kwnames[] = { "self","row","col", NULL };
12157 char _ptemp[128];
12158
12159 self = self;
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12161 return NULL;
12162 if (_argo0) {
12163 if (_argo0 == Py_None) { _arg0 = NULL; }
12164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12166 return NULL;
12167 }
12168 }
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) return NULL;
12175 } if (_result) {
12176 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12177 _resultobj = Py_BuildValue("s",_ptemp);
12178 } else {
12179 Py_INCREF(Py_None);
12180 _resultobj = Py_None;
12181 }
12182 return _resultobj;
12183 }
12184
12185 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12186 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12187 PyObject * _resultobj;
12188 wxGridCellRenderer * _result;
12189 wxGrid * _arg0;
12190 int _arg1;
12191 int _arg2;
12192 PyObject * _argo0 = 0;
12193 char *_kwnames[] = { "self","row","col", NULL };
12194 char _ptemp[128];
12195
12196 self = self;
12197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12198 return NULL;
12199 if (_argo0) {
12200 if (_argo0 == Py_None) { _arg0 = NULL; }
12201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12203 return NULL;
12204 }
12205 }
12206 {
12207 PyThreadState* __tstate = wxPyBeginAllowThreads();
12208 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12209
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) return NULL;
12212 } if (_result) {
12213 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12214 _resultobj = Py_BuildValue("s",_ptemp);
12215 } else {
12216 Py_INCREF(Py_None);
12217 _resultobj = Py_None;
12218 }
12219 return _resultobj;
12220 }
12221
12222 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12223 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject * _resultobj;
12225 wxGridCellEditor * _result;
12226 wxGrid * _arg0;
12227 wxString * _arg1;
12228 PyObject * _argo0 = 0;
12229 PyObject * _obj1 = 0;
12230 char *_kwnames[] = { "self","typeName", NULL };
12231 char _ptemp[128];
12232
12233 self = self;
12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12235 return NULL;
12236 if (_argo0) {
12237 if (_argo0 == Py_None) { _arg0 = NULL; }
12238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12240 return NULL;
12241 }
12242 }
12243 {
12244 _arg1 = wxString_in_helper(_obj1);
12245 if (_arg1 == NULL)
12246 return NULL;
12247 }
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) return NULL;
12254 } if (_result) {
12255 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12256 _resultobj = Py_BuildValue("s",_ptemp);
12257 } else {
12258 Py_INCREF(Py_None);
12259 _resultobj = Py_None;
12260 }
12261 {
12262 if (_obj1)
12263 delete _arg1;
12264 }
12265 return _resultobj;
12266 }
12267
12268 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12269 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12270 PyObject * _resultobj;
12271 wxGridCellRenderer * _result;
12272 wxGrid * _arg0;
12273 wxString * _arg1;
12274 PyObject * _argo0 = 0;
12275 PyObject * _obj1 = 0;
12276 char *_kwnames[] = { "self","typeName", NULL };
12277 char _ptemp[128];
12278
12279 self = self;
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12281 return NULL;
12282 if (_argo0) {
12283 if (_argo0 == Py_None) { _arg0 = NULL; }
12284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12286 return NULL;
12287 }
12288 }
12289 {
12290 _arg1 = wxString_in_helper(_obj1);
12291 if (_arg1 == NULL)
12292 return NULL;
12293 }
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) return NULL;
12300 } if (_result) {
12301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12302 _resultobj = Py_BuildValue("s",_ptemp);
12303 } else {
12304 Py_INCREF(Py_None);
12305 _resultobj = Py_None;
12306 }
12307 {
12308 if (_obj1)
12309 delete _arg1;
12310 }
12311 return _resultobj;
12312 }
12313
12314 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12315 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12316 PyObject * _resultobj;
12317 wxGrid * _arg0;
12318 int _arg1;
12319 int _arg2;
12320 PyObject * _argo0 = 0;
12321 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12322
12323 self = self;
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12325 return NULL;
12326 if (_argo0) {
12327 if (_argo0 == Py_None) { _arg0 = NULL; }
12328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12330 return NULL;
12331 }
12332 }
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) return NULL;
12339 } Py_INCREF(Py_None);
12340 _resultobj = Py_None;
12341 return _resultobj;
12342 }
12343
12344 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12345 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12346 PyObject * _resultobj;
12347 wxWindow * _result;
12348 wxGrid * _arg0;
12349 PyObject * _argo0 = 0;
12350 char *_kwnames[] = { "self", NULL };
12351
12352 self = self;
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12354 return NULL;
12355 if (_argo0) {
12356 if (_argo0 == Py_None) { _arg0 = NULL; }
12357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12359 return NULL;
12360 }
12361 }
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) return NULL;
12368 }{ _resultobj = wxPyMake_wxObject(_result); }
12369 return _resultobj;
12370 }
12371
12372 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12373 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject * _resultobj;
12375 wxWindow * _result;
12376 wxGrid * _arg0;
12377 PyObject * _argo0 = 0;
12378 char *_kwnames[] = { "self", NULL };
12379
12380 self = self;
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12382 return NULL;
12383 if (_argo0) {
12384 if (_argo0 == Py_None) { _arg0 = NULL; }
12385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12387 return NULL;
12388 }
12389 }
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) return NULL;
12396 }{ _resultobj = wxPyMake_wxObject(_result); }
12397 return _resultobj;
12398 }
12399
12400 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12401 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject * _resultobj;
12403 wxWindow * _result;
12404 wxGrid * _arg0;
12405 PyObject * _argo0 = 0;
12406 char *_kwnames[] = { "self", NULL };
12407
12408 self = self;
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12410 return NULL;
12411 if (_argo0) {
12412 if (_argo0 == Py_None) { _arg0 = NULL; }
12413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12415 return NULL;
12416 }
12417 }
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) return NULL;
12424 }{ _resultobj = wxPyMake_wxObject(_result); }
12425 return _resultobj;
12426 }
12427
12428 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12429 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12430 PyObject * _resultobj;
12431 wxWindow * _result;
12432 wxGrid * _arg0;
12433 PyObject * _argo0 = 0;
12434 char *_kwnames[] = { "self", NULL };
12435
12436 self = self;
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12438 return NULL;
12439 if (_argo0) {
12440 if (_argo0 == Py_None) { _arg0 = NULL; }
12441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12443 return NULL;
12444 }
12445 }
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) return NULL;
12452 }{ _resultobj = wxPyMake_wxObject(_result); }
12453 return _resultobj;
12454 }
12455
12456 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12457 wxGridEvent *src;
12458 wxNotifyEvent *dest;
12459 src = (wxGridEvent *) ptr;
12460 dest = (wxNotifyEvent *) src;
12461 return (void *) dest;
12462 }
12463
12464 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12465 wxGridEvent *src;
12466 wxCommandEvent *dest;
12467 src = (wxGridEvent *) ptr;
12468 dest = (wxCommandEvent *) src;
12469 return (void *) dest;
12470 }
12471
12472 static void *SwigwxGridEventTowxEvent(void *ptr) {
12473 wxGridEvent *src;
12474 wxEvent *dest;
12475 src = (wxGridEvent *) ptr;
12476 dest = (wxEvent *) src;
12477 return (void *) dest;
12478 }
12479
12480 static void *SwigwxGridEventTowxObject(void *ptr) {
12481 wxGridEvent *src;
12482 wxObject *dest;
12483 src = (wxGridEvent *) ptr;
12484 dest = (wxObject *) src;
12485 return (void *) dest;
12486 }
12487
12488 #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))
12489 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12490 PyObject * _resultobj;
12491 wxGridEvent * _result;
12492 int _arg0;
12493 wxEventType _arg1;
12494 wxGrid * _arg2;
12495 int _arg3 = (int ) -1;
12496 int _arg4 = (int ) -1;
12497 int _arg5 = (int ) -1;
12498 int _arg6 = (int ) -1;
12499 bool _arg7 = (bool ) TRUE;
12500 bool _arg8 = (bool ) FALSE;
12501 bool _arg9 = (bool ) FALSE;
12502 bool _arg10 = (bool ) FALSE;
12503 bool _arg11 = (bool ) FALSE;
12504 PyObject * _argo2 = 0;
12505 int tempbool7 = (int) TRUE;
12506 int tempbool8 = (int) FALSE;
12507 int tempbool9 = (int) FALSE;
12508 int tempbool10 = (int) FALSE;
12509 int tempbool11 = (int) FALSE;
12510 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12511 char _ptemp[128];
12512
12513 self = self;
12514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12515 return NULL;
12516 if (_argo2) {
12517 if (_argo2 == Py_None) { _arg2 = NULL; }
12518 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12519 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12520 return NULL;
12521 }
12522 }
12523 _arg7 = (bool ) tempbool7;
12524 _arg8 = (bool ) tempbool8;
12525 _arg9 = (bool ) tempbool9;
12526 _arg10 = (bool ) tempbool10;
12527 _arg11 = (bool ) tempbool11;
12528 {
12529 PyThreadState* __tstate = wxPyBeginAllowThreads();
12530 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12531
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) return NULL;
12534 } if (_result) {
12535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12536 _resultobj = Py_BuildValue("s",_ptemp);
12537 } else {
12538 Py_INCREF(Py_None);
12539 _resultobj = Py_None;
12540 }
12541 return _resultobj;
12542 }
12543
12544 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12545 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject * _resultobj;
12547 int _result;
12548 wxGridEvent * _arg0;
12549 PyObject * _argo0 = 0;
12550 char *_kwnames[] = { "self", NULL };
12551
12552 self = self;
12553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12554 return NULL;
12555 if (_argo0) {
12556 if (_argo0 == Py_None) { _arg0 = NULL; }
12557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12559 return NULL;
12560 }
12561 }
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 _result = (int )wxGridEvent_GetRow(_arg0);
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) return NULL;
12568 } _resultobj = Py_BuildValue("i",_result);
12569 return _resultobj;
12570 }
12571
12572 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12573 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12574 PyObject * _resultobj;
12575 int _result;
12576 wxGridEvent * _arg0;
12577 PyObject * _argo0 = 0;
12578 char *_kwnames[] = { "self", NULL };
12579
12580 self = self;
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12582 return NULL;
12583 if (_argo0) {
12584 if (_argo0 == Py_None) { _arg0 = NULL; }
12585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12587 return NULL;
12588 }
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 _result = (int )wxGridEvent_GetCol(_arg0);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) return NULL;
12596 } _resultobj = Py_BuildValue("i",_result);
12597 return _resultobj;
12598 }
12599
12600 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12601 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12602 PyObject * _resultobj;
12603 wxPoint * _result;
12604 wxGridEvent * _arg0;
12605 PyObject * _argo0 = 0;
12606 char *_kwnames[] = { "self", NULL };
12607 char _ptemp[128];
12608
12609 self = self;
12610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12611 return NULL;
12612 if (_argo0) {
12613 if (_argo0 == Py_None) { _arg0 = NULL; }
12614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12616 return NULL;
12617 }
12618 }
12619 {
12620 PyThreadState* __tstate = wxPyBeginAllowThreads();
12621 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12622
12623 wxPyEndAllowThreads(__tstate);
12624 if (PyErr_Occurred()) return NULL;
12625 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12626 _resultobj = Py_BuildValue("s",_ptemp);
12627 return _resultobj;
12628 }
12629
12630 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12631 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12632 PyObject * _resultobj;
12633 bool _result;
12634 wxGridEvent * _arg0;
12635 PyObject * _argo0 = 0;
12636 char *_kwnames[] = { "self", NULL };
12637
12638 self = self;
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12640 return NULL;
12641 if (_argo0) {
12642 if (_argo0 == Py_None) { _arg0 = NULL; }
12643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12645 return NULL;
12646 }
12647 }
12648 {
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 _result = (bool )wxGridEvent_Selecting(_arg0);
12651
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) return NULL;
12654 } _resultobj = Py_BuildValue("i",_result);
12655 return _resultobj;
12656 }
12657
12658 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12659 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12660 PyObject * _resultobj;
12661 bool _result;
12662 wxGridEvent * _arg0;
12663 PyObject * _argo0 = 0;
12664 char *_kwnames[] = { "self", NULL };
12665
12666 self = self;
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12668 return NULL;
12669 if (_argo0) {
12670 if (_argo0 == Py_None) { _arg0 = NULL; }
12671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12673 return NULL;
12674 }
12675 }
12676 {
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 _result = (bool )wxGridEvent_ControlDown(_arg0);
12679
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) return NULL;
12682 } _resultobj = Py_BuildValue("i",_result);
12683 return _resultobj;
12684 }
12685
12686 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12687 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject * _resultobj;
12689 bool _result;
12690 wxGridEvent * _arg0;
12691 PyObject * _argo0 = 0;
12692 char *_kwnames[] = { "self", NULL };
12693
12694 self = self;
12695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12696 return NULL;
12697 if (_argo0) {
12698 if (_argo0 == Py_None) { _arg0 = NULL; }
12699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12701 return NULL;
12702 }
12703 }
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 _result = (bool )wxGridEvent_MetaDown(_arg0);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) return NULL;
12710 } _resultobj = Py_BuildValue("i",_result);
12711 return _resultobj;
12712 }
12713
12714 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12715 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12716 PyObject * _resultobj;
12717 bool _result;
12718 wxGridEvent * _arg0;
12719 PyObject * _argo0 = 0;
12720 char *_kwnames[] = { "self", NULL };
12721
12722 self = self;
12723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12724 return NULL;
12725 if (_argo0) {
12726 if (_argo0 == Py_None) { _arg0 = NULL; }
12727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12729 return NULL;
12730 }
12731 }
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) return NULL;
12738 } _resultobj = Py_BuildValue("i",_result);
12739 return _resultobj;
12740 }
12741
12742 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12743 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject * _resultobj;
12745 bool _result;
12746 wxGridEvent * _arg0;
12747 PyObject * _argo0 = 0;
12748 char *_kwnames[] = { "self", NULL };
12749
12750 self = self;
12751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12752 return NULL;
12753 if (_argo0) {
12754 if (_argo0 == Py_None) { _arg0 = NULL; }
12755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12757 return NULL;
12758 }
12759 }
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 _result = (bool )wxGridEvent_AltDown(_arg0);
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) return NULL;
12766 } _resultobj = Py_BuildValue("i",_result);
12767 return _resultobj;
12768 }
12769
12770 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12771 wxGridSizeEvent *src;
12772 wxNotifyEvent *dest;
12773 src = (wxGridSizeEvent *) ptr;
12774 dest = (wxNotifyEvent *) src;
12775 return (void *) dest;
12776 }
12777
12778 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12779 wxGridSizeEvent *src;
12780 wxCommandEvent *dest;
12781 src = (wxGridSizeEvent *) ptr;
12782 dest = (wxCommandEvent *) src;
12783 return (void *) dest;
12784 }
12785
12786 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12787 wxGridSizeEvent *src;
12788 wxEvent *dest;
12789 src = (wxGridSizeEvent *) ptr;
12790 dest = (wxEvent *) src;
12791 return (void *) dest;
12792 }
12793
12794 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
12795 wxGridSizeEvent *src;
12796 wxObject *dest;
12797 src = (wxGridSizeEvent *) ptr;
12798 dest = (wxObject *) src;
12799 return (void *) dest;
12800 }
12801
12802 #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))
12803 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12804 PyObject * _resultobj;
12805 wxGridSizeEvent * _result;
12806 int _arg0;
12807 wxEventType _arg1;
12808 wxGrid * _arg2;
12809 int _arg3 = (int ) -1;
12810 int _arg4 = (int ) -1;
12811 int _arg5 = (int ) -1;
12812 bool _arg6 = (bool ) FALSE;
12813 bool _arg7 = (bool ) FALSE;
12814 bool _arg8 = (bool ) FALSE;
12815 bool _arg9 = (bool ) FALSE;
12816 PyObject * _argo2 = 0;
12817 int tempbool6 = (int) FALSE;
12818 int tempbool7 = (int) FALSE;
12819 int tempbool8 = (int) FALSE;
12820 int tempbool9 = (int) FALSE;
12821 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12822 char _ptemp[128];
12823
12824 self = self;
12825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12826 return NULL;
12827 if (_argo2) {
12828 if (_argo2 == Py_None) { _arg2 = NULL; }
12829 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12830 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12831 return NULL;
12832 }
12833 }
12834 _arg6 = (bool ) tempbool6;
12835 _arg7 = (bool ) tempbool7;
12836 _arg8 = (bool ) tempbool8;
12837 _arg9 = (bool ) tempbool9;
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12841
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) return NULL;
12844 } if (_result) {
12845 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12846 _resultobj = Py_BuildValue("s",_ptemp);
12847 } else {
12848 Py_INCREF(Py_None);
12849 _resultobj = Py_None;
12850 }
12851 return _resultobj;
12852 }
12853
12854 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12855 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject * _resultobj;
12857 int _result;
12858 wxGridSizeEvent * _arg0;
12859 PyObject * _argo0 = 0;
12860 char *_kwnames[] = { "self", NULL };
12861
12862 self = self;
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12864 return NULL;
12865 if (_argo0) {
12866 if (_argo0 == Py_None) { _arg0 = NULL; }
12867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12869 return NULL;
12870 }
12871 }
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12875
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) return NULL;
12878 } _resultobj = Py_BuildValue("i",_result);
12879 return _resultobj;
12880 }
12881
12882 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12883 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12884 PyObject * _resultobj;
12885 wxPoint * _result;
12886 wxGridSizeEvent * _arg0;
12887 PyObject * _argo0 = 0;
12888 char *_kwnames[] = { "self", NULL };
12889 char _ptemp[128];
12890
12891 self = self;
12892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12893 return NULL;
12894 if (_argo0) {
12895 if (_argo0 == Py_None) { _arg0 = NULL; }
12896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12898 return NULL;
12899 }
12900 }
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12904
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) return NULL;
12907 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12908 _resultobj = Py_BuildValue("s",_ptemp);
12909 return _resultobj;
12910 }
12911
12912 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12913 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject * _resultobj;
12915 bool _result;
12916 wxGridSizeEvent * _arg0;
12917 PyObject * _argo0 = 0;
12918 char *_kwnames[] = { "self", NULL };
12919
12920 self = self;
12921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12922 return NULL;
12923 if (_argo0) {
12924 if (_argo0 == Py_None) { _arg0 = NULL; }
12925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12927 return NULL;
12928 }
12929 }
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) return NULL;
12936 } _resultobj = Py_BuildValue("i",_result);
12937 return _resultobj;
12938 }
12939
12940 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12941 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject * _resultobj;
12943 bool _result;
12944 wxGridSizeEvent * _arg0;
12945 PyObject * _argo0 = 0;
12946 char *_kwnames[] = { "self", NULL };
12947
12948 self = self;
12949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12950 return NULL;
12951 if (_argo0) {
12952 if (_argo0 == Py_None) { _arg0 = NULL; }
12953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12955 return NULL;
12956 }
12957 }
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12961
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) return NULL;
12964 } _resultobj = Py_BuildValue("i",_result);
12965 return _resultobj;
12966 }
12967
12968 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12969 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject * _resultobj;
12971 bool _result;
12972 wxGridSizeEvent * _arg0;
12973 PyObject * _argo0 = 0;
12974 char *_kwnames[] = { "self", NULL };
12975
12976 self = self;
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12978 return NULL;
12979 if (_argo0) {
12980 if (_argo0 == Py_None) { _arg0 = NULL; }
12981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12983 return NULL;
12984 }
12985 }
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12989
12990 wxPyEndAllowThreads(__tstate);
12991 if (PyErr_Occurred()) return NULL;
12992 } _resultobj = Py_BuildValue("i",_result);
12993 return _resultobj;
12994 }
12995
12996 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12997 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject * _resultobj;
12999 bool _result;
13000 wxGridSizeEvent * _arg0;
13001 PyObject * _argo0 = 0;
13002 char *_kwnames[] = { "self", NULL };
13003
13004 self = self;
13005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
13006 return NULL;
13007 if (_argo0) {
13008 if (_argo0 == Py_None) { _arg0 = NULL; }
13009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13011 return NULL;
13012 }
13013 }
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
13017
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) return NULL;
13020 } _resultobj = Py_BuildValue("i",_result);
13021 return _resultobj;
13022 }
13023
13024 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13025 wxGridRangeSelectEvent *src;
13026 wxNotifyEvent *dest;
13027 src = (wxGridRangeSelectEvent *) ptr;
13028 dest = (wxNotifyEvent *) src;
13029 return (void *) dest;
13030 }
13031
13032 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13033 wxGridRangeSelectEvent *src;
13034 wxCommandEvent *dest;
13035 src = (wxGridRangeSelectEvent *) ptr;
13036 dest = (wxCommandEvent *) src;
13037 return (void *) dest;
13038 }
13039
13040 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13041 wxGridRangeSelectEvent *src;
13042 wxEvent *dest;
13043 src = (wxGridRangeSelectEvent *) ptr;
13044 dest = (wxEvent *) src;
13045 return (void *) dest;
13046 }
13047
13048 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13049 wxGridRangeSelectEvent *src;
13050 wxObject *dest;
13051 src = (wxGridRangeSelectEvent *) ptr;
13052 dest = (wxObject *) src;
13053 return (void *) dest;
13054 }
13055
13056 #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))
13057 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject * _resultobj;
13059 wxGridRangeSelectEvent * _result;
13060 int _arg0;
13061 wxEventType _arg1;
13062 wxGrid * _arg2;
13063 wxGridCellCoords * _arg3;
13064 wxGridCellCoords * _arg4;
13065 bool _arg5 = (bool ) TRUE;
13066 bool _arg6 = (bool ) FALSE;
13067 bool _arg7 = (bool ) FALSE;
13068 bool _arg8 = (bool ) FALSE;
13069 bool _arg9 = (bool ) FALSE;
13070 PyObject * _argo2 = 0;
13071 wxGridCellCoords temp;
13072 PyObject * _obj3 = 0;
13073 wxGridCellCoords temp0;
13074 PyObject * _obj4 = 0;
13075 int tempbool5 = (int) TRUE;
13076 int tempbool6 = (int) FALSE;
13077 int tempbool7 = (int) FALSE;
13078 int tempbool8 = (int) FALSE;
13079 int tempbool9 = (int) FALSE;
13080 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13081 char _ptemp[128];
13082
13083 self = self;
13084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13085 return NULL;
13086 if (_argo2) {
13087 if (_argo2 == Py_None) { _arg2 = NULL; }
13088 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13089 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13090 return NULL;
13091 }
13092 }
13093 {
13094 _arg3 = &temp;
13095 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13096 return NULL;
13097 }
13098 {
13099 _arg4 = &temp0;
13100 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13101 return NULL;
13102 }
13103 _arg5 = (bool ) tempbool5;
13104 _arg6 = (bool ) tempbool6;
13105 _arg7 = (bool ) tempbool7;
13106 _arg8 = (bool ) tempbool8;
13107 _arg9 = (bool ) tempbool9;
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) return NULL;
13114 } if (_result) {
13115 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13116 _resultobj = Py_BuildValue("s",_ptemp);
13117 } else {
13118 Py_INCREF(Py_None);
13119 _resultobj = Py_None;
13120 }
13121 return _resultobj;
13122 }
13123
13124 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13125 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject * _resultobj;
13127 wxGridCellCoords * _result;
13128 wxGridRangeSelectEvent * _arg0;
13129 PyObject * _argo0 = 0;
13130 char *_kwnames[] = { "self", NULL };
13131 char _ptemp[128];
13132
13133 self = self;
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13135 return NULL;
13136 if (_argo0) {
13137 if (_argo0 == Py_None) { _arg0 = NULL; }
13138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13140 return NULL;
13141 }
13142 }
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13146
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) return NULL;
13149 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13150 _resultobj = Py_BuildValue("s",_ptemp);
13151 return _resultobj;
13152 }
13153
13154 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13155 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13156 PyObject * _resultobj;
13157 wxGridCellCoords * _result;
13158 wxGridRangeSelectEvent * _arg0;
13159 PyObject * _argo0 = 0;
13160 char *_kwnames[] = { "self", NULL };
13161 char _ptemp[128];
13162
13163 self = self;
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13165 return NULL;
13166 if (_argo0) {
13167 if (_argo0 == Py_None) { _arg0 = NULL; }
13168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13170 return NULL;
13171 }
13172 }
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) return NULL;
13179 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13180 _resultobj = Py_BuildValue("s",_ptemp);
13181 return _resultobj;
13182 }
13183
13184 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13185 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13186 PyObject * _resultobj;
13187 int _result;
13188 wxGridRangeSelectEvent * _arg0;
13189 PyObject * _argo0 = 0;
13190 char *_kwnames[] = { "self", NULL };
13191
13192 self = self;
13193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13194 return NULL;
13195 if (_argo0) {
13196 if (_argo0 == Py_None) { _arg0 = NULL; }
13197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13199 return NULL;
13200 }
13201 }
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) return NULL;
13208 } _resultobj = Py_BuildValue("i",_result);
13209 return _resultobj;
13210 }
13211
13212 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13213 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13214 PyObject * _resultobj;
13215 int _result;
13216 wxGridRangeSelectEvent * _arg0;
13217 PyObject * _argo0 = 0;
13218 char *_kwnames[] = { "self", NULL };
13219
13220 self = self;
13221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13222 return NULL;
13223 if (_argo0) {
13224 if (_argo0 == Py_None) { _arg0 = NULL; }
13225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13227 return NULL;
13228 }
13229 }
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) return NULL;
13236 } _resultobj = Py_BuildValue("i",_result);
13237 return _resultobj;
13238 }
13239
13240 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13241 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13242 PyObject * _resultobj;
13243 int _result;
13244 wxGridRangeSelectEvent * _arg0;
13245 PyObject * _argo0 = 0;
13246 char *_kwnames[] = { "self", NULL };
13247
13248 self = self;
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13250 return NULL;
13251 if (_argo0) {
13252 if (_argo0 == Py_None) { _arg0 = NULL; }
13253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13255 return NULL;
13256 }
13257 }
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13261
13262 wxPyEndAllowThreads(__tstate);
13263 if (PyErr_Occurred()) return NULL;
13264 } _resultobj = Py_BuildValue("i",_result);
13265 return _resultobj;
13266 }
13267
13268 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13269 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13270 PyObject * _resultobj;
13271 int _result;
13272 wxGridRangeSelectEvent * _arg0;
13273 PyObject * _argo0 = 0;
13274 char *_kwnames[] = { "self", NULL };
13275
13276 self = self;
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13278 return NULL;
13279 if (_argo0) {
13280 if (_argo0 == Py_None) { _arg0 = NULL; }
13281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13283 return NULL;
13284 }
13285 }
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) return NULL;
13292 } _resultobj = Py_BuildValue("i",_result);
13293 return _resultobj;
13294 }
13295
13296 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13297 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13298 PyObject * _resultobj;
13299 bool _result;
13300 wxGridRangeSelectEvent * _arg0;
13301 PyObject * _argo0 = 0;
13302 char *_kwnames[] = { "self", NULL };
13303
13304 self = self;
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13306 return NULL;
13307 if (_argo0) {
13308 if (_argo0 == Py_None) { _arg0 = NULL; }
13309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13311 return NULL;
13312 }
13313 }
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) return NULL;
13320 } _resultobj = Py_BuildValue("i",_result);
13321 return _resultobj;
13322 }
13323
13324 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13325 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject * _resultobj;
13327 bool _result;
13328 wxGridRangeSelectEvent * _arg0;
13329 PyObject * _argo0 = 0;
13330 char *_kwnames[] = { "self", NULL };
13331
13332 self = self;
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13334 return NULL;
13335 if (_argo0) {
13336 if (_argo0 == Py_None) { _arg0 = NULL; }
13337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13339 return NULL;
13340 }
13341 }
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) return NULL;
13348 } _resultobj = Py_BuildValue("i",_result);
13349 return _resultobj;
13350 }
13351
13352 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13353 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13354 PyObject * _resultobj;
13355 bool _result;
13356 wxGridRangeSelectEvent * _arg0;
13357 PyObject * _argo0 = 0;
13358 char *_kwnames[] = { "self", NULL };
13359
13360 self = self;
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13362 return NULL;
13363 if (_argo0) {
13364 if (_argo0 == Py_None) { _arg0 = NULL; }
13365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13367 return NULL;
13368 }
13369 }
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) return NULL;
13376 } _resultobj = Py_BuildValue("i",_result);
13377 return _resultobj;
13378 }
13379
13380 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13381 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject * _resultobj;
13383 bool _result;
13384 wxGridRangeSelectEvent * _arg0;
13385 PyObject * _argo0 = 0;
13386 char *_kwnames[] = { "self", NULL };
13387
13388 self = self;
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13390 return NULL;
13391 if (_argo0) {
13392 if (_argo0 == Py_None) { _arg0 = NULL; }
13393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13395 return NULL;
13396 }
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) return NULL;
13404 } _resultobj = Py_BuildValue("i",_result);
13405 return _resultobj;
13406 }
13407
13408 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13409 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13410 PyObject * _resultobj;
13411 bool _result;
13412 wxGridRangeSelectEvent * _arg0;
13413 PyObject * _argo0 = 0;
13414 char *_kwnames[] = { "self", NULL };
13415
13416 self = self;
13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13418 return NULL;
13419 if (_argo0) {
13420 if (_argo0 == Py_None) { _arg0 = NULL; }
13421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13423 return NULL;
13424 }
13425 }
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) return NULL;
13432 } _resultobj = Py_BuildValue("i",_result);
13433 return _resultobj;
13434 }
13435
13436 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13437 wxGridEditorCreatedEvent *src;
13438 wxCommandEvent *dest;
13439 src = (wxGridEditorCreatedEvent *) ptr;
13440 dest = (wxCommandEvent *) src;
13441 return (void *) dest;
13442 }
13443
13444 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13445 wxGridEditorCreatedEvent *src;
13446 wxEvent *dest;
13447 src = (wxGridEditorCreatedEvent *) ptr;
13448 dest = (wxEvent *) src;
13449 return (void *) dest;
13450 }
13451
13452 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13453 wxGridEditorCreatedEvent *src;
13454 wxObject *dest;
13455 src = (wxGridEditorCreatedEvent *) ptr;
13456 dest = (wxObject *) src;
13457 return (void *) dest;
13458 }
13459
13460 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13461 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject * _resultobj;
13463 wxGridEditorCreatedEvent * _result;
13464 int _arg0;
13465 wxEventType _arg1;
13466 wxObject * _arg2;
13467 int _arg3;
13468 int _arg4;
13469 wxControl * _arg5;
13470 PyObject * _argo2 = 0;
13471 PyObject * _argo5 = 0;
13472 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13473 char _ptemp[128];
13474
13475 self = self;
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13477 return NULL;
13478 if (_argo2) {
13479 if (_argo2 == Py_None) { _arg2 = NULL; }
13480 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13481 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13482 return NULL;
13483 }
13484 }
13485 if (_argo5) {
13486 if (_argo5 == Py_None) { _arg5 = NULL; }
13487 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13488 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13489 return NULL;
13490 }
13491 }
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) return NULL;
13498 } if (_result) {
13499 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13500 _resultobj = Py_BuildValue("s",_ptemp);
13501 } else {
13502 Py_INCREF(Py_None);
13503 _resultobj = Py_None;
13504 }
13505 return _resultobj;
13506 }
13507
13508 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13509 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13510 PyObject * _resultobj;
13511 int _result;
13512 wxGridEditorCreatedEvent * _arg0;
13513 PyObject * _argo0 = 0;
13514 char *_kwnames[] = { "self", NULL };
13515
13516 self = self;
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13518 return NULL;
13519 if (_argo0) {
13520 if (_argo0 == Py_None) { _arg0 = NULL; }
13521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13523 return NULL;
13524 }
13525 }
13526 {
13527 PyThreadState* __tstate = wxPyBeginAllowThreads();
13528 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
13529
13530 wxPyEndAllowThreads(__tstate);
13531 if (PyErr_Occurred()) return NULL;
13532 } _resultobj = Py_BuildValue("i",_result);
13533 return _resultobj;
13534 }
13535
13536 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13537 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject * _resultobj;
13539 int _result;
13540 wxGridEditorCreatedEvent * _arg0;
13541 PyObject * _argo0 = 0;
13542 char *_kwnames[] = { "self", NULL };
13543
13544 self = self;
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13546 return NULL;
13547 if (_argo0) {
13548 if (_argo0 == Py_None) { _arg0 = NULL; }
13549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13551 return NULL;
13552 }
13553 }
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) return NULL;
13560 } _resultobj = Py_BuildValue("i",_result);
13561 return _resultobj;
13562 }
13563
13564 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13565 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject * _resultobj;
13567 wxControl * _result;
13568 wxGridEditorCreatedEvent * _arg0;
13569 PyObject * _argo0 = 0;
13570 char *_kwnames[] = { "self", NULL };
13571
13572 self = self;
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13574 return NULL;
13575 if (_argo0) {
13576 if (_argo0 == Py_None) { _arg0 = NULL; }
13577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13579 return NULL;
13580 }
13581 }
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
13585
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) return NULL;
13588 }{ _resultobj = wxPyMake_wxObject(_result); }
13589 return _resultobj;
13590 }
13591
13592 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13593 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13594 PyObject * _resultobj;
13595 wxGridEditorCreatedEvent * _arg0;
13596 int _arg1;
13597 PyObject * _argo0 = 0;
13598 char *_kwnames[] = { "self","row", NULL };
13599
13600 self = self;
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13602 return NULL;
13603 if (_argo0) {
13604 if (_argo0 == Py_None) { _arg0 = NULL; }
13605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13607 return NULL;
13608 }
13609 }
13610 {
13611 PyThreadState* __tstate = wxPyBeginAllowThreads();
13612 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
13613
13614 wxPyEndAllowThreads(__tstate);
13615 if (PyErr_Occurred()) return NULL;
13616 } Py_INCREF(Py_None);
13617 _resultobj = Py_None;
13618 return _resultobj;
13619 }
13620
13621 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13622 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject * _resultobj;
13624 wxGridEditorCreatedEvent * _arg0;
13625 int _arg1;
13626 PyObject * _argo0 = 0;
13627 char *_kwnames[] = { "self","col", NULL };
13628
13629 self = self;
13630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13631 return NULL;
13632 if (_argo0) {
13633 if (_argo0 == Py_None) { _arg0 = NULL; }
13634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13636 return NULL;
13637 }
13638 }
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) return NULL;
13645 } Py_INCREF(Py_None);
13646 _resultobj = Py_None;
13647 return _resultobj;
13648 }
13649
13650 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13651 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject * _resultobj;
13653 wxGridEditorCreatedEvent * _arg0;
13654 wxControl * _arg1;
13655 PyObject * _argo0 = 0;
13656 PyObject * _argo1 = 0;
13657 char *_kwnames[] = { "self","ctrl", NULL };
13658
13659 self = self;
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13661 return NULL;
13662 if (_argo0) {
13663 if (_argo0 == Py_None) { _arg0 = NULL; }
13664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13666 return NULL;
13667 }
13668 }
13669 if (_argo1) {
13670 if (_argo1 == Py_None) { _arg1 = NULL; }
13671 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13672 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13673 return NULL;
13674 }
13675 }
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) return NULL;
13682 } Py_INCREF(Py_None);
13683 _resultobj = Py_None;
13684 return _resultobj;
13685 }
13686
13687 static PyMethodDef gridcMethods[] = {
13688 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13689 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13690 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13691 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13692 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13693 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13694 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
13695 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13696 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13697 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13698 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13699 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13700 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13701 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13702 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13703 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13704 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13705 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13706 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13707 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13708 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13709 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13710 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13711 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13712 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13713 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13714 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13715 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13716 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13717 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13718 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13719 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13720 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13721 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13722 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
13723 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13724 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13725 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13726 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
13727 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13728 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13729 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13730 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13731 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13732 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13733 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13734 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13735 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13736 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13737 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13738 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13739 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13740 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13741 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13742 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13743 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13744 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13745 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13746 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13747 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13748 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13749 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
13750 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13751 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
13752 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13753 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13754 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13755 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13756 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13757 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13758 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13759 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
13760 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13761 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13762 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13763 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13764 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13765 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
13766 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
13767 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
13768 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
13769 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
13770 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
13771 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
13772 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
13773 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13774 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
13775 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13776 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13777 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13778 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
13779 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13780 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13781 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13782 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13783 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13784 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
13785 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13786 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
13787 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13788 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
13789 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
13790 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
13791 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
13792 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
13793 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
13794 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13795 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13796 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
13797 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13798 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13799 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13800 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13801 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13802 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13803 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13804 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13805 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13806 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13807 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13808 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13809 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13810 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13811 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13812 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13813 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13814 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13815 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13816 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13817 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13818 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13819 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13820 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13821 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13822 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13823 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13824 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13825 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13826 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13827 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13828 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13829 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13830 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13831 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13832 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13833 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13834 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13835 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13836 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13837 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13838 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13839 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13840 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13841 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13842 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13843 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13844 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13845 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13846 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13847 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13848 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13849 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13850 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13851 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
13852 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
13853 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13854 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13855 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13856 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13857 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13858 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13859 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13860 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13861 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13862 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13863 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13864 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
13865 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
13866 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13867 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13868 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13869 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13870 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13871 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13872 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13873 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13874 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13875 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13876 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13877 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13878 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13879 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
13880 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
13881 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13882 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13883 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13884 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13885 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13886 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
13887 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
13888 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13889 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13890 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13891 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13892 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13893 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13894 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13895 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13896 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13897 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13898 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13899 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13900 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13901 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13902 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13903 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13904 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13905 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13906 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
13907 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13908 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13909 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13910 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13911 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13912 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13913 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13914 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13915 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13916 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13917 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13918 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13919 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13920 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13921 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13922 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13923 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13924 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13925 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13926 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
13927 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13928 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13929 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13930 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13931 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13932 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13933 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13934 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13935 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13936 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13937 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13938 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13939 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13940 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13944 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13945 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13946 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13947 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13948 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13949 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13956 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13958 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13959 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13960 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13961 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13962 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13963 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13964 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13965 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13966 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13967 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13968 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13969 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13970 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13972 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13973 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13974 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13975 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13976 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13977 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13978 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13979 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13980 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13981 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13982 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13983 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13984 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
13985 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13986 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13987 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13988 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13989 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13990 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13991 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
13992 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13993 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13994 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13995 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13996 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13997 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13998 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13999 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
14000 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
14001 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
14002 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
14003 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
14004 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
14005 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
14006 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
14007 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
14008 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
14009 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
14010 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
14011 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14012 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
14013 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14014 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
14015 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
14016 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14017 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14018 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14019 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
14020 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14021 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14022 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14023 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14024 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14025 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14026 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14027 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14028 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14029 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14030 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14031 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14032 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14033 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14034 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14035 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14036 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14037 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14038 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14039 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14040 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14041 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
14042 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
14043 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
14044 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14045 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14046 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14047 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14048 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14049 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14050 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14051 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14052 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14053 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14054 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14055 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14056 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14057 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14058 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14059 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14060 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14061 { NULL, NULL }
14062 };
14063 #ifdef __cplusplus
14064 }
14065 #endif
14066 /*
14067 * This table is used by the pointer type-checker
14068 */
14069 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
14070 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14071 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14072 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14073 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14074 { "_signed_long","_long",0},
14075 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
14076 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14077 { "_wxPrintQuality","_wxCoord",0},
14078 { "_wxPrintQuality","_int",0},
14079 { "_wxPrintQuality","_signed_int",0},
14080 { "_wxPrintQuality","_unsigned_int",0},
14081 { "_wxPrintQuality","_wxWindowID",0},
14082 { "_wxPrintQuality","_uint",0},
14083 { "_wxPrintQuality","_EBool",0},
14084 { "_wxPrintQuality","_size_t",0},
14085 { "_wxPrintQuality","_time_t",0},
14086 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14087 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14088 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14089 { "_byte","_unsigned_char",0},
14090 { "_long","_unsigned_long",0},
14091 { "_long","_signed_long",0},
14092 { "_size_t","_WXGRIDSELECTIONMODES",0},
14093 { "_size_t","_wxCoord",0},
14094 { "_size_t","_wxPrintQuality",0},
14095 { "_size_t","_time_t",0},
14096 { "_size_t","_unsigned_int",0},
14097 { "_size_t","_int",0},
14098 { "_size_t","_wxWindowID",0},
14099 { "_size_t","_uint",0},
14100 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14101 { "_uint","_WXGRIDSELECTIONMODES",0},
14102 { "_uint","_wxCoord",0},
14103 { "_uint","_wxPrintQuality",0},
14104 { "_uint","_time_t",0},
14105 { "_uint","_size_t",0},
14106 { "_uint","_unsigned_int",0},
14107 { "_uint","_int",0},
14108 { "_uint","_wxWindowID",0},
14109 { "_wxChar","_char",0},
14110 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14111 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14112 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14113 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14114 { "_char","_wxChar",0},
14115 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
14116 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
14117 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
14118 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14119 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14120 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14121 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14122 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14123 { "_EBool","_WXGRIDSELECTIONMODES",0},
14124 { "_EBool","_wxCoord",0},
14125 { "_EBool","_wxPrintQuality",0},
14126 { "_EBool","_signed_int",0},
14127 { "_EBool","_int",0},
14128 { "_EBool","_wxWindowID",0},
14129 { "_unsigned_long","_long",0},
14130 { "_WXGRIDSELECTIONMODES","_int",0},
14131 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14132 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14133 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14134 { "_WXGRIDSELECTIONMODES","_uint",0},
14135 { "_WXGRIDSELECTIONMODES","_EBool",0},
14136 { "_WXGRIDSELECTIONMODES","_size_t",0},
14137 { "_WXGRIDSELECTIONMODES","_time_t",0},
14138 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14139 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14140 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14141 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14142 { "_signed_int","_wxCoord",0},
14143 { "_signed_int","_wxPrintQuality",0},
14144 { "_signed_int","_EBool",0},
14145 { "_signed_int","_wxWindowID",0},
14146 { "_signed_int","_int",0},
14147 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
14148 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
14149 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14150 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14151 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14152 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14153 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14154 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14155 { "_WXTYPE","_short",0},
14156 { "_WXTYPE","_signed_short",0},
14157 { "_WXTYPE","_unsigned_short",0},
14158 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14159 { "_unsigned_short","_WXTYPE",0},
14160 { "_unsigned_short","_short",0},
14161 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14162 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14163 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14164 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14165 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14166 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14167 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14168 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14169 { "_signed_short","_WXTYPE",0},
14170 { "_signed_short","_short",0},
14171 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14172 { "_unsigned_char","_byte",0},
14173 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14174 { "_unsigned_int","_wxCoord",0},
14175 { "_unsigned_int","_wxPrintQuality",0},
14176 { "_unsigned_int","_time_t",0},
14177 { "_unsigned_int","_size_t",0},
14178 { "_unsigned_int","_uint",0},
14179 { "_unsigned_int","_wxWindowID",0},
14180 { "_unsigned_int","_int",0},
14181 { "_short","_WXTYPE",0},
14182 { "_short","_unsigned_short",0},
14183 { "_short","_signed_short",0},
14184 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14185 { "_wxWindowID","_wxCoord",0},
14186 { "_wxWindowID","_wxPrintQuality",0},
14187 { "_wxWindowID","_time_t",0},
14188 { "_wxWindowID","_size_t",0},
14189 { "_wxWindowID","_EBool",0},
14190 { "_wxWindowID","_uint",0},
14191 { "_wxWindowID","_int",0},
14192 { "_wxWindowID","_signed_int",0},
14193 { "_wxWindowID","_unsigned_int",0},
14194 { "_int","_WXGRIDSELECTIONMODES",0},
14195 { "_int","_wxCoord",0},
14196 { "_int","_wxPrintQuality",0},
14197 { "_int","_time_t",0},
14198 { "_int","_size_t",0},
14199 { "_int","_EBool",0},
14200 { "_int","_uint",0},
14201 { "_int","_wxWindowID",0},
14202 { "_int","_unsigned_int",0},
14203 { "_int","_signed_int",0},
14204 { "_time_t","_WXGRIDSELECTIONMODES",0},
14205 { "_time_t","_wxCoord",0},
14206 { "_time_t","_wxPrintQuality",0},
14207 { "_time_t","_unsigned_int",0},
14208 { "_time_t","_int",0},
14209 { "_time_t","_wxWindowID",0},
14210 { "_time_t","_uint",0},
14211 { "_time_t","_size_t",0},
14212 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14213 { "_wxCoord","_int",0},
14214 { "_wxCoord","_signed_int",0},
14215 { "_wxCoord","_unsigned_int",0},
14216 { "_wxCoord","_wxWindowID",0},
14217 { "_wxCoord","_uint",0},
14218 { "_wxCoord","_EBool",0},
14219 { "_wxCoord","_size_t",0},
14220 { "_wxCoord","_time_t",0},
14221 { "_wxCoord","_wxPrintQuality",0},
14222 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
14223 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
14224 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
14225 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14226 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14227 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14228 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14229 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14230 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
14231 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14232 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14233 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14234 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14235 {0,0,0}};
14236
14237 static PyObject *SWIG_globals;
14238 #ifdef __cplusplus
14239 extern "C"
14240 #endif
14241 SWIGEXPORT(void) initgridc() {
14242 PyObject *m, *d;
14243 SWIG_globals = SWIG_newvarlink();
14244 m = Py_InitModule("gridc", gridcMethods);
14245 d = PyModule_GetDict(m);
14246 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14247 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14248 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14249 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14250 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14251 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14252 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14253 PyDict_SetItemString(d,"cvar", SWIG_globals);
14254 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14255 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14256 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14257 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14258 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14259 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14260 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14261 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14262 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14263 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14264 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14265 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14266 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14267 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14268 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14269 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14270 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14271 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14272 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14273 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14274 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14275 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14276 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14277 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14278 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
14279 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
14280
14281 wxClassInfo::CleanUpClasses();
14282 wxClassInfo::InitializeClasses();
14283 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14284 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14285 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14286 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14287 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14288 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
14289 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14290 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14291 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14292 {
14293 int i;
14294 for (i = 0; _swig_mapping[i].n1; i++)
14295 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14296 }
14297 }