]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.cpp
SWIGged updates for wxGTK
[wxWidgets.git] / wxPython / src / gtk / grid.cpp
1 /*
2 * FILE : src/gtk/grid.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #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 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr);
91
92 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
93 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
94 wxGridCellAttr* rval = NULL; \
95 bool found; \
96 wxPyBeginBlockThreads(); \
97 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
98 PyObject* ro; \
99 wxGridCellAttr* ptr; \
100 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
101 if (ro) { \
102 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
103 rval = ptr; \
104 Py_DECREF(ro); \
105 } \
106 } \
107 wxPyEndBlockThreads(); \
108 if (! found) \
109 rval = PCLASS::CBNAME(a, b, c); \
110 return rval; \
111 } \
112 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
113 return PCLASS::CBNAME(a, b, c); \
114 }
115
116
117
118 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
119 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
120 wxPyBeginBlockThreads(); \
121 bool found; \
122 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
123 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
124 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
125 Py_DECREF(obj); \
126 } \
127 wxPyEndBlockThreads(); \
128 if (! found) \
129 PCLASS::CBNAME(attr, a, b); \
130 } \
131 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
132 PCLASS::CBNAME(attr, a, b); \
133 }
134
135
136
137 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
138 void CBNAME(wxGridCellAttr *attr, int val) { \
139 wxPyBeginBlockThreads(); \
140 bool found; \
141 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
142 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
144 Py_DECREF(obj); \
145 } \
146 wxPyEndBlockThreads(); \
147 if (! found) \
148 PCLASS::CBNAME(attr, val); \
149 } \
150 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
151 PCLASS::CBNAME(attr, val); \
152 }
153
154
155
156 #define PYCALLBACK_INT__pure(CBNAME) \
157 int CBNAME() { \
158 wxPyBeginBlockThreads(); \
159 int rval = 0; \
160 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
161 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
162 wxPyEndBlockThreads(); \
163 return rval; \
164 }
165
166
167
168 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
169 bool CBNAME(int a, int b) { \
170 wxPyBeginBlockThreads(); \
171 bool rval = 0; \
172 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
173 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
174 wxPyEndBlockThreads(); \
175 return rval; \
176 }
177
178
179 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
180 wxString CBNAME(int a, int b) { \
181 wxPyBeginBlockThreads(); \
182 wxString rval; \
183 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
184 PyObject* ro; \
185 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
186 if (ro) { \
187 rval = Py2wxString(ro); \
188 Py_DECREF(ro); \
189 } \
190 } \
191 wxPyEndBlockThreads(); \
192 return rval; \
193 }
194
195
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("(iiO)",a,b,wx2PyString(c)));\
201 wxPyEndBlockThreads(); \
202 }
203
204
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 rval = Py2wxString(ro); \
215 Py_DECREF(ro); \
216 } \
217 } \
218 wxPyEndBlockThreads(); \
219 if (! found) \
220 rval = PCLASS::CBNAME(a, b); \
221 return rval; \
222 } \
223 wxString base_##CBNAME(int a, int b) { \
224 return PCLASS::CBNAME(a, b); \
225 }
226
227
228 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
229 bool CBNAME(int a, int b, const wxString& c) { \
230 bool rval = 0; \
231 bool found; \
232 wxPyBeginBlockThreads(); \
233 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
234 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", a,b,wx2PyString(c)));\
235 wxPyEndBlockThreads(); \
236 if (! found) \
237 rval = PCLASS::CBNAME(a,b,c); \
238 return rval; \
239 } \
240 bool base_##CBNAME(int a, int b, const wxString& c) { \
241 return PCLASS::CBNAME(a,b,c); \
242 }
243
244
245
246
247 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
248 long CBNAME(int a, int b) { \
249 long rval; \
250 bool found; \
251 wxPyBeginBlockThreads(); \
252 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
253 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
254 wxPyEndBlockThreads(); \
255 if (! found) \
256 rval = PCLASS::CBNAME(a,b); \
257 return rval; \
258 } \
259 long base_##CBNAME(int a, int b) { \
260 return PCLASS::CBNAME(a,b); \
261 }
262
263
264
265 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b) { \
267 bool rval = 0; \
268 bool found; \
269 wxPyBeginBlockThreads(); \
270 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
271 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
272 wxPyEndBlockThreads(); \
273 if (! found) \
274 rval = PCLASS::CBNAME(a,b); \
275 return rval; \
276 } \
277 bool base_##CBNAME(int a, int b) { \
278 return PCLASS::CBNAME(a,b); \
279 }
280
281
282
283 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
284 double CBNAME(int a, int b) { \
285 bool found; \
286 wxPyBeginBlockThreads(); \
287 double rval; \
288 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
289 PyObject* ro; \
290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
291 if (ro) { \
292 PyObject* str = PyObject_Str(ro); \
293 rval = PyFloat_AsDouble(str); \
294 Py_DECREF(ro); Py_DECREF(str); \
295 } \
296 } \
297 wxPyEndBlockThreads(); \
298 if (! found) \
299 rval = PCLASS::CBNAME(a, b); \
300 return rval; \
301 } \
302 double base_##CBNAME(int a, int b) { \
303 return PCLASS::CBNAME(a, b); \
304 }
305
306
307
308 #define PYCALLBACK__(PCLASS, CBNAME) \
309 void CBNAME() { \
310 bool found; \
311 wxPyBeginBlockThreads(); \
312 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
313 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
314 wxPyEndBlockThreads(); \
315 if (! found) \
316 PCLASS::CBNAME(); \
317 } \
318 void base_##CBNAME() { \
319 PCLASS::CBNAME(); \
320 }
321
322
323
324
325 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
326 bool CBNAME(size_t a, size_t b) { \
327 bool rval = 0; \
328 bool found; \
329 wxPyBeginBlockThreads(); \
330 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
331 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
332 wxPyEndBlockThreads(); \
333 if (! found) \
334 rval = PCLASS::CBNAME(a,b); \
335 return rval; \
336 } \
337 bool base_##CBNAME(size_t a, size_t b) { \
338 return PCLASS::CBNAME(a,b); \
339 }
340
341
342
343 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
344 bool CBNAME(size_t a) { \
345 bool rval = 0; \
346 bool found; \
347 wxPyBeginBlockThreads(); \
348 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
349 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
350 wxPyEndBlockThreads(); \
351 if (! found) \
352 rval = PCLASS::CBNAME(a); \
353 return rval; \
354 } \
355 bool base_##CBNAME(size_t a) { \
356 return PCLASS::CBNAME(a); \
357 }
358
359
360 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
361 wxString CBNAME(int a) { \
362 bool found; \
363 wxPyBeginBlockThreads(); \
364 wxString rval; \
365 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
366 PyObject* ro; \
367 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
368 if (ro) { \
369 rval = Py2wxString(ro); \
370 Py_DECREF(ro); \
371 } \
372 } \
373 wxPyEndBlockThreads(); \
374 if (! found) \
375 rval = PCLASS::CBNAME(a); \
376 return rval; \
377 } \
378 wxString base_##CBNAME(int a) { \
379 return PCLASS::CBNAME(a); \
380 }
381
382
383 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
384 void CBNAME(int a, const wxString& c) { \
385 bool found; \
386 wxPyBeginBlockThreads(); \
387 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
388 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", a, wx2PyString(c))); \
389 wxPyEndBlockThreads(); \
390 if (! found) \
391 PCLASS::CBNAME(a,c); \
392 } \
393 void base_##CBNAME(int a, const wxString& c) { \
394 PCLASS::CBNAME(a,c); \
395 }
396
397
398
399
400 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
401 bool CBNAME() { \
402 bool rval = 0; \
403 bool found; \
404 wxPyBeginBlockThreads(); \
405 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
406 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
407 wxPyEndBlockThreads(); \
408 if (! found) \
409 rval = PCLASS::CBNAME(); \
410 return rval; \
411 } \
412 bool base_##CBNAME() { \
413 return PCLASS::CBNAME(); \
414 }
415
416
417
418 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
419 void CBNAME(size_t a, int b) { \
420 bool found; \
421 wxPyBeginBlockThreads(); \
422 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
423 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
424 wxPyEndBlockThreads(); \
425 if (! found) \
426 PCLASS::CBNAME(a,b); \
427 } \
428 void base_##CBNAME(size_t a, int b) { \
429 PCLASS::CBNAME(a,b); \
430 }
431
432
433
434
435 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
436 void CBNAME(int a, int b, long c) { \
437 bool found; \
438 wxPyBeginBlockThreads(); \
439 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
440 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
441 wxPyEndBlockThreads(); \
442 if (! found) \
443 PCLASS::CBNAME(a,b,c); \
444 } \
445 void base_##CBNAME(int a, int b, long c) { \
446 PCLASS::CBNAME(a,b,c); \
447 }
448
449
450
451
452 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
453 void CBNAME(int a, int b, double c) { \
454 bool found; \
455 wxPyBeginBlockThreads(); \
456 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
457 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
458 wxPyEndBlockThreads(); \
459 if (! found) \
460 PCLASS::CBNAME(a,b,c); \
461 } \
462 void base_##CBNAME(int a, int b, double c) { \
463 PCLASS::CBNAME(a,b,c); \
464 }
465
466
467
468 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
469 void CBNAME(int a, int b, bool c) { \
470 bool found; \
471 wxPyBeginBlockThreads(); \
472 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
473 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
474 wxPyEndBlockThreads(); \
475 if (! found) \
476 PCLASS::CBNAME(a,b,c); \
477 } \
478 void base_##CBNAME(int a, int b, bool c) { \
479 PCLASS::CBNAME(a,b,c); \
480 }
481
482
483
484
485
486 class wxPyGridCellRenderer : public wxGridCellRenderer
487 {
488 public:
489 wxPyGridCellRenderer() : wxGridCellRenderer() {};
490
491 // Implement Python callback aware virtual methods
492 void Draw(wxGrid& grid, wxGridCellAttr& attr,
493 wxDC& dc, const wxRect& rect,
494 int row, int col, bool isSelected) {
495 wxPyBeginBlockThreads();
496 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
497 wxPyCBH_callCallback(m_myInst,
498 Py_BuildValue("(OOOOiii)",
499 wxPyConstructObject((void*)&grid, "wxGrid", 0),
500 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
501 wxPyConstructObject((void*)&dc, "wxDC", 0),
502 wxPyConstructObject((void*)&rect, "wxRect", 0),
503 row, col, isSelected));
504 }
505 wxPyEndBlockThreads();
506 }
507
508 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
509 int row, int col) {
510 wxSize rval;
511 wxPyBeginBlockThreads();
512 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
513 PyObject* ro;
514 wxSize* ptr;
515 ro = wxPyCBH_callCallbackObj(m_myInst,
516 Py_BuildValue("(OOOii)",
517 wxPyConstructObject((void*)&grid, "wxGrid", 0),
518 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
519 wxPyConstructObject((void*)&dc, "wxDC", 0),
520 row, col));
521 if (ro) {
522 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p"))
523 rval = *ptr;
524 Py_DECREF(ro);
525 }
526 }
527 wxPyEndBlockThreads();
528 return rval;
529 }
530
531
532 wxGridCellRenderer *Clone() const {
533 wxGridCellRenderer* rval = NULL;
534 wxPyBeginBlockThreads();
535 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
536 PyObject* ro;
537 wxGridCellRenderer* ptr;
538 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
539 if (ro) {
540 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
541 rval = ptr;
542 Py_DECREF(ro);
543 }
544 }
545 wxPyEndBlockThreads();
546 return rval;
547 }
548
549 DEC_PYCALLBACK__STRING(SetParameters);
550
551 PYPRIVATE;
552 };
553
554 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
555
556
557 class wxPyGridCellEditor : public wxGridCellEditor
558 {
559 public:
560 wxPyGridCellEditor() : wxGridCellEditor() {}
561
562 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
563 wxPyBeginBlockThreads();
564 if (wxPyCBH_findCallback(m_myInst, "Create")) {
565 wxPyCBH_callCallback(m_myInst,
566 Py_BuildValue("(OiO)",
567 wxPyConstructObject((void*)parent, "wxWindow", 0),
568 id,
569 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
570 }
571 wxPyEndBlockThreads();
572 }
573
574
575 void BeginEdit(int row, int col, wxGrid* grid) {
576 wxPyBeginBlockThreads();
577 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
578 wxPyCBH_callCallback(m_myInst,
579 Py_BuildValue("(iiO)", row, col,
580 wxPyConstructObject((void*)grid, "wxGrid", 0)));
581 }
582 wxPyEndBlockThreads();
583 }
584
585
586 bool EndEdit(int row, int col, wxGrid* grid) {
587 bool rv = FALSE;
588 wxPyBeginBlockThreads();
589 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
590 rv = wxPyCBH_callCallback(m_myInst,
591 Py_BuildValue("(iiO)", row, col,
592 wxPyConstructObject((void*)grid, "wxGrid", 0)));
593 }
594 wxPyEndBlockThreads();
595 return rv;
596 }
597
598
599 wxGridCellEditor*Clone() const {
600 wxGridCellEditor* rval = NULL;
601 wxPyBeginBlockThreads();
602 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
603 PyObject* ro;
604 wxGridCellEditor* ptr;
605 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
606 if (ro) {
607 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
608 rval = ptr;
609 Py_DECREF(ro);
610 }
611 }
612 wxPyEndBlockThreads();
613 return rval;
614 }
615
616
617 void Show(bool show, wxGridCellAttr *attr) {
618 bool found;
619 wxPyBeginBlockThreads();
620 if ((found = wxPyCBH_findCallback(m_myInst, "Show")))
621 wxPyCBH_callCallback(m_myInst,
622 Py_BuildValue("(iO)", show,
623 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
624 wxPyEndBlockThreads();
625 if (! found)
626 wxGridCellEditor::Show(show, attr);
627 }
628 void base_Show(bool show, wxGridCellAttr *attr) {
629 wxGridCellEditor::Show(show, attr);
630 }
631
632
633 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
634 bool found; \
635 wxPyBeginBlockThreads();
636 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)")))
637 wxPyCBH_callCallback(m_myInst,
638 Py_BuildValue("(OO)",
639 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
640 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
641 wxPyEndBlockThreads();
642 if (! found)
643 wxGridCellEditor::PaintBackground(rectCell, attr);
644 }
645 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
646 wxGridCellEditor::PaintBackground(rectCell, attr);
647 }
648
649
650 DEC_PYCALLBACK___pure(Reset);
651 DEC_PYCALLBACK__constany(SetSize, wxRect);
652 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
653 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
654 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
655 DEC_PYCALLBACK__(StartingClick);
656 DEC_PYCALLBACK__(Destroy);
657 DEC_PYCALLBACK__STRING(SetParameters);
658
659 PYPRIVATE;
660 };
661
662
663 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
664 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
665 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
666 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
667 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
668 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
669 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
670 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
671
672
673 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
674 {
675 public:
676 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
677
678 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
679 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
680 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
681 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
682
683 PYPRIVATE;
684 };
685
686 class wxPyGridTableBase : public wxGridTableBase
687 {
688 public:
689 wxPyGridTableBase() : wxGridTableBase() {}
690
691 PYCALLBACK_INT__pure(GetNumberRows);
692 PYCALLBACK_INT__pure(GetNumberCols);
693 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
694 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
695 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
696 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
697 PYCALLBACK__(wxGridTableBase, Clear);
698 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
699 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
700 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
701 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
702 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
703 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
704 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
705 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
706 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
707 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
708 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
709 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
710 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
711 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
712 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
713
714
715 wxString GetValue(int row, int col) {
716 wxPyBeginBlockThreads();
717 wxString rval;
718 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
719 PyObject* ro;
720 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
721 if (ro) {
722 rval = Py2wxString(ro);
723 Py_DECREF(ro);
724 }
725 }
726 wxPyEndBlockThreads();
727 return rval;
728 }
729
730 void SetValue(int row, int col, const wxString& val) {
731 wxPyBeginBlockThreads();
732 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
733 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,wx2PyString(val)));
734 }
735 wxPyEndBlockThreads();
736 }
737
738
739 // Map the Get/Set methods for the standard non-string types to
740 // the GetValue and SetValue python methods.
741 long GetValueAsLong( int row, int col ) {
742 long rval = 0;
743 wxPyBeginBlockThreads();
744 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
745 PyObject* ro;
746 PyObject* num;
747 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
748 if (ro && PyNumber_Check(ro)) {
749 num = PyNumber_Int(ro);
750 if (num) {
751 rval = PyInt_AsLong(num);
752 Py_DECREF(num);
753 }
754 Py_DECREF(ro);
755 }
756 }
757 wxPyEndBlockThreads();
758 return rval;
759 }
760
761 double GetValueAsDouble( int row, int col ) {
762 double rval = 0.0;
763 wxPyBeginBlockThreads();
764 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
765 PyObject* ro;
766 PyObject* num;
767 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
768 if (ro && PyNumber_Check(ro)) {
769 num = PyNumber_Float(ro);
770 if (num) {
771 rval = PyFloat_AsDouble(num);
772 Py_DECREF(num);
773 }
774 Py_DECREF(ro);
775 }
776 }
777 wxPyEndBlockThreads();
778 return rval;
779 }
780
781 bool GetValueAsBool( int row, int col ) {
782 return (bool)GetValueAsLong(row, col);
783 }
784
785 void SetValueAsLong( int row, int col, long value ) {
786 wxPyBeginBlockThreads();
787 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
788 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
789 }
790 wxPyEndBlockThreads();
791 }
792
793 void SetValueAsDouble( int row, int col, double value ) {
794 wxPyBeginBlockThreads();
795 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
796 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
797 }
798 wxPyEndBlockThreads();
799 }
800
801 void SetValueAsBool( int row, int col, bool value ) {
802 SetValueAsLong( row, col, (long)value );
803 }
804
805
806 PYPRIVATE;
807 };
808
809 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
810
811 // If source is an object instance then it may already be the right type
812 if (PyInstance_Check(source)) {
813 wxGridCellCoords* ptr;
814 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
815 goto error;
816 *obj = ptr;
817 return TRUE;
818 }
819 // otherwise a 2-tuple of integers is expected
820 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
821 PyObject* o1 = PySequence_GetItem(source, 0);
822 PyObject* o2 = PySequence_GetItem(source, 1);
823 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
824 return TRUE;
825 }
826
827 error:
828 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
829 return FALSE;
830 }
831
832 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
833 #ifdef __cplusplus
834 extern "C" {
835 #endif
836 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
837
838 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
839 return 1;
840 }
841
842 static PyObject *_wrap_wxGridNoCellCoords_get() {
843 PyObject * pyobj;
844 char ptemp[128];
845
846 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
847 pyobj = PyString_FromString(ptemp);
848 return pyobj;
849 }
850
851 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
852
853 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
854 return 1;
855 }
856
857 static PyObject *_wrap_wxGridNoCellRect_get() {
858 PyObject * pyobj;
859 char ptemp[128];
860
861 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
862 pyobj = PyString_FromString(ptemp);
863 return pyobj;
864 }
865
866 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
867 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
868 PyObject * _resultobj;
869 wxGridCellRenderer * _arg0;
870 wxString * _arg1;
871 PyObject * _argo0 = 0;
872 PyObject * _obj1 = 0;
873 char *_kwnames[] = { "self","params", NULL };
874
875 self = self;
876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
877 return NULL;
878 if (_argo0) {
879 if (_argo0 == Py_None) { _arg0 = NULL; }
880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
882 return NULL;
883 }
884 }
885 {
886 _arg1 = wxString_in_helper(_obj1);
887 if (_arg1 == NULL)
888 return NULL;
889 }
890 {
891 PyThreadState* __tstate = wxPyBeginAllowThreads();
892 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
893
894 wxPyEndAllowThreads(__tstate);
895 if (PyErr_Occurred()) return NULL;
896 } Py_INCREF(Py_None);
897 _resultobj = Py_None;
898 {
899 if (_obj1)
900 delete _arg1;
901 }
902 return _resultobj;
903 }
904
905 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
906 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
907 PyObject * _resultobj;
908 wxGridCellRenderer * _arg0;
909 PyObject * _argo0 = 0;
910 char *_kwnames[] = { "self", NULL };
911
912 self = self;
913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
914 return NULL;
915 if (_argo0) {
916 if (_argo0 == Py_None) { _arg0 = NULL; }
917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
919 return NULL;
920 }
921 }
922 {
923 PyThreadState* __tstate = wxPyBeginAllowThreads();
924 wxGridCellRenderer_IncRef(_arg0);
925
926 wxPyEndAllowThreads(__tstate);
927 if (PyErr_Occurred()) return NULL;
928 } Py_INCREF(Py_None);
929 _resultobj = Py_None;
930 return _resultobj;
931 }
932
933 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
934 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
935 PyObject * _resultobj;
936 wxGridCellRenderer * _arg0;
937 PyObject * _argo0 = 0;
938 char *_kwnames[] = { "self", NULL };
939
940 self = self;
941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
942 return NULL;
943 if (_argo0) {
944 if (_argo0 == Py_None) { _arg0 = NULL; }
945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
947 return NULL;
948 }
949 }
950 {
951 PyThreadState* __tstate = wxPyBeginAllowThreads();
952 wxGridCellRenderer_DecRef(_arg0);
953
954 wxPyEndAllowThreads(__tstate);
955 if (PyErr_Occurred()) return NULL;
956 } Py_INCREF(Py_None);
957 _resultobj = Py_None;
958 return _resultobj;
959 }
960
961 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
962 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
963 PyObject * _resultobj;
964 wxGridCellRenderer * _arg0;
965 wxGrid * _arg1;
966 wxGridCellAttr * _arg2;
967 wxDC * _arg3;
968 wxRect * _arg4;
969 int _arg5;
970 int _arg6;
971 bool _arg7;
972 PyObject * _argo0 = 0;
973 PyObject * _argo1 = 0;
974 PyObject * _argo2 = 0;
975 PyObject * _argo3 = 0;
976 wxRect temp;
977 PyObject * _obj4 = 0;
978 int tempbool7;
979 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
980
981 self = self;
982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
983 return NULL;
984 if (_argo0) {
985 if (_argo0 == Py_None) { _arg0 = NULL; }
986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
988 return NULL;
989 }
990 }
991 if (_argo1) {
992 if (_argo1 == Py_None) { _arg1 = NULL; }
993 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
994 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
995 return NULL;
996 }
997 }
998 if (_argo2) {
999 if (_argo2 == Py_None) { _arg2 = NULL; }
1000 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1001 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1002 return NULL;
1003 }
1004 }
1005 if (_argo3) {
1006 if (_argo3 == Py_None) { _arg3 = NULL; }
1007 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1008 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1009 return NULL;
1010 }
1011 }
1012 {
1013 _arg4 = &temp;
1014 if (! wxRect_helper(_obj4, &_arg4))
1015 return NULL;
1016 }
1017 _arg7 = (bool ) tempbool7;
1018 {
1019 PyThreadState* __tstate = wxPyBeginAllowThreads();
1020 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1021
1022 wxPyEndAllowThreads(__tstate);
1023 if (PyErr_Occurred()) return NULL;
1024 } Py_INCREF(Py_None);
1025 _resultobj = Py_None;
1026 return _resultobj;
1027 }
1028
1029 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1030 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1031 PyObject * _resultobj;
1032 wxSize * _result;
1033 wxGridCellRenderer * _arg0;
1034 wxGrid * _arg1;
1035 wxGridCellAttr * _arg2;
1036 wxDC * _arg3;
1037 int _arg4;
1038 int _arg5;
1039 PyObject * _argo0 = 0;
1040 PyObject * _argo1 = 0;
1041 PyObject * _argo2 = 0;
1042 PyObject * _argo3 = 0;
1043 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1044 char _ptemp[128];
1045
1046 self = self;
1047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1048 return NULL;
1049 if (_argo0) {
1050 if (_argo0 == Py_None) { _arg0 = NULL; }
1051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1053 return NULL;
1054 }
1055 }
1056 if (_argo1) {
1057 if (_argo1 == Py_None) { _arg1 = NULL; }
1058 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1059 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1060 return NULL;
1061 }
1062 }
1063 if (_argo2) {
1064 if (_argo2 == Py_None) { _arg2 = NULL; }
1065 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1066 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1067 return NULL;
1068 }
1069 }
1070 if (_argo3) {
1071 if (_argo3 == Py_None) { _arg3 = NULL; }
1072 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1073 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1074 return NULL;
1075 }
1076 }
1077 {
1078 PyThreadState* __tstate = wxPyBeginAllowThreads();
1079 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1080
1081 wxPyEndAllowThreads(__tstate);
1082 if (PyErr_Occurred()) return NULL;
1083 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1084 _resultobj = Py_BuildValue("s",_ptemp);
1085 return _resultobj;
1086 }
1087
1088 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1089 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1090 PyObject * _resultobj;
1091 wxGridCellRenderer * _result;
1092 wxGridCellRenderer * _arg0;
1093 PyObject * _argo0 = 0;
1094 char *_kwnames[] = { "self", NULL };
1095 char _ptemp[128];
1096
1097 self = self;
1098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1099 return NULL;
1100 if (_argo0) {
1101 if (_argo0 == Py_None) { _arg0 = NULL; }
1102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1104 return NULL;
1105 }
1106 }
1107 {
1108 PyThreadState* __tstate = wxPyBeginAllowThreads();
1109 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1110
1111 wxPyEndAllowThreads(__tstate);
1112 if (PyErr_Occurred()) return NULL;
1113 } if (_result) {
1114 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
1115 _resultobj = Py_BuildValue("s",_ptemp);
1116 } else {
1117 Py_INCREF(Py_None);
1118 _resultobj = Py_None;
1119 }
1120 return _resultobj;
1121 }
1122
1123 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1124 wxPyGridCellRenderer *src;
1125 wxGridCellRenderer *dest;
1126 src = (wxPyGridCellRenderer *) ptr;
1127 dest = (wxGridCellRenderer *) src;
1128 return (void *) dest;
1129 }
1130
1131 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1132 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject * _resultobj;
1134 wxPyGridCellRenderer * _result;
1135 char *_kwnames[] = { NULL };
1136 char _ptemp[128];
1137
1138 self = self;
1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1140 return NULL;
1141 {
1142 PyThreadState* __tstate = wxPyBeginAllowThreads();
1143 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1144
1145 wxPyEndAllowThreads(__tstate);
1146 if (PyErr_Occurred()) return NULL;
1147 } if (_result) {
1148 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1149 _resultobj = Py_BuildValue("s",_ptemp);
1150 } else {
1151 Py_INCREF(Py_None);
1152 _resultobj = Py_None;
1153 }
1154 return _resultobj;
1155 }
1156
1157 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1158 static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1159 PyObject * _resultobj;
1160 wxPyGridCellRenderer * _arg0;
1161 PyObject * _arg1;
1162 PyObject * _arg2;
1163 PyObject * _argo0 = 0;
1164 PyObject * _obj1 = 0;
1165 PyObject * _obj2 = 0;
1166 char *_kwnames[] = { "self","self","_class", NULL };
1167
1168 self = self;
1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1170 return NULL;
1171 if (_argo0) {
1172 if (_argo0 == Py_None) { _arg0 = NULL; }
1173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1175 return NULL;
1176 }
1177 }
1178 {
1179 _arg1 = _obj1;
1180 }
1181 {
1182 _arg2 = _obj2;
1183 }
1184 {
1185 PyThreadState* __tstate = wxPyBeginAllowThreads();
1186 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1187
1188 wxPyEndAllowThreads(__tstate);
1189 if (PyErr_Occurred()) return NULL;
1190 } Py_INCREF(Py_None);
1191 _resultobj = Py_None;
1192 return _resultobj;
1193 }
1194
1195 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1196 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1197 PyObject * _resultobj;
1198 wxPyGridCellRenderer * _arg0;
1199 wxString * _arg1;
1200 PyObject * _argo0 = 0;
1201 PyObject * _obj1 = 0;
1202 char *_kwnames[] = { "self","params", NULL };
1203
1204 self = self;
1205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1206 return NULL;
1207 if (_argo0) {
1208 if (_argo0 == Py_None) { _arg0 = NULL; }
1209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1211 return NULL;
1212 }
1213 }
1214 {
1215 _arg1 = wxString_in_helper(_obj1);
1216 if (_arg1 == NULL)
1217 return NULL;
1218 }
1219 {
1220 PyThreadState* __tstate = wxPyBeginAllowThreads();
1221 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1222
1223 wxPyEndAllowThreads(__tstate);
1224 if (PyErr_Occurred()) return NULL;
1225 } Py_INCREF(Py_None);
1226 _resultobj = Py_None;
1227 {
1228 if (_obj1)
1229 delete _arg1;
1230 }
1231 return _resultobj;
1232 }
1233
1234 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1235 wxGridCellStringRenderer *src;
1236 wxGridCellRenderer *dest;
1237 src = (wxGridCellStringRenderer *) ptr;
1238 dest = (wxGridCellRenderer *) src;
1239 return (void *) dest;
1240 }
1241
1242 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1243 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject * _resultobj;
1245 wxGridCellStringRenderer * _result;
1246 char *_kwnames[] = { NULL };
1247 char _ptemp[128];
1248
1249 self = self;
1250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1251 return NULL;
1252 {
1253 PyThreadState* __tstate = wxPyBeginAllowThreads();
1254 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1255
1256 wxPyEndAllowThreads(__tstate);
1257 if (PyErr_Occurred()) return NULL;
1258 } if (_result) {
1259 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1260 _resultobj = Py_BuildValue("s",_ptemp);
1261 } else {
1262 Py_INCREF(Py_None);
1263 _resultobj = Py_None;
1264 }
1265 return _resultobj;
1266 }
1267
1268 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1269 wxGridCellNumberRenderer *src;
1270 wxGridCellStringRenderer *dest;
1271 src = (wxGridCellNumberRenderer *) ptr;
1272 dest = (wxGridCellStringRenderer *) src;
1273 return (void *) dest;
1274 }
1275
1276 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1277 wxGridCellNumberRenderer *src;
1278 wxGridCellRenderer *dest;
1279 src = (wxGridCellNumberRenderer *) ptr;
1280 dest = (wxGridCellRenderer *) src;
1281 return (void *) dest;
1282 }
1283
1284 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1285 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject * _resultobj;
1287 wxGridCellNumberRenderer * _result;
1288 char *_kwnames[] = { NULL };
1289 char _ptemp[128];
1290
1291 self = self;
1292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1293 return NULL;
1294 {
1295 PyThreadState* __tstate = wxPyBeginAllowThreads();
1296 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1297
1298 wxPyEndAllowThreads(__tstate);
1299 if (PyErr_Occurred()) return NULL;
1300 } if (_result) {
1301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1302 _resultobj = Py_BuildValue("s",_ptemp);
1303 } else {
1304 Py_INCREF(Py_None);
1305 _resultobj = Py_None;
1306 }
1307 return _resultobj;
1308 }
1309
1310 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1311 wxGridCellFloatRenderer *src;
1312 wxGridCellStringRenderer *dest;
1313 src = (wxGridCellFloatRenderer *) ptr;
1314 dest = (wxGridCellStringRenderer *) src;
1315 return (void *) dest;
1316 }
1317
1318 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1319 wxGridCellFloatRenderer *src;
1320 wxGridCellRenderer *dest;
1321 src = (wxGridCellFloatRenderer *) ptr;
1322 dest = (wxGridCellRenderer *) src;
1323 return (void *) dest;
1324 }
1325
1326 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1327 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1328 PyObject * _resultobj;
1329 wxGridCellFloatRenderer * _result;
1330 int _arg0 = (int ) -1;
1331 int _arg1 = (int ) -1;
1332 char *_kwnames[] = { "width","precision", NULL };
1333 char _ptemp[128];
1334
1335 self = self;
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1337 return NULL;
1338 {
1339 PyThreadState* __tstate = wxPyBeginAllowThreads();
1340 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1341
1342 wxPyEndAllowThreads(__tstate);
1343 if (PyErr_Occurred()) return NULL;
1344 } if (_result) {
1345 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1346 _resultobj = Py_BuildValue("s",_ptemp);
1347 } else {
1348 Py_INCREF(Py_None);
1349 _resultobj = Py_None;
1350 }
1351 return _resultobj;
1352 }
1353
1354 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1355 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject * _resultobj;
1357 int _result;
1358 wxGridCellFloatRenderer * _arg0;
1359 PyObject * _argo0 = 0;
1360 char *_kwnames[] = { "self", NULL };
1361
1362 self = self;
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1364 return NULL;
1365 if (_argo0) {
1366 if (_argo0 == Py_None) { _arg0 = NULL; }
1367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1369 return NULL;
1370 }
1371 }
1372 {
1373 PyThreadState* __tstate = wxPyBeginAllowThreads();
1374 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1375
1376 wxPyEndAllowThreads(__tstate);
1377 if (PyErr_Occurred()) return NULL;
1378 } _resultobj = Py_BuildValue("i",_result);
1379 return _resultobj;
1380 }
1381
1382 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1383 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1384 PyObject * _resultobj;
1385 wxGridCellFloatRenderer * _arg0;
1386 int _arg1;
1387 PyObject * _argo0 = 0;
1388 char *_kwnames[] = { "self","width", NULL };
1389
1390 self = self;
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1392 return NULL;
1393 if (_argo0) {
1394 if (_argo0 == Py_None) { _arg0 = NULL; }
1395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1397 return NULL;
1398 }
1399 }
1400 {
1401 PyThreadState* __tstate = wxPyBeginAllowThreads();
1402 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1403
1404 wxPyEndAllowThreads(__tstate);
1405 if (PyErr_Occurred()) return NULL;
1406 } Py_INCREF(Py_None);
1407 _resultobj = Py_None;
1408 return _resultobj;
1409 }
1410
1411 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1412 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject * _resultobj;
1414 int _result;
1415 wxGridCellFloatRenderer * _arg0;
1416 PyObject * _argo0 = 0;
1417 char *_kwnames[] = { "self", NULL };
1418
1419 self = self;
1420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1421 return NULL;
1422 if (_argo0) {
1423 if (_argo0 == Py_None) { _arg0 = NULL; }
1424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1426 return NULL;
1427 }
1428 }
1429 {
1430 PyThreadState* __tstate = wxPyBeginAllowThreads();
1431 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1432
1433 wxPyEndAllowThreads(__tstate);
1434 if (PyErr_Occurred()) return NULL;
1435 } _resultobj = Py_BuildValue("i",_result);
1436 return _resultobj;
1437 }
1438
1439 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1440 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1441 PyObject * _resultobj;
1442 wxGridCellFloatRenderer * _arg0;
1443 int _arg1;
1444 PyObject * _argo0 = 0;
1445 char *_kwnames[] = { "self","precision", NULL };
1446
1447 self = self;
1448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1449 return NULL;
1450 if (_argo0) {
1451 if (_argo0 == Py_None) { _arg0 = NULL; }
1452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1454 return NULL;
1455 }
1456 }
1457 {
1458 PyThreadState* __tstate = wxPyBeginAllowThreads();
1459 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1460
1461 wxPyEndAllowThreads(__tstate);
1462 if (PyErr_Occurred()) return NULL;
1463 } Py_INCREF(Py_None);
1464 _resultobj = Py_None;
1465 return _resultobj;
1466 }
1467
1468 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1469 wxGridCellBoolRenderer *src;
1470 wxGridCellRenderer *dest;
1471 src = (wxGridCellBoolRenderer *) ptr;
1472 dest = (wxGridCellRenderer *) src;
1473 return (void *) dest;
1474 }
1475
1476 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1477 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject * _resultobj;
1479 wxGridCellBoolRenderer * _result;
1480 char *_kwnames[] = { NULL };
1481 char _ptemp[128];
1482
1483 self = self;
1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1485 return NULL;
1486 {
1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
1488 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1489
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) return NULL;
1492 } if (_result) {
1493 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1494 _resultobj = Py_BuildValue("s",_ptemp);
1495 } else {
1496 Py_INCREF(Py_None);
1497 _resultobj = Py_None;
1498 }
1499 return _resultobj;
1500 }
1501
1502 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1503 wxGridCellDateTimeRenderer *src;
1504 wxGridCellStringRenderer *dest;
1505 src = (wxGridCellDateTimeRenderer *) ptr;
1506 dest = (wxGridCellStringRenderer *) src;
1507 return (void *) dest;
1508 }
1509
1510 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1511 wxGridCellDateTimeRenderer *src;
1512 wxGridCellRenderer *dest;
1513 src = (wxGridCellDateTimeRenderer *) ptr;
1514 dest = (wxGridCellRenderer *) src;
1515 return (void *) dest;
1516 }
1517
1518 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1519 static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1520 PyObject * _resultobj;
1521 wxGridCellDateTimeRenderer * _result;
1522 wxString * _arg0 = (wxString *) &"%c";
1523 wxString * _arg1 = (wxString *) &"%c";
1524 PyObject * _obj0 = 0;
1525 PyObject * _obj1 = 0;
1526 char *_kwnames[] = { "outformat","informat", NULL };
1527 char _ptemp[128];
1528
1529 self = self;
1530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1531 return NULL;
1532 if (_obj0)
1533 {
1534 _arg0 = wxString_in_helper(_obj0);
1535 if (_arg0 == NULL)
1536 return NULL;
1537 }
1538 if (_obj1)
1539 {
1540 _arg1 = wxString_in_helper(_obj1);
1541 if (_arg1 == NULL)
1542 return NULL;
1543 }
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) return NULL;
1550 } if (_result) {
1551 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1552 _resultobj = Py_BuildValue("s",_ptemp);
1553 } else {
1554 Py_INCREF(Py_None);
1555 _resultobj = Py_None;
1556 }
1557 {
1558 if (_obj0)
1559 delete _arg0;
1560 }
1561 {
1562 if (_obj1)
1563 delete _arg1;
1564 }
1565 return _resultobj;
1566 }
1567
1568 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1569 wxGridCellEnumRenderer *src;
1570 wxGridCellStringRenderer *dest;
1571 src = (wxGridCellEnumRenderer *) ptr;
1572 dest = (wxGridCellStringRenderer *) src;
1573 return (void *) dest;
1574 }
1575
1576 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1577 wxGridCellEnumRenderer *src;
1578 wxGridCellRenderer *dest;
1579 src = (wxGridCellEnumRenderer *) ptr;
1580 dest = (wxGridCellRenderer *) src;
1581 return (void *) dest;
1582 }
1583
1584 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1585 static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject * _resultobj;
1587 wxGridCellEnumRenderer * _result;
1588 wxString * _arg0 = (wxString *) &"";
1589 PyObject * _obj0 = 0;
1590 char *_kwnames[] = { "choices", NULL };
1591 char _ptemp[128];
1592
1593 self = self;
1594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1595 return NULL;
1596 if (_obj0)
1597 {
1598 _arg0 = wxString_LIST_helper(_obj0);
1599 if (_arg0 == NULL) {
1600 return NULL;
1601 }
1602 }
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) return NULL;
1609 } if (_result) {
1610 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1611 _resultobj = Py_BuildValue("s",_ptemp);
1612 } else {
1613 Py_INCREF(Py_None);
1614 _resultobj = Py_None;
1615 }
1616 {
1617 delete [] _arg0;
1618 }
1619 return _resultobj;
1620 }
1621
1622 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1623 wxGridCellAutoWrapStringRenderer *src;
1624 wxGridCellStringRenderer *dest;
1625 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1626 dest = (wxGridCellStringRenderer *) src;
1627 return (void *) dest;
1628 }
1629
1630 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1631 wxGridCellAutoWrapStringRenderer *src;
1632 wxGridCellRenderer *dest;
1633 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1634 dest = (wxGridCellRenderer *) src;
1635 return (void *) dest;
1636 }
1637
1638 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1639 static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject * _resultobj;
1641 wxGridCellAutoWrapStringRenderer * _result;
1642 char *_kwnames[] = { NULL };
1643 char _ptemp[128];
1644
1645 self = self;
1646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1647 return NULL;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) return NULL;
1654 } if (_result) {
1655 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1656 _resultobj = Py_BuildValue("s",_ptemp);
1657 } else {
1658 Py_INCREF(Py_None);
1659 _resultobj = Py_None;
1660 }
1661 return _resultobj;
1662 }
1663
1664 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1665 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1666 PyObject * _resultobj;
1667 bool _result;
1668 wxGridCellEditor * _arg0;
1669 PyObject * _argo0 = 0;
1670 char *_kwnames[] = { "self", NULL };
1671
1672 self = self;
1673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1674 return NULL;
1675 if (_argo0) {
1676 if (_argo0 == Py_None) { _arg0 = NULL; }
1677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1679 return NULL;
1680 }
1681 }
1682 {
1683 PyThreadState* __tstate = wxPyBeginAllowThreads();
1684 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1685
1686 wxPyEndAllowThreads(__tstate);
1687 if (PyErr_Occurred()) return NULL;
1688 } _resultobj = Py_BuildValue("i",_result);
1689 return _resultobj;
1690 }
1691
1692 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1693 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1694 PyObject * _resultobj;
1695 wxControl * _result;
1696 wxGridCellEditor * _arg0;
1697 PyObject * _argo0 = 0;
1698 char *_kwnames[] = { "self", NULL };
1699
1700 self = self;
1701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1702 return NULL;
1703 if (_argo0) {
1704 if (_argo0 == Py_None) { _arg0 = NULL; }
1705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1707 return NULL;
1708 }
1709 }
1710 {
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
1712 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) return NULL;
1716 }{ _resultobj = wxPyMake_wxObject(_result); }
1717 return _resultobj;
1718 }
1719
1720 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1721 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject * _resultobj;
1723 wxGridCellEditor * _arg0;
1724 wxControl * _arg1;
1725 PyObject * _argo0 = 0;
1726 PyObject * _argo1 = 0;
1727 char *_kwnames[] = { "self","control", NULL };
1728
1729 self = self;
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1731 return NULL;
1732 if (_argo0) {
1733 if (_argo0 == Py_None) { _arg0 = NULL; }
1734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1736 return NULL;
1737 }
1738 }
1739 if (_argo1) {
1740 if (_argo1 == Py_None) { _arg1 = NULL; }
1741 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1742 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1743 return NULL;
1744 }
1745 }
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 wxGridCellEditor_SetControl(_arg0,_arg1);
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) return NULL;
1752 } Py_INCREF(Py_None);
1753 _resultobj = Py_None;
1754 return _resultobj;
1755 }
1756
1757 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1758 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1759 PyObject * _resultobj;
1760 wxGridCellEditor * _arg0;
1761 wxString * _arg1;
1762 PyObject * _argo0 = 0;
1763 PyObject * _obj1 = 0;
1764 char *_kwnames[] = { "self","params", NULL };
1765
1766 self = self;
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1768 return NULL;
1769 if (_argo0) {
1770 if (_argo0 == Py_None) { _arg0 = NULL; }
1771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1773 return NULL;
1774 }
1775 }
1776 {
1777 _arg1 = wxString_in_helper(_obj1);
1778 if (_arg1 == NULL)
1779 return NULL;
1780 }
1781 {
1782 PyThreadState* __tstate = wxPyBeginAllowThreads();
1783 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1784
1785 wxPyEndAllowThreads(__tstate);
1786 if (PyErr_Occurred()) return NULL;
1787 } Py_INCREF(Py_None);
1788 _resultobj = Py_None;
1789 {
1790 if (_obj1)
1791 delete _arg1;
1792 }
1793 return _resultobj;
1794 }
1795
1796 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1797 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject * _resultobj;
1799 wxGridCellEditor * _arg0;
1800 PyObject * _argo0 = 0;
1801 char *_kwnames[] = { "self", NULL };
1802
1803 self = self;
1804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1805 return NULL;
1806 if (_argo0) {
1807 if (_argo0 == Py_None) { _arg0 = NULL; }
1808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1810 return NULL;
1811 }
1812 }
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 wxGridCellEditor_IncRef(_arg0);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) return NULL;
1819 } Py_INCREF(Py_None);
1820 _resultobj = Py_None;
1821 return _resultobj;
1822 }
1823
1824 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1825 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1826 PyObject * _resultobj;
1827 wxGridCellEditor * _arg0;
1828 PyObject * _argo0 = 0;
1829 char *_kwnames[] = { "self", NULL };
1830
1831 self = self;
1832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1833 return NULL;
1834 if (_argo0) {
1835 if (_argo0 == Py_None) { _arg0 = NULL; }
1836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1838 return NULL;
1839 }
1840 }
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 wxGridCellEditor_DecRef(_arg0);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) return NULL;
1847 } Py_INCREF(Py_None);
1848 _resultobj = Py_None;
1849 return _resultobj;
1850 }
1851
1852 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1853 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject * _resultobj;
1855 wxGridCellEditor * _arg0;
1856 wxWindow * _arg1;
1857 wxWindowID _arg2;
1858 wxEvtHandler * _arg3;
1859 PyObject * _argo0 = 0;
1860 PyObject * _argo1 = 0;
1861 PyObject * _argo3 = 0;
1862 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1863
1864 self = self;
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1866 return NULL;
1867 if (_argo0) {
1868 if (_argo0 == Py_None) { _arg0 = NULL; }
1869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1871 return NULL;
1872 }
1873 }
1874 if (_argo1) {
1875 if (_argo1 == Py_None) { _arg1 = NULL; }
1876 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1878 return NULL;
1879 }
1880 }
1881 if (_argo3) {
1882 if (_argo3 == Py_None) { _arg3 = NULL; }
1883 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1884 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1885 return NULL;
1886 }
1887 }
1888 {
1889 PyThreadState* __tstate = wxPyBeginAllowThreads();
1890 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
1891
1892 wxPyEndAllowThreads(__tstate);
1893 if (PyErr_Occurred()) return NULL;
1894 } Py_INCREF(Py_None);
1895 _resultobj = Py_None;
1896 return _resultobj;
1897 }
1898
1899 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1900 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject * _resultobj;
1902 wxGridCellEditor * _arg0;
1903 int _arg1;
1904 int _arg2;
1905 wxGrid * _arg3;
1906 PyObject * _argo0 = 0;
1907 PyObject * _argo3 = 0;
1908 char *_kwnames[] = { "self","row","col","grid", NULL };
1909
1910 self = self;
1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1912 return NULL;
1913 if (_argo0) {
1914 if (_argo0 == Py_None) { _arg0 = NULL; }
1915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1917 return NULL;
1918 }
1919 }
1920 if (_argo3) {
1921 if (_argo3 == Py_None) { _arg3 = NULL; }
1922 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1923 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1924 return NULL;
1925 }
1926 }
1927 {
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) return NULL;
1933 } Py_INCREF(Py_None);
1934 _resultobj = Py_None;
1935 return _resultobj;
1936 }
1937
1938 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1939 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject * _resultobj;
1941 bool _result;
1942 wxGridCellEditor * _arg0;
1943 int _arg1;
1944 int _arg2;
1945 wxGrid * _arg3;
1946 PyObject * _argo0 = 0;
1947 PyObject * _argo3 = 0;
1948 char *_kwnames[] = { "self","row","col","grid", NULL };
1949
1950 self = self;
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
1952 return NULL;
1953 if (_argo0) {
1954 if (_argo0 == Py_None) { _arg0 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1957 return NULL;
1958 }
1959 }
1960 if (_argo3) {
1961 if (_argo3 == Py_None) { _arg3 = NULL; }
1962 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
1963 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1964 return NULL;
1965 }
1966 }
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) return NULL;
1973 } _resultobj = Py_BuildValue("i",_result);
1974 return _resultobj;
1975 }
1976
1977 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1978 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject * _resultobj;
1980 wxGridCellEditor * _arg0;
1981 PyObject * _argo0 = 0;
1982 char *_kwnames[] = { "self", NULL };
1983
1984 self = self;
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
1986 return NULL;
1987 if (_argo0) {
1988 if (_argo0 == Py_None) { _arg0 = NULL; }
1989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1991 return NULL;
1992 }
1993 }
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 wxGridCellEditor_Reset(_arg0);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) return NULL;
2000 } Py_INCREF(Py_None);
2001 _resultobj = Py_None;
2002 return _resultobj;
2003 }
2004
2005 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2006 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2007 PyObject * _resultobj;
2008 wxGridCellEditor * _result;
2009 wxGridCellEditor * _arg0;
2010 PyObject * _argo0 = 0;
2011 char *_kwnames[] = { "self", NULL };
2012 char _ptemp[128];
2013
2014 self = self;
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2016 return NULL;
2017 if (_argo0) {
2018 if (_argo0 == Py_None) { _arg0 = NULL; }
2019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2021 return NULL;
2022 }
2023 }
2024 {
2025 PyThreadState* __tstate = wxPyBeginAllowThreads();
2026 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2027
2028 wxPyEndAllowThreads(__tstate);
2029 if (PyErr_Occurred()) return NULL;
2030 } if (_result) {
2031 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
2032 _resultobj = Py_BuildValue("s",_ptemp);
2033 } else {
2034 Py_INCREF(Py_None);
2035 _resultobj = Py_None;
2036 }
2037 return _resultobj;
2038 }
2039
2040 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2041 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject * _resultobj;
2043 wxGridCellEditor * _arg0;
2044 wxRect * _arg1;
2045 PyObject * _argo0 = 0;
2046 wxRect temp;
2047 PyObject * _obj1 = 0;
2048 char *_kwnames[] = { "self","rect", NULL };
2049
2050 self = self;
2051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2052 return NULL;
2053 if (_argo0) {
2054 if (_argo0 == Py_None) { _arg0 = NULL; }
2055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2057 return NULL;
2058 }
2059 }
2060 {
2061 _arg1 = &temp;
2062 if (! wxRect_helper(_obj1, &_arg1))
2063 return NULL;
2064 }
2065 {
2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
2067 wxGridCellEditor_SetSize(_arg0,*_arg1);
2068
2069 wxPyEndAllowThreads(__tstate);
2070 if (PyErr_Occurred()) return NULL;
2071 } Py_INCREF(Py_None);
2072 _resultobj = Py_None;
2073 return _resultobj;
2074 }
2075
2076 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2077 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2078 PyObject * _resultobj;
2079 wxGridCellEditor * _arg0;
2080 bool _arg1;
2081 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2082 PyObject * _argo0 = 0;
2083 int tempbool1;
2084 PyObject * _argo2 = 0;
2085 char *_kwnames[] = { "self","show","attr", NULL };
2086
2087 self = self;
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2089 return NULL;
2090 if (_argo0) {
2091 if (_argo0 == Py_None) { _arg0 = NULL; }
2092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2094 return NULL;
2095 }
2096 }
2097 _arg1 = (bool ) tempbool1;
2098 if (_argo2) {
2099 if (_argo2 == Py_None) { _arg2 = NULL; }
2100 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2101 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2102 return NULL;
2103 }
2104 }
2105 {
2106 PyThreadState* __tstate = wxPyBeginAllowThreads();
2107 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2108
2109 wxPyEndAllowThreads(__tstate);
2110 if (PyErr_Occurred()) return NULL;
2111 } Py_INCREF(Py_None);
2112 _resultobj = Py_None;
2113 return _resultobj;
2114 }
2115
2116 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2117 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject * _resultobj;
2119 wxGridCellEditor * _arg0;
2120 wxRect * _arg1;
2121 wxGridCellAttr * _arg2;
2122 PyObject * _argo0 = 0;
2123 wxRect temp;
2124 PyObject * _obj1 = 0;
2125 PyObject * _argo2 = 0;
2126 char *_kwnames[] = { "self","rectCell","attr", NULL };
2127
2128 self = self;
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2130 return NULL;
2131 if (_argo0) {
2132 if (_argo0 == Py_None) { _arg0 = NULL; }
2133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2135 return NULL;
2136 }
2137 }
2138 {
2139 _arg1 = &temp;
2140 if (! wxRect_helper(_obj1, &_arg1))
2141 return NULL;
2142 }
2143 if (_argo2) {
2144 if (_argo2 == Py_None) { _arg2 = NULL; }
2145 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2146 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2147 return NULL;
2148 }
2149 }
2150 {
2151 PyThreadState* __tstate = wxPyBeginAllowThreads();
2152 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2153
2154 wxPyEndAllowThreads(__tstate);
2155 if (PyErr_Occurred()) return NULL;
2156 } Py_INCREF(Py_None);
2157 _resultobj = Py_None;
2158 return _resultobj;
2159 }
2160
2161 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2162 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2163 PyObject * _resultobj;
2164 bool _result;
2165 wxGridCellEditor * _arg0;
2166 wxKeyEvent * _arg1;
2167 PyObject * _argo0 = 0;
2168 PyObject * _argo1 = 0;
2169 char *_kwnames[] = { "self","event", NULL };
2170
2171 self = self;
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2173 return NULL;
2174 if (_argo0) {
2175 if (_argo0 == Py_None) { _arg0 = NULL; }
2176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2178 return NULL;
2179 }
2180 }
2181 if (_argo1) {
2182 if (_argo1 == Py_None) { _arg1 = NULL; }
2183 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2184 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2185 return NULL;
2186 }
2187 }
2188 {
2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
2190 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2191
2192 wxPyEndAllowThreads(__tstate);
2193 if (PyErr_Occurred()) return NULL;
2194 } _resultobj = Py_BuildValue("i",_result);
2195 return _resultobj;
2196 }
2197
2198 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2199 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2200 PyObject * _resultobj;
2201 wxGridCellEditor * _arg0;
2202 wxKeyEvent * _arg1;
2203 PyObject * _argo0 = 0;
2204 PyObject * _argo1 = 0;
2205 char *_kwnames[] = { "self","event", NULL };
2206
2207 self = self;
2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2209 return NULL;
2210 if (_argo0) {
2211 if (_argo0 == Py_None) { _arg0 = NULL; }
2212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2214 return NULL;
2215 }
2216 }
2217 if (_argo1) {
2218 if (_argo1 == Py_None) { _arg1 = NULL; }
2219 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2220 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2221 return NULL;
2222 }
2223 }
2224 {
2225 PyThreadState* __tstate = wxPyBeginAllowThreads();
2226 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2227
2228 wxPyEndAllowThreads(__tstate);
2229 if (PyErr_Occurred()) return NULL;
2230 } Py_INCREF(Py_None);
2231 _resultobj = Py_None;
2232 return _resultobj;
2233 }
2234
2235 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2236 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2237 PyObject * _resultobj;
2238 wxGridCellEditor * _arg0;
2239 PyObject * _argo0 = 0;
2240 char *_kwnames[] = { "self", NULL };
2241
2242 self = self;
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2244 return NULL;
2245 if (_argo0) {
2246 if (_argo0 == Py_None) { _arg0 = NULL; }
2247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2249 return NULL;
2250 }
2251 }
2252 {
2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
2254 wxGridCellEditor_StartingClick(_arg0);
2255
2256 wxPyEndAllowThreads(__tstate);
2257 if (PyErr_Occurred()) return NULL;
2258 } Py_INCREF(Py_None);
2259 _resultobj = Py_None;
2260 return _resultobj;
2261 }
2262
2263 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2264 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2265 PyObject * _resultobj;
2266 wxGridCellEditor * _arg0;
2267 wxKeyEvent * _arg1;
2268 PyObject * _argo0 = 0;
2269 PyObject * _argo1 = 0;
2270 char *_kwnames[] = { "self","event", NULL };
2271
2272 self = self;
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2274 return NULL;
2275 if (_argo0) {
2276 if (_argo0 == Py_None) { _arg0 = NULL; }
2277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2279 return NULL;
2280 }
2281 }
2282 if (_argo1) {
2283 if (_argo1 == Py_None) { _arg1 = NULL; }
2284 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2285 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2286 return NULL;
2287 }
2288 }
2289 {
2290 PyThreadState* __tstate = wxPyBeginAllowThreads();
2291 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2292
2293 wxPyEndAllowThreads(__tstate);
2294 if (PyErr_Occurred()) return NULL;
2295 } Py_INCREF(Py_None);
2296 _resultobj = Py_None;
2297 return _resultobj;
2298 }
2299
2300 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2301 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 wxGridCellEditor * _arg0;
2304 PyObject * _argo0 = 0;
2305 char *_kwnames[] = { "self", NULL };
2306
2307 self = self;
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2309 return NULL;
2310 if (_argo0) {
2311 if (_argo0 == Py_None) { _arg0 = NULL; }
2312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2314 return NULL;
2315 }
2316 }
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 wxGridCellEditor_Destroy(_arg0);
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) return NULL;
2323 } Py_INCREF(Py_None);
2324 _resultobj = Py_None;
2325 return _resultobj;
2326 }
2327
2328 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2329 wxPyGridCellEditor *src;
2330 wxGridCellEditor *dest;
2331 src = (wxPyGridCellEditor *) ptr;
2332 dest = (wxGridCellEditor *) src;
2333 return (void *) dest;
2334 }
2335
2336 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2337 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2338 PyObject * _resultobj;
2339 wxPyGridCellEditor * _result;
2340 char *_kwnames[] = { NULL };
2341 char _ptemp[128];
2342
2343 self = self;
2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2345 return NULL;
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) return NULL;
2352 } if (_result) {
2353 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2354 _resultobj = Py_BuildValue("s",_ptemp);
2355 } else {
2356 Py_INCREF(Py_None);
2357 _resultobj = Py_None;
2358 }
2359 return _resultobj;
2360 }
2361
2362 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2363 static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2364 PyObject * _resultobj;
2365 wxPyGridCellEditor * _arg0;
2366 PyObject * _arg1;
2367 PyObject * _arg2;
2368 PyObject * _argo0 = 0;
2369 PyObject * _obj1 = 0;
2370 PyObject * _obj2 = 0;
2371 char *_kwnames[] = { "self","self","_class", NULL };
2372
2373 self = self;
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2375 return NULL;
2376 if (_argo0) {
2377 if (_argo0 == Py_None) { _arg0 = NULL; }
2378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2380 return NULL;
2381 }
2382 }
2383 {
2384 _arg1 = _obj1;
2385 }
2386 {
2387 _arg2 = _obj2;
2388 }
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) return NULL;
2395 } Py_INCREF(Py_None);
2396 _resultobj = Py_None;
2397 return _resultobj;
2398 }
2399
2400 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2401 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject * _resultobj;
2403 wxPyGridCellEditor * _arg0;
2404 wxRect * _arg1;
2405 PyObject * _argo0 = 0;
2406 wxRect temp;
2407 PyObject * _obj1 = 0;
2408 char *_kwnames[] = { "self","rect", NULL };
2409
2410 self = self;
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2412 return NULL;
2413 if (_argo0) {
2414 if (_argo0 == Py_None) { _arg0 = NULL; }
2415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2417 return NULL;
2418 }
2419 }
2420 {
2421 _arg1 = &temp;
2422 if (! wxRect_helper(_obj1, &_arg1))
2423 return NULL;
2424 }
2425 {
2426 PyThreadState* __tstate = wxPyBeginAllowThreads();
2427 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2428
2429 wxPyEndAllowThreads(__tstate);
2430 if (PyErr_Occurred()) return NULL;
2431 } Py_INCREF(Py_None);
2432 _resultobj = Py_None;
2433 return _resultobj;
2434 }
2435
2436 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2437 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2438 PyObject * _resultobj;
2439 wxPyGridCellEditor * _arg0;
2440 bool _arg1;
2441 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2442 PyObject * _argo0 = 0;
2443 int tempbool1;
2444 PyObject * _argo2 = 0;
2445 char *_kwnames[] = { "self","show","attr", NULL };
2446
2447 self = self;
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2449 return NULL;
2450 if (_argo0) {
2451 if (_argo0 == Py_None) { _arg0 = NULL; }
2452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2454 return NULL;
2455 }
2456 }
2457 _arg1 = (bool ) tempbool1;
2458 if (_argo2) {
2459 if (_argo2 == Py_None) { _arg2 = NULL; }
2460 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2461 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2462 return NULL;
2463 }
2464 }
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) return NULL;
2471 } Py_INCREF(Py_None);
2472 _resultobj = Py_None;
2473 return _resultobj;
2474 }
2475
2476 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2477 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2478 PyObject * _resultobj;
2479 wxPyGridCellEditor * _arg0;
2480 wxRect * _arg1;
2481 wxGridCellAttr * _arg2;
2482 PyObject * _argo0 = 0;
2483 wxRect temp;
2484 PyObject * _obj1 = 0;
2485 PyObject * _argo2 = 0;
2486 char *_kwnames[] = { "self","rectCell","attr", NULL };
2487
2488 self = self;
2489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2490 return NULL;
2491 if (_argo0) {
2492 if (_argo0 == Py_None) { _arg0 = NULL; }
2493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2495 return NULL;
2496 }
2497 }
2498 {
2499 _arg1 = &temp;
2500 if (! wxRect_helper(_obj1, &_arg1))
2501 return NULL;
2502 }
2503 if (_argo2) {
2504 if (_argo2 == Py_None) { _arg2 = NULL; }
2505 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2506 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2507 return NULL;
2508 }
2509 }
2510 {
2511 PyThreadState* __tstate = wxPyBeginAllowThreads();
2512 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2513
2514 wxPyEndAllowThreads(__tstate);
2515 if (PyErr_Occurred()) return NULL;
2516 } Py_INCREF(Py_None);
2517 _resultobj = Py_None;
2518 return _resultobj;
2519 }
2520
2521 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2522 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2523 PyObject * _resultobj;
2524 wxPyGridCellEditor * _arg0;
2525 wxKeyEvent * _arg1;
2526 PyObject * _argo0 = 0;
2527 PyObject * _argo1 = 0;
2528 char *_kwnames[] = { "self","event", NULL };
2529
2530 self = self;
2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2532 return NULL;
2533 if (_argo0) {
2534 if (_argo0 == Py_None) { _arg0 = NULL; }
2535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2537 return NULL;
2538 }
2539 }
2540 if (_argo1) {
2541 if (_argo1 == Py_None) { _arg1 = NULL; }
2542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2544 return NULL;
2545 }
2546 }
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) return NULL;
2553 } Py_INCREF(Py_None);
2554 _resultobj = Py_None;
2555 return _resultobj;
2556 }
2557
2558 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2559 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2560 PyObject * _resultobj;
2561 wxPyGridCellEditor * _arg0;
2562 wxKeyEvent * _arg1;
2563 PyObject * _argo0 = 0;
2564 PyObject * _argo1 = 0;
2565 char *_kwnames[] = { "self","event", NULL };
2566
2567 self = self;
2568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2569 return NULL;
2570 if (_argo0) {
2571 if (_argo0 == Py_None) { _arg0 = NULL; }
2572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2574 return NULL;
2575 }
2576 }
2577 if (_argo1) {
2578 if (_argo1 == Py_None) { _arg1 = NULL; }
2579 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2580 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2581 return NULL;
2582 }
2583 }
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) return NULL;
2590 } Py_INCREF(Py_None);
2591 _resultobj = Py_None;
2592 return _resultobj;
2593 }
2594
2595 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2596 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2597 PyObject * _resultobj;
2598 wxPyGridCellEditor * _arg0;
2599 PyObject * _argo0 = 0;
2600 char *_kwnames[] = { "self", NULL };
2601
2602 self = self;
2603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2604 return NULL;
2605 if (_argo0) {
2606 if (_argo0 == Py_None) { _arg0 = NULL; }
2607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2609 return NULL;
2610 }
2611 }
2612 {
2613 PyThreadState* __tstate = wxPyBeginAllowThreads();
2614 wxPyGridCellEditor_base_StartingClick(_arg0);
2615
2616 wxPyEndAllowThreads(__tstate);
2617 if (PyErr_Occurred()) return NULL;
2618 } Py_INCREF(Py_None);
2619 _resultobj = Py_None;
2620 return _resultobj;
2621 }
2622
2623 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2624 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2625 PyObject * _resultobj;
2626 wxPyGridCellEditor * _arg0;
2627 wxKeyEvent * _arg1;
2628 PyObject * _argo0 = 0;
2629 PyObject * _argo1 = 0;
2630 char *_kwnames[] = { "self","event", NULL };
2631
2632 self = self;
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2634 return NULL;
2635 if (_argo0) {
2636 if (_argo0 == Py_None) { _arg0 = NULL; }
2637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2639 return NULL;
2640 }
2641 }
2642 if (_argo1) {
2643 if (_argo1 == Py_None) { _arg1 = NULL; }
2644 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2645 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2646 return NULL;
2647 }
2648 }
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) return NULL;
2655 } Py_INCREF(Py_None);
2656 _resultobj = Py_None;
2657 return _resultobj;
2658 }
2659
2660 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2661 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject * _resultobj;
2663 wxPyGridCellEditor * _arg0;
2664 PyObject * _argo0 = 0;
2665 char *_kwnames[] = { "self", NULL };
2666
2667 self = self;
2668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2669 return NULL;
2670 if (_argo0) {
2671 if (_argo0 == Py_None) { _arg0 = NULL; }
2672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2674 return NULL;
2675 }
2676 }
2677 {
2678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2679 wxPyGridCellEditor_base_Destroy(_arg0);
2680
2681 wxPyEndAllowThreads(__tstate);
2682 if (PyErr_Occurred()) return NULL;
2683 } Py_INCREF(Py_None);
2684 _resultobj = Py_None;
2685 return _resultobj;
2686 }
2687
2688 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2689 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2690 PyObject * _resultobj;
2691 wxPyGridCellEditor * _arg0;
2692 wxString * _arg1;
2693 PyObject * _argo0 = 0;
2694 PyObject * _obj1 = 0;
2695 char *_kwnames[] = { "self","params", NULL };
2696
2697 self = self;
2698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2699 return NULL;
2700 if (_argo0) {
2701 if (_argo0 == Py_None) { _arg0 = NULL; }
2702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2704 return NULL;
2705 }
2706 }
2707 {
2708 _arg1 = wxString_in_helper(_obj1);
2709 if (_arg1 == NULL)
2710 return NULL;
2711 }
2712 {
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) return NULL;
2718 } Py_INCREF(Py_None);
2719 _resultobj = Py_None;
2720 {
2721 if (_obj1)
2722 delete _arg1;
2723 }
2724 return _resultobj;
2725 }
2726
2727 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2728 wxGridCellTextEditor *src;
2729 wxGridCellEditor *dest;
2730 src = (wxGridCellTextEditor *) ptr;
2731 dest = (wxGridCellEditor *) src;
2732 return (void *) dest;
2733 }
2734
2735 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2736 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject * _resultobj;
2738 wxGridCellTextEditor * _result;
2739 char *_kwnames[] = { NULL };
2740 char _ptemp[128];
2741
2742 self = self;
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2744 return NULL;
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) return NULL;
2751 } if (_result) {
2752 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2753 _resultobj = Py_BuildValue("s",_ptemp);
2754 } else {
2755 Py_INCREF(Py_None);
2756 _resultobj = Py_None;
2757 }
2758 return _resultobj;
2759 }
2760
2761 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2762 wxGridCellNumberEditor *src;
2763 wxGridCellTextEditor *dest;
2764 src = (wxGridCellNumberEditor *) ptr;
2765 dest = (wxGridCellTextEditor *) src;
2766 return (void *) dest;
2767 }
2768
2769 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2770 wxGridCellNumberEditor *src;
2771 wxGridCellEditor *dest;
2772 src = (wxGridCellNumberEditor *) ptr;
2773 dest = (wxGridCellEditor *) src;
2774 return (void *) dest;
2775 }
2776
2777 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2778 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2779 PyObject * _resultobj;
2780 wxGridCellNumberEditor * _result;
2781 int _arg0 = (int ) -1;
2782 int _arg1 = (int ) -1;
2783 char *_kwnames[] = { "min","max", NULL };
2784 char _ptemp[128];
2785
2786 self = self;
2787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2788 return NULL;
2789 {
2790 PyThreadState* __tstate = wxPyBeginAllowThreads();
2791 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2792
2793 wxPyEndAllowThreads(__tstate);
2794 if (PyErr_Occurred()) return NULL;
2795 } if (_result) {
2796 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2797 _resultobj = Py_BuildValue("s",_ptemp);
2798 } else {
2799 Py_INCREF(Py_None);
2800 _resultobj = Py_None;
2801 }
2802 return _resultobj;
2803 }
2804
2805 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2806 wxGridCellFloatEditor *src;
2807 wxGridCellTextEditor *dest;
2808 src = (wxGridCellFloatEditor *) ptr;
2809 dest = (wxGridCellTextEditor *) src;
2810 return (void *) dest;
2811 }
2812
2813 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2814 wxGridCellFloatEditor *src;
2815 wxGridCellEditor *dest;
2816 src = (wxGridCellFloatEditor *) ptr;
2817 dest = (wxGridCellEditor *) src;
2818 return (void *) dest;
2819 }
2820
2821 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2822 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject * _resultobj;
2824 wxGridCellFloatEditor * _result;
2825 char *_kwnames[] = { NULL };
2826 char _ptemp[128];
2827
2828 self = self;
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2830 return NULL;
2831 {
2832 PyThreadState* __tstate = wxPyBeginAllowThreads();
2833 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2834
2835 wxPyEndAllowThreads(__tstate);
2836 if (PyErr_Occurred()) return NULL;
2837 } if (_result) {
2838 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2839 _resultobj = Py_BuildValue("s",_ptemp);
2840 } else {
2841 Py_INCREF(Py_None);
2842 _resultobj = Py_None;
2843 }
2844 return _resultobj;
2845 }
2846
2847 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2848 wxGridCellBoolEditor *src;
2849 wxGridCellEditor *dest;
2850 src = (wxGridCellBoolEditor *) ptr;
2851 dest = (wxGridCellEditor *) src;
2852 return (void *) dest;
2853 }
2854
2855 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2856 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject * _resultobj;
2858 wxGridCellBoolEditor * _result;
2859 char *_kwnames[] = { NULL };
2860 char _ptemp[128];
2861
2862 self = self;
2863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2864 return NULL;
2865 {
2866 PyThreadState* __tstate = wxPyBeginAllowThreads();
2867 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2868
2869 wxPyEndAllowThreads(__tstate);
2870 if (PyErr_Occurred()) return NULL;
2871 } if (_result) {
2872 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2873 _resultobj = Py_BuildValue("s",_ptemp);
2874 } else {
2875 Py_INCREF(Py_None);
2876 _resultobj = Py_None;
2877 }
2878 return _resultobj;
2879 }
2880
2881 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2882 wxGridCellChoiceEditor *src;
2883 wxGridCellEditor *dest;
2884 src = (wxGridCellChoiceEditor *) ptr;
2885 dest = (wxGridCellEditor *) src;
2886 return (void *) dest;
2887 }
2888
2889 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2890 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject * _resultobj;
2892 wxGridCellChoiceEditor * _result;
2893 int _arg0 = (int ) 0;
2894 wxString * _arg1 = (wxString *) NULL;
2895 bool _arg2 = (bool ) FALSE;
2896 PyObject * _obj1 = 0;
2897 int tempbool2 = (int) FALSE;
2898 char *_kwnames[] = { "choices","allowOthers", NULL };
2899 char _ptemp[128];
2900
2901 self = self;
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
2903 return NULL;
2904 if (_obj1)
2905 {
2906 _arg1 = wxString_LIST_helper(_obj1);
2907 if (_arg1 == NULL) {
2908 return NULL;
2909 }
2910 }
2911 _arg2 = (bool ) tempbool2;
2912 {
2913 if (_obj1) {
2914 _arg0 = PyList_Size(_obj1);
2915 }
2916 else {
2917 _arg0 = 0;
2918 }
2919 }
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) return NULL;
2926 } if (_result) {
2927 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
2928 _resultobj = Py_BuildValue("s",_ptemp);
2929 } else {
2930 Py_INCREF(Py_None);
2931 _resultobj = Py_None;
2932 }
2933 {
2934 delete [] _arg1;
2935 }
2936 return _resultobj;
2937 }
2938
2939 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
2940 wxGridCellEnumEditor *src;
2941 wxGridCellChoiceEditor *dest;
2942 src = (wxGridCellEnumEditor *) ptr;
2943 dest = (wxGridCellChoiceEditor *) src;
2944 return (void *) dest;
2945 }
2946
2947 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
2948 wxGridCellEnumEditor *src;
2949 wxGridCellEditor *dest;
2950 src = (wxGridCellEnumEditor *) ptr;
2951 dest = (wxGridCellEditor *) src;
2952 return (void *) dest;
2953 }
2954
2955 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
2956 static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2957 PyObject * _resultobj;
2958 wxGridCellEnumEditor * _result;
2959 wxString * _arg0 = (wxString *) &"";
2960 PyObject * _obj0 = 0;
2961 char *_kwnames[] = { "choices", NULL };
2962 char _ptemp[128];
2963
2964 self = self;
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
2966 return NULL;
2967 if (_obj0)
2968 {
2969 _arg0 = wxString_LIST_helper(_obj0);
2970 if (_arg0 == NULL) {
2971 return NULL;
2972 }
2973 }
2974 {
2975 PyThreadState* __tstate = wxPyBeginAllowThreads();
2976 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
2977
2978 wxPyEndAllowThreads(__tstate);
2979 if (PyErr_Occurred()) return NULL;
2980 } if (_result) {
2981 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
2982 _resultobj = Py_BuildValue("s",_ptemp);
2983 } else {
2984 Py_INCREF(Py_None);
2985 _resultobj = Py_None;
2986 }
2987 {
2988 delete [] _arg0;
2989 }
2990 return _resultobj;
2991 }
2992
2993 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
2994 wxGridCellAutoWrapStringEditor *src;
2995 wxGridCellTextEditor *dest;
2996 src = (wxGridCellAutoWrapStringEditor *) ptr;
2997 dest = (wxGridCellTextEditor *) src;
2998 return (void *) dest;
2999 }
3000
3001 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3002 wxGridCellAutoWrapStringEditor *src;
3003 wxGridCellEditor *dest;
3004 src = (wxGridCellAutoWrapStringEditor *) ptr;
3005 dest = (wxGridCellEditor *) src;
3006 return (void *) dest;
3007 }
3008
3009 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3010 static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject * _resultobj;
3012 wxGridCellAutoWrapStringEditor * _result;
3013 char *_kwnames[] = { NULL };
3014 char _ptemp[128];
3015
3016 self = self;
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3018 return NULL;
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) return NULL;
3025 } if (_result) {
3026 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3027 _resultobj = Py_BuildValue("s",_ptemp);
3028 } else {
3029 Py_INCREF(Py_None);
3030 _resultobj = Py_None;
3031 }
3032 return _resultobj;
3033 }
3034
3035 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3036 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject * _resultobj;
3038 wxGridCellAttr * _result;
3039 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3040 PyObject * _argo0 = 0;
3041 char *_kwnames[] = { "attrDefault", NULL };
3042 char _ptemp[128];
3043
3044 self = self;
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
3046 return NULL;
3047 if (_argo0) {
3048 if (_argo0 == Py_None) { _arg0 = NULL; }
3049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3051 return NULL;
3052 }
3053 }
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) return NULL;
3060 } if (_result) {
3061 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3062 _resultobj = Py_BuildValue("s",_ptemp);
3063 } else {
3064 Py_INCREF(Py_None);
3065 _resultobj = Py_None;
3066 }
3067 return _resultobj;
3068 }
3069
3070 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3071 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3072 PyObject * _resultobj;
3073 wxGridCellAttr * _result;
3074 wxGridCellAttr * _arg0;
3075 PyObject * _argo0 = 0;
3076 char *_kwnames[] = { "self", NULL };
3077 char _ptemp[128];
3078
3079 self = self;
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3081 return NULL;
3082 if (_argo0) {
3083 if (_argo0 == Py_None) { _arg0 = NULL; }
3084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3086 return NULL;
3087 }
3088 }
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) return NULL;
3095 } if (_result) {
3096 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3097 _resultobj = Py_BuildValue("s",_ptemp);
3098 } else {
3099 Py_INCREF(Py_None);
3100 _resultobj = Py_None;
3101 }
3102 return _resultobj;
3103 }
3104
3105 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3106 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3107 PyObject * _resultobj;
3108 wxGridCellAttr * _arg0;
3109 wxGridCellAttr * _arg1;
3110 PyObject * _argo0 = 0;
3111 PyObject * _argo1 = 0;
3112 char *_kwnames[] = { "self","mergefrom", NULL };
3113
3114 self = self;
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3116 return NULL;
3117 if (_argo0) {
3118 if (_argo0 == Py_None) { _arg0 = NULL; }
3119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3121 return NULL;
3122 }
3123 }
3124 if (_argo1) {
3125 if (_argo1 == Py_None) { _arg1 = NULL; }
3126 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3127 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3128 return NULL;
3129 }
3130 }
3131 {
3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
3133 wxGridCellAttr_MergeWith(_arg0,_arg1);
3134
3135 wxPyEndAllowThreads(__tstate);
3136 if (PyErr_Occurred()) return NULL;
3137 } Py_INCREF(Py_None);
3138 _resultobj = Py_None;
3139 return _resultobj;
3140 }
3141
3142 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3143 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3144 PyObject * _resultobj;
3145 wxGridCellAttr * _arg0;
3146 PyObject * _argo0 = 0;
3147 char *_kwnames[] = { "self", NULL };
3148
3149 self = self;
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3151 return NULL;
3152 if (_argo0) {
3153 if (_argo0 == Py_None) { _arg0 = NULL; }
3154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3156 return NULL;
3157 }
3158 }
3159 {
3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
3161 wxGridCellAttr_IncRef(_arg0);
3162
3163 wxPyEndAllowThreads(__tstate);
3164 if (PyErr_Occurred()) return NULL;
3165 } Py_INCREF(Py_None);
3166 _resultobj = Py_None;
3167 return _resultobj;
3168 }
3169
3170 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3171 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3172 PyObject * _resultobj;
3173 wxGridCellAttr * _arg0;
3174 PyObject * _argo0 = 0;
3175 char *_kwnames[] = { "self", NULL };
3176
3177 self = self;
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3179 return NULL;
3180 if (_argo0) {
3181 if (_argo0 == Py_None) { _arg0 = NULL; }
3182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3184 return NULL;
3185 }
3186 }
3187 {
3188 PyThreadState* __tstate = wxPyBeginAllowThreads();
3189 wxGridCellAttr_DecRef(_arg0);
3190
3191 wxPyEndAllowThreads(__tstate);
3192 if (PyErr_Occurred()) return NULL;
3193 } Py_INCREF(Py_None);
3194 _resultobj = Py_None;
3195 return _resultobj;
3196 }
3197
3198 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3199 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject * _resultobj;
3201 wxGridCellAttr * _arg0;
3202 wxColour * _arg1;
3203 PyObject * _argo0 = 0;
3204 wxColour temp;
3205 PyObject * _obj1 = 0;
3206 char *_kwnames[] = { "self","colText", NULL };
3207
3208 self = self;
3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3210 return NULL;
3211 if (_argo0) {
3212 if (_argo0 == Py_None) { _arg0 = NULL; }
3213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3215 return NULL;
3216 }
3217 }
3218 {
3219 _arg1 = &temp;
3220 if (! wxColour_helper(_obj1, &_arg1))
3221 return NULL;
3222 }
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) return NULL;
3229 } Py_INCREF(Py_None);
3230 _resultobj = Py_None;
3231 return _resultobj;
3232 }
3233
3234 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3235 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject * _resultobj;
3237 wxGridCellAttr * _arg0;
3238 wxColour * _arg1;
3239 PyObject * _argo0 = 0;
3240 wxColour temp;
3241 PyObject * _obj1 = 0;
3242 char *_kwnames[] = { "self","colBack", NULL };
3243
3244 self = self;
3245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3246 return NULL;
3247 if (_argo0) {
3248 if (_argo0 == Py_None) { _arg0 = NULL; }
3249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3251 return NULL;
3252 }
3253 }
3254 {
3255 _arg1 = &temp;
3256 if (! wxColour_helper(_obj1, &_arg1))
3257 return NULL;
3258 }
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) return NULL;
3265 } Py_INCREF(Py_None);
3266 _resultobj = Py_None;
3267 return _resultobj;
3268 }
3269
3270 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3271 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject * _resultobj;
3273 wxGridCellAttr * _arg0;
3274 wxFont * _arg1;
3275 PyObject * _argo0 = 0;
3276 PyObject * _argo1 = 0;
3277 char *_kwnames[] = { "self","font", NULL };
3278
3279 self = self;
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3281 return NULL;
3282 if (_argo0) {
3283 if (_argo0 == Py_None) { _arg0 = NULL; }
3284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3286 return NULL;
3287 }
3288 }
3289 if (_argo1) {
3290 if (_argo1 == Py_None) { _arg1 = NULL; }
3291 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3292 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3293 return NULL;
3294 }
3295 }
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 wxGridCellAttr_SetFont(_arg0,*_arg1);
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) return NULL;
3302 } Py_INCREF(Py_None);
3303 _resultobj = Py_None;
3304 return _resultobj;
3305 }
3306
3307 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3308 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3309 PyObject * _resultobj;
3310 wxGridCellAttr * _arg0;
3311 int _arg1;
3312 int _arg2;
3313 PyObject * _argo0 = 0;
3314 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3315
3316 self = self;
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3318 return NULL;
3319 if (_argo0) {
3320 if (_argo0 == Py_None) { _arg0 = NULL; }
3321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3323 return NULL;
3324 }
3325 }
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) return NULL;
3332 } Py_INCREF(Py_None);
3333 _resultobj = Py_None;
3334 return _resultobj;
3335 }
3336
3337 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3338 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3339 PyObject * _resultobj;
3340 wxGridCellAttr * _arg0;
3341 bool _arg1 = (bool ) TRUE;
3342 PyObject * _argo0 = 0;
3343 int tempbool1 = (int) TRUE;
3344 char *_kwnames[] = { "self","isReadOnly", NULL };
3345
3346 self = self;
3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3348 return NULL;
3349 if (_argo0) {
3350 if (_argo0 == Py_None) { _arg0 = NULL; }
3351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3353 return NULL;
3354 }
3355 }
3356 _arg1 = (bool ) tempbool1;
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3360
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) return NULL;
3363 } Py_INCREF(Py_None);
3364 _resultobj = Py_None;
3365 return _resultobj;
3366 }
3367
3368 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3369 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject * _resultobj;
3371 wxGridCellAttr * _arg0;
3372 wxGridCellRenderer * _arg1;
3373 PyObject * _argo0 = 0;
3374 PyObject * _argo1 = 0;
3375 char *_kwnames[] = { "self","renderer", NULL };
3376
3377 self = self;
3378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3379 return NULL;
3380 if (_argo0) {
3381 if (_argo0 == Py_None) { _arg0 = NULL; }
3382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3384 return NULL;
3385 }
3386 }
3387 if (_argo1) {
3388 if (_argo1 == Py_None) { _arg1 = NULL; }
3389 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3390 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3391 return NULL;
3392 }
3393 }
3394 {
3395 PyThreadState* __tstate = wxPyBeginAllowThreads();
3396 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3397
3398 wxPyEndAllowThreads(__tstate);
3399 if (PyErr_Occurred()) return NULL;
3400 } Py_INCREF(Py_None);
3401 _resultobj = Py_None;
3402 return _resultobj;
3403 }
3404
3405 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3406 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject * _resultobj;
3408 wxGridCellAttr * _arg0;
3409 wxGridCellEditor * _arg1;
3410 PyObject * _argo0 = 0;
3411 PyObject * _argo1 = 0;
3412 char *_kwnames[] = { "self","editor", NULL };
3413
3414 self = self;
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3416 return NULL;
3417 if (_argo0) {
3418 if (_argo0 == Py_None) { _arg0 = NULL; }
3419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3421 return NULL;
3422 }
3423 }
3424 if (_argo1) {
3425 if (_argo1 == Py_None) { _arg1 = NULL; }
3426 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3427 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3428 return NULL;
3429 }
3430 }
3431 {
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 wxGridCellAttr_SetEditor(_arg0,_arg1);
3434
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) return NULL;
3437 } Py_INCREF(Py_None);
3438 _resultobj = Py_None;
3439 return _resultobj;
3440 }
3441
3442 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3443 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3444 PyObject * _resultobj;
3445 wxGridCellAttr * _arg0;
3446 wxGridCellAttr::wxAttrKind _arg1;
3447 PyObject * _argo0 = 0;
3448 char *_kwnames[] = { "self","kind", NULL };
3449
3450 self = self;
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3452 return NULL;
3453 if (_argo0) {
3454 if (_argo0 == Py_None) { _arg0 = NULL; }
3455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3457 return NULL;
3458 }
3459 }
3460 {
3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
3462 wxGridCellAttr_SetKind(_arg0,_arg1);
3463
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) return NULL;
3466 } Py_INCREF(Py_None);
3467 _resultobj = Py_None;
3468 return _resultobj;
3469 }
3470
3471 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3472 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject * _resultobj;
3474 bool _result;
3475 wxGridCellAttr * _arg0;
3476 PyObject * _argo0 = 0;
3477 char *_kwnames[] = { "self", NULL };
3478
3479 self = self;
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3481 return NULL;
3482 if (_argo0) {
3483 if (_argo0 == Py_None) { _arg0 = NULL; }
3484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3486 return NULL;
3487 }
3488 }
3489 {
3490 PyThreadState* __tstate = wxPyBeginAllowThreads();
3491 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3492
3493 wxPyEndAllowThreads(__tstate);
3494 if (PyErr_Occurred()) return NULL;
3495 } _resultobj = Py_BuildValue("i",_result);
3496 return _resultobj;
3497 }
3498
3499 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3500 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject * _resultobj;
3502 bool _result;
3503 wxGridCellAttr * _arg0;
3504 PyObject * _argo0 = 0;
3505 char *_kwnames[] = { "self", NULL };
3506
3507 self = self;
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3509 return NULL;
3510 if (_argo0) {
3511 if (_argo0 == Py_None) { _arg0 = NULL; }
3512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3514 return NULL;
3515 }
3516 }
3517 {
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
3519 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) return NULL;
3523 } _resultobj = Py_BuildValue("i",_result);
3524 return _resultobj;
3525 }
3526
3527 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3528 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject * _resultobj;
3530 bool _result;
3531 wxGridCellAttr * _arg0;
3532 PyObject * _argo0 = 0;
3533 char *_kwnames[] = { "self", NULL };
3534
3535 self = self;
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3537 return NULL;
3538 if (_argo0) {
3539 if (_argo0 == Py_None) { _arg0 = NULL; }
3540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3542 return NULL;
3543 }
3544 }
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) return NULL;
3551 } _resultobj = Py_BuildValue("i",_result);
3552 return _resultobj;
3553 }
3554
3555 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3556 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject * _resultobj;
3558 bool _result;
3559 wxGridCellAttr * _arg0;
3560 PyObject * _argo0 = 0;
3561 char *_kwnames[] = { "self", NULL };
3562
3563 self = self;
3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3565 return NULL;
3566 if (_argo0) {
3567 if (_argo0 == Py_None) { _arg0 = NULL; }
3568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3570 return NULL;
3571 }
3572 }
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) return NULL;
3579 } _resultobj = Py_BuildValue("i",_result);
3580 return _resultobj;
3581 }
3582
3583 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3584 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject * _resultobj;
3586 bool _result;
3587 wxGridCellAttr * _arg0;
3588 PyObject * _argo0 = 0;
3589 char *_kwnames[] = { "self", NULL };
3590
3591 self = self;
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3593 return NULL;
3594 if (_argo0) {
3595 if (_argo0 == Py_None) { _arg0 = NULL; }
3596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3598 return NULL;
3599 }
3600 }
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) return NULL;
3607 } _resultobj = Py_BuildValue("i",_result);
3608 return _resultobj;
3609 }
3610
3611 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3612 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3613 PyObject * _resultobj;
3614 bool _result;
3615 wxGridCellAttr * _arg0;
3616 PyObject * _argo0 = 0;
3617 char *_kwnames[] = { "self", NULL };
3618
3619 self = self;
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3621 return NULL;
3622 if (_argo0) {
3623 if (_argo0 == Py_None) { _arg0 = NULL; }
3624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3626 return NULL;
3627 }
3628 }
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) return NULL;
3635 } _resultobj = Py_BuildValue("i",_result);
3636 return _resultobj;
3637 }
3638
3639 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3640 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3641 PyObject * _resultobj;
3642 bool _result;
3643 wxGridCellAttr * _arg0;
3644 PyObject * _argo0 = 0;
3645 char *_kwnames[] = { "self", NULL };
3646
3647 self = self;
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3649 return NULL;
3650 if (_argo0) {
3651 if (_argo0 == Py_None) { _arg0 = NULL; }
3652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3654 return NULL;
3655 }
3656 }
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) return NULL;
3663 } _resultobj = Py_BuildValue("i",_result);
3664 return _resultobj;
3665 }
3666
3667 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3668 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3669 PyObject * _resultobj;
3670 wxColour * _result;
3671 wxGridCellAttr * _arg0;
3672 PyObject * _argo0 = 0;
3673 char *_kwnames[] = { "self", NULL };
3674 char _ptemp[128];
3675
3676 self = self;
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3678 return NULL;
3679 if (_argo0) {
3680 if (_argo0 == Py_None) { _arg0 = NULL; }
3681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3683 return NULL;
3684 }
3685 }
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) return NULL;
3692 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3693 _resultobj = Py_BuildValue("s",_ptemp);
3694 return _resultobj;
3695 }
3696
3697 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3698 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3699 PyObject * _resultobj;
3700 wxColour * _result;
3701 wxGridCellAttr * _arg0;
3702 PyObject * _argo0 = 0;
3703 char *_kwnames[] = { "self", NULL };
3704 char _ptemp[128];
3705
3706 self = self;
3707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3708 return NULL;
3709 if (_argo0) {
3710 if (_argo0 == Py_None) { _arg0 = NULL; }
3711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3713 return NULL;
3714 }
3715 }
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) return NULL;
3722 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3723 _resultobj = Py_BuildValue("s",_ptemp);
3724 return _resultobj;
3725 }
3726
3727 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3728 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3729 PyObject * _resultobj;
3730 wxFont * _result;
3731 wxGridCellAttr * _arg0;
3732 PyObject * _argo0 = 0;
3733 char *_kwnames[] = { "self", NULL };
3734 char _ptemp[128];
3735
3736 self = self;
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3738 return NULL;
3739 if (_argo0) {
3740 if (_argo0 == Py_None) { _arg0 = NULL; }
3741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3743 return NULL;
3744 }
3745 }
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) return NULL;
3752 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
3753 _resultobj = Py_BuildValue("s",_ptemp);
3754 return _resultobj;
3755 }
3756
3757 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3758 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject * _resultobj;
3760 wxGridCellAttr * _arg0;
3761 int * _arg1;
3762 int temp;
3763 int * _arg2;
3764 int temp0;
3765 PyObject * _argo0 = 0;
3766 char *_kwnames[] = { "self", NULL };
3767
3768 self = self;
3769 {
3770 _arg1 = &temp;
3771 }
3772 {
3773 _arg2 = &temp0;
3774 }
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3776 return NULL;
3777 if (_argo0) {
3778 if (_argo0 == Py_None) { _arg0 = NULL; }
3779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3781 return NULL;
3782 }
3783 }
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) return NULL;
3790 } Py_INCREF(Py_None);
3791 _resultobj = Py_None;
3792 {
3793 PyObject *o;
3794 o = PyInt_FromLong((long) (*_arg1));
3795 _resultobj = t_output_helper(_resultobj, o);
3796 }
3797 {
3798 PyObject *o;
3799 o = PyInt_FromLong((long) (*_arg2));
3800 _resultobj = t_output_helper(_resultobj, o);
3801 }
3802 return _resultobj;
3803 }
3804
3805 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3806 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3807 PyObject * _resultobj;
3808 wxGridCellRenderer * _result;
3809 wxGridCellAttr * _arg0;
3810 wxGrid * _arg1;
3811 int _arg2;
3812 int _arg3;
3813 PyObject * _argo0 = 0;
3814 PyObject * _argo1 = 0;
3815 char *_kwnames[] = { "self","grid","row","col", NULL };
3816 char _ptemp[128];
3817
3818 self = self;
3819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3820 return NULL;
3821 if (_argo0) {
3822 if (_argo0 == Py_None) { _arg0 = NULL; }
3823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3825 return NULL;
3826 }
3827 }
3828 if (_argo1) {
3829 if (_argo1 == Py_None) { _arg1 = NULL; }
3830 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3831 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3832 return NULL;
3833 }
3834 }
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) return NULL;
3841 } if (_result) {
3842 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
3843 _resultobj = Py_BuildValue("s",_ptemp);
3844 } else {
3845 Py_INCREF(Py_None);
3846 _resultobj = Py_None;
3847 }
3848 return _resultobj;
3849 }
3850
3851 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3852 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject * _resultobj;
3854 wxGridCellEditor * _result;
3855 wxGridCellAttr * _arg0;
3856 wxGrid * _arg1;
3857 int _arg2;
3858 int _arg3;
3859 PyObject * _argo0 = 0;
3860 PyObject * _argo1 = 0;
3861 char *_kwnames[] = { "self","grid","row","col", NULL };
3862 char _ptemp[128];
3863
3864 self = self;
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3866 return NULL;
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3871 return NULL;
3872 }
3873 }
3874 if (_argo1) {
3875 if (_argo1 == Py_None) { _arg1 = NULL; }
3876 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3877 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3878 return NULL;
3879 }
3880 }
3881 {
3882 PyThreadState* __tstate = wxPyBeginAllowThreads();
3883 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
3884
3885 wxPyEndAllowThreads(__tstate);
3886 if (PyErr_Occurred()) return NULL;
3887 } if (_result) {
3888 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
3889 _resultobj = Py_BuildValue("s",_ptemp);
3890 } else {
3891 Py_INCREF(Py_None);
3892 _resultobj = Py_None;
3893 }
3894 return _resultobj;
3895 }
3896
3897 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3898 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3899 PyObject * _resultobj;
3900 bool _result;
3901 wxGridCellAttr * _arg0;
3902 PyObject * _argo0 = 0;
3903 char *_kwnames[] = { "self", NULL };
3904
3905 self = self;
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
3907 return NULL;
3908 if (_argo0) {
3909 if (_argo0 == Py_None) { _arg0 = NULL; }
3910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3912 return NULL;
3913 }
3914 }
3915 {
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
3918
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) return NULL;
3921 } _resultobj = Py_BuildValue("i",_result);
3922 return _resultobj;
3923 }
3924
3925 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3926 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3927 PyObject * _resultobj;
3928 wxGridCellAttr * _arg0;
3929 wxGridCellAttr * _arg1;
3930 PyObject * _argo0 = 0;
3931 PyObject * _argo1 = 0;
3932 char *_kwnames[] = { "self","defAttr", NULL };
3933
3934 self = self;
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
3936 return NULL;
3937 if (_argo0) {
3938 if (_argo0 == Py_None) { _arg0 = NULL; }
3939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3941 return NULL;
3942 }
3943 }
3944 if (_argo1) {
3945 if (_argo1 == Py_None) { _arg1 = NULL; }
3946 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3948 return NULL;
3949 }
3950 }
3951 {
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
3954
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) return NULL;
3957 } Py_INCREF(Py_None);
3958 _resultobj = Py_None;
3959 return _resultobj;
3960 }
3961
3962 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3963 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject * _resultobj;
3965 wxGridCellAttrProvider * _result;
3966 char *_kwnames[] = { NULL };
3967 char _ptemp[128];
3968
3969 self = self;
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
3971 return NULL;
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) return NULL;
3978 } if (_result) {
3979 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
3980 _resultobj = Py_BuildValue("s",_ptemp);
3981 } else {
3982 Py_INCREF(Py_None);
3983 _resultobj = Py_None;
3984 }
3985 return _resultobj;
3986 }
3987
3988 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
3989 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3990 PyObject * _resultobj;
3991 wxGridCellAttr * _result;
3992 wxGridCellAttrProvider * _arg0;
3993 int _arg1;
3994 int _arg2;
3995 wxGridCellAttr::wxAttrKind _arg3;
3996 PyObject * _argo0 = 0;
3997 char *_kwnames[] = { "self","row","col","kind", NULL };
3998 char _ptemp[128];
3999
4000 self = self;
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4002 return NULL;
4003 if (_argo0) {
4004 if (_argo0 == Py_None) { _arg0 = NULL; }
4005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4007 return NULL;
4008 }
4009 }
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4013
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) return NULL;
4016 } if (_result) {
4017 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4018 _resultobj = Py_BuildValue("s",_ptemp);
4019 } else {
4020 Py_INCREF(Py_None);
4021 _resultobj = Py_None;
4022 }
4023 return _resultobj;
4024 }
4025
4026 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4027 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject * _resultobj;
4029 wxGridCellAttrProvider * _arg0;
4030 wxGridCellAttr * _arg1;
4031 int _arg2;
4032 int _arg3;
4033 PyObject * _argo0 = 0;
4034 PyObject * _argo1 = 0;
4035 char *_kwnames[] = { "self","attr","row","col", NULL };
4036
4037 self = self;
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4039 return NULL;
4040 if (_argo0) {
4041 if (_argo0 == Py_None) { _arg0 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4044 return NULL;
4045 }
4046 }
4047 if (_argo1) {
4048 if (_argo1 == Py_None) { _arg1 = NULL; }
4049 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4051 return NULL;
4052 }
4053 }
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) return NULL;
4060 } Py_INCREF(Py_None);
4061 _resultobj = Py_None;
4062 return _resultobj;
4063 }
4064
4065 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4066 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4067 PyObject * _resultobj;
4068 wxGridCellAttrProvider * _arg0;
4069 wxGridCellAttr * _arg1;
4070 int _arg2;
4071 PyObject * _argo0 = 0;
4072 PyObject * _argo1 = 0;
4073 char *_kwnames[] = { "self","attr","row", NULL };
4074
4075 self = self;
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4077 return NULL;
4078 if (_argo0) {
4079 if (_argo0 == Py_None) { _arg0 = NULL; }
4080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4082 return NULL;
4083 }
4084 }
4085 if (_argo1) {
4086 if (_argo1 == Py_None) { _arg1 = NULL; }
4087 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4088 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4089 return NULL;
4090 }
4091 }
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) return NULL;
4098 } Py_INCREF(Py_None);
4099 _resultobj = Py_None;
4100 return _resultobj;
4101 }
4102
4103 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4104 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject * _resultobj;
4106 wxGridCellAttrProvider * _arg0;
4107 wxGridCellAttr * _arg1;
4108 int _arg2;
4109 PyObject * _argo0 = 0;
4110 PyObject * _argo1 = 0;
4111 char *_kwnames[] = { "self","attr","col", NULL };
4112
4113 self = self;
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4115 return NULL;
4116 if (_argo0) {
4117 if (_argo0 == Py_None) { _arg0 = NULL; }
4118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4120 return NULL;
4121 }
4122 }
4123 if (_argo1) {
4124 if (_argo1 == Py_None) { _arg1 = NULL; }
4125 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4127 return NULL;
4128 }
4129 }
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) return NULL;
4136 } Py_INCREF(Py_None);
4137 _resultobj = Py_None;
4138 return _resultobj;
4139 }
4140
4141 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4142 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject * _resultobj;
4144 wxGridCellAttrProvider * _arg0;
4145 size_t _arg1;
4146 int _arg2;
4147 PyObject * _argo0 = 0;
4148 char *_kwnames[] = { "self","pos","numRows", NULL };
4149
4150 self = self;
4151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4152 return NULL;
4153 if (_argo0) {
4154 if (_argo0 == Py_None) { _arg0 = NULL; }
4155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4157 return NULL;
4158 }
4159 }
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) return NULL;
4166 } Py_INCREF(Py_None);
4167 _resultobj = Py_None;
4168 return _resultobj;
4169 }
4170
4171 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4172 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject * _resultobj;
4174 wxGridCellAttrProvider * _arg0;
4175 size_t _arg1;
4176 int _arg2;
4177 PyObject * _argo0 = 0;
4178 char *_kwnames[] = { "self","pos","numCols", NULL };
4179
4180 self = self;
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4182 return NULL;
4183 if (_argo0) {
4184 if (_argo0 == Py_None) { _arg0 = NULL; }
4185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4187 return NULL;
4188 }
4189 }
4190 {
4191 PyThreadState* __tstate = wxPyBeginAllowThreads();
4192 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4193
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) return NULL;
4196 } Py_INCREF(Py_None);
4197 _resultobj = Py_None;
4198 return _resultobj;
4199 }
4200
4201 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4202 wxPyGridCellAttrProvider *src;
4203 wxGridCellAttrProvider *dest;
4204 src = (wxPyGridCellAttrProvider *) ptr;
4205 dest = (wxGridCellAttrProvider *) src;
4206 return (void *) dest;
4207 }
4208
4209 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4210 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4211 PyObject * _resultobj;
4212 wxPyGridCellAttrProvider * _result;
4213 char *_kwnames[] = { NULL };
4214 char _ptemp[128];
4215
4216 self = self;
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4218 return NULL;
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) return NULL;
4225 } if (_result) {
4226 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4227 _resultobj = Py_BuildValue("s",_ptemp);
4228 } else {
4229 Py_INCREF(Py_None);
4230 _resultobj = Py_None;
4231 }
4232 return _resultobj;
4233 }
4234
4235 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4236 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4237 PyObject * _resultobj;
4238 wxPyGridCellAttrProvider * _arg0;
4239 PyObject * _arg1;
4240 PyObject * _arg2;
4241 PyObject * _argo0 = 0;
4242 PyObject * _obj1 = 0;
4243 PyObject * _obj2 = 0;
4244 char *_kwnames[] = { "self","self","_class", NULL };
4245
4246 self = self;
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4248 return NULL;
4249 if (_argo0) {
4250 if (_argo0 == Py_None) { _arg0 = NULL; }
4251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4253 return NULL;
4254 }
4255 }
4256 {
4257 _arg1 = _obj1;
4258 }
4259 {
4260 _arg2 = _obj2;
4261 }
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) return NULL;
4268 } Py_INCREF(Py_None);
4269 _resultobj = Py_None;
4270 return _resultobj;
4271 }
4272
4273 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4274 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4275 PyObject * _resultobj;
4276 wxGridCellAttr * _result;
4277 wxPyGridCellAttrProvider * _arg0;
4278 int _arg1;
4279 int _arg2;
4280 wxGridCellAttr::wxAttrKind _arg3;
4281 PyObject * _argo0 = 0;
4282 char *_kwnames[] = { "self","row","col","kind", NULL };
4283 char _ptemp[128];
4284
4285 self = self;
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4287 return NULL;
4288 if (_argo0) {
4289 if (_argo0 == Py_None) { _arg0 = NULL; }
4290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4292 return NULL;
4293 }
4294 }
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4298
4299 wxPyEndAllowThreads(__tstate);
4300 if (PyErr_Occurred()) return NULL;
4301 } if (_result) {
4302 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
4303 _resultobj = Py_BuildValue("s",_ptemp);
4304 } else {
4305 Py_INCREF(Py_None);
4306 _resultobj = Py_None;
4307 }
4308 return _resultobj;
4309 }
4310
4311 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4312 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4313 PyObject * _resultobj;
4314 wxPyGridCellAttrProvider * _arg0;
4315 wxGridCellAttr * _arg1;
4316 int _arg2;
4317 int _arg3;
4318 PyObject * _argo0 = 0;
4319 PyObject * _argo1 = 0;
4320 char *_kwnames[] = { "self","attr","row","col", NULL };
4321
4322 self = self;
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4324 return NULL;
4325 if (_argo0) {
4326 if (_argo0 == Py_None) { _arg0 = NULL; }
4327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4329 return NULL;
4330 }
4331 }
4332 if (_argo1) {
4333 if (_argo1 == Py_None) { _arg1 = NULL; }
4334 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4335 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4336 return NULL;
4337 }
4338 }
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) return NULL;
4345 } Py_INCREF(Py_None);
4346 _resultobj = Py_None;
4347 return _resultobj;
4348 }
4349
4350 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4351 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject * _resultobj;
4353 wxPyGridCellAttrProvider * _arg0;
4354 wxGridCellAttr * _arg1;
4355 int _arg2;
4356 PyObject * _argo0 = 0;
4357 PyObject * _argo1 = 0;
4358 char *_kwnames[] = { "self","attr","row", NULL };
4359
4360 self = self;
4361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4362 return NULL;
4363 if (_argo0) {
4364 if (_argo0 == Py_None) { _arg0 = NULL; }
4365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4367 return NULL;
4368 }
4369 }
4370 if (_argo1) {
4371 if (_argo1 == Py_None) { _arg1 = NULL; }
4372 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4373 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4374 return NULL;
4375 }
4376 }
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4380
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) return NULL;
4383 } Py_INCREF(Py_None);
4384 _resultobj = Py_None;
4385 return _resultobj;
4386 }
4387
4388 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4389 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject * _resultobj;
4391 wxPyGridCellAttrProvider * _arg0;
4392 wxGridCellAttr * _arg1;
4393 int _arg2;
4394 PyObject * _argo0 = 0;
4395 PyObject * _argo1 = 0;
4396 char *_kwnames[] = { "self","attr","col", NULL };
4397
4398 self = self;
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4400 return NULL;
4401 if (_argo0) {
4402 if (_argo0 == Py_None) { _arg0 = NULL; }
4403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4405 return NULL;
4406 }
4407 }
4408 if (_argo1) {
4409 if (_argo1 == Py_None) { _arg1 = NULL; }
4410 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4411 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4412 return NULL;
4413 }
4414 }
4415 {
4416 PyThreadState* __tstate = wxPyBeginAllowThreads();
4417 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4418
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) return NULL;
4421 } Py_INCREF(Py_None);
4422 _resultobj = Py_None;
4423 return _resultobj;
4424 }
4425
4426 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4427 wxGridTableBase *src;
4428 wxObject *dest;
4429 src = (wxGridTableBase *) ptr;
4430 dest = (wxObject *) src;
4431 return (void *) dest;
4432 }
4433
4434 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4435 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4436 PyObject * _resultobj;
4437 wxGridTableBase * _arg0;
4438 wxGridCellAttrProvider * _arg1;
4439 PyObject * _argo0 = 0;
4440 PyObject * _argo1 = 0;
4441 char *_kwnames[] = { "self","attrProvider", NULL };
4442
4443 self = self;
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4445 return NULL;
4446 if (_argo0) {
4447 if (_argo0 == Py_None) { _arg0 = NULL; }
4448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4450 return NULL;
4451 }
4452 }
4453 if (_argo1) {
4454 if (_argo1 == Py_None) { _arg1 = NULL; }
4455 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4456 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4457 return NULL;
4458 }
4459 }
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) return NULL;
4466 } Py_INCREF(Py_None);
4467 _resultobj = Py_None;
4468 return _resultobj;
4469 }
4470
4471 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4472 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject * _resultobj;
4474 wxGridCellAttrProvider * _result;
4475 wxGridTableBase * _arg0;
4476 PyObject * _argo0 = 0;
4477 char *_kwnames[] = { "self", NULL };
4478 char _ptemp[128];
4479
4480 self = self;
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4482 return NULL;
4483 if (_argo0) {
4484 if (_argo0 == Py_None) { _arg0 = NULL; }
4485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4487 return NULL;
4488 }
4489 }
4490 {
4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
4492 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4493
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) return NULL;
4496 } if (_result) {
4497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4498 _resultobj = Py_BuildValue("s",_ptemp);
4499 } else {
4500 Py_INCREF(Py_None);
4501 _resultobj = Py_None;
4502 }
4503 return _resultobj;
4504 }
4505
4506 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4507 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject * _resultobj;
4509 wxGridTableBase * _arg0;
4510 wxGrid * _arg1;
4511 PyObject * _argo0 = 0;
4512 PyObject * _argo1 = 0;
4513 char *_kwnames[] = { "self","grid", NULL };
4514
4515 self = self;
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4517 return NULL;
4518 if (_argo0) {
4519 if (_argo0 == Py_None) { _arg0 = NULL; }
4520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4522 return NULL;
4523 }
4524 }
4525 if (_argo1) {
4526 if (_argo1 == Py_None) { _arg1 = NULL; }
4527 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4528 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4529 return NULL;
4530 }
4531 }
4532 {
4533 PyThreadState* __tstate = wxPyBeginAllowThreads();
4534 wxGridTableBase_SetView(_arg0,_arg1);
4535
4536 wxPyEndAllowThreads(__tstate);
4537 if (PyErr_Occurred()) return NULL;
4538 } Py_INCREF(Py_None);
4539 _resultobj = Py_None;
4540 return _resultobj;
4541 }
4542
4543 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4544 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject * _resultobj;
4546 wxGrid * _result;
4547 wxGridTableBase * _arg0;
4548 PyObject * _argo0 = 0;
4549 char *_kwnames[] = { "self", NULL };
4550
4551 self = self;
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4553 return NULL;
4554 if (_argo0) {
4555 if (_argo0 == Py_None) { _arg0 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4558 return NULL;
4559 }
4560 }
4561 {
4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
4563 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4564
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) return NULL;
4567 }{ _resultobj = wxPyMake_wxObject(_result); }
4568 return _resultobj;
4569 }
4570
4571 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4572 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject * _resultobj;
4574 int _result;
4575 wxGridTableBase * _arg0;
4576 PyObject * _argo0 = 0;
4577 char *_kwnames[] = { "self", NULL };
4578
4579 self = self;
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4581 return NULL;
4582 if (_argo0) {
4583 if (_argo0 == Py_None) { _arg0 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4586 return NULL;
4587 }
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) return NULL;
4595 } _resultobj = Py_BuildValue("i",_result);
4596 return _resultobj;
4597 }
4598
4599 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4600 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4601 PyObject * _resultobj;
4602 int _result;
4603 wxGridTableBase * _arg0;
4604 PyObject * _argo0 = 0;
4605 char *_kwnames[] = { "self", NULL };
4606
4607 self = self;
4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4609 return NULL;
4610 if (_argo0) {
4611 if (_argo0 == Py_None) { _arg0 = NULL; }
4612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4614 return NULL;
4615 }
4616 }
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) return NULL;
4623 } _resultobj = Py_BuildValue("i",_result);
4624 return _resultobj;
4625 }
4626
4627 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4628 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4629 PyObject * _resultobj;
4630 bool _result;
4631 wxGridTableBase * _arg0;
4632 int _arg1;
4633 int _arg2;
4634 PyObject * _argo0 = 0;
4635 char *_kwnames[] = { "self","row","col", NULL };
4636
4637 self = self;
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4639 return NULL;
4640 if (_argo0) {
4641 if (_argo0 == Py_None) { _arg0 = NULL; }
4642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4644 return NULL;
4645 }
4646 }
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) return NULL;
4653 } _resultobj = Py_BuildValue("i",_result);
4654 return _resultobj;
4655 }
4656
4657 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4658 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject * _resultobj;
4660 wxString * _result;
4661 wxGridTableBase * _arg0;
4662 int _arg1;
4663 int _arg2;
4664 PyObject * _argo0 = 0;
4665 char *_kwnames[] = { "self","row","col", NULL };
4666
4667 self = self;
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4669 return NULL;
4670 if (_argo0) {
4671 if (_argo0 == Py_None) { _arg0 = NULL; }
4672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4674 return NULL;
4675 }
4676 }
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4680
4681 wxPyEndAllowThreads(__tstate);
4682 if (PyErr_Occurred()) return NULL;
4683 }{
4684 #if wxUSE_UNICODE
4685 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4686 #else
4687 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4688 #endif
4689 }
4690 {
4691 delete _result;
4692 }
4693 return _resultobj;
4694 }
4695
4696 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4697 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4698 PyObject * _resultobj;
4699 wxGridTableBase * _arg0;
4700 int _arg1;
4701 int _arg2;
4702 wxString * _arg3;
4703 PyObject * _argo0 = 0;
4704 PyObject * _obj3 = 0;
4705 char *_kwnames[] = { "self","row","col","value", NULL };
4706
4707 self = self;
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4709 return NULL;
4710 if (_argo0) {
4711 if (_argo0 == Py_None) { _arg0 = NULL; }
4712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4714 return NULL;
4715 }
4716 }
4717 {
4718 _arg3 = wxString_in_helper(_obj3);
4719 if (_arg3 == NULL)
4720 return NULL;
4721 }
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) return NULL;
4728 } Py_INCREF(Py_None);
4729 _resultobj = Py_None;
4730 {
4731 if (_obj3)
4732 delete _arg3;
4733 }
4734 return _resultobj;
4735 }
4736
4737 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4738 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject * _resultobj;
4740 wxString * _result;
4741 wxGridTableBase * _arg0;
4742 int _arg1;
4743 int _arg2;
4744 PyObject * _argo0 = 0;
4745 char *_kwnames[] = { "self","row","col", NULL };
4746
4747 self = self;
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4749 return NULL;
4750 if (_argo0) {
4751 if (_argo0 == Py_None) { _arg0 = NULL; }
4752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4754 return NULL;
4755 }
4756 }
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) return NULL;
4763 }{
4764 #if wxUSE_UNICODE
4765 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4766 #else
4767 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4768 #endif
4769 }
4770 {
4771 delete _result;
4772 }
4773 return _resultobj;
4774 }
4775
4776 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4777 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject * _resultobj;
4779 bool _result;
4780 wxGridTableBase * _arg0;
4781 int _arg1;
4782 int _arg2;
4783 wxString * _arg3;
4784 PyObject * _argo0 = 0;
4785 PyObject * _obj3 = 0;
4786 char *_kwnames[] = { "self","row","col","typeName", NULL };
4787
4788 self = self;
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4790 return NULL;
4791 if (_argo0) {
4792 if (_argo0 == Py_None) { _arg0 = NULL; }
4793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4795 return NULL;
4796 }
4797 }
4798 {
4799 _arg3 = wxString_in_helper(_obj3);
4800 if (_arg3 == NULL)
4801 return NULL;
4802 }
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) return NULL;
4809 } _resultobj = Py_BuildValue("i",_result);
4810 {
4811 if (_obj3)
4812 delete _arg3;
4813 }
4814 return _resultobj;
4815 }
4816
4817 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4818 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4819 PyObject * _resultobj;
4820 bool _result;
4821 wxGridTableBase * _arg0;
4822 int _arg1;
4823 int _arg2;
4824 wxString * _arg3;
4825 PyObject * _argo0 = 0;
4826 PyObject * _obj3 = 0;
4827 char *_kwnames[] = { "self","row","col","typeName", NULL };
4828
4829 self = self;
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4831 return NULL;
4832 if (_argo0) {
4833 if (_argo0 == Py_None) { _arg0 = NULL; }
4834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4836 return NULL;
4837 }
4838 }
4839 {
4840 _arg3 = wxString_in_helper(_obj3);
4841 if (_arg3 == NULL)
4842 return NULL;
4843 }
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) return NULL;
4850 } _resultobj = Py_BuildValue("i",_result);
4851 {
4852 if (_obj3)
4853 delete _arg3;
4854 }
4855 return _resultobj;
4856 }
4857
4858 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4859 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4860 PyObject * _resultobj;
4861 long _result;
4862 wxGridTableBase * _arg0;
4863 int _arg1;
4864 int _arg2;
4865 PyObject * _argo0 = 0;
4866 char *_kwnames[] = { "self","row","col", NULL };
4867
4868 self = self;
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
4870 return NULL;
4871 if (_argo0) {
4872 if (_argo0 == Py_None) { _arg0 = NULL; }
4873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4875 return NULL;
4876 }
4877 }
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) return NULL;
4884 } _resultobj = Py_BuildValue("l",_result);
4885 return _resultobj;
4886 }
4887
4888 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4889 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject * _resultobj;
4891 double _result;
4892 wxGridTableBase * _arg0;
4893 int _arg1;
4894 int _arg2;
4895 PyObject * _argo0 = 0;
4896 char *_kwnames[] = { "self","row","col", NULL };
4897
4898 self = self;
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
4900 return NULL;
4901 if (_argo0) {
4902 if (_argo0 == Py_None) { _arg0 = NULL; }
4903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4905 return NULL;
4906 }
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) return NULL;
4914 } _resultobj = Py_BuildValue("d",_result);
4915 return _resultobj;
4916 }
4917
4918 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4919 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject * _resultobj;
4921 bool _result;
4922 wxGridTableBase * _arg0;
4923 int _arg1;
4924 int _arg2;
4925 PyObject * _argo0 = 0;
4926 char *_kwnames[] = { "self","row","col", NULL };
4927
4928 self = self;
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
4930 return NULL;
4931 if (_argo0) {
4932 if (_argo0 == Py_None) { _arg0 = NULL; }
4933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4935 return NULL;
4936 }
4937 }
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) return NULL;
4944 } _resultobj = Py_BuildValue("i",_result);
4945 return _resultobj;
4946 }
4947
4948 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4949 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject * _resultobj;
4951 wxGridTableBase * _arg0;
4952 int _arg1;
4953 int _arg2;
4954 long _arg3;
4955 PyObject * _argo0 = 0;
4956 char *_kwnames[] = { "self","row","col","value", NULL };
4957
4958 self = self;
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4960 return NULL;
4961 if (_argo0) {
4962 if (_argo0 == Py_None) { _arg0 = NULL; }
4963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4965 return NULL;
4966 }
4967 }
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) return NULL;
4974 } Py_INCREF(Py_None);
4975 _resultobj = Py_None;
4976 return _resultobj;
4977 }
4978
4979 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4980 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject * _resultobj;
4982 wxGridTableBase * _arg0;
4983 int _arg1;
4984 int _arg2;
4985 double _arg3;
4986 PyObject * _argo0 = 0;
4987 char *_kwnames[] = { "self","row","col","value", NULL };
4988
4989 self = self;
4990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4991 return NULL;
4992 if (_argo0) {
4993 if (_argo0 == Py_None) { _arg0 = NULL; }
4994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4996 return NULL;
4997 }
4998 }
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) return NULL;
5005 } Py_INCREF(Py_None);
5006 _resultobj = Py_None;
5007 return _resultobj;
5008 }
5009
5010 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5011 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5012 PyObject * _resultobj;
5013 wxGridTableBase * _arg0;
5014 int _arg1;
5015 int _arg2;
5016 bool _arg3;
5017 PyObject * _argo0 = 0;
5018 int tempbool3;
5019 char *_kwnames[] = { "self","row","col","value", NULL };
5020
5021 self = self;
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5023 return NULL;
5024 if (_argo0) {
5025 if (_argo0 == Py_None) { _arg0 = NULL; }
5026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5028 return NULL;
5029 }
5030 }
5031 _arg3 = (bool ) tempbool3;
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) return NULL;
5038 } Py_INCREF(Py_None);
5039 _resultobj = Py_None;
5040 return _resultobj;
5041 }
5042
5043 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5044 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject * _resultobj;
5046 wxGridTableBase * _arg0;
5047 PyObject * _argo0 = 0;
5048 char *_kwnames[] = { "self", NULL };
5049
5050 self = self;
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5052 return NULL;
5053 if (_argo0) {
5054 if (_argo0 == Py_None) { _arg0 = NULL; }
5055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5057 return NULL;
5058 }
5059 }
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 wxGridTableBase_Clear(_arg0);
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) return NULL;
5066 } Py_INCREF(Py_None);
5067 _resultobj = Py_None;
5068 return _resultobj;
5069 }
5070
5071 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5072 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject * _resultobj;
5074 bool _result;
5075 wxGridTableBase * _arg0;
5076 size_t _arg1 = (size_t ) 0;
5077 size_t _arg2 = (size_t ) 1;
5078 PyObject * _argo0 = 0;
5079 char *_kwnames[] = { "self","pos","numRows", NULL };
5080
5081 self = self;
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5083 return NULL;
5084 if (_argo0) {
5085 if (_argo0 == Py_None) { _arg0 = NULL; }
5086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5088 return NULL;
5089 }
5090 }
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) return NULL;
5097 } _resultobj = Py_BuildValue("i",_result);
5098 return _resultobj;
5099 }
5100
5101 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5102 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5103 PyObject * _resultobj;
5104 bool _result;
5105 wxGridTableBase * _arg0;
5106 size_t _arg1 = (size_t ) 1;
5107 PyObject * _argo0 = 0;
5108 char *_kwnames[] = { "self","numRows", NULL };
5109
5110 self = self;
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5112 return NULL;
5113 if (_argo0) {
5114 if (_argo0 == Py_None) { _arg0 = NULL; }
5115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5117 return NULL;
5118 }
5119 }
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5123
5124 wxPyEndAllowThreads(__tstate);
5125 if (PyErr_Occurred()) return NULL;
5126 } _resultobj = Py_BuildValue("i",_result);
5127 return _resultobj;
5128 }
5129
5130 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5131 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject * _resultobj;
5133 bool _result;
5134 wxGridTableBase * _arg0;
5135 size_t _arg1 = (size_t ) 0;
5136 size_t _arg2 = (size_t ) 1;
5137 PyObject * _argo0 = 0;
5138 char *_kwnames[] = { "self","pos","numRows", NULL };
5139
5140 self = self;
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5142 return NULL;
5143 if (_argo0) {
5144 if (_argo0 == Py_None) { _arg0 = NULL; }
5145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5147 return NULL;
5148 }
5149 }
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) return NULL;
5156 } _resultobj = Py_BuildValue("i",_result);
5157 return _resultobj;
5158 }
5159
5160 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5161 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5162 PyObject * _resultobj;
5163 bool _result;
5164 wxGridTableBase * _arg0;
5165 size_t _arg1 = (size_t ) 0;
5166 size_t _arg2 = (size_t ) 1;
5167 PyObject * _argo0 = 0;
5168 char *_kwnames[] = { "self","pos","numCols", NULL };
5169
5170 self = self;
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5172 return NULL;
5173 if (_argo0) {
5174 if (_argo0 == Py_None) { _arg0 = NULL; }
5175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5177 return NULL;
5178 }
5179 }
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5183
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) return NULL;
5186 } _resultobj = Py_BuildValue("i",_result);
5187 return _resultobj;
5188 }
5189
5190 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5191 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5192 PyObject * _resultobj;
5193 bool _result;
5194 wxGridTableBase * _arg0;
5195 size_t _arg1 = (size_t ) 1;
5196 PyObject * _argo0 = 0;
5197 char *_kwnames[] = { "self","numCols", NULL };
5198
5199 self = self;
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5201 return NULL;
5202 if (_argo0) {
5203 if (_argo0 == Py_None) { _arg0 = NULL; }
5204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5206 return NULL;
5207 }
5208 }
5209 {
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) return NULL;
5215 } _resultobj = Py_BuildValue("i",_result);
5216 return _resultobj;
5217 }
5218
5219 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5220 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5221 PyObject * _resultobj;
5222 bool _result;
5223 wxGridTableBase * _arg0;
5224 size_t _arg1 = (size_t ) 0;
5225 size_t _arg2 = (size_t ) 1;
5226 PyObject * _argo0 = 0;
5227 char *_kwnames[] = { "self","pos","numCols", NULL };
5228
5229 self = self;
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5231 return NULL;
5232 if (_argo0) {
5233 if (_argo0 == Py_None) { _arg0 = NULL; }
5234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5236 return NULL;
5237 }
5238 }
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5242
5243 wxPyEndAllowThreads(__tstate);
5244 if (PyErr_Occurred()) return NULL;
5245 } _resultobj = Py_BuildValue("i",_result);
5246 return _resultobj;
5247 }
5248
5249 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5250 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject * _resultobj;
5252 wxString * _result;
5253 wxGridTableBase * _arg0;
5254 int _arg1;
5255 PyObject * _argo0 = 0;
5256 char *_kwnames[] = { "self","row", NULL };
5257
5258 self = self;
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5260 return NULL;
5261 if (_argo0) {
5262 if (_argo0 == Py_None) { _arg0 = NULL; }
5263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5265 return NULL;
5266 }
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) return NULL;
5274 }{
5275 #if wxUSE_UNICODE
5276 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5277 #else
5278 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5279 #endif
5280 }
5281 {
5282 delete _result;
5283 }
5284 return _resultobj;
5285 }
5286
5287 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5288 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5289 PyObject * _resultobj;
5290 wxString * _result;
5291 wxGridTableBase * _arg0;
5292 int _arg1;
5293 PyObject * _argo0 = 0;
5294 char *_kwnames[] = { "self","col", NULL };
5295
5296 self = self;
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5298 return NULL;
5299 if (_argo0) {
5300 if (_argo0 == Py_None) { _arg0 = NULL; }
5301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5303 return NULL;
5304 }
5305 }
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) return NULL;
5312 }{
5313 #if wxUSE_UNICODE
5314 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5315 #else
5316 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5317 #endif
5318 }
5319 {
5320 delete _result;
5321 }
5322 return _resultobj;
5323 }
5324
5325 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5326 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5327 PyObject * _resultobj;
5328 wxGridTableBase * _arg0;
5329 int _arg1;
5330 wxString * _arg2;
5331 PyObject * _argo0 = 0;
5332 PyObject * _obj2 = 0;
5333 char *_kwnames[] = { "self","row","value", NULL };
5334
5335 self = self;
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5337 return NULL;
5338 if (_argo0) {
5339 if (_argo0 == Py_None) { _arg0 = NULL; }
5340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5342 return NULL;
5343 }
5344 }
5345 {
5346 _arg2 = wxString_in_helper(_obj2);
5347 if (_arg2 == NULL)
5348 return NULL;
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) return NULL;
5356 } Py_INCREF(Py_None);
5357 _resultobj = Py_None;
5358 {
5359 if (_obj2)
5360 delete _arg2;
5361 }
5362 return _resultobj;
5363 }
5364
5365 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5366 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject * _resultobj;
5368 wxGridTableBase * _arg0;
5369 int _arg1;
5370 wxString * _arg2;
5371 PyObject * _argo0 = 0;
5372 PyObject * _obj2 = 0;
5373 char *_kwnames[] = { "self","col","value", NULL };
5374
5375 self = self;
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5377 return NULL;
5378 if (_argo0) {
5379 if (_argo0 == Py_None) { _arg0 = NULL; }
5380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5382 return NULL;
5383 }
5384 }
5385 {
5386 _arg2 = wxString_in_helper(_obj2);
5387 if (_arg2 == NULL)
5388 return NULL;
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) return NULL;
5396 } Py_INCREF(Py_None);
5397 _resultobj = Py_None;
5398 {
5399 if (_obj2)
5400 delete _arg2;
5401 }
5402 return _resultobj;
5403 }
5404
5405 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5406 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5407 PyObject * _resultobj;
5408 bool _result;
5409 wxGridTableBase * _arg0;
5410 PyObject * _argo0 = 0;
5411 char *_kwnames[] = { "self", NULL };
5412
5413 self = self;
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5415 return NULL;
5416 if (_argo0) {
5417 if (_argo0 == Py_None) { _arg0 = NULL; }
5418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5420 return NULL;
5421 }
5422 }
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) return NULL;
5429 } _resultobj = Py_BuildValue("i",_result);
5430 return _resultobj;
5431 }
5432
5433 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5434 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5435 PyObject * _resultobj;
5436 wxGridCellAttr * _result;
5437 wxGridTableBase * _arg0;
5438 int _arg1;
5439 int _arg2;
5440 wxGridCellAttr::wxAttrKind _arg3;
5441 PyObject * _argo0 = 0;
5442 char *_kwnames[] = { "self","row","col","kind", NULL };
5443 char _ptemp[128];
5444
5445 self = self;
5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5447 return NULL;
5448 if (_argo0) {
5449 if (_argo0 == Py_None) { _arg0 = NULL; }
5450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5452 return NULL;
5453 }
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5458
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) return NULL;
5461 } if (_result) {
5462 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
5463 _resultobj = Py_BuildValue("s",_ptemp);
5464 } else {
5465 Py_INCREF(Py_None);
5466 _resultobj = Py_None;
5467 }
5468 return _resultobj;
5469 }
5470
5471 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5472 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5473 PyObject * _resultobj;
5474 wxGridTableBase * _arg0;
5475 wxGridCellAttr * _arg1;
5476 int _arg2;
5477 int _arg3;
5478 PyObject * _argo0 = 0;
5479 PyObject * _argo1 = 0;
5480 char *_kwnames[] = { "self","attr","row","col", NULL };
5481
5482 self = self;
5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5484 return NULL;
5485 if (_argo0) {
5486 if (_argo0 == Py_None) { _arg0 = NULL; }
5487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5489 return NULL;
5490 }
5491 }
5492 if (_argo1) {
5493 if (_argo1 == Py_None) { _arg1 = NULL; }
5494 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5495 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5496 return NULL;
5497 }
5498 }
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) return NULL;
5505 } Py_INCREF(Py_None);
5506 _resultobj = Py_None;
5507 return _resultobj;
5508 }
5509
5510 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5511 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5512 PyObject * _resultobj;
5513 wxGridTableBase * _arg0;
5514 wxGridCellAttr * _arg1;
5515 int _arg2;
5516 PyObject * _argo0 = 0;
5517 PyObject * _argo1 = 0;
5518 char *_kwnames[] = { "self","attr","row", NULL };
5519
5520 self = self;
5521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5522 return NULL;
5523 if (_argo0) {
5524 if (_argo0 == Py_None) { _arg0 = NULL; }
5525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5527 return NULL;
5528 }
5529 }
5530 if (_argo1) {
5531 if (_argo1 == Py_None) { _arg1 = NULL; }
5532 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5533 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5534 return NULL;
5535 }
5536 }
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) return NULL;
5543 } Py_INCREF(Py_None);
5544 _resultobj = Py_None;
5545 return _resultobj;
5546 }
5547
5548 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5549 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5550 PyObject * _resultobj;
5551 wxGridTableBase * _arg0;
5552 wxGridCellAttr * _arg1;
5553 int _arg2;
5554 PyObject * _argo0 = 0;
5555 PyObject * _argo1 = 0;
5556 char *_kwnames[] = { "self","attr","col", NULL };
5557
5558 self = self;
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5560 return NULL;
5561 if (_argo0) {
5562 if (_argo0 == Py_None) { _arg0 = NULL; }
5563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5565 return NULL;
5566 }
5567 }
5568 if (_argo1) {
5569 if (_argo1 == Py_None) { _arg1 = NULL; }
5570 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5571 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5572 return NULL;
5573 }
5574 }
5575 {
5576 PyThreadState* __tstate = wxPyBeginAllowThreads();
5577 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5578
5579 wxPyEndAllowThreads(__tstate);
5580 if (PyErr_Occurred()) return NULL;
5581 } Py_INCREF(Py_None);
5582 _resultobj = Py_None;
5583 return _resultobj;
5584 }
5585
5586 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5587 wxPyGridTableBase *src;
5588 wxGridTableBase *dest;
5589 src = (wxPyGridTableBase *) ptr;
5590 dest = (wxGridTableBase *) src;
5591 return (void *) dest;
5592 }
5593
5594 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5595 wxPyGridTableBase *src;
5596 wxObject *dest;
5597 src = (wxPyGridTableBase *) ptr;
5598 dest = (wxObject *) src;
5599 return (void *) dest;
5600 }
5601
5602 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5603 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject * _resultobj;
5605 wxPyGridTableBase * _result;
5606 char *_kwnames[] = { NULL };
5607 char _ptemp[128];
5608
5609 self = self;
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5611 return NULL;
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) return NULL;
5618 } if (_result) {
5619 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5620 _resultobj = Py_BuildValue("s",_ptemp);
5621 } else {
5622 Py_INCREF(Py_None);
5623 _resultobj = Py_None;
5624 }
5625 return _resultobj;
5626 }
5627
5628 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5629 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject * _resultobj;
5631 wxPyGridTableBase * _arg0;
5632 PyObject * _arg1;
5633 PyObject * _arg2;
5634 PyObject * _argo0 = 0;
5635 PyObject * _obj1 = 0;
5636 PyObject * _obj2 = 0;
5637 char *_kwnames[] = { "self","self","_class", NULL };
5638
5639 self = self;
5640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5641 return NULL;
5642 if (_argo0) {
5643 if (_argo0 == Py_None) { _arg0 = NULL; }
5644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5646 return NULL;
5647 }
5648 }
5649 {
5650 _arg1 = _obj1;
5651 }
5652 {
5653 _arg2 = _obj2;
5654 }
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
5658
5659 wxPyEndAllowThreads(__tstate);
5660 if (PyErr_Occurred()) return NULL;
5661 } Py_INCREF(Py_None);
5662 _resultobj = Py_None;
5663 return _resultobj;
5664 }
5665
5666 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5667 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject * _resultobj;
5669 wxPyGridTableBase * _arg0;
5670 PyObject * _argo0 = 0;
5671 char *_kwnames[] = { "self", NULL };
5672
5673 self = self;
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5675 return NULL;
5676 if (_argo0) {
5677 if (_argo0 == Py_None) { _arg0 = NULL; }
5678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5680 return NULL;
5681 }
5682 }
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 wxPyGridTableBase_Destroy(_arg0);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) return NULL;
5689 } Py_INCREF(Py_None);
5690 _resultobj = Py_None;
5691 return _resultobj;
5692 }
5693
5694 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5695 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5696 PyObject * _resultobj;
5697 wxString * _result;
5698 wxPyGridTableBase * _arg0;
5699 int _arg1;
5700 int _arg2;
5701 PyObject * _argo0 = 0;
5702 char *_kwnames[] = { "self","row","col", NULL };
5703
5704 self = self;
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5706 return NULL;
5707 if (_argo0) {
5708 if (_argo0 == Py_None) { _arg0 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5711 return NULL;
5712 }
5713 }
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) return NULL;
5720 }{
5721 #if wxUSE_UNICODE
5722 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5723 #else
5724 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5725 #endif
5726 }
5727 {
5728 delete _result;
5729 }
5730 return _resultobj;
5731 }
5732
5733 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5734 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject * _resultobj;
5736 bool _result;
5737 wxPyGridTableBase * _arg0;
5738 int _arg1;
5739 int _arg2;
5740 wxString * _arg3;
5741 PyObject * _argo0 = 0;
5742 PyObject * _obj3 = 0;
5743 char *_kwnames[] = { "self","row","col","typeName", NULL };
5744
5745 self = self;
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5747 return NULL;
5748 if (_argo0) {
5749 if (_argo0 == Py_None) { _arg0 = NULL; }
5750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5752 return NULL;
5753 }
5754 }
5755 {
5756 _arg3 = wxString_in_helper(_obj3);
5757 if (_arg3 == NULL)
5758 return NULL;
5759 }
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) return NULL;
5766 } _resultobj = Py_BuildValue("i",_result);
5767 {
5768 if (_obj3)
5769 delete _arg3;
5770 }
5771 return _resultobj;
5772 }
5773
5774 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5775 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject * _resultobj;
5777 bool _result;
5778 wxPyGridTableBase * _arg0;
5779 int _arg1;
5780 int _arg2;
5781 wxString * _arg3;
5782 PyObject * _argo0 = 0;
5783 PyObject * _obj3 = 0;
5784 char *_kwnames[] = { "self","row","col","typeName", NULL };
5785
5786 self = self;
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5788 return NULL;
5789 if (_argo0) {
5790 if (_argo0 == Py_None) { _arg0 = NULL; }
5791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5793 return NULL;
5794 }
5795 }
5796 {
5797 _arg3 = wxString_in_helper(_obj3);
5798 if (_arg3 == NULL)
5799 return NULL;
5800 }
5801 {
5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
5803 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5804
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) return NULL;
5807 } _resultobj = Py_BuildValue("i",_result);
5808 {
5809 if (_obj3)
5810 delete _arg3;
5811 }
5812 return _resultobj;
5813 }
5814
5815 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5816 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5817 PyObject * _resultobj;
5818 wxPyGridTableBase * _arg0;
5819 PyObject * _argo0 = 0;
5820 char *_kwnames[] = { "self", NULL };
5821
5822 self = self;
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5824 return NULL;
5825 if (_argo0) {
5826 if (_argo0 == Py_None) { _arg0 = NULL; }
5827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5829 return NULL;
5830 }
5831 }
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 wxPyGridTableBase_base_Clear(_arg0);
5835
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) return NULL;
5838 } Py_INCREF(Py_None);
5839 _resultobj = Py_None;
5840 return _resultobj;
5841 }
5842
5843 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5844 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5845 PyObject * _resultobj;
5846 bool _result;
5847 wxPyGridTableBase * _arg0;
5848 size_t _arg1 = (size_t ) 0;
5849 size_t _arg2 = (size_t ) 1;
5850 PyObject * _argo0 = 0;
5851 char *_kwnames[] = { "self","pos","numRows", NULL };
5852
5853 self = self;
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5855 return NULL;
5856 if (_argo0) {
5857 if (_argo0 == Py_None) { _arg0 = NULL; }
5858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5860 return NULL;
5861 }
5862 }
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) return NULL;
5869 } _resultobj = Py_BuildValue("i",_result);
5870 return _resultobj;
5871 }
5872
5873 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5874 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5875 PyObject * _resultobj;
5876 bool _result;
5877 wxPyGridTableBase * _arg0;
5878 size_t _arg1 = (size_t ) 1;
5879 PyObject * _argo0 = 0;
5880 char *_kwnames[] = { "self","numRows", NULL };
5881
5882 self = self;
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
5884 return NULL;
5885 if (_argo0) {
5886 if (_argo0 == Py_None) { _arg0 = NULL; }
5887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5889 return NULL;
5890 }
5891 }
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
5895
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) return NULL;
5898 } _resultobj = Py_BuildValue("i",_result);
5899 return _resultobj;
5900 }
5901
5902 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5903 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5904 PyObject * _resultobj;
5905 bool _result;
5906 wxPyGridTableBase * _arg0;
5907 size_t _arg1 = (size_t ) 0;
5908 size_t _arg2 = (size_t ) 1;
5909 PyObject * _argo0 = 0;
5910 char *_kwnames[] = { "self","pos","numRows", NULL };
5911
5912 self = self;
5913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5914 return NULL;
5915 if (_argo0) {
5916 if (_argo0 == Py_None) { _arg0 = NULL; }
5917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5919 return NULL;
5920 }
5921 }
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) return NULL;
5928 } _resultobj = Py_BuildValue("i",_result);
5929 return _resultobj;
5930 }
5931
5932 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5933 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5934 PyObject * _resultobj;
5935 bool _result;
5936 wxPyGridTableBase * _arg0;
5937 size_t _arg1 = (size_t ) 0;
5938 size_t _arg2 = (size_t ) 1;
5939 PyObject * _argo0 = 0;
5940 char *_kwnames[] = { "self","pos","numCols", NULL };
5941
5942 self = self;
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5944 return NULL;
5945 if (_argo0) {
5946 if (_argo0 == Py_None) { _arg0 = NULL; }
5947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5949 return NULL;
5950 }
5951 }
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
5955
5956 wxPyEndAllowThreads(__tstate);
5957 if (PyErr_Occurred()) return NULL;
5958 } _resultobj = Py_BuildValue("i",_result);
5959 return _resultobj;
5960 }
5961
5962 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5963 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5964 PyObject * _resultobj;
5965 bool _result;
5966 wxPyGridTableBase * _arg0;
5967 size_t _arg1 = (size_t ) 1;
5968 PyObject * _argo0 = 0;
5969 char *_kwnames[] = { "self","numCols", NULL };
5970
5971 self = self;
5972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
5973 return NULL;
5974 if (_argo0) {
5975 if (_argo0 == Py_None) { _arg0 = NULL; }
5976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5978 return NULL;
5979 }
5980 }
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) return NULL;
5987 } _resultobj = Py_BuildValue("i",_result);
5988 return _resultobj;
5989 }
5990
5991 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5992 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject * _resultobj;
5994 bool _result;
5995 wxPyGridTableBase * _arg0;
5996 size_t _arg1 = (size_t ) 0;
5997 size_t _arg2 = (size_t ) 1;
5998 PyObject * _argo0 = 0;
5999 char *_kwnames[] = { "self","pos","numCols", NULL };
6000
6001 self = self;
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6003 return NULL;
6004 if (_argo0) {
6005 if (_argo0 == Py_None) { _arg0 = NULL; }
6006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6008 return NULL;
6009 }
6010 }
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6014
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) return NULL;
6017 } _resultobj = Py_BuildValue("i",_result);
6018 return _resultobj;
6019 }
6020
6021 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6022 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6023 PyObject * _resultobj;
6024 wxString * _result;
6025 wxPyGridTableBase * _arg0;
6026 int _arg1;
6027 PyObject * _argo0 = 0;
6028 char *_kwnames[] = { "self","row", NULL };
6029
6030 self = self;
6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6032 return NULL;
6033 if (_argo0) {
6034 if (_argo0 == Py_None) { _arg0 = NULL; }
6035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6037 return NULL;
6038 }
6039 }
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) return NULL;
6046 }{
6047 #if wxUSE_UNICODE
6048 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6049 #else
6050 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6051 #endif
6052 }
6053 {
6054 delete _result;
6055 }
6056 return _resultobj;
6057 }
6058
6059 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6060 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6061 PyObject * _resultobj;
6062 wxString * _result;
6063 wxPyGridTableBase * _arg0;
6064 int _arg1;
6065 PyObject * _argo0 = 0;
6066 char *_kwnames[] = { "self","col", NULL };
6067
6068 self = self;
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6070 return NULL;
6071 if (_argo0) {
6072 if (_argo0 == Py_None) { _arg0 = NULL; }
6073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6075 return NULL;
6076 }
6077 }
6078 {
6079 PyThreadState* __tstate = wxPyBeginAllowThreads();
6080 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6081
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) return NULL;
6084 }{
6085 #if wxUSE_UNICODE
6086 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6087 #else
6088 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6089 #endif
6090 }
6091 {
6092 delete _result;
6093 }
6094 return _resultobj;
6095 }
6096
6097 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6098 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject * _resultobj;
6100 wxPyGridTableBase * _arg0;
6101 int _arg1;
6102 wxString * _arg2;
6103 PyObject * _argo0 = 0;
6104 PyObject * _obj2 = 0;
6105 char *_kwnames[] = { "self","row","value", NULL };
6106
6107 self = self;
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6109 return NULL;
6110 if (_argo0) {
6111 if (_argo0 == Py_None) { _arg0 = NULL; }
6112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6114 return NULL;
6115 }
6116 }
6117 {
6118 _arg2 = wxString_in_helper(_obj2);
6119 if (_arg2 == NULL)
6120 return NULL;
6121 }
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) return NULL;
6128 } Py_INCREF(Py_None);
6129 _resultobj = Py_None;
6130 {
6131 if (_obj2)
6132 delete _arg2;
6133 }
6134 return _resultobj;
6135 }
6136
6137 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6138 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject * _resultobj;
6140 wxPyGridTableBase * _arg0;
6141 int _arg1;
6142 wxString * _arg2;
6143 PyObject * _argo0 = 0;
6144 PyObject * _obj2 = 0;
6145 char *_kwnames[] = { "self","col","value", NULL };
6146
6147 self = self;
6148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6149 return NULL;
6150 if (_argo0) {
6151 if (_argo0 == Py_None) { _arg0 = NULL; }
6152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6154 return NULL;
6155 }
6156 }
6157 {
6158 _arg2 = wxString_in_helper(_obj2);
6159 if (_arg2 == NULL)
6160 return NULL;
6161 }
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) return NULL;
6168 } Py_INCREF(Py_None);
6169 _resultobj = Py_None;
6170 {
6171 if (_obj2)
6172 delete _arg2;
6173 }
6174 return _resultobj;
6175 }
6176
6177 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6178 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject * _resultobj;
6180 bool _result;
6181 wxPyGridTableBase * _arg0;
6182 PyObject * _argo0 = 0;
6183 char *_kwnames[] = { "self", NULL };
6184
6185 self = self;
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6187 return NULL;
6188 if (_argo0) {
6189 if (_argo0 == Py_None) { _arg0 = NULL; }
6190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6192 return NULL;
6193 }
6194 }
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) return NULL;
6201 } _resultobj = Py_BuildValue("i",_result);
6202 return _resultobj;
6203 }
6204
6205 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6206 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6207 PyObject * _resultobj;
6208 wxGridCellAttr * _result;
6209 wxPyGridTableBase * _arg0;
6210 int _arg1;
6211 int _arg2;
6212 wxGridCellAttr::wxAttrKind _arg3;
6213 PyObject * _argo0 = 0;
6214 char *_kwnames[] = { "self","row","col","kind", NULL };
6215 char _ptemp[128];
6216
6217 self = self;
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6219 return NULL;
6220 if (_argo0) {
6221 if (_argo0 == Py_None) { _arg0 = NULL; }
6222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6224 return NULL;
6225 }
6226 }
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6230
6231 wxPyEndAllowThreads(__tstate);
6232 if (PyErr_Occurred()) return NULL;
6233 } if (_result) {
6234 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
6235 _resultobj = Py_BuildValue("s",_ptemp);
6236 } else {
6237 Py_INCREF(Py_None);
6238 _resultobj = Py_None;
6239 }
6240 return _resultobj;
6241 }
6242
6243 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6244 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject * _resultobj;
6246 wxPyGridTableBase * _arg0;
6247 wxGridCellAttr * _arg1;
6248 int _arg2;
6249 int _arg3;
6250 PyObject * _argo0 = 0;
6251 PyObject * _argo1 = 0;
6252 char *_kwnames[] = { "self","attr","row","col", NULL };
6253
6254 self = self;
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6256 return NULL;
6257 if (_argo0) {
6258 if (_argo0 == Py_None) { _arg0 = NULL; }
6259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6261 return NULL;
6262 }
6263 }
6264 if (_argo1) {
6265 if (_argo1 == Py_None) { _arg1 = NULL; }
6266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6268 return NULL;
6269 }
6270 }
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) return NULL;
6277 } Py_INCREF(Py_None);
6278 _resultobj = Py_None;
6279 return _resultobj;
6280 }
6281
6282 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6283 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject * _resultobj;
6285 wxPyGridTableBase * _arg0;
6286 wxGridCellAttr * _arg1;
6287 int _arg2;
6288 PyObject * _argo0 = 0;
6289 PyObject * _argo1 = 0;
6290 char *_kwnames[] = { "self","attr","row", NULL };
6291
6292 self = self;
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6294 return NULL;
6295 if (_argo0) {
6296 if (_argo0 == Py_None) { _arg0 = NULL; }
6297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6299 return NULL;
6300 }
6301 }
6302 if (_argo1) {
6303 if (_argo1 == Py_None) { _arg1 = NULL; }
6304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6306 return NULL;
6307 }
6308 }
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) return NULL;
6315 } Py_INCREF(Py_None);
6316 _resultobj = Py_None;
6317 return _resultobj;
6318 }
6319
6320 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6321 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject * _resultobj;
6323 wxPyGridTableBase * _arg0;
6324 wxGridCellAttr * _arg1;
6325 int _arg2;
6326 PyObject * _argo0 = 0;
6327 PyObject * _argo1 = 0;
6328 char *_kwnames[] = { "self","attr","col", NULL };
6329
6330 self = self;
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6332 return NULL;
6333 if (_argo0) {
6334 if (_argo0 == Py_None) { _arg0 = NULL; }
6335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6337 return NULL;
6338 }
6339 }
6340 if (_argo1) {
6341 if (_argo1 == Py_None) { _arg1 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6344 return NULL;
6345 }
6346 }
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6350
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) return NULL;
6353 } Py_INCREF(Py_None);
6354 _resultobj = Py_None;
6355 return _resultobj;
6356 }
6357
6358 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6359 wxGridStringTable *src;
6360 wxGridTableBase *dest;
6361 src = (wxGridStringTable *) ptr;
6362 dest = (wxGridTableBase *) src;
6363 return (void *) dest;
6364 }
6365
6366 static void *SwigwxGridStringTableTowxObject(void *ptr) {
6367 wxGridStringTable *src;
6368 wxObject *dest;
6369 src = (wxGridStringTable *) ptr;
6370 dest = (wxObject *) src;
6371 return (void *) dest;
6372 }
6373
6374 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6375 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6376 PyObject * _resultobj;
6377 wxGridStringTable * _result;
6378 int _arg0 = (int ) 0;
6379 int _arg1 = (int ) 0;
6380 char *_kwnames[] = { "numRows","numCols", NULL };
6381 char _ptemp[128];
6382
6383 self = self;
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6385 return NULL;
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) return NULL;
6392 } if (_result) {
6393 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6394 _resultobj = Py_BuildValue("s",_ptemp);
6395 } else {
6396 Py_INCREF(Py_None);
6397 _resultobj = Py_None;
6398 }
6399 return _resultobj;
6400 }
6401
6402 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6403 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject * _resultobj;
6405 wxGridTableMessage * _result;
6406 wxGridTableBase * _arg0;
6407 int _arg1;
6408 int _arg2 = (int ) -1;
6409 int _arg3 = (int ) -1;
6410 PyObject * _argo0 = 0;
6411 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6412 char _ptemp[128];
6413
6414 self = self;
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6416 return NULL;
6417 if (_argo0) {
6418 if (_argo0 == Py_None) { _arg0 = NULL; }
6419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6421 return NULL;
6422 }
6423 }
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) return NULL;
6430 } if (_result) {
6431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6432 _resultobj = Py_BuildValue("s",_ptemp);
6433 } else {
6434 Py_INCREF(Py_None);
6435 _resultobj = Py_None;
6436 }
6437 return _resultobj;
6438 }
6439
6440 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6441 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6442 PyObject * _resultobj;
6443 wxGridTableMessage * _arg0;
6444 PyObject * _argo0 = 0;
6445 char *_kwnames[] = { "self", NULL };
6446
6447 self = self;
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6449 return NULL;
6450 if (_argo0) {
6451 if (_argo0 == Py_None) { _arg0 = NULL; }
6452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6454 return NULL;
6455 }
6456 }
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 delete_wxGridTableMessage(_arg0);
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) return NULL;
6463 } Py_INCREF(Py_None);
6464 _resultobj = Py_None;
6465 return _resultobj;
6466 }
6467
6468 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6469 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject * _resultobj;
6471 wxGridTableMessage * _arg0;
6472 wxGridTableBase * _arg1;
6473 PyObject * _argo0 = 0;
6474 PyObject * _argo1 = 0;
6475 char *_kwnames[] = { "self","table", NULL };
6476
6477 self = self;
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6479 return NULL;
6480 if (_argo0) {
6481 if (_argo0 == Py_None) { _arg0 = NULL; }
6482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6484 return NULL;
6485 }
6486 }
6487 if (_argo1) {
6488 if (_argo1 == Py_None) { _arg1 = NULL; }
6489 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6490 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6491 return NULL;
6492 }
6493 }
6494 {
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6497
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) return NULL;
6500 } Py_INCREF(Py_None);
6501 _resultobj = Py_None;
6502 return _resultobj;
6503 }
6504
6505 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6506 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject * _resultobj;
6508 wxGridTableBase * _result;
6509 wxGridTableMessage * _arg0;
6510 PyObject * _argo0 = 0;
6511 char *_kwnames[] = { "self", NULL };
6512
6513 self = self;
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6515 return NULL;
6516 if (_argo0) {
6517 if (_argo0 == Py_None) { _arg0 = NULL; }
6518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6520 return NULL;
6521 }
6522 }
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) return NULL;
6529 }{ _resultobj = wxPyMake_wxObject(_result); }
6530 return _resultobj;
6531 }
6532
6533 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6534 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6535 PyObject * _resultobj;
6536 wxGridTableMessage * _arg0;
6537 int _arg1;
6538 PyObject * _argo0 = 0;
6539 char *_kwnames[] = { "self","id", NULL };
6540
6541 self = self;
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6543 return NULL;
6544 if (_argo0) {
6545 if (_argo0 == Py_None) { _arg0 = NULL; }
6546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6548 return NULL;
6549 }
6550 }
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 wxGridTableMessage_SetId(_arg0,_arg1);
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) return NULL;
6557 } Py_INCREF(Py_None);
6558 _resultobj = Py_None;
6559 return _resultobj;
6560 }
6561
6562 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6563 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject * _resultobj;
6565 int _result;
6566 wxGridTableMessage * _arg0;
6567 PyObject * _argo0 = 0;
6568 char *_kwnames[] = { "self", NULL };
6569
6570 self = self;
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6572 return NULL;
6573 if (_argo0) {
6574 if (_argo0 == Py_None) { _arg0 = NULL; }
6575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6577 return NULL;
6578 }
6579 }
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 _result = (int )wxGridTableMessage_GetId(_arg0);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) return NULL;
6586 } _resultobj = Py_BuildValue("i",_result);
6587 return _resultobj;
6588 }
6589
6590 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6591 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6592 PyObject * _resultobj;
6593 wxGridTableMessage * _arg0;
6594 int _arg1;
6595 PyObject * _argo0 = 0;
6596 char *_kwnames[] = { "self","comInt1", NULL };
6597
6598 self = self;
6599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6600 return NULL;
6601 if (_argo0) {
6602 if (_argo0 == Py_None) { _arg0 = NULL; }
6603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6605 return NULL;
6606 }
6607 }
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6611
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) return NULL;
6614 } Py_INCREF(Py_None);
6615 _resultobj = Py_None;
6616 return _resultobj;
6617 }
6618
6619 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6620 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject * _resultobj;
6622 int _result;
6623 wxGridTableMessage * _arg0;
6624 PyObject * _argo0 = 0;
6625 char *_kwnames[] = { "self", NULL };
6626
6627 self = self;
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6629 return NULL;
6630 if (_argo0) {
6631 if (_argo0 == Py_None) { _arg0 = NULL; }
6632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6634 return NULL;
6635 }
6636 }
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) return NULL;
6643 } _resultobj = Py_BuildValue("i",_result);
6644 return _resultobj;
6645 }
6646
6647 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6648 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject * _resultobj;
6650 wxGridTableMessage * _arg0;
6651 int _arg1;
6652 PyObject * _argo0 = 0;
6653 char *_kwnames[] = { "self","comInt2", NULL };
6654
6655 self = self;
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6657 return NULL;
6658 if (_argo0) {
6659 if (_argo0 == Py_None) { _arg0 = NULL; }
6660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6662 return NULL;
6663 }
6664 }
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) return NULL;
6671 } Py_INCREF(Py_None);
6672 _resultobj = Py_None;
6673 return _resultobj;
6674 }
6675
6676 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6677 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject * _resultobj;
6679 int _result;
6680 wxGridTableMessage * _arg0;
6681 PyObject * _argo0 = 0;
6682 char *_kwnames[] = { "self", NULL };
6683
6684 self = self;
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6686 return NULL;
6687 if (_argo0) {
6688 if (_argo0 == Py_None) { _arg0 = NULL; }
6689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6691 return NULL;
6692 }
6693 }
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) return NULL;
6700 } _resultobj = Py_BuildValue("i",_result);
6701 return _resultobj;
6702 }
6703
6704 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6705 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject * _resultobj;
6707 wxGridCellCoords * _result;
6708 int _arg0 = (int ) -1;
6709 int _arg1 = (int ) -1;
6710 char *_kwnames[] = { "r","c", NULL };
6711 char _ptemp[128];
6712
6713 self = self;
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6715 return NULL;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) return NULL;
6722 } if (_result) {
6723 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6724 _resultobj = Py_BuildValue("s",_ptemp);
6725 } else {
6726 Py_INCREF(Py_None);
6727 _resultobj = Py_None;
6728 }
6729 return _resultobj;
6730 }
6731
6732 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6733 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject * _resultobj;
6735 wxGridCellCoords * _arg0;
6736 PyObject * _argo0 = 0;
6737 char *_kwnames[] = { "self", NULL };
6738
6739 self = self;
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6741 return NULL;
6742 if (_argo0) {
6743 if (_argo0 == Py_None) { _arg0 = NULL; }
6744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6746 return NULL;
6747 }
6748 }
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 delete_wxGridCellCoords(_arg0);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) return NULL;
6755 } Py_INCREF(Py_None);
6756 _resultobj = Py_None;
6757 return _resultobj;
6758 }
6759
6760 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6761 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6762 PyObject * _resultobj;
6763 int _result;
6764 wxGridCellCoords * _arg0;
6765 PyObject * _argo0 = 0;
6766 char *_kwnames[] = { "self", NULL };
6767
6768 self = self;
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6770 return NULL;
6771 if (_argo0) {
6772 if (_argo0 == Py_None) { _arg0 = NULL; }
6773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6775 return NULL;
6776 }
6777 }
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 _result = (int )wxGridCellCoords_GetRow(_arg0);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) return NULL;
6784 } _resultobj = Py_BuildValue("i",_result);
6785 return _resultobj;
6786 }
6787
6788 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6789 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6790 PyObject * _resultobj;
6791 wxGridCellCoords * _arg0;
6792 int _arg1;
6793 PyObject * _argo0 = 0;
6794 char *_kwnames[] = { "self","n", NULL };
6795
6796 self = self;
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
6798 return NULL;
6799 if (_argo0) {
6800 if (_argo0 == Py_None) { _arg0 = NULL; }
6801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6803 return NULL;
6804 }
6805 }
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 wxGridCellCoords_SetRow(_arg0,_arg1);
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) return NULL;
6812 } Py_INCREF(Py_None);
6813 _resultobj = Py_None;
6814 return _resultobj;
6815 }
6816
6817 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6818 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject * _resultobj;
6820 int _result;
6821 wxGridCellCoords * _arg0;
6822 PyObject * _argo0 = 0;
6823 char *_kwnames[] = { "self", NULL };
6824
6825 self = self;
6826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6827 return NULL;
6828 if (_argo0) {
6829 if (_argo0 == Py_None) { _arg0 = NULL; }
6830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6832 return NULL;
6833 }
6834 }
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 _result = (int )wxGridCellCoords_GetCol(_arg0);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) return NULL;
6841 } _resultobj = Py_BuildValue("i",_result);
6842 return _resultobj;
6843 }
6844
6845 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6846 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6847 PyObject * _resultobj;
6848 wxGridCellCoords * _arg0;
6849 int _arg1;
6850 PyObject * _argo0 = 0;
6851 char *_kwnames[] = { "self","n", NULL };
6852
6853 self = self;
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
6855 return NULL;
6856 if (_argo0) {
6857 if (_argo0 == Py_None) { _arg0 = NULL; }
6858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6860 return NULL;
6861 }
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 wxGridCellCoords_SetCol(_arg0,_arg1);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) return NULL;
6869 } Py_INCREF(Py_None);
6870 _resultobj = Py_None;
6871 return _resultobj;
6872 }
6873
6874 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6875 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
6876 PyObject * _resultobj;
6877 wxGridCellCoords * _arg0;
6878 int _arg1;
6879 int _arg2;
6880 PyObject * _argo0 = 0;
6881 char *_kwnames[] = { "self","row","col", NULL };
6882
6883 self = self;
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
6885 return NULL;
6886 if (_argo0) {
6887 if (_argo0 == Py_None) { _arg0 = NULL; }
6888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6890 return NULL;
6891 }
6892 }
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) return NULL;
6899 } Py_INCREF(Py_None);
6900 _resultobj = Py_None;
6901 return _resultobj;
6902 }
6903
6904 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
6905 PyObject* tup = PyTuple_New(2);
6906 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
6907 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
6908 return tup;
6909 }
6910 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
6911 PyObject * _resultobj;
6912 PyObject * _result;
6913 wxGridCellCoords * _arg0;
6914 PyObject * _argo0 = 0;
6915 char *_kwnames[] = { "self", NULL };
6916
6917 self = self;
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
6919 return NULL;
6920 if (_argo0) {
6921 if (_argo0 == Py_None) { _arg0 = NULL; }
6922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6924 return NULL;
6925 }
6926 }
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) return NULL;
6933 }{
6934 _resultobj = _result;
6935 }
6936 return _resultobj;
6937 }
6938
6939 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
6940 return *self != other;
6941 }
6942 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject * _resultobj;
6944 int _result;
6945 wxGridCellCoords * _arg0;
6946 wxGridCellCoords * _arg1;
6947 PyObject * _argo0 = 0;
6948 PyObject * _argo1 = 0;
6949 char *_kwnames[] = { "self","other", NULL };
6950
6951 self = self;
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
6953 return NULL;
6954 if (_argo0) {
6955 if (_argo0 == Py_None) { _arg0 = NULL; }
6956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6958 return NULL;
6959 }
6960 }
6961 if (_argo1) {
6962 if (_argo1 == Py_None) { _arg1 = NULL; }
6963 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
6964 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6965 return NULL;
6966 }
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) return NULL;
6974 } _resultobj = Py_BuildValue("i",_result);
6975 return _resultobj;
6976 }
6977
6978 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
6979 wxGrid *src;
6980 wxScrolledWindow *dest;
6981 src = (wxGrid *) ptr;
6982 dest = (wxScrolledWindow *) src;
6983 return (void *) dest;
6984 }
6985
6986 static void *SwigwxGridTowxPanel(void *ptr) {
6987 wxGrid *src;
6988 wxPanel *dest;
6989 src = (wxGrid *) ptr;
6990 dest = (wxPanel *) src;
6991 return (void *) dest;
6992 }
6993
6994 static void *SwigwxGridTowxWindow(void *ptr) {
6995 wxGrid *src;
6996 wxWindow *dest;
6997 src = (wxGrid *) ptr;
6998 dest = (wxWindow *) src;
6999 return (void *) dest;
7000 }
7001
7002 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7003 wxGrid *src;
7004 wxEvtHandler *dest;
7005 src = (wxGrid *) ptr;
7006 dest = (wxEvtHandler *) src;
7007 return (void *) dest;
7008 }
7009
7010 static void *SwigwxGridTowxObject(void *ptr) {
7011 wxGrid *src;
7012 wxObject *dest;
7013 src = (wxGrid *) ptr;
7014 dest = (wxObject *) src;
7015 return (void *) dest;
7016 }
7017
7018 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7019 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7020 PyObject * _resultobj;
7021 wxGrid * _result;
7022 wxWindow * _arg0;
7023 wxWindowID _arg1;
7024 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7025 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7026 long _arg4 = (long ) wxWANTS_CHARS;
7027 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
7028 PyObject * _argo0 = 0;
7029 wxPoint temp;
7030 PyObject * _obj2 = 0;
7031 wxSize temp0;
7032 PyObject * _obj3 = 0;
7033 PyObject * _obj5 = 0;
7034 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7035 char _ptemp[128];
7036
7037 self = self;
7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
7039 return NULL;
7040 if (_argo0) {
7041 if (_argo0 == Py_None) { _arg0 = NULL; }
7042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7044 return NULL;
7045 }
7046 }
7047 if (_obj2)
7048 {
7049 _arg2 = &temp;
7050 if (! wxPoint_helper(_obj2, &_arg2))
7051 return NULL;
7052 }
7053 if (_obj3)
7054 {
7055 _arg3 = &temp0;
7056 if (! wxSize_helper(_obj3, &_arg3))
7057 return NULL;
7058 }
7059 if (_obj5)
7060 {
7061 _arg5 = wxString_in_helper(_obj5);
7062 if (_arg5 == NULL)
7063 return NULL;
7064 }
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) return NULL;
7071 } if (_result) {
7072 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7073 _resultobj = Py_BuildValue("s",_ptemp);
7074 } else {
7075 Py_INCREF(Py_None);
7076 _resultobj = Py_None;
7077 }
7078 {
7079 if (_obj5)
7080 delete _arg5;
7081 }
7082 return _resultobj;
7083 }
7084
7085 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7086 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject * _resultobj;
7088 bool _result;
7089 wxGrid * _arg0;
7090 int _arg1;
7091 int _arg2;
7092 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7093 PyObject * _argo0 = 0;
7094 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7095
7096 self = self;
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7098 return NULL;
7099 if (_argo0) {
7100 if (_argo0 == Py_None) { _arg0 = NULL; }
7101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7103 return NULL;
7104 }
7105 }
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7108 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) return NULL;
7112 } _resultobj = Py_BuildValue("i",_result);
7113 return _resultobj;
7114 }
7115
7116 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7117 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject * _resultobj;
7119 wxGrid * _arg0;
7120 WXGRIDSELECTIONMODES _arg1;
7121 PyObject * _argo0 = 0;
7122 char *_kwnames[] = { "self","selmode", NULL };
7123
7124 self = self;
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7126 return NULL;
7127 if (_argo0) {
7128 if (_argo0 == Py_None) { _arg0 = NULL; }
7129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7131 return NULL;
7132 }
7133 }
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 wxGrid_SetSelectionMode(_arg0,_arg1);
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) return NULL;
7140 } Py_INCREF(Py_None);
7141 _resultobj = Py_None;
7142 return _resultobj;
7143 }
7144
7145 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7146 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7147 PyObject * _resultobj;
7148 int _result;
7149 wxGrid * _arg0;
7150 PyObject * _argo0 = 0;
7151 char *_kwnames[] = { "self", NULL };
7152
7153 self = self;
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7155 return NULL;
7156 if (_argo0) {
7157 if (_argo0 == Py_None) { _arg0 = NULL; }
7158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7160 return NULL;
7161 }
7162 }
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 _result = (int )wxGrid_GetNumberRows(_arg0);
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) return NULL;
7169 } _resultobj = Py_BuildValue("i",_result);
7170 return _resultobj;
7171 }
7172
7173 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7174 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7175 PyObject * _resultobj;
7176 int _result;
7177 wxGrid * _arg0;
7178 PyObject * _argo0 = 0;
7179 char *_kwnames[] = { "self", NULL };
7180
7181 self = self;
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7183 return NULL;
7184 if (_argo0) {
7185 if (_argo0 == Py_None) { _arg0 = NULL; }
7186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7188 return NULL;
7189 }
7190 }
7191 {
7192 PyThreadState* __tstate = wxPyBeginAllowThreads();
7193 _result = (int )wxGrid_GetNumberCols(_arg0);
7194
7195 wxPyEndAllowThreads(__tstate);
7196 if (PyErr_Occurred()) return NULL;
7197 } _resultobj = Py_BuildValue("i",_result);
7198 return _resultobj;
7199 }
7200
7201 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7202 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7203 PyObject * _resultobj;
7204 bool _result;
7205 wxGrid * _arg0;
7206 wxGridTableMessage * _arg1;
7207 PyObject * _argo0 = 0;
7208 PyObject * _argo1 = 0;
7209 char *_kwnames[] = { "self","arg2", NULL };
7210
7211 self = self;
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7213 return NULL;
7214 if (_argo0) {
7215 if (_argo0 == Py_None) { _arg0 = NULL; }
7216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7218 return NULL;
7219 }
7220 }
7221 if (_argo1) {
7222 if (_argo1 == Py_None) { _arg1 = NULL; }
7223 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7224 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7225 return NULL;
7226 }
7227 }
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) return NULL;
7234 } _resultobj = Py_BuildValue("i",_result);
7235 return _resultobj;
7236 }
7237
7238 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7239 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject * _resultobj;
7241 wxGridTableBase * _result;
7242 wxGrid * _arg0;
7243 PyObject * _argo0 = 0;
7244 char *_kwnames[] = { "self", NULL };
7245
7246 self = self;
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7248 return NULL;
7249 if (_argo0) {
7250 if (_argo0 == Py_None) { _arg0 = NULL; }
7251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7253 return NULL;
7254 }
7255 }
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) return NULL;
7262 }{ _resultobj = wxPyMake_wxObject(_result); }
7263 return _resultobj;
7264 }
7265
7266 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7267 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject * _resultobj;
7269 bool _result;
7270 wxGrid * _arg0;
7271 wxGridTableBase * _arg1;
7272 bool _arg2 = (bool ) FALSE;
7273 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7274 PyObject * _argo0 = 0;
7275 PyObject * _argo1 = 0;
7276 int tempbool2 = (int) FALSE;
7277 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7278
7279 self = self;
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7281 return NULL;
7282 if (_argo0) {
7283 if (_argo0 == Py_None) { _arg0 = NULL; }
7284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7286 return NULL;
7287 }
7288 }
7289 if (_argo1) {
7290 if (_argo1 == Py_None) { _arg1 = NULL; }
7291 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7292 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7293 return NULL;
7294 }
7295 }
7296 _arg2 = (bool ) tempbool2;
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7300
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) return NULL;
7303 } _resultobj = Py_BuildValue("i",_result);
7304 return _resultobj;
7305 }
7306
7307 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7308 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7309 PyObject * _resultobj;
7310 wxGrid * _arg0;
7311 PyObject * _argo0 = 0;
7312 char *_kwnames[] = { "self", NULL };
7313
7314 self = self;
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7316 return NULL;
7317 if (_argo0) {
7318 if (_argo0 == Py_None) { _arg0 = NULL; }
7319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7321 return NULL;
7322 }
7323 }
7324 {
7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7326 wxGrid_ClearGrid(_arg0);
7327
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) return NULL;
7330 } Py_INCREF(Py_None);
7331 _resultobj = Py_None;
7332 return _resultobj;
7333 }
7334
7335 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7336 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject * _resultobj;
7338 bool _result;
7339 wxGrid * _arg0;
7340 int _arg1 = (int ) 0;
7341 int _arg2 = (int ) 1;
7342 bool _arg3 = (bool ) TRUE;
7343 PyObject * _argo0 = 0;
7344 int tempbool3 = (int) TRUE;
7345 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7346
7347 self = self;
7348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7349 return NULL;
7350 if (_argo0) {
7351 if (_argo0 == Py_None) { _arg0 = NULL; }
7352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7354 return NULL;
7355 }
7356 }
7357 _arg3 = (bool ) tempbool3;
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) return NULL;
7364 } _resultobj = Py_BuildValue("i",_result);
7365 return _resultobj;
7366 }
7367
7368 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7369 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7370 PyObject * _resultobj;
7371 bool _result;
7372 wxGrid * _arg0;
7373 int _arg1 = (int ) 1;
7374 bool _arg2 = (bool ) TRUE;
7375 PyObject * _argo0 = 0;
7376 int tempbool2 = (int) TRUE;
7377 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7378
7379 self = self;
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7381 return NULL;
7382 if (_argo0) {
7383 if (_argo0 == Py_None) { _arg0 = NULL; }
7384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7386 return NULL;
7387 }
7388 }
7389 _arg2 = (bool ) tempbool2;
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) return NULL;
7396 } _resultobj = Py_BuildValue("i",_result);
7397 return _resultobj;
7398 }
7399
7400 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7401 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject * _resultobj;
7403 bool _result;
7404 wxGrid * _arg0;
7405 int _arg1 = (int ) 0;
7406 int _arg2 = (int ) 1;
7407 bool _arg3 = (bool ) TRUE;
7408 PyObject * _argo0 = 0;
7409 int tempbool3 = (int) TRUE;
7410 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7411
7412 self = self;
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7414 return NULL;
7415 if (_argo0) {
7416 if (_argo0 == Py_None) { _arg0 = NULL; }
7417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7419 return NULL;
7420 }
7421 }
7422 _arg3 = (bool ) tempbool3;
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) return NULL;
7429 } _resultobj = Py_BuildValue("i",_result);
7430 return _resultobj;
7431 }
7432
7433 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7434 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7435 PyObject * _resultobj;
7436 bool _result;
7437 wxGrid * _arg0;
7438 int _arg1 = (int ) 0;
7439 int _arg2 = (int ) 1;
7440 bool _arg3 = (bool ) TRUE;
7441 PyObject * _argo0 = 0;
7442 int tempbool3 = (int) TRUE;
7443 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7444
7445 self = self;
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7447 return NULL;
7448 if (_argo0) {
7449 if (_argo0 == Py_None) { _arg0 = NULL; }
7450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7452 return NULL;
7453 }
7454 }
7455 _arg3 = (bool ) tempbool3;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) return NULL;
7462 } _resultobj = Py_BuildValue("i",_result);
7463 return _resultobj;
7464 }
7465
7466 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7467 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7468 PyObject * _resultobj;
7469 bool _result;
7470 wxGrid * _arg0;
7471 int _arg1 = (int ) 1;
7472 bool _arg2 = (bool ) TRUE;
7473 PyObject * _argo0 = 0;
7474 int tempbool2 = (int) TRUE;
7475 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7476
7477 self = self;
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7479 return NULL;
7480 if (_argo0) {
7481 if (_argo0 == Py_None) { _arg0 = NULL; }
7482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7484 return NULL;
7485 }
7486 }
7487 _arg2 = (bool ) tempbool2;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) return NULL;
7494 } _resultobj = Py_BuildValue("i",_result);
7495 return _resultobj;
7496 }
7497
7498 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7499 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7500 PyObject * _resultobj;
7501 bool _result;
7502 wxGrid * _arg0;
7503 int _arg1 = (int ) 0;
7504 int _arg2 = (int ) 1;
7505 bool _arg3 = (bool ) TRUE;
7506 PyObject * _argo0 = 0;
7507 int tempbool3 = (int) TRUE;
7508 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7509
7510 self = self;
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7512 return NULL;
7513 if (_argo0) {
7514 if (_argo0 == Py_None) { _arg0 = NULL; }
7515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7517 return NULL;
7518 }
7519 }
7520 _arg3 = (bool ) tempbool3;
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) return NULL;
7527 } _resultobj = Py_BuildValue("i",_result);
7528 return _resultobj;
7529 }
7530
7531 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7532 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject * _resultobj;
7534 wxGrid * _arg0;
7535 wxDC * _arg1;
7536 wxGridCellAttr * _arg2;
7537 PyObject * _argo0 = 0;
7538 PyObject * _argo1 = 0;
7539 PyObject * _argo2 = 0;
7540 char *_kwnames[] = { "self","dc","attr", NULL };
7541
7542 self = self;
7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7544 return NULL;
7545 if (_argo0) {
7546 if (_argo0 == Py_None) { _arg0 = NULL; }
7547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7549 return NULL;
7550 }
7551 }
7552 if (_argo1) {
7553 if (_argo1 == Py_None) { _arg1 = NULL; }
7554 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7555 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7556 return NULL;
7557 }
7558 }
7559 if (_argo2) {
7560 if (_argo2 == Py_None) { _arg2 = NULL; }
7561 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7562 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7563 return NULL;
7564 }
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) return NULL;
7572 } Py_INCREF(Py_None);
7573 _resultobj = Py_None;
7574 return _resultobj;
7575 }
7576
7577 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7578 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7579 PyObject * _resultobj;
7580 wxGrid * _arg0;
7581 wxDC * _arg1;
7582 wxString * _arg2;
7583 wxRect * _arg3;
7584 int _arg4 = (int ) wxLEFT;
7585 int _arg5 = (int ) wxTOP;
7586 PyObject * _argo0 = 0;
7587 PyObject * _argo1 = 0;
7588 PyObject * _obj2 = 0;
7589 wxRect temp;
7590 PyObject * _obj3 = 0;
7591 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7592
7593 self = self;
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7595 return NULL;
7596 if (_argo0) {
7597 if (_argo0 == Py_None) { _arg0 = NULL; }
7598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7600 return NULL;
7601 }
7602 }
7603 if (_argo1) {
7604 if (_argo1 == Py_None) { _arg1 = NULL; }
7605 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7606 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7607 return NULL;
7608 }
7609 }
7610 {
7611 _arg2 = wxString_in_helper(_obj2);
7612 if (_arg2 == NULL)
7613 return NULL;
7614 }
7615 {
7616 _arg3 = &temp;
7617 if (! wxRect_helper(_obj3, &_arg3))
7618 return NULL;
7619 }
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) return NULL;
7626 } Py_INCREF(Py_None);
7627 _resultobj = Py_None;
7628 {
7629 if (_obj2)
7630 delete _arg2;
7631 }
7632 return _resultobj;
7633 }
7634
7635 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7636 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7637 PyObject * _resultobj;
7638 wxGrid * _arg0;
7639 wxDC * _arg1;
7640 wxArrayString * _arg2;
7641 long * _arg3;
7642 long temp;
7643 long * _arg4;
7644 long temp0;
7645 PyObject * _argo0 = 0;
7646 PyObject * _argo1 = 0;
7647 PyObject * _obj2 = 0;
7648 char *_kwnames[] = { "self","dc","lines", NULL };
7649
7650 self = self;
7651 {
7652 _arg3 = &temp;
7653 }
7654 {
7655 _arg4 = &temp0;
7656 }
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
7658 return NULL;
7659 if (_argo0) {
7660 if (_argo0 == Py_None) { _arg0 = NULL; }
7661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7663 return NULL;
7664 }
7665 }
7666 if (_argo1) {
7667 if (_argo1 == Py_None) { _arg1 = NULL; }
7668 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7669 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7670 return NULL;
7671 }
7672 }
7673 {
7674 if (! PySequence_Check(_obj2)) {
7675 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7676 return NULL;
7677 }
7678 _arg2 = new wxArrayString;
7679 int i, len=PySequence_Length(_obj2);
7680 for (i=0; i<len; i++) {
7681 PyObject* item = PySequence_GetItem(_obj2, i);
7682 #if wxUSE_UNICODE
7683 PyObject* str = PyObject_Unicode(item);
7684 _arg2->Add(PyUnicode_AsUnicode(str));
7685 #else
7686 PyObject* str = PyObject_Str(item);
7687 _arg2->Add(PyString_AsString(str));
7688 #endif
7689 Py_DECREF(item);
7690 Py_DECREF(str);
7691 }
7692 }
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) return NULL;
7699 } Py_INCREF(Py_None);
7700 _resultobj = Py_None;
7701 {
7702 PyObject *o;
7703 o = PyInt_FromLong((long) (*_arg3));
7704 _resultobj = t_output_helper(_resultobj, o);
7705 }
7706 {
7707 PyObject *o;
7708 o = PyInt_FromLong((long) (*_arg4));
7709 _resultobj = t_output_helper(_resultobj, o);
7710 }
7711 {
7712 if (_obj2)
7713 delete _arg2;
7714 }
7715 return _resultobj;
7716 }
7717
7718 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7719 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject * _resultobj;
7721 wxGrid * _arg0;
7722 PyObject * _argo0 = 0;
7723 char *_kwnames[] = { "self", NULL };
7724
7725 self = self;
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7727 return NULL;
7728 if (_argo0) {
7729 if (_argo0 == Py_None) { _arg0 = NULL; }
7730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7732 return NULL;
7733 }
7734 }
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 wxGrid_BeginBatch(_arg0);
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) return NULL;
7741 } Py_INCREF(Py_None);
7742 _resultobj = Py_None;
7743 return _resultobj;
7744 }
7745
7746 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7747 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject * _resultobj;
7749 wxGrid * _arg0;
7750 PyObject * _argo0 = 0;
7751 char *_kwnames[] = { "self", NULL };
7752
7753 self = self;
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7755 return NULL;
7756 if (_argo0) {
7757 if (_argo0 == Py_None) { _arg0 = NULL; }
7758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7760 return NULL;
7761 }
7762 }
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 wxGrid_EndBatch(_arg0);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) return NULL;
7769 } Py_INCREF(Py_None);
7770 _resultobj = Py_None;
7771 return _resultobj;
7772 }
7773
7774 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7775 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7776 PyObject * _resultobj;
7777 int _result;
7778 wxGrid * _arg0;
7779 PyObject * _argo0 = 0;
7780 char *_kwnames[] = { "self", NULL };
7781
7782 self = self;
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7784 return NULL;
7785 if (_argo0) {
7786 if (_argo0 == Py_None) { _arg0 = NULL; }
7787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7789 return NULL;
7790 }
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 _result = (int )wxGrid_GetBatchCount(_arg0);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) return NULL;
7798 } _resultobj = Py_BuildValue("i",_result);
7799 return _resultobj;
7800 }
7801
7802 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7803 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject * _resultobj;
7805 wxGrid * _arg0;
7806 PyObject * _argo0 = 0;
7807 char *_kwnames[] = { "self", NULL };
7808
7809 self = self;
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
7811 return NULL;
7812 if (_argo0) {
7813 if (_argo0 == Py_None) { _arg0 = NULL; }
7814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7816 return NULL;
7817 }
7818 }
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 wxGrid_ForceRefresh(_arg0);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) return NULL;
7825 } Py_INCREF(Py_None);
7826 _resultobj = Py_None;
7827 return _resultobj;
7828 }
7829
7830 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7831 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7832 PyObject * _resultobj;
7833 bool _result;
7834 wxGrid * _arg0;
7835 PyObject * _argo0 = 0;
7836 char *_kwnames[] = { "self", NULL };
7837
7838 self = self;
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7840 return NULL;
7841 if (_argo0) {
7842 if (_argo0 == Py_None) { _arg0 = NULL; }
7843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7845 return NULL;
7846 }
7847 }
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 _result = (bool )wxGrid_IsEditable(_arg0);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) return NULL;
7854 } _resultobj = Py_BuildValue("i",_result);
7855 return _resultobj;
7856 }
7857
7858 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7859 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject * _resultobj;
7861 wxGrid * _arg0;
7862 bool _arg1;
7863 PyObject * _argo0 = 0;
7864 int tempbool1;
7865 char *_kwnames[] = { "self","edit", NULL };
7866
7867 self = self;
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
7869 return NULL;
7870 if (_argo0) {
7871 if (_argo0 == Py_None) { _arg0 = NULL; }
7872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7874 return NULL;
7875 }
7876 }
7877 _arg1 = (bool ) tempbool1;
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 wxGrid_EnableEditing(_arg0,_arg1);
7881
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) return NULL;
7884 } Py_INCREF(Py_None);
7885 _resultobj = Py_None;
7886 return _resultobj;
7887 }
7888
7889 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7890 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7891 PyObject * _resultobj;
7892 wxGrid * _arg0;
7893 bool _arg1 = (bool ) TRUE;
7894 PyObject * _argo0 = 0;
7895 int tempbool1 = (int) TRUE;
7896 char *_kwnames[] = { "self","enable", NULL };
7897
7898 self = self;
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
7900 return NULL;
7901 if (_argo0) {
7902 if (_argo0 == Py_None) { _arg0 = NULL; }
7903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7905 return NULL;
7906 }
7907 }
7908 _arg1 = (bool ) tempbool1;
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 wxGrid_EnableCellEditControl(_arg0,_arg1);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) return NULL;
7915 } Py_INCREF(Py_None);
7916 _resultobj = Py_None;
7917 return _resultobj;
7918 }
7919
7920 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7921 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7922 PyObject * _resultobj;
7923 wxGrid * _arg0;
7924 PyObject * _argo0 = 0;
7925 char *_kwnames[] = { "self", NULL };
7926
7927 self = self;
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
7929 return NULL;
7930 if (_argo0) {
7931 if (_argo0 == Py_None) { _arg0 = NULL; }
7932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7934 return NULL;
7935 }
7936 }
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 wxGrid_DisableCellEditControl(_arg0);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) return NULL;
7943 } Py_INCREF(Py_None);
7944 _resultobj = Py_None;
7945 return _resultobj;
7946 }
7947
7948 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7949 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject * _resultobj;
7951 bool _result;
7952 wxGrid * _arg0;
7953 PyObject * _argo0 = 0;
7954 char *_kwnames[] = { "self", NULL };
7955
7956 self = self;
7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
7958 return NULL;
7959 if (_argo0) {
7960 if (_argo0 == Py_None) { _arg0 = NULL; }
7961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7963 return NULL;
7964 }
7965 }
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) return NULL;
7972 } _resultobj = Py_BuildValue("i",_result);
7973 return _resultobj;
7974 }
7975
7976 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7977 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject * _resultobj;
7979 bool _result;
7980 wxGrid * _arg0;
7981 PyObject * _argo0 = 0;
7982 char *_kwnames[] = { "self", NULL };
7983
7984 self = self;
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
7986 return NULL;
7987 if (_argo0) {
7988 if (_argo0 == Py_None) { _arg0 = NULL; }
7989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7991 return NULL;
7992 }
7993 }
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) return NULL;
8000 } _resultobj = Py_BuildValue("i",_result);
8001 return _resultobj;
8002 }
8003
8004 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8005 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject * _resultobj;
8007 bool _result;
8008 wxGrid * _arg0;
8009 PyObject * _argo0 = 0;
8010 char *_kwnames[] = { "self", NULL };
8011
8012 self = self;
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8014 return NULL;
8015 if (_argo0) {
8016 if (_argo0 == Py_None) { _arg0 = NULL; }
8017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8019 return NULL;
8020 }
8021 }
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) return NULL;
8028 } _resultobj = Py_BuildValue("i",_result);
8029 return _resultobj;
8030 }
8031
8032 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8033 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject * _resultobj;
8035 bool _result;
8036 wxGrid * _arg0;
8037 PyObject * _argo0 = 0;
8038 char *_kwnames[] = { "self", NULL };
8039
8040 self = self;
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8042 return NULL;
8043 if (_argo0) {
8044 if (_argo0 == Py_None) { _arg0 = NULL; }
8045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8047 return NULL;
8048 }
8049 }
8050 {
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8053
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) return NULL;
8056 } _resultobj = Py_BuildValue("i",_result);
8057 return _resultobj;
8058 }
8059
8060 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8061 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8062 PyObject * _resultobj;
8063 wxGrid * _arg0;
8064 PyObject * _argo0 = 0;
8065 char *_kwnames[] = { "self", NULL };
8066
8067 self = self;
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8069 return NULL;
8070 if (_argo0) {
8071 if (_argo0 == Py_None) { _arg0 = NULL; }
8072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8074 return NULL;
8075 }
8076 }
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 wxGrid_ShowCellEditControl(_arg0);
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) return NULL;
8083 } Py_INCREF(Py_None);
8084 _resultobj = Py_None;
8085 return _resultobj;
8086 }
8087
8088 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8089 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8090 PyObject * _resultobj;
8091 wxGrid * _arg0;
8092 PyObject * _argo0 = 0;
8093 char *_kwnames[] = { "self", NULL };
8094
8095 self = self;
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8097 return NULL;
8098 if (_argo0) {
8099 if (_argo0 == Py_None) { _arg0 = NULL; }
8100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8102 return NULL;
8103 }
8104 }
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 wxGrid_HideCellEditControl(_arg0);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) return NULL;
8111 } Py_INCREF(Py_None);
8112 _resultobj = Py_None;
8113 return _resultobj;
8114 }
8115
8116 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8117 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject * _resultobj;
8119 wxGrid * _arg0;
8120 PyObject * _argo0 = 0;
8121 char *_kwnames[] = { "self", NULL };
8122
8123 self = self;
8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8125 return NULL;
8126 if (_argo0) {
8127 if (_argo0 == Py_None) { _arg0 = NULL; }
8128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8130 return NULL;
8131 }
8132 }
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 wxGrid_SaveEditControlValue(_arg0);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) return NULL;
8139 } Py_INCREF(Py_None);
8140 _resultobj = Py_None;
8141 return _resultobj;
8142 }
8143
8144 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8145 wxGridCellCoords rv;
8146 self->XYToCell(x, y, rv);
8147 return new wxGridCellCoords(rv);
8148 }
8149 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject * _resultobj;
8151 wxGridCellCoords * _result;
8152 wxGrid * _arg0;
8153 int _arg1;
8154 int _arg2;
8155 PyObject * _argo0 = 0;
8156 char *_kwnames[] = { "self","x","y", NULL };
8157 char _ptemp[128];
8158
8159 self = self;
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8161 return NULL;
8162 if (_argo0) {
8163 if (_argo0 == Py_None) { _arg0 = NULL; }
8164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8166 return NULL;
8167 }
8168 }
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) return NULL;
8175 } if (_result) {
8176 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8177 _resultobj = Py_BuildValue("s",_ptemp);
8178 } else {
8179 Py_INCREF(Py_None);
8180 _resultobj = Py_None;
8181 }
8182 return _resultobj;
8183 }
8184
8185 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8186 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8187 PyObject * _resultobj;
8188 int _result;
8189 wxGrid * _arg0;
8190 int _arg1;
8191 PyObject * _argo0 = 0;
8192 char *_kwnames[] = { "self","y", NULL };
8193
8194 self = self;
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8196 return NULL;
8197 if (_argo0) {
8198 if (_argo0 == Py_None) { _arg0 = NULL; }
8199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8201 return NULL;
8202 }
8203 }
8204 {
8205 PyThreadState* __tstate = wxPyBeginAllowThreads();
8206 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8207
8208 wxPyEndAllowThreads(__tstate);
8209 if (PyErr_Occurred()) return NULL;
8210 } _resultobj = Py_BuildValue("i",_result);
8211 return _resultobj;
8212 }
8213
8214 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8215 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8216 PyObject * _resultobj;
8217 int _result;
8218 wxGrid * _arg0;
8219 int _arg1;
8220 PyObject * _argo0 = 0;
8221 char *_kwnames[] = { "self","x", NULL };
8222
8223 self = self;
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8225 return NULL;
8226 if (_argo0) {
8227 if (_argo0 == Py_None) { _arg0 = NULL; }
8228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8230 return NULL;
8231 }
8232 }
8233 {
8234 PyThreadState* __tstate = wxPyBeginAllowThreads();
8235 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8236
8237 wxPyEndAllowThreads(__tstate);
8238 if (PyErr_Occurred()) return NULL;
8239 } _resultobj = Py_BuildValue("i",_result);
8240 return _resultobj;
8241 }
8242
8243 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8244 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8245 PyObject * _resultobj;
8246 int _result;
8247 wxGrid * _arg0;
8248 int _arg1;
8249 PyObject * _argo0 = 0;
8250 char *_kwnames[] = { "self","y", NULL };
8251
8252 self = self;
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8254 return NULL;
8255 if (_argo0) {
8256 if (_argo0 == Py_None) { _arg0 = NULL; }
8257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8259 return NULL;
8260 }
8261 }
8262 {
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) return NULL;
8268 } _resultobj = Py_BuildValue("i",_result);
8269 return _resultobj;
8270 }
8271
8272 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8273 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject * _resultobj;
8275 int _result;
8276 wxGrid * _arg0;
8277 int _arg1;
8278 PyObject * _argo0 = 0;
8279 char *_kwnames[] = { "self","x", NULL };
8280
8281 self = self;
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8283 return NULL;
8284 if (_argo0) {
8285 if (_argo0 == Py_None) { _arg0 = NULL; }
8286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8288 return NULL;
8289 }
8290 }
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) return NULL;
8297 } _resultobj = Py_BuildValue("i",_result);
8298 return _resultobj;
8299 }
8300
8301 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8302 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject * _resultobj;
8304 wxRect * _result;
8305 wxGrid * _arg0;
8306 int _arg1;
8307 int _arg2;
8308 PyObject * _argo0 = 0;
8309 char *_kwnames[] = { "self","row","col", NULL };
8310 char _ptemp[128];
8311
8312 self = self;
8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8314 return NULL;
8315 if (_argo0) {
8316 if (_argo0 == Py_None) { _arg0 = NULL; }
8317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8319 return NULL;
8320 }
8321 }
8322 {
8323 PyThreadState* __tstate = wxPyBeginAllowThreads();
8324 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8325
8326 wxPyEndAllowThreads(__tstate);
8327 if (PyErr_Occurred()) return NULL;
8328 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8329 _resultobj = Py_BuildValue("s",_ptemp);
8330 return _resultobj;
8331 }
8332
8333 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8334 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8335 PyObject * _resultobj;
8336 int _result;
8337 wxGrid * _arg0;
8338 PyObject * _argo0 = 0;
8339 char *_kwnames[] = { "self", NULL };
8340
8341 self = self;
8342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8343 return NULL;
8344 if (_argo0) {
8345 if (_argo0 == Py_None) { _arg0 = NULL; }
8346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8348 return NULL;
8349 }
8350 }
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) return NULL;
8357 } _resultobj = Py_BuildValue("i",_result);
8358 return _resultobj;
8359 }
8360
8361 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8362 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8363 PyObject * _resultobj;
8364 int _result;
8365 wxGrid * _arg0;
8366 PyObject * _argo0 = 0;
8367 char *_kwnames[] = { "self", NULL };
8368
8369 self = self;
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8371 return NULL;
8372 if (_argo0) {
8373 if (_argo0 == Py_None) { _arg0 = NULL; }
8374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8376 return NULL;
8377 }
8378 }
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) return NULL;
8385 } _resultobj = Py_BuildValue("i",_result);
8386 return _resultobj;
8387 }
8388
8389 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8390 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8391 PyObject * _resultobj;
8392 bool _result;
8393 wxGrid * _arg0;
8394 int _arg1;
8395 int _arg2;
8396 bool _arg3 = (bool ) TRUE;
8397 PyObject * _argo0 = 0;
8398 int tempbool3 = (int) TRUE;
8399 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8400
8401 self = self;
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8403 return NULL;
8404 if (_argo0) {
8405 if (_argo0 == Py_None) { _arg0 = NULL; }
8406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8408 return NULL;
8409 }
8410 }
8411 _arg3 = (bool ) tempbool3;
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) return NULL;
8418 } _resultobj = Py_BuildValue("i",_result);
8419 return _resultobj;
8420 }
8421
8422 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8423 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject * _resultobj;
8425 wxGrid * _arg0;
8426 int _arg1;
8427 int _arg2;
8428 PyObject * _argo0 = 0;
8429 char *_kwnames[] = { "self","row","col", NULL };
8430
8431 self = self;
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8433 return NULL;
8434 if (_argo0) {
8435 if (_argo0 == Py_None) { _arg0 = NULL; }
8436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8438 return NULL;
8439 }
8440 }
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) return NULL;
8447 } Py_INCREF(Py_None);
8448 _resultobj = Py_None;
8449 return _resultobj;
8450 }
8451
8452 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8453 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8454 PyObject * _resultobj;
8455 wxGrid * _arg0;
8456 int _arg1;
8457 int _arg2;
8458 PyObject * _argo0 = 0;
8459 char *_kwnames[] = { "self","row","col", NULL };
8460
8461 self = self;
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8463 return NULL;
8464 if (_argo0) {
8465 if (_argo0 == Py_None) { _arg0 = NULL; }
8466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8468 return NULL;
8469 }
8470 }
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) return NULL;
8477 } Py_INCREF(Py_None);
8478 _resultobj = Py_None;
8479 return _resultobj;
8480 }
8481
8482 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8483 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject * _resultobj;
8485 bool _result;
8486 wxGrid * _arg0;
8487 bool _arg1;
8488 PyObject * _argo0 = 0;
8489 int tempbool1;
8490 char *_kwnames[] = { "self","expandSelection", NULL };
8491
8492 self = self;
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8494 return NULL;
8495 if (_argo0) {
8496 if (_argo0 == Py_None) { _arg0 = NULL; }
8497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8499 return NULL;
8500 }
8501 }
8502 _arg1 = (bool ) tempbool1;
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) return NULL;
8509 } _resultobj = Py_BuildValue("i",_result);
8510 return _resultobj;
8511 }
8512
8513 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8514 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject * _resultobj;
8516 bool _result;
8517 wxGrid * _arg0;
8518 bool _arg1;
8519 PyObject * _argo0 = 0;
8520 int tempbool1;
8521 char *_kwnames[] = { "self","expandSelection", NULL };
8522
8523 self = self;
8524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8525 return NULL;
8526 if (_argo0) {
8527 if (_argo0 == Py_None) { _arg0 = NULL; }
8528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8530 return NULL;
8531 }
8532 }
8533 _arg1 = (bool ) tempbool1;
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) return NULL;
8540 } _resultobj = Py_BuildValue("i",_result);
8541 return _resultobj;
8542 }
8543
8544 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8545 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject * _resultobj;
8547 bool _result;
8548 wxGrid * _arg0;
8549 bool _arg1;
8550 PyObject * _argo0 = 0;
8551 int tempbool1;
8552 char *_kwnames[] = { "self","expandSelection", NULL };
8553
8554 self = self;
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8556 return NULL;
8557 if (_argo0) {
8558 if (_argo0 == Py_None) { _arg0 = NULL; }
8559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8561 return NULL;
8562 }
8563 }
8564 _arg1 = (bool ) tempbool1;
8565 {
8566 PyThreadState* __tstate = wxPyBeginAllowThreads();
8567 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8568
8569 wxPyEndAllowThreads(__tstate);
8570 if (PyErr_Occurred()) return NULL;
8571 } _resultobj = Py_BuildValue("i",_result);
8572 return _resultobj;
8573 }
8574
8575 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8576 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject * _resultobj;
8578 bool _result;
8579 wxGrid * _arg0;
8580 bool _arg1;
8581 PyObject * _argo0 = 0;
8582 int tempbool1;
8583 char *_kwnames[] = { "self","expandSelection", NULL };
8584
8585 self = self;
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8587 return NULL;
8588 if (_argo0) {
8589 if (_argo0 == Py_None) { _arg0 = NULL; }
8590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8592 return NULL;
8593 }
8594 }
8595 _arg1 = (bool ) tempbool1;
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) return NULL;
8602 } _resultobj = Py_BuildValue("i",_result);
8603 return _resultobj;
8604 }
8605
8606 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8607 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8608 PyObject * _resultobj;
8609 bool _result;
8610 wxGrid * _arg0;
8611 PyObject * _argo0 = 0;
8612 char *_kwnames[] = { "self", NULL };
8613
8614 self = self;
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8616 return NULL;
8617 if (_argo0) {
8618 if (_argo0 == Py_None) { _arg0 = NULL; }
8619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8621 return NULL;
8622 }
8623 }
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 _result = (bool )wxGrid_MovePageDown(_arg0);
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) return NULL;
8630 } _resultobj = Py_BuildValue("i",_result);
8631 return _resultobj;
8632 }
8633
8634 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8635 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8636 PyObject * _resultobj;
8637 bool _result;
8638 wxGrid * _arg0;
8639 PyObject * _argo0 = 0;
8640 char *_kwnames[] = { "self", NULL };
8641
8642 self = self;
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8644 return NULL;
8645 if (_argo0) {
8646 if (_argo0 == Py_None) { _arg0 = NULL; }
8647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8649 return NULL;
8650 }
8651 }
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 _result = (bool )wxGrid_MovePageUp(_arg0);
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) return NULL;
8658 } _resultobj = Py_BuildValue("i",_result);
8659 return _resultobj;
8660 }
8661
8662 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8663 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject * _resultobj;
8665 bool _result;
8666 wxGrid * _arg0;
8667 bool _arg1;
8668 PyObject * _argo0 = 0;
8669 int tempbool1;
8670 char *_kwnames[] = { "self","expandSelection", NULL };
8671
8672 self = self;
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8674 return NULL;
8675 if (_argo0) {
8676 if (_argo0 == Py_None) { _arg0 = NULL; }
8677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8679 return NULL;
8680 }
8681 }
8682 _arg1 = (bool ) tempbool1;
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) return NULL;
8689 } _resultobj = Py_BuildValue("i",_result);
8690 return _resultobj;
8691 }
8692
8693 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8694 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8695 PyObject * _resultobj;
8696 bool _result;
8697 wxGrid * _arg0;
8698 bool _arg1;
8699 PyObject * _argo0 = 0;
8700 int tempbool1;
8701 char *_kwnames[] = { "self","expandSelection", NULL };
8702
8703 self = self;
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8705 return NULL;
8706 if (_argo0) {
8707 if (_argo0 == Py_None) { _arg0 = NULL; }
8708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8710 return NULL;
8711 }
8712 }
8713 _arg1 = (bool ) tempbool1;
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) return NULL;
8720 } _resultobj = Py_BuildValue("i",_result);
8721 return _resultobj;
8722 }
8723
8724 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8725 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject * _resultobj;
8727 bool _result;
8728 wxGrid * _arg0;
8729 bool _arg1;
8730 PyObject * _argo0 = 0;
8731 int tempbool1;
8732 char *_kwnames[] = { "self","expandSelection", NULL };
8733
8734 self = self;
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8736 return NULL;
8737 if (_argo0) {
8738 if (_argo0 == Py_None) { _arg0 = NULL; }
8739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8741 return NULL;
8742 }
8743 }
8744 _arg1 = (bool ) tempbool1;
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) return NULL;
8751 } _resultobj = Py_BuildValue("i",_result);
8752 return _resultobj;
8753 }
8754
8755 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8756 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8757 PyObject * _resultobj;
8758 bool _result;
8759 wxGrid * _arg0;
8760 bool _arg1;
8761 PyObject * _argo0 = 0;
8762 int tempbool1;
8763 char *_kwnames[] = { "self","expandSelection", NULL };
8764
8765 self = self;
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8767 return NULL;
8768 if (_argo0) {
8769 if (_argo0 == Py_None) { _arg0 = NULL; }
8770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8772 return NULL;
8773 }
8774 }
8775 _arg1 = (bool ) tempbool1;
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) return NULL;
8782 } _resultobj = Py_BuildValue("i",_result);
8783 return _resultobj;
8784 }
8785
8786 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8787 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8788 PyObject * _resultobj;
8789 int _result;
8790 wxGrid * _arg0;
8791 PyObject * _argo0 = 0;
8792 char *_kwnames[] = { "self", NULL };
8793
8794 self = self;
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8796 return NULL;
8797 if (_argo0) {
8798 if (_argo0 == Py_None) { _arg0 = NULL; }
8799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8801 return NULL;
8802 }
8803 }
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) return NULL;
8810 } _resultobj = Py_BuildValue("i",_result);
8811 return _resultobj;
8812 }
8813
8814 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8815 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8816 PyObject * _resultobj;
8817 int _result;
8818 wxGrid * _arg0;
8819 PyObject * _argo0 = 0;
8820 char *_kwnames[] = { "self", NULL };
8821
8822 self = self;
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8824 return NULL;
8825 if (_argo0) {
8826 if (_argo0 == Py_None) { _arg0 = NULL; }
8827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8829 return NULL;
8830 }
8831 }
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) return NULL;
8838 } _resultobj = Py_BuildValue("i",_result);
8839 return _resultobj;
8840 }
8841
8842 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8843 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8844 PyObject * _resultobj;
8845 int _result;
8846 wxGrid * _arg0;
8847 PyObject * _argo0 = 0;
8848 char *_kwnames[] = { "self", NULL };
8849
8850 self = self;
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
8852 return NULL;
8853 if (_argo0) {
8854 if (_argo0 == Py_None) { _arg0 = NULL; }
8855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8857 return NULL;
8858 }
8859 }
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) return NULL;
8866 } _resultobj = Py_BuildValue("i",_result);
8867 return _resultobj;
8868 }
8869
8870 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8871 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject * _resultobj;
8873 int _result;
8874 wxGrid * _arg0;
8875 PyObject * _argo0 = 0;
8876 char *_kwnames[] = { "self", NULL };
8877
8878 self = self;
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
8880 return NULL;
8881 if (_argo0) {
8882 if (_argo0 == Py_None) { _arg0 = NULL; }
8883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8885 return NULL;
8886 }
8887 }
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 _result = (int )wxGrid_GetColLabelSize(_arg0);
8891
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) return NULL;
8894 } _resultobj = Py_BuildValue("i",_result);
8895 return _resultobj;
8896 }
8897
8898 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8899 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject * _resultobj;
8901 wxColour * _result;
8902 wxGrid * _arg0;
8903 PyObject * _argo0 = 0;
8904 char *_kwnames[] = { "self", NULL };
8905 char _ptemp[128];
8906
8907 self = self;
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
8909 return NULL;
8910 if (_argo0) {
8911 if (_argo0 == Py_None) { _arg0 = NULL; }
8912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8914 return NULL;
8915 }
8916 }
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
8920
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) return NULL;
8923 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8924 _resultobj = Py_BuildValue("s",_ptemp);
8925 return _resultobj;
8926 }
8927
8928 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8929 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject * _resultobj;
8931 wxColour * _result;
8932 wxGrid * _arg0;
8933 PyObject * _argo0 = 0;
8934 char *_kwnames[] = { "self", NULL };
8935 char _ptemp[128];
8936
8937 self = self;
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
8939 return NULL;
8940 if (_argo0) {
8941 if (_argo0 == Py_None) { _arg0 = NULL; }
8942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8944 return NULL;
8945 }
8946 }
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) return NULL;
8953 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
8954 _resultobj = Py_BuildValue("s",_ptemp);
8955 return _resultobj;
8956 }
8957
8958 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8959 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8960 PyObject * _resultobj;
8961 wxFont * _result;
8962 wxGrid * _arg0;
8963 PyObject * _argo0 = 0;
8964 char *_kwnames[] = { "self", NULL };
8965 char _ptemp[128];
8966
8967 self = self;
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
8969 return NULL;
8970 if (_argo0) {
8971 if (_argo0 == Py_None) { _arg0 = NULL; }
8972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8974 return NULL;
8975 }
8976 }
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) return NULL;
8983 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
8984 _resultobj = Py_BuildValue("s",_ptemp);
8985 return _resultobj;
8986 }
8987
8988 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8989 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject * _resultobj;
8991 wxGrid * _arg0;
8992 int * _arg1;
8993 int temp;
8994 int * _arg2;
8995 int temp0;
8996 PyObject * _argo0 = 0;
8997 char *_kwnames[] = { "self", NULL };
8998
8999 self = self;
9000 {
9001 _arg1 = &temp;
9002 }
9003 {
9004 _arg2 = &temp0;
9005 }
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9007 return NULL;
9008 if (_argo0) {
9009 if (_argo0 == Py_None) { _arg0 = NULL; }
9010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9012 return NULL;
9013 }
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) return NULL;
9021 } Py_INCREF(Py_None);
9022 _resultobj = Py_None;
9023 {
9024 PyObject *o;
9025 o = PyInt_FromLong((long) (*_arg1));
9026 _resultobj = t_output_helper(_resultobj, o);
9027 }
9028 {
9029 PyObject *o;
9030 o = PyInt_FromLong((long) (*_arg2));
9031 _resultobj = t_output_helper(_resultobj, o);
9032 }
9033 return _resultobj;
9034 }
9035
9036 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9037 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9038 PyObject * _resultobj;
9039 wxGrid * _arg0;
9040 int * _arg1;
9041 int temp;
9042 int * _arg2;
9043 int temp0;
9044 PyObject * _argo0 = 0;
9045 char *_kwnames[] = { "self", NULL };
9046
9047 self = self;
9048 {
9049 _arg1 = &temp;
9050 }
9051 {
9052 _arg2 = &temp0;
9053 }
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9055 return NULL;
9056 if (_argo0) {
9057 if (_argo0 == Py_None) { _arg0 = NULL; }
9058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9060 return NULL;
9061 }
9062 }
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) return NULL;
9069 } Py_INCREF(Py_None);
9070 _resultobj = Py_None;
9071 {
9072 PyObject *o;
9073 o = PyInt_FromLong((long) (*_arg1));
9074 _resultobj = t_output_helper(_resultobj, o);
9075 }
9076 {
9077 PyObject *o;
9078 o = PyInt_FromLong((long) (*_arg2));
9079 _resultobj = t_output_helper(_resultobj, o);
9080 }
9081 return _resultobj;
9082 }
9083
9084 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9085 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject * _resultobj;
9087 wxString * _result;
9088 wxGrid * _arg0;
9089 int _arg1;
9090 PyObject * _argo0 = 0;
9091 char *_kwnames[] = { "self","row", NULL };
9092
9093 self = self;
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9095 return NULL;
9096 if (_argo0) {
9097 if (_argo0 == Py_None) { _arg0 = NULL; }
9098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9100 return NULL;
9101 }
9102 }
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
9105 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9106
9107 wxPyEndAllowThreads(__tstate);
9108 if (PyErr_Occurred()) return NULL;
9109 }{
9110 #if wxUSE_UNICODE
9111 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9112 #else
9113 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9114 #endif
9115 }
9116 {
9117 delete _result;
9118 }
9119 return _resultobj;
9120 }
9121
9122 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9123 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9124 PyObject * _resultobj;
9125 wxString * _result;
9126 wxGrid * _arg0;
9127 int _arg1;
9128 PyObject * _argo0 = 0;
9129 char *_kwnames[] = { "self","col", NULL };
9130
9131 self = self;
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9133 return NULL;
9134 if (_argo0) {
9135 if (_argo0 == Py_None) { _arg0 = NULL; }
9136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9138 return NULL;
9139 }
9140 }
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) return NULL;
9147 }{
9148 #if wxUSE_UNICODE
9149 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9150 #else
9151 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9152 #endif
9153 }
9154 {
9155 delete _result;
9156 }
9157 return _resultobj;
9158 }
9159
9160 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9161 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9162 PyObject * _resultobj;
9163 wxColour * _result;
9164 wxGrid * _arg0;
9165 PyObject * _argo0 = 0;
9166 char *_kwnames[] = { "self", NULL };
9167 char _ptemp[128];
9168
9169 self = self;
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9171 return NULL;
9172 if (_argo0) {
9173 if (_argo0 == Py_None) { _arg0 = NULL; }
9174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9176 return NULL;
9177 }
9178 }
9179 {
9180 PyThreadState* __tstate = wxPyBeginAllowThreads();
9181 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9182
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) return NULL;
9185 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9186 _resultobj = Py_BuildValue("s",_ptemp);
9187 return _resultobj;
9188 }
9189
9190 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9191 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject * _resultobj;
9193 wxColour * _result;
9194 wxGrid * _arg0;
9195 PyObject * _argo0 = 0;
9196 char *_kwnames[] = { "self", NULL };
9197 char _ptemp[128];
9198
9199 self = self;
9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9201 return NULL;
9202 if (_argo0) {
9203 if (_argo0 == Py_None) { _arg0 = NULL; }
9204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9206 return NULL;
9207 }
9208 }
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) return NULL;
9215 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9216 _resultobj = Py_BuildValue("s",_ptemp);
9217 return _resultobj;
9218 }
9219
9220 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9221 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject * _resultobj;
9223 int _result;
9224 wxGrid * _arg0;
9225 PyObject * _argo0 = 0;
9226 char *_kwnames[] = { "self", NULL };
9227
9228 self = self;
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9230 return NULL;
9231 if (_argo0) {
9232 if (_argo0 == Py_None) { _arg0 = NULL; }
9233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9235 return NULL;
9236 }
9237 }
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) return NULL;
9244 } _resultobj = Py_BuildValue("i",_result);
9245 return _resultobj;
9246 }
9247
9248 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9249 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9250 PyObject * _resultobj;
9251 int _result;
9252 wxGrid * _arg0;
9253 PyObject * _argo0 = 0;
9254 char *_kwnames[] = { "self", NULL };
9255
9256 self = self;
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9258 return NULL;
9259 if (_argo0) {
9260 if (_argo0 == Py_None) { _arg0 = NULL; }
9261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9263 return NULL;
9264 }
9265 }
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) return NULL;
9272 } _resultobj = Py_BuildValue("i",_result);
9273 return _resultobj;
9274 }
9275
9276 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9277 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject * _resultobj;
9279 wxGrid * _arg0;
9280 int _arg1;
9281 PyObject * _argo0 = 0;
9282 char *_kwnames[] = { "self","width", NULL };
9283
9284 self = self;
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9286 return NULL;
9287 if (_argo0) {
9288 if (_argo0 == Py_None) { _arg0 = NULL; }
9289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9291 return NULL;
9292 }
9293 }
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 wxGrid_SetRowLabelSize(_arg0,_arg1);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) return NULL;
9300 } Py_INCREF(Py_None);
9301 _resultobj = Py_None;
9302 return _resultobj;
9303 }
9304
9305 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9306 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9307 PyObject * _resultobj;
9308 wxGrid * _arg0;
9309 int _arg1;
9310 PyObject * _argo0 = 0;
9311 char *_kwnames[] = { "self","height", NULL };
9312
9313 self = self;
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9315 return NULL;
9316 if (_argo0) {
9317 if (_argo0 == Py_None) { _arg0 = NULL; }
9318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9320 return NULL;
9321 }
9322 }
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 wxGrid_SetColLabelSize(_arg0,_arg1);
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) return NULL;
9329 } Py_INCREF(Py_None);
9330 _resultobj = Py_None;
9331 return _resultobj;
9332 }
9333
9334 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9335 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject * _resultobj;
9337 wxGrid * _arg0;
9338 wxColour * _arg1;
9339 PyObject * _argo0 = 0;
9340 wxColour temp;
9341 PyObject * _obj1 = 0;
9342 char *_kwnames[] = { "self","arg2", NULL };
9343
9344 self = self;
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9346 return NULL;
9347 if (_argo0) {
9348 if (_argo0 == Py_None) { _arg0 = NULL; }
9349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9351 return NULL;
9352 }
9353 }
9354 {
9355 _arg1 = &temp;
9356 if (! wxColour_helper(_obj1, &_arg1))
9357 return NULL;
9358 }
9359 {
9360 PyThreadState* __tstate = wxPyBeginAllowThreads();
9361 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9362
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) return NULL;
9365 } Py_INCREF(Py_None);
9366 _resultobj = Py_None;
9367 return _resultobj;
9368 }
9369
9370 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9371 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject * _resultobj;
9373 wxGrid * _arg0;
9374 wxColour * _arg1;
9375 PyObject * _argo0 = 0;
9376 wxColour temp;
9377 PyObject * _obj1 = 0;
9378 char *_kwnames[] = { "self","arg2", NULL };
9379
9380 self = self;
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9382 return NULL;
9383 if (_argo0) {
9384 if (_argo0 == Py_None) { _arg0 = NULL; }
9385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9387 return NULL;
9388 }
9389 }
9390 {
9391 _arg1 = &temp;
9392 if (! wxColour_helper(_obj1, &_arg1))
9393 return NULL;
9394 }
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) return NULL;
9401 } Py_INCREF(Py_None);
9402 _resultobj = Py_None;
9403 return _resultobj;
9404 }
9405
9406 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9407 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9408 PyObject * _resultobj;
9409 wxGrid * _arg0;
9410 wxFont * _arg1;
9411 PyObject * _argo0 = 0;
9412 PyObject * _argo1 = 0;
9413 char *_kwnames[] = { "self","arg2", NULL };
9414
9415 self = self;
9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9417 return NULL;
9418 if (_argo0) {
9419 if (_argo0 == Py_None) { _arg0 = NULL; }
9420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9422 return NULL;
9423 }
9424 }
9425 if (_argo1) {
9426 if (_argo1 == Py_None) { _arg1 = NULL; }
9427 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9428 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9429 return NULL;
9430 }
9431 }
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 wxGrid_SetLabelFont(_arg0,*_arg1);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) return NULL;
9438 } Py_INCREF(Py_None);
9439 _resultobj = Py_None;
9440 return _resultobj;
9441 }
9442
9443 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9444 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9445 PyObject * _resultobj;
9446 wxGrid * _arg0;
9447 int _arg1;
9448 int _arg2;
9449 PyObject * _argo0 = 0;
9450 char *_kwnames[] = { "self","horiz","vert", NULL };
9451
9452 self = self;
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9454 return NULL;
9455 if (_argo0) {
9456 if (_argo0 == Py_None) { _arg0 = NULL; }
9457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9459 return NULL;
9460 }
9461 }
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) return NULL;
9468 } Py_INCREF(Py_None);
9469 _resultobj = Py_None;
9470 return _resultobj;
9471 }
9472
9473 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9474 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9475 PyObject * _resultobj;
9476 wxGrid * _arg0;
9477 int _arg1;
9478 int _arg2;
9479 PyObject * _argo0 = 0;
9480 char *_kwnames[] = { "self","horiz","vert", NULL };
9481
9482 self = self;
9483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9484 return NULL;
9485 if (_argo0) {
9486 if (_argo0 == Py_None) { _arg0 = NULL; }
9487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9489 return NULL;
9490 }
9491 }
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) return NULL;
9498 } Py_INCREF(Py_None);
9499 _resultobj = Py_None;
9500 return _resultobj;
9501 }
9502
9503 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9504 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9505 PyObject * _resultobj;
9506 wxGrid * _arg0;
9507 int _arg1;
9508 wxString * _arg2;
9509 PyObject * _argo0 = 0;
9510 PyObject * _obj2 = 0;
9511 char *_kwnames[] = { "self","row","arg3", NULL };
9512
9513 self = self;
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9515 return NULL;
9516 if (_argo0) {
9517 if (_argo0 == Py_None) { _arg0 = NULL; }
9518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9520 return NULL;
9521 }
9522 }
9523 {
9524 _arg2 = wxString_in_helper(_obj2);
9525 if (_arg2 == NULL)
9526 return NULL;
9527 }
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) return NULL;
9534 } Py_INCREF(Py_None);
9535 _resultobj = Py_None;
9536 {
9537 if (_obj2)
9538 delete _arg2;
9539 }
9540 return _resultobj;
9541 }
9542
9543 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9544 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9545 PyObject * _resultobj;
9546 wxGrid * _arg0;
9547 int _arg1;
9548 wxString * _arg2;
9549 PyObject * _argo0 = 0;
9550 PyObject * _obj2 = 0;
9551 char *_kwnames[] = { "self","col","arg3", NULL };
9552
9553 self = self;
9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9555 return NULL;
9556 if (_argo0) {
9557 if (_argo0 == Py_None) { _arg0 = NULL; }
9558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9560 return NULL;
9561 }
9562 }
9563 {
9564 _arg2 = wxString_in_helper(_obj2);
9565 if (_arg2 == NULL)
9566 return NULL;
9567 }
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) return NULL;
9574 } Py_INCREF(Py_None);
9575 _resultobj = Py_None;
9576 {
9577 if (_obj2)
9578 delete _arg2;
9579 }
9580 return _resultobj;
9581 }
9582
9583 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9584 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject * _resultobj;
9586 wxGrid * _arg0;
9587 wxColour * _arg1;
9588 PyObject * _argo0 = 0;
9589 wxColour temp;
9590 PyObject * _obj1 = 0;
9591 char *_kwnames[] = { "self","arg2", NULL };
9592
9593 self = self;
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9595 return NULL;
9596 if (_argo0) {
9597 if (_argo0 == Py_None) { _arg0 = NULL; }
9598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9600 return NULL;
9601 }
9602 }
9603 {
9604 _arg1 = &temp;
9605 if (! wxColour_helper(_obj1, &_arg1))
9606 return NULL;
9607 }
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 wxGrid_SetGridLineColour(_arg0,*_arg1);
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) return NULL;
9614 } Py_INCREF(Py_None);
9615 _resultobj = Py_None;
9616 return _resultobj;
9617 }
9618
9619 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9620 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9621 PyObject * _resultobj;
9622 wxGrid * _arg0;
9623 wxColour * _arg1;
9624 PyObject * _argo0 = 0;
9625 wxColour temp;
9626 PyObject * _obj1 = 0;
9627 char *_kwnames[] = { "self","arg2", NULL };
9628
9629 self = self;
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9631 return NULL;
9632 if (_argo0) {
9633 if (_argo0 == Py_None) { _arg0 = NULL; }
9634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9636 return NULL;
9637 }
9638 }
9639 {
9640 _arg1 = &temp;
9641 if (! wxColour_helper(_obj1, &_arg1))
9642 return NULL;
9643 }
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) return NULL;
9650 } Py_INCREF(Py_None);
9651 _resultobj = Py_None;
9652 return _resultobj;
9653 }
9654
9655 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9656 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9657 PyObject * _resultobj;
9658 wxGrid * _arg0;
9659 int _arg1;
9660 PyObject * _argo0 = 0;
9661 char *_kwnames[] = { "self","width", NULL };
9662
9663 self = self;
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9665 return NULL;
9666 if (_argo0) {
9667 if (_argo0 == Py_None) { _arg0 = NULL; }
9668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9670 return NULL;
9671 }
9672 }
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) return NULL;
9679 } Py_INCREF(Py_None);
9680 _resultobj = Py_None;
9681 return _resultobj;
9682 }
9683
9684 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9685 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject * _resultobj;
9687 wxGrid * _arg0;
9688 int _arg1;
9689 PyObject * _argo0 = 0;
9690 char *_kwnames[] = { "self","width", NULL };
9691
9692 self = self;
9693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9694 return NULL;
9695 if (_argo0) {
9696 if (_argo0 == Py_None) { _arg0 = NULL; }
9697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9699 return NULL;
9700 }
9701 }
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) return NULL;
9708 } Py_INCREF(Py_None);
9709 _resultobj = Py_None;
9710 return _resultobj;
9711 }
9712
9713 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9714 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9715 PyObject * _resultobj;
9716 wxGrid * _arg0;
9717 bool _arg1 = (bool ) TRUE;
9718 PyObject * _argo0 = 0;
9719 int tempbool1 = (int) TRUE;
9720 char *_kwnames[] = { "self","enable", NULL };
9721
9722 self = self;
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9724 return NULL;
9725 if (_argo0) {
9726 if (_argo0 == Py_None) { _arg0 = NULL; }
9727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9729 return NULL;
9730 }
9731 }
9732 _arg1 = (bool ) tempbool1;
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 wxGrid_EnableDragRowSize(_arg0,_arg1);
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) return NULL;
9739 } Py_INCREF(Py_None);
9740 _resultobj = Py_None;
9741 return _resultobj;
9742 }
9743
9744 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9745 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject * _resultobj;
9747 wxGrid * _arg0;
9748 PyObject * _argo0 = 0;
9749 char *_kwnames[] = { "self", NULL };
9750
9751 self = self;
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9753 return NULL;
9754 if (_argo0) {
9755 if (_argo0 == Py_None) { _arg0 = NULL; }
9756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9758 return NULL;
9759 }
9760 }
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 wxGrid_DisableDragRowSize(_arg0);
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) return NULL;
9767 } Py_INCREF(Py_None);
9768 _resultobj = Py_None;
9769 return _resultobj;
9770 }
9771
9772 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9773 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject * _resultobj;
9775 bool _result;
9776 wxGrid * _arg0;
9777 PyObject * _argo0 = 0;
9778 char *_kwnames[] = { "self", NULL };
9779
9780 self = self;
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9782 return NULL;
9783 if (_argo0) {
9784 if (_argo0 == Py_None) { _arg0 = NULL; }
9785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9787 return NULL;
9788 }
9789 }
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) return NULL;
9796 } _resultobj = Py_BuildValue("i",_result);
9797 return _resultobj;
9798 }
9799
9800 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9801 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9802 PyObject * _resultobj;
9803 wxGrid * _arg0;
9804 bool _arg1 = (bool ) TRUE;
9805 PyObject * _argo0 = 0;
9806 int tempbool1 = (int) TRUE;
9807 char *_kwnames[] = { "self","enable", NULL };
9808
9809 self = self;
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9811 return NULL;
9812 if (_argo0) {
9813 if (_argo0 == Py_None) { _arg0 = NULL; }
9814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9816 return NULL;
9817 }
9818 }
9819 _arg1 = (bool ) tempbool1;
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 wxGrid_EnableDragColSize(_arg0,_arg1);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) return NULL;
9826 } Py_INCREF(Py_None);
9827 _resultobj = Py_None;
9828 return _resultobj;
9829 }
9830
9831 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9832 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject * _resultobj;
9834 wxGrid * _arg0;
9835 PyObject * _argo0 = 0;
9836 char *_kwnames[] = { "self", NULL };
9837
9838 self = self;
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9840 return NULL;
9841 if (_argo0) {
9842 if (_argo0 == Py_None) { _arg0 = NULL; }
9843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9845 return NULL;
9846 }
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 wxGrid_DisableDragColSize(_arg0);
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) return NULL;
9854 } Py_INCREF(Py_None);
9855 _resultobj = Py_None;
9856 return _resultobj;
9857 }
9858
9859 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9860 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject * _resultobj;
9862 bool _result;
9863 wxGrid * _arg0;
9864 PyObject * _argo0 = 0;
9865 char *_kwnames[] = { "self", NULL };
9866
9867 self = self;
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
9869 return NULL;
9870 if (_argo0) {
9871 if (_argo0 == Py_None) { _arg0 = NULL; }
9872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9874 return NULL;
9875 }
9876 }
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 _result = (bool )wxGrid_CanDragColSize(_arg0);
9880
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) return NULL;
9883 } _resultobj = Py_BuildValue("i",_result);
9884 return _resultobj;
9885 }
9886
9887 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9888 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject * _resultobj;
9890 wxGrid * _arg0;
9891 bool _arg1 = (bool ) TRUE;
9892 PyObject * _argo0 = 0;
9893 int tempbool1 = (int) TRUE;
9894 char *_kwnames[] = { "self","enable", NULL };
9895
9896 self = self;
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
9898 return NULL;
9899 if (_argo0) {
9900 if (_argo0 == Py_None) { _arg0 = NULL; }
9901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9903 return NULL;
9904 }
9905 }
9906 _arg1 = (bool ) tempbool1;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 wxGrid_EnableDragGridSize(_arg0,_arg1);
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) return NULL;
9913 } Py_INCREF(Py_None);
9914 _resultobj = Py_None;
9915 return _resultobj;
9916 }
9917
9918 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9919 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject * _resultobj;
9921 wxGrid * _arg0;
9922 PyObject * _argo0 = 0;
9923 char *_kwnames[] = { "self", NULL };
9924
9925 self = self;
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
9927 return NULL;
9928 if (_argo0) {
9929 if (_argo0 == Py_None) { _arg0 = NULL; }
9930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9932 return NULL;
9933 }
9934 }
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
9937 wxGrid_DisableDragGridSize(_arg0);
9938
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) return NULL;
9941 } Py_INCREF(Py_None);
9942 _resultobj = Py_None;
9943 return _resultobj;
9944 }
9945
9946 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9947 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9948 PyObject * _resultobj;
9949 bool _result;
9950 wxGrid * _arg0;
9951 PyObject * _argo0 = 0;
9952 char *_kwnames[] = { "self", NULL };
9953
9954 self = self;
9955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
9956 return NULL;
9957 if (_argo0) {
9958 if (_argo0 == Py_None) { _arg0 = NULL; }
9959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9961 return NULL;
9962 }
9963 }
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 _result = (bool )wxGrid_CanDragGridSize(_arg0);
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) return NULL;
9970 } _resultobj = Py_BuildValue("i",_result);
9971 return _resultobj;
9972 }
9973
9974 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9975 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9976 PyObject * _resultobj;
9977 wxGrid * _arg0;
9978 int _arg1;
9979 wxGridCellAttr * _arg2;
9980 PyObject * _argo0 = 0;
9981 PyObject * _argo2 = 0;
9982 char *_kwnames[] = { "self","row","attr", NULL };
9983
9984 self = self;
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
9986 return NULL;
9987 if (_argo0) {
9988 if (_argo0 == Py_None) { _arg0 = NULL; }
9989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9991 return NULL;
9992 }
9993 }
9994 if (_argo2) {
9995 if (_argo2 == Py_None) { _arg2 = NULL; }
9996 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
9997 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9998 return NULL;
9999 }
10000 }
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) return NULL;
10007 } Py_INCREF(Py_None);
10008 _resultobj = Py_None;
10009 return _resultobj;
10010 }
10011
10012 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10013 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject * _resultobj;
10015 wxGrid * _arg0;
10016 int _arg1;
10017 wxGridCellAttr * _arg2;
10018 PyObject * _argo0 = 0;
10019 PyObject * _argo2 = 0;
10020 char *_kwnames[] = { "self","col","attr", NULL };
10021
10022 self = self;
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10024 return NULL;
10025 if (_argo0) {
10026 if (_argo0 == Py_None) { _arg0 = NULL; }
10027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10029 return NULL;
10030 }
10031 }
10032 if (_argo2) {
10033 if (_argo2 == Py_None) { _arg2 = NULL; }
10034 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10035 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10036 return NULL;
10037 }
10038 }
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) return NULL;
10045 } Py_INCREF(Py_None);
10046 _resultobj = Py_None;
10047 return _resultobj;
10048 }
10049
10050 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10051 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10052 PyObject * _resultobj;
10053 wxGrid * _arg0;
10054 int _arg1;
10055 PyObject * _argo0 = 0;
10056 char *_kwnames[] = { "self","col", NULL };
10057
10058 self = self;
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10060 return NULL;
10061 if (_argo0) {
10062 if (_argo0 == Py_None) { _arg0 = NULL; }
10063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10065 return NULL;
10066 }
10067 }
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 wxGrid_SetColFormatBool(_arg0,_arg1);
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) return NULL;
10074 } Py_INCREF(Py_None);
10075 _resultobj = Py_None;
10076 return _resultobj;
10077 }
10078
10079 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10080 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10081 PyObject * _resultobj;
10082 wxGrid * _arg0;
10083 int _arg1;
10084 PyObject * _argo0 = 0;
10085 char *_kwnames[] = { "self","col", NULL };
10086
10087 self = self;
10088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10089 return NULL;
10090 if (_argo0) {
10091 if (_argo0 == Py_None) { _arg0 = NULL; }
10092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10094 return NULL;
10095 }
10096 }
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 wxGrid_SetColFormatNumber(_arg0,_arg1);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) return NULL;
10103 } Py_INCREF(Py_None);
10104 _resultobj = Py_None;
10105 return _resultobj;
10106 }
10107
10108 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10109 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject * _resultobj;
10111 wxGrid * _arg0;
10112 int _arg1;
10113 int _arg2 = (int ) -1;
10114 int _arg3 = (int ) -1;
10115 PyObject * _argo0 = 0;
10116 char *_kwnames[] = { "self","col","width","precision", NULL };
10117
10118 self = self;
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10120 return NULL;
10121 if (_argo0) {
10122 if (_argo0 == Py_None) { _arg0 = NULL; }
10123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10125 return NULL;
10126 }
10127 }
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) return NULL;
10134 } Py_INCREF(Py_None);
10135 _resultobj = Py_None;
10136 return _resultobj;
10137 }
10138
10139 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10140 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject * _resultobj;
10142 wxGrid * _arg0;
10143 int _arg1;
10144 wxString * _arg2;
10145 PyObject * _argo0 = 0;
10146 PyObject * _obj2 = 0;
10147 char *_kwnames[] = { "self","col","typeName", NULL };
10148
10149 self = self;
10150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10151 return NULL;
10152 if (_argo0) {
10153 if (_argo0 == Py_None) { _arg0 = NULL; }
10154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10156 return NULL;
10157 }
10158 }
10159 {
10160 _arg2 = wxString_in_helper(_obj2);
10161 if (_arg2 == NULL)
10162 return NULL;
10163 }
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) return NULL;
10170 } Py_INCREF(Py_None);
10171 _resultobj = Py_None;
10172 {
10173 if (_obj2)
10174 delete _arg2;
10175 }
10176 return _resultobj;
10177 }
10178
10179 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10180 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject * _resultobj;
10182 wxGrid * _arg0;
10183 bool _arg1 = (bool ) TRUE;
10184 PyObject * _argo0 = 0;
10185 int tempbool1 = (int) TRUE;
10186 char *_kwnames[] = { "self","enable", NULL };
10187
10188 self = self;
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10190 return NULL;
10191 if (_argo0) {
10192 if (_argo0 == Py_None) { _arg0 = NULL; }
10193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10195 return NULL;
10196 }
10197 }
10198 _arg1 = (bool ) tempbool1;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 wxGrid_EnableGridLines(_arg0,_arg1);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) return NULL;
10205 } Py_INCREF(Py_None);
10206 _resultobj = Py_None;
10207 return _resultobj;
10208 }
10209
10210 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10211 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10212 PyObject * _resultobj;
10213 bool _result;
10214 wxGrid * _arg0;
10215 PyObject * _argo0 = 0;
10216 char *_kwnames[] = { "self", NULL };
10217
10218 self = self;
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10220 return NULL;
10221 if (_argo0) {
10222 if (_argo0 == Py_None) { _arg0 = NULL; }
10223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10225 return NULL;
10226 }
10227 }
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) return NULL;
10234 } _resultobj = Py_BuildValue("i",_result);
10235 return _resultobj;
10236 }
10237
10238 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10239 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject * _resultobj;
10241 int _result;
10242 wxGrid * _arg0;
10243 PyObject * _argo0 = 0;
10244 char *_kwnames[] = { "self", NULL };
10245
10246 self = self;
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10248 return NULL;
10249 if (_argo0) {
10250 if (_argo0 == Py_None) { _arg0 = NULL; }
10251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10253 return NULL;
10254 }
10255 }
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) return NULL;
10262 } _resultobj = Py_BuildValue("i",_result);
10263 return _resultobj;
10264 }
10265
10266 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10267 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject * _resultobj;
10269 int _result;
10270 wxGrid * _arg0;
10271 int _arg1;
10272 PyObject * _argo0 = 0;
10273 char *_kwnames[] = { "self","row", NULL };
10274
10275 self = self;
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10277 return NULL;
10278 if (_argo0) {
10279 if (_argo0 == Py_None) { _arg0 = NULL; }
10280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10282 return NULL;
10283 }
10284 }
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) return NULL;
10291 } _resultobj = Py_BuildValue("i",_result);
10292 return _resultobj;
10293 }
10294
10295 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10296 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject * _resultobj;
10298 int _result;
10299 wxGrid * _arg0;
10300 PyObject * _argo0 = 0;
10301 char *_kwnames[] = { "self", NULL };
10302
10303 self = self;
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10305 return NULL;
10306 if (_argo0) {
10307 if (_argo0 == Py_None) { _arg0 = NULL; }
10308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10310 return NULL;
10311 }
10312 }
10313 {
10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
10315 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10316
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) return NULL;
10319 } _resultobj = Py_BuildValue("i",_result);
10320 return _resultobj;
10321 }
10322
10323 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10324 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10325 PyObject * _resultobj;
10326 int _result;
10327 wxGrid * _arg0;
10328 int _arg1;
10329 PyObject * _argo0 = 0;
10330 char *_kwnames[] = { "self","col", NULL };
10331
10332 self = self;
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10334 return NULL;
10335 if (_argo0) {
10336 if (_argo0 == Py_None) { _arg0 = NULL; }
10337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10339 return NULL;
10340 }
10341 }
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) return NULL;
10348 } _resultobj = Py_BuildValue("i",_result);
10349 return _resultobj;
10350 }
10351
10352 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10353 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10354 PyObject * _resultobj;
10355 wxColour * _result;
10356 wxGrid * _arg0;
10357 PyObject * _argo0 = 0;
10358 char *_kwnames[] = { "self", NULL };
10359 char _ptemp[128];
10360
10361 self = self;
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10363 return NULL;
10364 if (_argo0) {
10365 if (_argo0 == Py_None) { _arg0 = NULL; }
10366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10368 return NULL;
10369 }
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) return NULL;
10377 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10378 _resultobj = Py_BuildValue("s",_ptemp);
10379 return _resultobj;
10380 }
10381
10382 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10383 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10384 PyObject * _resultobj;
10385 wxColour * _result;
10386 wxGrid * _arg0;
10387 int _arg1;
10388 int _arg2;
10389 PyObject * _argo0 = 0;
10390 char *_kwnames[] = { "self","row","col", NULL };
10391 char _ptemp[128];
10392
10393 self = self;
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10395 return NULL;
10396 if (_argo0) {
10397 if (_argo0 == Py_None) { _arg0 = NULL; }
10398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10400 return NULL;
10401 }
10402 }
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) return NULL;
10409 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10410 _resultobj = Py_BuildValue("s",_ptemp);
10411 return _resultobj;
10412 }
10413
10414 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10415 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10416 PyObject * _resultobj;
10417 wxColour * _result;
10418 wxGrid * _arg0;
10419 PyObject * _argo0 = 0;
10420 char *_kwnames[] = { "self", NULL };
10421 char _ptemp[128];
10422
10423 self = self;
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10425 return NULL;
10426 if (_argo0) {
10427 if (_argo0 == Py_None) { _arg0 = NULL; }
10428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10430 return NULL;
10431 }
10432 }
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) return NULL;
10439 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10440 _resultobj = Py_BuildValue("s",_ptemp);
10441 return _resultobj;
10442 }
10443
10444 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10445 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject * _resultobj;
10447 wxColour * _result;
10448 wxGrid * _arg0;
10449 int _arg1;
10450 int _arg2;
10451 PyObject * _argo0 = 0;
10452 char *_kwnames[] = { "self","row","col", NULL };
10453 char _ptemp[128];
10454
10455 self = self;
10456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10457 return NULL;
10458 if (_argo0) {
10459 if (_argo0 == Py_None) { _arg0 = NULL; }
10460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10462 return NULL;
10463 }
10464 }
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) return NULL;
10471 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10472 _resultobj = Py_BuildValue("s",_ptemp);
10473 return _resultobj;
10474 }
10475
10476 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10477 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject * _resultobj;
10479 wxFont * _result;
10480 wxGrid * _arg0;
10481 PyObject * _argo0 = 0;
10482 char *_kwnames[] = { "self", NULL };
10483 char _ptemp[128];
10484
10485 self = self;
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10487 return NULL;
10488 if (_argo0) {
10489 if (_argo0 == Py_None) { _arg0 = NULL; }
10490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10492 return NULL;
10493 }
10494 }
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) return NULL;
10501 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10502 _resultobj = Py_BuildValue("s",_ptemp);
10503 return _resultobj;
10504 }
10505
10506 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10507 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10508 PyObject * _resultobj;
10509 wxFont * _result;
10510 wxGrid * _arg0;
10511 int _arg1;
10512 int _arg2;
10513 PyObject * _argo0 = 0;
10514 char *_kwnames[] = { "self","row","col", NULL };
10515 char _ptemp[128];
10516
10517 self = self;
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10519 return NULL;
10520 if (_argo0) {
10521 if (_argo0 == Py_None) { _arg0 = NULL; }
10522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10524 return NULL;
10525 }
10526 }
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) return NULL;
10533 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10534 _resultobj = Py_BuildValue("s",_ptemp);
10535 return _resultobj;
10536 }
10537
10538 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10539 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10540 PyObject * _resultobj;
10541 wxGrid * _arg0;
10542 int * _arg1;
10543 int * _arg2;
10544 PyObject * _argo0 = 0;
10545 PyObject * _argo1 = 0;
10546 PyObject * _argo2 = 0;
10547 char *_kwnames[] = { "self","horiz","vert", NULL };
10548
10549 self = self;
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10551 return NULL;
10552 if (_argo0) {
10553 if (_argo0 == Py_None) { _arg0 = NULL; }
10554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10556 return NULL;
10557 }
10558 }
10559 if (_argo1) {
10560 if (_argo1 == Py_None) { _arg1 = NULL; }
10561 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10562 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10563 return NULL;
10564 }
10565 }
10566 if (_argo2) {
10567 if (_argo2 == Py_None) { _arg2 = NULL; }
10568 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10569 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10570 return NULL;
10571 }
10572 }
10573 {
10574 PyThreadState* __tstate = wxPyBeginAllowThreads();
10575 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10576
10577 wxPyEndAllowThreads(__tstate);
10578 if (PyErr_Occurred()) return NULL;
10579 } Py_INCREF(Py_None);
10580 _resultobj = Py_None;
10581 return _resultobj;
10582 }
10583
10584 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10585 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10586 PyObject * _resultobj;
10587 wxGrid * _arg0;
10588 int _arg1;
10589 int _arg2;
10590 int * _arg3;
10591 int * _arg4;
10592 PyObject * _argo0 = 0;
10593 PyObject * _argo3 = 0;
10594 PyObject * _argo4 = 0;
10595 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10596
10597 self = self;
10598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10599 return NULL;
10600 if (_argo0) {
10601 if (_argo0 == Py_None) { _arg0 = NULL; }
10602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10604 return NULL;
10605 }
10606 }
10607 if (_argo3) {
10608 if (_argo3 == Py_None) { _arg3 = NULL; }
10609 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10610 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10611 return NULL;
10612 }
10613 }
10614 if (_argo4) {
10615 if (_argo4 == Py_None) { _arg4 = NULL; }
10616 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10617 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10618 return NULL;
10619 }
10620 }
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) return NULL;
10627 } Py_INCREF(Py_None);
10628 _resultobj = Py_None;
10629 return _resultobj;
10630 }
10631
10632 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10633 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject * _resultobj;
10635 wxGrid * _arg0;
10636 int _arg1;
10637 bool _arg2 = (bool ) FALSE;
10638 PyObject * _argo0 = 0;
10639 int tempbool2 = (int) FALSE;
10640 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10641
10642 self = self;
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10644 return NULL;
10645 if (_argo0) {
10646 if (_argo0 == Py_None) { _arg0 = NULL; }
10647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10649 return NULL;
10650 }
10651 }
10652 _arg2 = (bool ) tempbool2;
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) return NULL;
10659 } Py_INCREF(Py_None);
10660 _resultobj = Py_None;
10661 return _resultobj;
10662 }
10663
10664 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10665 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10666 PyObject * _resultobj;
10667 wxGrid * _arg0;
10668 int _arg1;
10669 int _arg2;
10670 PyObject * _argo0 = 0;
10671 char *_kwnames[] = { "self","row","height", NULL };
10672
10673 self = self;
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10675 return NULL;
10676 if (_argo0) {
10677 if (_argo0 == Py_None) { _arg0 = NULL; }
10678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10680 return NULL;
10681 }
10682 }
10683 {
10684 PyThreadState* __tstate = wxPyBeginAllowThreads();
10685 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10686
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) return NULL;
10689 } Py_INCREF(Py_None);
10690 _resultobj = Py_None;
10691 return _resultobj;
10692 }
10693
10694 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10695 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject * _resultobj;
10697 wxGrid * _arg0;
10698 int _arg1;
10699 bool _arg2 = (bool ) FALSE;
10700 PyObject * _argo0 = 0;
10701 int tempbool2 = (int) FALSE;
10702 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10703
10704 self = self;
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10706 return NULL;
10707 if (_argo0) {
10708 if (_argo0 == Py_None) { _arg0 = NULL; }
10709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10711 return NULL;
10712 }
10713 }
10714 _arg2 = (bool ) tempbool2;
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10718
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) return NULL;
10721 } Py_INCREF(Py_None);
10722 _resultobj = Py_None;
10723 return _resultobj;
10724 }
10725
10726 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10727 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10728 PyObject * _resultobj;
10729 wxGrid * _arg0;
10730 int _arg1;
10731 int _arg2;
10732 PyObject * _argo0 = 0;
10733 char *_kwnames[] = { "self","col","width", NULL };
10734
10735 self = self;
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10737 return NULL;
10738 if (_argo0) {
10739 if (_argo0 == Py_None) { _arg0 = NULL; }
10740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10742 return NULL;
10743 }
10744 }
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) return NULL;
10751 } Py_INCREF(Py_None);
10752 _resultobj = Py_None;
10753 return _resultobj;
10754 }
10755
10756 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10757 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10758 PyObject * _resultobj;
10759 wxGrid * _arg0;
10760 int _arg1;
10761 bool _arg2 = (bool ) TRUE;
10762 PyObject * _argo0 = 0;
10763 int tempbool2 = (int) TRUE;
10764 char *_kwnames[] = { "self","col","setAsMin", NULL };
10765
10766 self = self;
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10768 return NULL;
10769 if (_argo0) {
10770 if (_argo0 == Py_None) { _arg0 = NULL; }
10771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10773 return NULL;
10774 }
10775 }
10776 _arg2 = (bool ) tempbool2;
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) return NULL;
10783 } Py_INCREF(Py_None);
10784 _resultobj = Py_None;
10785 return _resultobj;
10786 }
10787
10788 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10789 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10790 PyObject * _resultobj;
10791 wxGrid * _arg0;
10792 int _arg1;
10793 bool _arg2 = (bool ) TRUE;
10794 PyObject * _argo0 = 0;
10795 int tempbool2 = (int) TRUE;
10796 char *_kwnames[] = { "self","row","setAsMin", NULL };
10797
10798 self = self;
10799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10800 return NULL;
10801 if (_argo0) {
10802 if (_argo0 == Py_None) { _arg0 = NULL; }
10803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10805 return NULL;
10806 }
10807 }
10808 _arg2 = (bool ) tempbool2;
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) return NULL;
10815 } Py_INCREF(Py_None);
10816 _resultobj = Py_None;
10817 return _resultobj;
10818 }
10819
10820 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10821 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10822 PyObject * _resultobj;
10823 wxGrid * _arg0;
10824 bool _arg1 = (bool ) TRUE;
10825 PyObject * _argo0 = 0;
10826 int tempbool1 = (int) TRUE;
10827 char *_kwnames[] = { "self","setAsMin", NULL };
10828
10829 self = self;
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10831 return NULL;
10832 if (_argo0) {
10833 if (_argo0 == Py_None) { _arg0 = NULL; }
10834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10836 return NULL;
10837 }
10838 }
10839 _arg1 = (bool ) tempbool1;
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 wxGrid_AutoSizeColumns(_arg0,_arg1);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) return NULL;
10846 } Py_INCREF(Py_None);
10847 _resultobj = Py_None;
10848 return _resultobj;
10849 }
10850
10851 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10852 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject * _resultobj;
10854 wxGrid * _arg0;
10855 bool _arg1 = (bool ) TRUE;
10856 PyObject * _argo0 = 0;
10857 int tempbool1 = (int) TRUE;
10858 char *_kwnames[] = { "self","setAsMin", NULL };
10859
10860 self = self;
10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
10862 return NULL;
10863 if (_argo0) {
10864 if (_argo0 == Py_None) { _arg0 = NULL; }
10865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10867 return NULL;
10868 }
10869 }
10870 _arg1 = (bool ) tempbool1;
10871 {
10872 PyThreadState* __tstate = wxPyBeginAllowThreads();
10873 wxGrid_AutoSizeRows(_arg0,_arg1);
10874
10875 wxPyEndAllowThreads(__tstate);
10876 if (PyErr_Occurred()) return NULL;
10877 } Py_INCREF(Py_None);
10878 _resultobj = Py_None;
10879 return _resultobj;
10880 }
10881
10882 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10883 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject * _resultobj;
10885 wxGrid * _arg0;
10886 PyObject * _argo0 = 0;
10887 char *_kwnames[] = { "self", NULL };
10888
10889 self = self;
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
10891 return NULL;
10892 if (_argo0) {
10893 if (_argo0 == Py_None) { _arg0 = NULL; }
10894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10896 return NULL;
10897 }
10898 }
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 wxGrid_AutoSize(_arg0);
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) return NULL;
10905 } Py_INCREF(Py_None);
10906 _resultobj = Py_None;
10907 return _resultobj;
10908 }
10909
10910 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10911 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject * _resultobj;
10913 wxGrid * _arg0;
10914 int _arg1;
10915 int _arg2;
10916 PyObject * _argo0 = 0;
10917 char *_kwnames[] = { "self","col","width", NULL };
10918
10919 self = self;
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
10921 return NULL;
10922 if (_argo0) {
10923 if (_argo0 == Py_None) { _arg0 = NULL; }
10924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10926 return NULL;
10927 }
10928 }
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) return NULL;
10935 } Py_INCREF(Py_None);
10936 _resultobj = Py_None;
10937 return _resultobj;
10938 }
10939
10940 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10941 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10942 PyObject * _resultobj;
10943 wxGrid * _arg0;
10944 int _arg1;
10945 int _arg2;
10946 PyObject * _argo0 = 0;
10947 char *_kwnames[] = { "self","row","width", NULL };
10948
10949 self = self;
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
10951 return NULL;
10952 if (_argo0) {
10953 if (_argo0 == Py_None) { _arg0 = NULL; }
10954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10956 return NULL;
10957 }
10958 }
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) return NULL;
10965 } Py_INCREF(Py_None);
10966 _resultobj = Py_None;
10967 return _resultobj;
10968 }
10969
10970 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10971 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject * _resultobj;
10973 wxGrid * _arg0;
10974 wxColour * _arg1;
10975 PyObject * _argo0 = 0;
10976 wxColour temp;
10977 PyObject * _obj1 = 0;
10978 char *_kwnames[] = { "self","arg2", NULL };
10979
10980 self = self;
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
10982 return NULL;
10983 if (_argo0) {
10984 if (_argo0 == Py_None) { _arg0 = NULL; }
10985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10987 return NULL;
10988 }
10989 }
10990 {
10991 _arg1 = &temp;
10992 if (! wxColour_helper(_obj1, &_arg1))
10993 return NULL;
10994 }
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) return NULL;
11001 } Py_INCREF(Py_None);
11002 _resultobj = Py_None;
11003 return _resultobj;
11004 }
11005
11006 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11007 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject * _resultobj;
11009 wxGrid * _arg0;
11010 int _arg1;
11011 int _arg2;
11012 wxColour * _arg3;
11013 PyObject * _argo0 = 0;
11014 wxColour temp;
11015 PyObject * _obj3 = 0;
11016 char *_kwnames[] = { "self","row","col","arg4", NULL };
11017
11018 self = self;
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11020 return NULL;
11021 if (_argo0) {
11022 if (_argo0 == Py_None) { _arg0 = NULL; }
11023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11025 return NULL;
11026 }
11027 }
11028 {
11029 _arg3 = &temp;
11030 if (! wxColour_helper(_obj3, &_arg3))
11031 return NULL;
11032 }
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
11036
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) return NULL;
11039 } Py_INCREF(Py_None);
11040 _resultobj = Py_None;
11041 return _resultobj;
11042 }
11043
11044 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11045 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11046 PyObject * _resultobj;
11047 wxGrid * _arg0;
11048 wxColour * _arg1;
11049 PyObject * _argo0 = 0;
11050 wxColour temp;
11051 PyObject * _obj1 = 0;
11052 char *_kwnames[] = { "self","arg2", NULL };
11053
11054 self = self;
11055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11056 return NULL;
11057 if (_argo0) {
11058 if (_argo0 == Py_None) { _arg0 = NULL; }
11059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11061 return NULL;
11062 }
11063 }
11064 {
11065 _arg1 = &temp;
11066 if (! wxColour_helper(_obj1, &_arg1))
11067 return NULL;
11068 }
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11072
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) return NULL;
11075 } Py_INCREF(Py_None);
11076 _resultobj = Py_None;
11077 return _resultobj;
11078 }
11079
11080 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11081 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11082 PyObject * _resultobj;
11083 wxGrid * _arg0;
11084 int _arg1;
11085 int _arg2;
11086 wxColour * _arg3;
11087 PyObject * _argo0 = 0;
11088 wxColour temp;
11089 PyObject * _obj3 = 0;
11090 char *_kwnames[] = { "self","row","col","arg4", NULL };
11091
11092 self = self;
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11094 return NULL;
11095 if (_argo0) {
11096 if (_argo0 == Py_None) { _arg0 = NULL; }
11097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11099 return NULL;
11100 }
11101 }
11102 {
11103 _arg3 = &temp;
11104 if (! wxColour_helper(_obj3, &_arg3))
11105 return NULL;
11106 }
11107 {
11108 PyThreadState* __tstate = wxPyBeginAllowThreads();
11109 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11110
11111 wxPyEndAllowThreads(__tstate);
11112 if (PyErr_Occurred()) return NULL;
11113 } Py_INCREF(Py_None);
11114 _resultobj = Py_None;
11115 return _resultobj;
11116 }
11117
11118 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11119 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject * _resultobj;
11121 wxGrid * _arg0;
11122 wxFont * _arg1;
11123 PyObject * _argo0 = 0;
11124 PyObject * _argo1 = 0;
11125 char *_kwnames[] = { "self","arg2", NULL };
11126
11127 self = self;
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11129 return NULL;
11130 if (_argo0) {
11131 if (_argo0 == Py_None) { _arg0 = NULL; }
11132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11134 return NULL;
11135 }
11136 }
11137 if (_argo1) {
11138 if (_argo1 == Py_None) { _arg1 = NULL; }
11139 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11141 return NULL;
11142 }
11143 }
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) return NULL;
11150 } Py_INCREF(Py_None);
11151 _resultobj = Py_None;
11152 return _resultobj;
11153 }
11154
11155 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11156 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11157 PyObject * _resultobj;
11158 wxGrid * _arg0;
11159 int _arg1;
11160 int _arg2;
11161 wxFont * _arg3;
11162 PyObject * _argo0 = 0;
11163 PyObject * _argo3 = 0;
11164 char *_kwnames[] = { "self","row","col","arg4", NULL };
11165
11166 self = self;
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11168 return NULL;
11169 if (_argo0) {
11170 if (_argo0 == Py_None) { _arg0 = NULL; }
11171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11173 return NULL;
11174 }
11175 }
11176 if (_argo3) {
11177 if (_argo3 == Py_None) { _arg3 = NULL; }
11178 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11179 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11180 return NULL;
11181 }
11182 }
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) return NULL;
11189 } Py_INCREF(Py_None);
11190 _resultobj = Py_None;
11191 return _resultobj;
11192 }
11193
11194 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11195 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11196 PyObject * _resultobj;
11197 wxGrid * _arg0;
11198 int _arg1;
11199 int _arg2;
11200 PyObject * _argo0 = 0;
11201 char *_kwnames[] = { "self","horiz","vert", NULL };
11202
11203 self = self;
11204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11205 return NULL;
11206 if (_argo0) {
11207 if (_argo0 == Py_None) { _arg0 = NULL; }
11208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11210 return NULL;
11211 }
11212 }
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11216
11217 wxPyEndAllowThreads(__tstate);
11218 if (PyErr_Occurred()) return NULL;
11219 } Py_INCREF(Py_None);
11220 _resultobj = Py_None;
11221 return _resultobj;
11222 }
11223
11224 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11225 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11226 PyObject * _resultobj;
11227 wxGrid * _arg0;
11228 int _arg1;
11229 int _arg2;
11230 int _arg3;
11231 int _arg4;
11232 PyObject * _argo0 = 0;
11233 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11234
11235 self = self;
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11237 return NULL;
11238 if (_argo0) {
11239 if (_argo0 == Py_None) { _arg0 = NULL; }
11240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11242 return NULL;
11243 }
11244 }
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11248
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) return NULL;
11251 } Py_INCREF(Py_None);
11252 _resultobj = Py_None;
11253 return _resultobj;
11254 }
11255
11256 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11257 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11258 PyObject * _resultobj;
11259 wxGrid * _arg0;
11260 wxGridCellRenderer * _arg1;
11261 PyObject * _argo0 = 0;
11262 PyObject * _argo1 = 0;
11263 char *_kwnames[] = { "self","renderer", NULL };
11264
11265 self = self;
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11267 return NULL;
11268 if (_argo0) {
11269 if (_argo0 == Py_None) { _arg0 = NULL; }
11270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11272 return NULL;
11273 }
11274 }
11275 if (_argo1) {
11276 if (_argo1 == Py_None) { _arg1 = NULL; }
11277 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11278 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11279 return NULL;
11280 }
11281 }
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) return NULL;
11288 } Py_INCREF(Py_None);
11289 _resultobj = Py_None;
11290 return _resultobj;
11291 }
11292
11293 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11294 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11295 PyObject * _resultobj;
11296 wxGrid * _arg0;
11297 int _arg1;
11298 int _arg2;
11299 wxGridCellRenderer * _arg3;
11300 PyObject * _argo0 = 0;
11301 PyObject * _argo3 = 0;
11302 char *_kwnames[] = { "self","row","col","renderer", NULL };
11303
11304 self = self;
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11306 return NULL;
11307 if (_argo0) {
11308 if (_argo0 == Py_None) { _arg0 = NULL; }
11309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11311 return NULL;
11312 }
11313 }
11314 if (_argo3) {
11315 if (_argo3 == Py_None) { _arg3 = NULL; }
11316 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11317 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11318 return NULL;
11319 }
11320 }
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) return NULL;
11327 } Py_INCREF(Py_None);
11328 _resultobj = Py_None;
11329 return _resultobj;
11330 }
11331
11332 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11333 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject * _resultobj;
11335 wxGridCellRenderer * _result;
11336 wxGrid * _arg0;
11337 PyObject * _argo0 = 0;
11338 char *_kwnames[] = { "self", NULL };
11339 char _ptemp[128];
11340
11341 self = self;
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11343 return NULL;
11344 if (_argo0) {
11345 if (_argo0 == Py_None) { _arg0 = NULL; }
11346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11348 return NULL;
11349 }
11350 }
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) return NULL;
11357 } if (_result) {
11358 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11359 _resultobj = Py_BuildValue("s",_ptemp);
11360 } else {
11361 Py_INCREF(Py_None);
11362 _resultobj = Py_None;
11363 }
11364 return _resultobj;
11365 }
11366
11367 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11368 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11369 PyObject * _resultobj;
11370 wxGridCellRenderer * _result;
11371 wxGrid * _arg0;
11372 int _arg1;
11373 int _arg2;
11374 PyObject * _argo0 = 0;
11375 char *_kwnames[] = { "self","row","col", NULL };
11376 char _ptemp[128];
11377
11378 self = self;
11379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11380 return NULL;
11381 if (_argo0) {
11382 if (_argo0 == Py_None) { _arg0 = NULL; }
11383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11385 return NULL;
11386 }
11387 }
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11391
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) return NULL;
11394 } if (_result) {
11395 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
11396 _resultobj = Py_BuildValue("s",_ptemp);
11397 } else {
11398 Py_INCREF(Py_None);
11399 _resultobj = Py_None;
11400 }
11401 return _resultobj;
11402 }
11403
11404 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11405 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11406 PyObject * _resultobj;
11407 wxGrid * _arg0;
11408 wxGridCellEditor * _arg1;
11409 PyObject * _argo0 = 0;
11410 PyObject * _argo1 = 0;
11411 char *_kwnames[] = { "self","editor", NULL };
11412
11413 self = self;
11414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11415 return NULL;
11416 if (_argo0) {
11417 if (_argo0 == Py_None) { _arg0 = NULL; }
11418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11420 return NULL;
11421 }
11422 }
11423 if (_argo1) {
11424 if (_argo1 == Py_None) { _arg1 = NULL; }
11425 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11426 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11427 return NULL;
11428 }
11429 }
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
11432 wxGrid_SetDefaultEditor(_arg0,_arg1);
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) return NULL;
11436 } Py_INCREF(Py_None);
11437 _resultobj = Py_None;
11438 return _resultobj;
11439 }
11440
11441 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11442 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11443 PyObject * _resultobj;
11444 wxGrid * _arg0;
11445 int _arg1;
11446 int _arg2;
11447 wxGridCellEditor * _arg3;
11448 PyObject * _argo0 = 0;
11449 PyObject * _argo3 = 0;
11450 char *_kwnames[] = { "self","row","col","editor", NULL };
11451
11452 self = self;
11453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11454 return NULL;
11455 if (_argo0) {
11456 if (_argo0 == Py_None) { _arg0 = NULL; }
11457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11459 return NULL;
11460 }
11461 }
11462 if (_argo3) {
11463 if (_argo3 == Py_None) { _arg3 = NULL; }
11464 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11465 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11466 return NULL;
11467 }
11468 }
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) return NULL;
11475 } Py_INCREF(Py_None);
11476 _resultobj = Py_None;
11477 return _resultobj;
11478 }
11479
11480 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11481 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject * _resultobj;
11483 wxGridCellEditor * _result;
11484 wxGrid * _arg0;
11485 PyObject * _argo0 = 0;
11486 char *_kwnames[] = { "self", NULL };
11487 char _ptemp[128];
11488
11489 self = self;
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11491 return NULL;
11492 if (_argo0) {
11493 if (_argo0 == Py_None) { _arg0 = NULL; }
11494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11496 return NULL;
11497 }
11498 }
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) return NULL;
11505 } if (_result) {
11506 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11507 _resultobj = Py_BuildValue("s",_ptemp);
11508 } else {
11509 Py_INCREF(Py_None);
11510 _resultobj = Py_None;
11511 }
11512 return _resultobj;
11513 }
11514
11515 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11516 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject * _resultobj;
11518 wxGridCellEditor * _result;
11519 wxGrid * _arg0;
11520 int _arg1;
11521 int _arg2;
11522 PyObject * _argo0 = 0;
11523 char *_kwnames[] = { "self","row","col", NULL };
11524 char _ptemp[128];
11525
11526 self = self;
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11528 return NULL;
11529 if (_argo0) {
11530 if (_argo0 == Py_None) { _arg0 = NULL; }
11531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11533 return NULL;
11534 }
11535 }
11536 {
11537 PyThreadState* __tstate = wxPyBeginAllowThreads();
11538 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11539
11540 wxPyEndAllowThreads(__tstate);
11541 if (PyErr_Occurred()) return NULL;
11542 } if (_result) {
11543 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
11544 _resultobj = Py_BuildValue("s",_ptemp);
11545 } else {
11546 Py_INCREF(Py_None);
11547 _resultobj = Py_None;
11548 }
11549 return _resultobj;
11550 }
11551
11552 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11553 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject * _resultobj;
11555 wxString * _result;
11556 wxGrid * _arg0;
11557 int _arg1;
11558 int _arg2;
11559 PyObject * _argo0 = 0;
11560 char *_kwnames[] = { "self","row","col", NULL };
11561
11562 self = self;
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11564 return NULL;
11565 if (_argo0) {
11566 if (_argo0 == Py_None) { _arg0 = NULL; }
11567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11569 return NULL;
11570 }
11571 }
11572 {
11573 PyThreadState* __tstate = wxPyBeginAllowThreads();
11574 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11575
11576 wxPyEndAllowThreads(__tstate);
11577 if (PyErr_Occurred()) return NULL;
11578 }{
11579 #if wxUSE_UNICODE
11580 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11581 #else
11582 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11583 #endif
11584 }
11585 {
11586 delete _result;
11587 }
11588 return _resultobj;
11589 }
11590
11591 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11592 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11593 PyObject * _resultobj;
11594 wxGrid * _arg0;
11595 int _arg1;
11596 int _arg2;
11597 wxString * _arg3;
11598 PyObject * _argo0 = 0;
11599 PyObject * _obj3 = 0;
11600 char *_kwnames[] = { "self","row","col","s", NULL };
11601
11602 self = self;
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11604 return NULL;
11605 if (_argo0) {
11606 if (_argo0 == Py_None) { _arg0 = NULL; }
11607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11609 return NULL;
11610 }
11611 }
11612 {
11613 _arg3 = wxString_in_helper(_obj3);
11614 if (_arg3 == NULL)
11615 return NULL;
11616 }
11617 {
11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
11619 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11620
11621 wxPyEndAllowThreads(__tstate);
11622 if (PyErr_Occurred()) return NULL;
11623 } Py_INCREF(Py_None);
11624 _resultobj = Py_None;
11625 {
11626 if (_obj3)
11627 delete _arg3;
11628 }
11629 return _resultobj;
11630 }
11631
11632 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11633 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11634 PyObject * _resultobj;
11635 bool _result;
11636 wxGrid * _arg0;
11637 int _arg1;
11638 int _arg2;
11639 PyObject * _argo0 = 0;
11640 char *_kwnames[] = { "self","row","col", NULL };
11641
11642 self = self;
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11644 return NULL;
11645 if (_argo0) {
11646 if (_argo0 == Py_None) { _arg0 = NULL; }
11647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11649 return NULL;
11650 }
11651 }
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) return NULL;
11658 } _resultobj = Py_BuildValue("i",_result);
11659 return _resultobj;
11660 }
11661
11662 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11663 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11664 PyObject * _resultobj;
11665 wxGrid * _arg0;
11666 int _arg1;
11667 int _arg2;
11668 bool _arg3 = (bool ) TRUE;
11669 PyObject * _argo0 = 0;
11670 int tempbool3 = (int) TRUE;
11671 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11672
11673 self = self;
11674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11675 return NULL;
11676 if (_argo0) {
11677 if (_argo0 == Py_None) { _arg0 = NULL; }
11678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11680 return NULL;
11681 }
11682 }
11683 _arg3 = (bool ) tempbool3;
11684 {
11685 PyThreadState* __tstate = wxPyBeginAllowThreads();
11686 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
11687
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) return NULL;
11690 } Py_INCREF(Py_None);
11691 _resultobj = Py_None;
11692 return _resultobj;
11693 }
11694
11695 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11696 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11697 PyObject * _resultobj;
11698 wxGrid * _arg0;
11699 int _arg1;
11700 bool _arg2 = (bool ) FALSE;
11701 PyObject * _argo0 = 0;
11702 int tempbool2 = (int) FALSE;
11703 char *_kwnames[] = { "self","row","addToSelected", NULL };
11704
11705 self = self;
11706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11707 return NULL;
11708 if (_argo0) {
11709 if (_argo0 == Py_None) { _arg0 = NULL; }
11710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11712 return NULL;
11713 }
11714 }
11715 _arg2 = (bool ) tempbool2;
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11719
11720 wxPyEndAllowThreads(__tstate);
11721 if (PyErr_Occurred()) return NULL;
11722 } Py_INCREF(Py_None);
11723 _resultobj = Py_None;
11724 return _resultobj;
11725 }
11726
11727 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11728 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11729 PyObject * _resultobj;
11730 wxGrid * _arg0;
11731 int _arg1;
11732 bool _arg2 = (bool ) FALSE;
11733 PyObject * _argo0 = 0;
11734 int tempbool2 = (int) FALSE;
11735 char *_kwnames[] = { "self","col","addToSelected", NULL };
11736
11737 self = self;
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11739 return NULL;
11740 if (_argo0) {
11741 if (_argo0 == Py_None) { _arg0 = NULL; }
11742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11744 return NULL;
11745 }
11746 }
11747 _arg2 = (bool ) tempbool2;
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) return NULL;
11754 } Py_INCREF(Py_None);
11755 _resultobj = Py_None;
11756 return _resultobj;
11757 }
11758
11759 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11760 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject * _resultobj;
11762 wxGrid * _arg0;
11763 int _arg1;
11764 int _arg2;
11765 int _arg3;
11766 int _arg4;
11767 bool _arg5 = (bool ) FALSE;
11768 PyObject * _argo0 = 0;
11769 int tempbool5 = (int) FALSE;
11770 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11771
11772 self = self;
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11774 return NULL;
11775 if (_argo0) {
11776 if (_argo0 == Py_None) { _arg0 = NULL; }
11777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11779 return NULL;
11780 }
11781 }
11782 _arg5 = (bool ) tempbool5;
11783 {
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11786
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) return NULL;
11789 } Py_INCREF(Py_None);
11790 _resultobj = Py_None;
11791 return _resultobj;
11792 }
11793
11794 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11795 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject * _resultobj;
11797 wxGrid * _arg0;
11798 PyObject * _argo0 = 0;
11799 char *_kwnames[] = { "self", NULL };
11800
11801 self = self;
11802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11803 return NULL;
11804 if (_argo0) {
11805 if (_argo0 == Py_None) { _arg0 = NULL; }
11806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11808 return NULL;
11809 }
11810 }
11811 {
11812 PyThreadState* __tstate = wxPyBeginAllowThreads();
11813 wxGrid_SelectAll(_arg0);
11814
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) return NULL;
11817 } Py_INCREF(Py_None);
11818 _resultobj = Py_None;
11819 return _resultobj;
11820 }
11821
11822 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11823 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject * _resultobj;
11825 bool _result;
11826 wxGrid * _arg0;
11827 PyObject * _argo0 = 0;
11828 char *_kwnames[] = { "self", NULL };
11829
11830 self = self;
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11832 return NULL;
11833 if (_argo0) {
11834 if (_argo0 == Py_None) { _arg0 = NULL; }
11835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11837 return NULL;
11838 }
11839 }
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 _result = (bool )wxGrid_IsSelection(_arg0);
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) return NULL;
11846 } _resultobj = Py_BuildValue("i",_result);
11847 return _resultobj;
11848 }
11849
11850 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11851 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject * _resultobj;
11853 wxGrid * _arg0;
11854 PyObject * _argo0 = 0;
11855 char *_kwnames[] = { "self", NULL };
11856
11857 self = self;
11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11859 return NULL;
11860 if (_argo0) {
11861 if (_argo0 == Py_None) { _arg0 = NULL; }
11862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11864 return NULL;
11865 }
11866 }
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
11869 wxGrid_ClearSelection(_arg0);
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) return NULL;
11873 } Py_INCREF(Py_None);
11874 _resultobj = Py_None;
11875 return _resultobj;
11876 }
11877
11878 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11879 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11880 PyObject * _resultobj;
11881 bool _result;
11882 wxGrid * _arg0;
11883 int _arg1;
11884 int _arg2;
11885 PyObject * _argo0 = 0;
11886 char *_kwnames[] = { "self","row","col", NULL };
11887
11888 self = self;
11889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11890 return NULL;
11891 if (_argo0) {
11892 if (_argo0 == Py_None) { _arg0 = NULL; }
11893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11895 return NULL;
11896 }
11897 }
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) return NULL;
11904 } _resultobj = Py_BuildValue("i",_result);
11905 return _resultobj;
11906 }
11907
11908 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11909 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject * _resultobj;
11911 wxRect * _result;
11912 wxGrid * _arg0;
11913 wxGridCellCoords * _arg1;
11914 wxGridCellCoords * _arg2;
11915 PyObject * _argo0 = 0;
11916 wxGridCellCoords temp;
11917 PyObject * _obj1 = 0;
11918 wxGridCellCoords temp0;
11919 PyObject * _obj2 = 0;
11920 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
11921 char _ptemp[128];
11922
11923 self = self;
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
11925 return NULL;
11926 if (_argo0) {
11927 if (_argo0 == Py_None) { _arg0 = NULL; }
11928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11930 return NULL;
11931 }
11932 }
11933 {
11934 _arg1 = &temp;
11935 if (! wxGridCellCoords_helper(_obj1, &_arg1))
11936 return NULL;
11937 }
11938 {
11939 _arg2 = &temp0;
11940 if (! wxGridCellCoords_helper(_obj2, &_arg2))
11941 return NULL;
11942 }
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) return NULL;
11949 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
11950 _resultobj = Py_BuildValue("s",_ptemp);
11951 return _resultobj;
11952 }
11953
11954 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11955 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11956 PyObject * _resultobj;
11957 wxColour * _result;
11958 wxGrid * _arg0;
11959 PyObject * _argo0 = 0;
11960 char *_kwnames[] = { "self", NULL };
11961 char _ptemp[128];
11962
11963 self = self;
11964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
11965 return NULL;
11966 if (_argo0) {
11967 if (_argo0 == Py_None) { _arg0 = NULL; }
11968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11970 return NULL;
11971 }
11972 }
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) return NULL;
11979 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11980 _resultobj = Py_BuildValue("s",_ptemp);
11981 return _resultobj;
11982 }
11983
11984 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11985 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject * _resultobj;
11987 wxColour * _result;
11988 wxGrid * _arg0;
11989 PyObject * _argo0 = 0;
11990 char *_kwnames[] = { "self", NULL };
11991 char _ptemp[128];
11992
11993 self = self;
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
11995 return NULL;
11996 if (_argo0) {
11997 if (_argo0 == Py_None) { _arg0 = NULL; }
11998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12000 return NULL;
12001 }
12002 }
12003 {
12004 PyThreadState* __tstate = wxPyBeginAllowThreads();
12005 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
12006
12007 wxPyEndAllowThreads(__tstate);
12008 if (PyErr_Occurred()) return NULL;
12009 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12010 _resultobj = Py_BuildValue("s",_ptemp);
12011 return _resultobj;
12012 }
12013
12014 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12015 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12016 PyObject * _resultobj;
12017 wxGrid * _arg0;
12018 wxColour * _arg1;
12019 PyObject * _argo0 = 0;
12020 wxColour temp;
12021 PyObject * _obj1 = 0;
12022 char *_kwnames[] = { "self","c", NULL };
12023
12024 self = self;
12025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
12026 return NULL;
12027 if (_argo0) {
12028 if (_argo0 == Py_None) { _arg0 = NULL; }
12029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12031 return NULL;
12032 }
12033 }
12034 {
12035 _arg1 = &temp;
12036 if (! wxColour_helper(_obj1, &_arg1))
12037 return NULL;
12038 }
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 wxGrid_SetSelectionBackground(_arg0,*_arg1);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) return NULL;
12045 } Py_INCREF(Py_None);
12046 _resultobj = Py_None;
12047 return _resultobj;
12048 }
12049
12050 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12051 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12052 PyObject * _resultobj;
12053 wxGrid * _arg0;
12054 wxColour * _arg1;
12055 PyObject * _argo0 = 0;
12056 wxColour temp;
12057 PyObject * _obj1 = 0;
12058 char *_kwnames[] = { "self","c", NULL };
12059
12060 self = self;
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12062 return NULL;
12063 if (_argo0) {
12064 if (_argo0 == Py_None) { _arg0 = NULL; }
12065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12067 return NULL;
12068 }
12069 }
12070 {
12071 _arg1 = &temp;
12072 if (! wxColour_helper(_obj1, &_arg1))
12073 return NULL;
12074 }
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) return NULL;
12081 } Py_INCREF(Py_None);
12082 _resultobj = Py_None;
12083 return _resultobj;
12084 }
12085
12086 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12087 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12088 PyObject * _resultobj;
12089 wxGrid * _arg0;
12090 wxString * _arg1;
12091 wxGridCellRenderer * _arg2;
12092 wxGridCellEditor * _arg3;
12093 PyObject * _argo0 = 0;
12094 PyObject * _obj1 = 0;
12095 PyObject * _argo2 = 0;
12096 PyObject * _argo3 = 0;
12097 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12098
12099 self = self;
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12101 return NULL;
12102 if (_argo0) {
12103 if (_argo0 == Py_None) { _arg0 = NULL; }
12104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12106 return NULL;
12107 }
12108 }
12109 {
12110 _arg1 = wxString_in_helper(_obj1);
12111 if (_arg1 == NULL)
12112 return NULL;
12113 }
12114 if (_argo2) {
12115 if (_argo2 == Py_None) { _arg2 = NULL; }
12116 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12117 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12118 return NULL;
12119 }
12120 }
12121 if (_argo3) {
12122 if (_argo3 == Py_None) { _arg3 = NULL; }
12123 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12124 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12125 return NULL;
12126 }
12127 }
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12131
12132 wxPyEndAllowThreads(__tstate);
12133 if (PyErr_Occurred()) return NULL;
12134 } Py_INCREF(Py_None);
12135 _resultobj = Py_None;
12136 {
12137 if (_obj1)
12138 delete _arg1;
12139 }
12140 return _resultobj;
12141 }
12142
12143 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12144 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12145 PyObject * _resultobj;
12146 wxGridCellEditor * _result;
12147 wxGrid * _arg0;
12148 int _arg1;
12149 int _arg2;
12150 PyObject * _argo0 = 0;
12151 char *_kwnames[] = { "self","row","col", NULL };
12152 char _ptemp[128];
12153
12154 self = self;
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12156 return NULL;
12157 if (_argo0) {
12158 if (_argo0 == Py_None) { _arg0 = NULL; }
12159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12161 return NULL;
12162 }
12163 }
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) return NULL;
12170 } if (_result) {
12171 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12172 _resultobj = Py_BuildValue("s",_ptemp);
12173 } else {
12174 Py_INCREF(Py_None);
12175 _resultobj = Py_None;
12176 }
12177 return _resultobj;
12178 }
12179
12180 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12181 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject * _resultobj;
12183 wxGridCellRenderer * _result;
12184 wxGrid * _arg0;
12185 int _arg1;
12186 int _arg2;
12187 PyObject * _argo0 = 0;
12188 char *_kwnames[] = { "self","row","col", NULL };
12189 char _ptemp[128];
12190
12191 self = self;
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12193 return NULL;
12194 if (_argo0) {
12195 if (_argo0 == Py_None) { _arg0 = NULL; }
12196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12198 return NULL;
12199 }
12200 }
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) return NULL;
12207 } if (_result) {
12208 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12209 _resultobj = Py_BuildValue("s",_ptemp);
12210 } else {
12211 Py_INCREF(Py_None);
12212 _resultobj = Py_None;
12213 }
12214 return _resultobj;
12215 }
12216
12217 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12218 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12219 PyObject * _resultobj;
12220 wxGridCellEditor * _result;
12221 wxGrid * _arg0;
12222 wxString * _arg1;
12223 PyObject * _argo0 = 0;
12224 PyObject * _obj1 = 0;
12225 char *_kwnames[] = { "self","typeName", NULL };
12226 char _ptemp[128];
12227
12228 self = self;
12229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12230 return NULL;
12231 if (_argo0) {
12232 if (_argo0 == Py_None) { _arg0 = NULL; }
12233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12235 return NULL;
12236 }
12237 }
12238 {
12239 _arg1 = wxString_in_helper(_obj1);
12240 if (_arg1 == NULL)
12241 return NULL;
12242 }
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) return NULL;
12249 } if (_result) {
12250 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p");
12251 _resultobj = Py_BuildValue("s",_ptemp);
12252 } else {
12253 Py_INCREF(Py_None);
12254 _resultobj = Py_None;
12255 }
12256 {
12257 if (_obj1)
12258 delete _arg1;
12259 }
12260 return _resultobj;
12261 }
12262
12263 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12264 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12265 PyObject * _resultobj;
12266 wxGridCellRenderer * _result;
12267 wxGrid * _arg0;
12268 wxString * _arg1;
12269 PyObject * _argo0 = 0;
12270 PyObject * _obj1 = 0;
12271 char *_kwnames[] = { "self","typeName", NULL };
12272 char _ptemp[128];
12273
12274 self = self;
12275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12276 return NULL;
12277 if (_argo0) {
12278 if (_argo0 == Py_None) { _arg0 = NULL; }
12279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12281 return NULL;
12282 }
12283 }
12284 {
12285 _arg1 = wxString_in_helper(_obj1);
12286 if (_arg1 == NULL)
12287 return NULL;
12288 }
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) return NULL;
12295 } if (_result) {
12296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p");
12297 _resultobj = Py_BuildValue("s",_ptemp);
12298 } else {
12299 Py_INCREF(Py_None);
12300 _resultobj = Py_None;
12301 }
12302 {
12303 if (_obj1)
12304 delete _arg1;
12305 }
12306 return _resultobj;
12307 }
12308
12309 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12310 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject * _resultobj;
12312 wxGrid * _arg0;
12313 int _arg1;
12314 int _arg2;
12315 PyObject * _argo0 = 0;
12316 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12317
12318 self = self;
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12320 return NULL;
12321 if (_argo0) {
12322 if (_argo0 == Py_None) { _arg0 = NULL; }
12323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12325 return NULL;
12326 }
12327 }
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) return NULL;
12334 } Py_INCREF(Py_None);
12335 _resultobj = Py_None;
12336 return _resultobj;
12337 }
12338
12339 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12340 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject * _resultobj;
12342 wxWindow * _result;
12343 wxGrid * _arg0;
12344 PyObject * _argo0 = 0;
12345 char *_kwnames[] = { "self", NULL };
12346
12347 self = self;
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12349 return NULL;
12350 if (_argo0) {
12351 if (_argo0 == Py_None) { _arg0 = NULL; }
12352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12354 return NULL;
12355 }
12356 }
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) return NULL;
12363 }{ _resultobj = wxPyMake_wxObject(_result); }
12364 return _resultobj;
12365 }
12366
12367 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12368 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12369 PyObject * _resultobj;
12370 wxWindow * _result;
12371 wxGrid * _arg0;
12372 PyObject * _argo0 = 0;
12373 char *_kwnames[] = { "self", NULL };
12374
12375 self = self;
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12377 return NULL;
12378 if (_argo0) {
12379 if (_argo0 == Py_None) { _arg0 = NULL; }
12380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12382 return NULL;
12383 }
12384 }
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12388
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) return NULL;
12391 }{ _resultobj = wxPyMake_wxObject(_result); }
12392 return _resultobj;
12393 }
12394
12395 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12396 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12397 PyObject * _resultobj;
12398 wxWindow * _result;
12399 wxGrid * _arg0;
12400 PyObject * _argo0 = 0;
12401 char *_kwnames[] = { "self", NULL };
12402
12403 self = self;
12404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12405 return NULL;
12406 if (_argo0) {
12407 if (_argo0 == Py_None) { _arg0 = NULL; }
12408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12410 return NULL;
12411 }
12412 }
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) return NULL;
12419 }{ _resultobj = wxPyMake_wxObject(_result); }
12420 return _resultobj;
12421 }
12422
12423 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12424 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12425 PyObject * _resultobj;
12426 wxWindow * _result;
12427 wxGrid * _arg0;
12428 PyObject * _argo0 = 0;
12429 char *_kwnames[] = { "self", NULL };
12430
12431 self = self;
12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12433 return NULL;
12434 if (_argo0) {
12435 if (_argo0 == Py_None) { _arg0 = NULL; }
12436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12438 return NULL;
12439 }
12440 }
12441 {
12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
12443 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) return NULL;
12447 }{ _resultobj = wxPyMake_wxObject(_result); }
12448 return _resultobj;
12449 }
12450
12451 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12452 wxGridEvent *src;
12453 wxNotifyEvent *dest;
12454 src = (wxGridEvent *) ptr;
12455 dest = (wxNotifyEvent *) src;
12456 return (void *) dest;
12457 }
12458
12459 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12460 wxGridEvent *src;
12461 wxCommandEvent *dest;
12462 src = (wxGridEvent *) ptr;
12463 dest = (wxCommandEvent *) src;
12464 return (void *) dest;
12465 }
12466
12467 static void *SwigwxGridEventTowxEvent(void *ptr) {
12468 wxGridEvent *src;
12469 wxEvent *dest;
12470 src = (wxGridEvent *) ptr;
12471 dest = (wxEvent *) src;
12472 return (void *) dest;
12473 }
12474
12475 static void *SwigwxGridEventTowxObject(void *ptr) {
12476 wxGridEvent *src;
12477 wxObject *dest;
12478 src = (wxGridEvent *) ptr;
12479 dest = (wxObject *) src;
12480 return (void *) dest;
12481 }
12482
12483 #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))
12484 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12485 PyObject * _resultobj;
12486 wxGridEvent * _result;
12487 int _arg0;
12488 wxEventType _arg1;
12489 wxGrid * _arg2;
12490 int _arg3 = (int ) -1;
12491 int _arg4 = (int ) -1;
12492 int _arg5 = (int ) -1;
12493 int _arg6 = (int ) -1;
12494 bool _arg7 = (bool ) TRUE;
12495 bool _arg8 = (bool ) FALSE;
12496 bool _arg9 = (bool ) FALSE;
12497 bool _arg10 = (bool ) FALSE;
12498 bool _arg11 = (bool ) FALSE;
12499 PyObject * _argo2 = 0;
12500 int tempbool7 = (int) TRUE;
12501 int tempbool8 = (int) FALSE;
12502 int tempbool9 = (int) FALSE;
12503 int tempbool10 = (int) FALSE;
12504 int tempbool11 = (int) FALSE;
12505 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12506 char _ptemp[128];
12507
12508 self = self;
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12510 return NULL;
12511 if (_argo2) {
12512 if (_argo2 == Py_None) { _arg2 = NULL; }
12513 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12514 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12515 return NULL;
12516 }
12517 }
12518 _arg7 = (bool ) tempbool7;
12519 _arg8 = (bool ) tempbool8;
12520 _arg9 = (bool ) tempbool9;
12521 _arg10 = (bool ) tempbool10;
12522 _arg11 = (bool ) tempbool11;
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) return NULL;
12529 } if (_result) {
12530 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12531 _resultobj = Py_BuildValue("s",_ptemp);
12532 } else {
12533 Py_INCREF(Py_None);
12534 _resultobj = Py_None;
12535 }
12536 return _resultobj;
12537 }
12538
12539 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12540 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12541 PyObject * _resultobj;
12542 int _result;
12543 wxGridEvent * _arg0;
12544 PyObject * _argo0 = 0;
12545 char *_kwnames[] = { "self", NULL };
12546
12547 self = self;
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12549 return NULL;
12550 if (_argo0) {
12551 if (_argo0 == Py_None) { _arg0 = NULL; }
12552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12554 return NULL;
12555 }
12556 }
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 _result = (int )wxGridEvent_GetRow(_arg0);
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) return NULL;
12563 } _resultobj = Py_BuildValue("i",_result);
12564 return _resultobj;
12565 }
12566
12567 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12568 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12569 PyObject * _resultobj;
12570 int _result;
12571 wxGridEvent * _arg0;
12572 PyObject * _argo0 = 0;
12573 char *_kwnames[] = { "self", NULL };
12574
12575 self = self;
12576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12577 return NULL;
12578 if (_argo0) {
12579 if (_argo0 == Py_None) { _arg0 = NULL; }
12580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12582 return NULL;
12583 }
12584 }
12585 {
12586 PyThreadState* __tstate = wxPyBeginAllowThreads();
12587 _result = (int )wxGridEvent_GetCol(_arg0);
12588
12589 wxPyEndAllowThreads(__tstate);
12590 if (PyErr_Occurred()) return NULL;
12591 } _resultobj = Py_BuildValue("i",_result);
12592 return _resultobj;
12593 }
12594
12595 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12596 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12597 PyObject * _resultobj;
12598 wxPoint * _result;
12599 wxGridEvent * _arg0;
12600 PyObject * _argo0 = 0;
12601 char *_kwnames[] = { "self", NULL };
12602 char _ptemp[128];
12603
12604 self = self;
12605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12606 return NULL;
12607 if (_argo0) {
12608 if (_argo0 == Py_None) { _arg0 = NULL; }
12609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12611 return NULL;
12612 }
12613 }
12614 {
12615 PyThreadState* __tstate = wxPyBeginAllowThreads();
12616 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12617
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) return NULL;
12620 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12621 _resultobj = Py_BuildValue("s",_ptemp);
12622 return _resultobj;
12623 }
12624
12625 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12626 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12627 PyObject * _resultobj;
12628 bool _result;
12629 wxGridEvent * _arg0;
12630 PyObject * _argo0 = 0;
12631 char *_kwnames[] = { "self", NULL };
12632
12633 self = self;
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12635 return NULL;
12636 if (_argo0) {
12637 if (_argo0 == Py_None) { _arg0 = NULL; }
12638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12640 return NULL;
12641 }
12642 }
12643 {
12644 PyThreadState* __tstate = wxPyBeginAllowThreads();
12645 _result = (bool )wxGridEvent_Selecting(_arg0);
12646
12647 wxPyEndAllowThreads(__tstate);
12648 if (PyErr_Occurred()) return NULL;
12649 } _resultobj = Py_BuildValue("i",_result);
12650 return _resultobj;
12651 }
12652
12653 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12654 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12655 PyObject * _resultobj;
12656 bool _result;
12657 wxGridEvent * _arg0;
12658 PyObject * _argo0 = 0;
12659 char *_kwnames[] = { "self", NULL };
12660
12661 self = self;
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12663 return NULL;
12664 if (_argo0) {
12665 if (_argo0 == Py_None) { _arg0 = NULL; }
12666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12668 return NULL;
12669 }
12670 }
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 _result = (bool )wxGridEvent_ControlDown(_arg0);
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) return NULL;
12677 } _resultobj = Py_BuildValue("i",_result);
12678 return _resultobj;
12679 }
12680
12681 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12682 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12683 PyObject * _resultobj;
12684 bool _result;
12685 wxGridEvent * _arg0;
12686 PyObject * _argo0 = 0;
12687 char *_kwnames[] = { "self", NULL };
12688
12689 self = self;
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12691 return NULL;
12692 if (_argo0) {
12693 if (_argo0 == Py_None) { _arg0 = NULL; }
12694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12696 return NULL;
12697 }
12698 }
12699 {
12700 PyThreadState* __tstate = wxPyBeginAllowThreads();
12701 _result = (bool )wxGridEvent_MetaDown(_arg0);
12702
12703 wxPyEndAllowThreads(__tstate);
12704 if (PyErr_Occurred()) return NULL;
12705 } _resultobj = Py_BuildValue("i",_result);
12706 return _resultobj;
12707 }
12708
12709 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12710 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12711 PyObject * _resultobj;
12712 bool _result;
12713 wxGridEvent * _arg0;
12714 PyObject * _argo0 = 0;
12715 char *_kwnames[] = { "self", NULL };
12716
12717 self = self;
12718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12719 return NULL;
12720 if (_argo0) {
12721 if (_argo0 == Py_None) { _arg0 = NULL; }
12722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12724 return NULL;
12725 }
12726 }
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) return NULL;
12733 } _resultobj = Py_BuildValue("i",_result);
12734 return _resultobj;
12735 }
12736
12737 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12738 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12739 PyObject * _resultobj;
12740 bool _result;
12741 wxGridEvent * _arg0;
12742 PyObject * _argo0 = 0;
12743 char *_kwnames[] = { "self", NULL };
12744
12745 self = self;
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12747 return NULL;
12748 if (_argo0) {
12749 if (_argo0 == Py_None) { _arg0 = NULL; }
12750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12752 return NULL;
12753 }
12754 }
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 _result = (bool )wxGridEvent_AltDown(_arg0);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) return NULL;
12761 } _resultobj = Py_BuildValue("i",_result);
12762 return _resultobj;
12763 }
12764
12765 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12766 wxGridSizeEvent *src;
12767 wxNotifyEvent *dest;
12768 src = (wxGridSizeEvent *) ptr;
12769 dest = (wxNotifyEvent *) src;
12770 return (void *) dest;
12771 }
12772
12773 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12774 wxGridSizeEvent *src;
12775 wxCommandEvent *dest;
12776 src = (wxGridSizeEvent *) ptr;
12777 dest = (wxCommandEvent *) src;
12778 return (void *) dest;
12779 }
12780
12781 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12782 wxGridSizeEvent *src;
12783 wxEvent *dest;
12784 src = (wxGridSizeEvent *) ptr;
12785 dest = (wxEvent *) src;
12786 return (void *) dest;
12787 }
12788
12789 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
12790 wxGridSizeEvent *src;
12791 wxObject *dest;
12792 src = (wxGridSizeEvent *) ptr;
12793 dest = (wxObject *) src;
12794 return (void *) dest;
12795 }
12796
12797 #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))
12798 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12799 PyObject * _resultobj;
12800 wxGridSizeEvent * _result;
12801 int _arg0;
12802 wxEventType _arg1;
12803 wxGrid * _arg2;
12804 int _arg3 = (int ) -1;
12805 int _arg4 = (int ) -1;
12806 int _arg5 = (int ) -1;
12807 bool _arg6 = (bool ) FALSE;
12808 bool _arg7 = (bool ) FALSE;
12809 bool _arg8 = (bool ) FALSE;
12810 bool _arg9 = (bool ) FALSE;
12811 PyObject * _argo2 = 0;
12812 int tempbool6 = (int) FALSE;
12813 int tempbool7 = (int) FALSE;
12814 int tempbool8 = (int) FALSE;
12815 int tempbool9 = (int) FALSE;
12816 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12817 char _ptemp[128];
12818
12819 self = self;
12820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12821 return NULL;
12822 if (_argo2) {
12823 if (_argo2 == Py_None) { _arg2 = NULL; }
12824 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12825 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12826 return NULL;
12827 }
12828 }
12829 _arg6 = (bool ) tempbool6;
12830 _arg7 = (bool ) tempbool7;
12831 _arg8 = (bool ) tempbool8;
12832 _arg9 = (bool ) tempbool9;
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12836
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) return NULL;
12839 } if (_result) {
12840 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12841 _resultobj = Py_BuildValue("s",_ptemp);
12842 } else {
12843 Py_INCREF(Py_None);
12844 _resultobj = Py_None;
12845 }
12846 return _resultobj;
12847 }
12848
12849 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12850 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12851 PyObject * _resultobj;
12852 int _result;
12853 wxGridSizeEvent * _arg0;
12854 PyObject * _argo0 = 0;
12855 char *_kwnames[] = { "self", NULL };
12856
12857 self = self;
12858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12859 return NULL;
12860 if (_argo0) {
12861 if (_argo0 == Py_None) { _arg0 = NULL; }
12862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12864 return NULL;
12865 }
12866 }
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12870
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) return NULL;
12873 } _resultobj = Py_BuildValue("i",_result);
12874 return _resultobj;
12875 }
12876
12877 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12878 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12879 PyObject * _resultobj;
12880 wxPoint * _result;
12881 wxGridSizeEvent * _arg0;
12882 PyObject * _argo0 = 0;
12883 char *_kwnames[] = { "self", NULL };
12884 char _ptemp[128];
12885
12886 self = self;
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12888 return NULL;
12889 if (_argo0) {
12890 if (_argo0 == Py_None) { _arg0 = NULL; }
12891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12893 return NULL;
12894 }
12895 }
12896 {
12897 PyThreadState* __tstate = wxPyBeginAllowThreads();
12898 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12899
12900 wxPyEndAllowThreads(__tstate);
12901 if (PyErr_Occurred()) return NULL;
12902 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12903 _resultobj = Py_BuildValue("s",_ptemp);
12904 return _resultobj;
12905 }
12906
12907 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12908 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12909 PyObject * _resultobj;
12910 bool _result;
12911 wxGridSizeEvent * _arg0;
12912 PyObject * _argo0 = 0;
12913 char *_kwnames[] = { "self", NULL };
12914
12915 self = self;
12916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
12917 return NULL;
12918 if (_argo0) {
12919 if (_argo0 == Py_None) { _arg0 = NULL; }
12920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12922 return NULL;
12923 }
12924 }
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) return NULL;
12931 } _resultobj = Py_BuildValue("i",_result);
12932 return _resultobj;
12933 }
12934
12935 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12936 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12937 PyObject * _resultobj;
12938 bool _result;
12939 wxGridSizeEvent * _arg0;
12940 PyObject * _argo0 = 0;
12941 char *_kwnames[] = { "self", NULL };
12942
12943 self = self;
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
12945 return NULL;
12946 if (_argo0) {
12947 if (_argo0 == Py_None) { _arg0 = NULL; }
12948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12950 return NULL;
12951 }
12952 }
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) return NULL;
12959 } _resultobj = Py_BuildValue("i",_result);
12960 return _resultobj;
12961 }
12962
12963 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12964 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject * _resultobj;
12966 bool _result;
12967 wxGridSizeEvent * _arg0;
12968 PyObject * _argo0 = 0;
12969 char *_kwnames[] = { "self", NULL };
12970
12971 self = self;
12972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
12973 return NULL;
12974 if (_argo0) {
12975 if (_argo0 == Py_None) { _arg0 = NULL; }
12976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12978 return NULL;
12979 }
12980 }
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
12984
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) return NULL;
12987 } _resultobj = Py_BuildValue("i",_result);
12988 return _resultobj;
12989 }
12990
12991 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12992 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject * _resultobj;
12994 bool _result;
12995 wxGridSizeEvent * _arg0;
12996 PyObject * _argo0 = 0;
12997 char *_kwnames[] = { "self", NULL };
12998
12999 self = self;
13000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
13001 return NULL;
13002 if (_argo0) {
13003 if (_argo0 == Py_None) { _arg0 = NULL; }
13004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13006 return NULL;
13007 }
13008 }
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) return NULL;
13015 } _resultobj = Py_BuildValue("i",_result);
13016 return _resultobj;
13017 }
13018
13019 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13020 wxGridRangeSelectEvent *src;
13021 wxNotifyEvent *dest;
13022 src = (wxGridRangeSelectEvent *) ptr;
13023 dest = (wxNotifyEvent *) src;
13024 return (void *) dest;
13025 }
13026
13027 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13028 wxGridRangeSelectEvent *src;
13029 wxCommandEvent *dest;
13030 src = (wxGridRangeSelectEvent *) ptr;
13031 dest = (wxCommandEvent *) src;
13032 return (void *) dest;
13033 }
13034
13035 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13036 wxGridRangeSelectEvent *src;
13037 wxEvent *dest;
13038 src = (wxGridRangeSelectEvent *) ptr;
13039 dest = (wxEvent *) src;
13040 return (void *) dest;
13041 }
13042
13043 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13044 wxGridRangeSelectEvent *src;
13045 wxObject *dest;
13046 src = (wxGridRangeSelectEvent *) ptr;
13047 dest = (wxObject *) src;
13048 return (void *) dest;
13049 }
13050
13051 #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))
13052 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13053 PyObject * _resultobj;
13054 wxGridRangeSelectEvent * _result;
13055 int _arg0;
13056 wxEventType _arg1;
13057 wxGrid * _arg2;
13058 wxGridCellCoords * _arg3;
13059 wxGridCellCoords * _arg4;
13060 bool _arg5 = (bool ) TRUE;
13061 bool _arg6 = (bool ) FALSE;
13062 bool _arg7 = (bool ) FALSE;
13063 bool _arg8 = (bool ) FALSE;
13064 bool _arg9 = (bool ) FALSE;
13065 PyObject * _argo2 = 0;
13066 wxGridCellCoords temp;
13067 PyObject * _obj3 = 0;
13068 wxGridCellCoords temp0;
13069 PyObject * _obj4 = 0;
13070 int tempbool5 = (int) TRUE;
13071 int tempbool6 = (int) FALSE;
13072 int tempbool7 = (int) FALSE;
13073 int tempbool8 = (int) FALSE;
13074 int tempbool9 = (int) FALSE;
13075 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13076 char _ptemp[128];
13077
13078 self = self;
13079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13080 return NULL;
13081 if (_argo2) {
13082 if (_argo2 == Py_None) { _arg2 = NULL; }
13083 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13084 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13085 return NULL;
13086 }
13087 }
13088 {
13089 _arg3 = &temp;
13090 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13091 return NULL;
13092 }
13093 {
13094 _arg4 = &temp0;
13095 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13096 return NULL;
13097 }
13098 _arg5 = (bool ) tempbool5;
13099 _arg6 = (bool ) tempbool6;
13100 _arg7 = (bool ) tempbool7;
13101 _arg8 = (bool ) tempbool8;
13102 _arg9 = (bool ) tempbool9;
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13106
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) return NULL;
13109 } if (_result) {
13110 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13111 _resultobj = Py_BuildValue("s",_ptemp);
13112 } else {
13113 Py_INCREF(Py_None);
13114 _resultobj = Py_None;
13115 }
13116 return _resultobj;
13117 }
13118
13119 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13120 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13121 PyObject * _resultobj;
13122 wxGridCellCoords * _result;
13123 wxGridRangeSelectEvent * _arg0;
13124 PyObject * _argo0 = 0;
13125 char *_kwnames[] = { "self", NULL };
13126 char _ptemp[128];
13127
13128 self = self;
13129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13130 return NULL;
13131 if (_argo0) {
13132 if (_argo0 == Py_None) { _arg0 = NULL; }
13133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13135 return NULL;
13136 }
13137 }
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) return NULL;
13144 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13145 _resultobj = Py_BuildValue("s",_ptemp);
13146 return _resultobj;
13147 }
13148
13149 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13150 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject * _resultobj;
13152 wxGridCellCoords * _result;
13153 wxGridRangeSelectEvent * _arg0;
13154 PyObject * _argo0 = 0;
13155 char *_kwnames[] = { "self", NULL };
13156 char _ptemp[128];
13157
13158 self = self;
13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13160 return NULL;
13161 if (_argo0) {
13162 if (_argo0 == Py_None) { _arg0 = NULL; }
13163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13165 return NULL;
13166 }
13167 }
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) return NULL;
13174 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13175 _resultobj = Py_BuildValue("s",_ptemp);
13176 return _resultobj;
13177 }
13178
13179 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13180 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13181 PyObject * _resultobj;
13182 int _result;
13183 wxGridRangeSelectEvent * _arg0;
13184 PyObject * _argo0 = 0;
13185 char *_kwnames[] = { "self", NULL };
13186
13187 self = self;
13188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13189 return NULL;
13190 if (_argo0) {
13191 if (_argo0 == Py_None) { _arg0 = NULL; }
13192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13194 return NULL;
13195 }
13196 }
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) return NULL;
13203 } _resultobj = Py_BuildValue("i",_result);
13204 return _resultobj;
13205 }
13206
13207 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13208 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13209 PyObject * _resultobj;
13210 int _result;
13211 wxGridRangeSelectEvent * _arg0;
13212 PyObject * _argo0 = 0;
13213 char *_kwnames[] = { "self", NULL };
13214
13215 self = self;
13216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13217 return NULL;
13218 if (_argo0) {
13219 if (_argo0 == Py_None) { _arg0 = NULL; }
13220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13222 return NULL;
13223 }
13224 }
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) return NULL;
13231 } _resultobj = Py_BuildValue("i",_result);
13232 return _resultobj;
13233 }
13234
13235 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13236 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13237 PyObject * _resultobj;
13238 int _result;
13239 wxGridRangeSelectEvent * _arg0;
13240 PyObject * _argo0 = 0;
13241 char *_kwnames[] = { "self", NULL };
13242
13243 self = self;
13244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13245 return NULL;
13246 if (_argo0) {
13247 if (_argo0 == Py_None) { _arg0 = NULL; }
13248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13250 return NULL;
13251 }
13252 }
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) return NULL;
13259 } _resultobj = Py_BuildValue("i",_result);
13260 return _resultobj;
13261 }
13262
13263 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13264 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13265 PyObject * _resultobj;
13266 int _result;
13267 wxGridRangeSelectEvent * _arg0;
13268 PyObject * _argo0 = 0;
13269 char *_kwnames[] = { "self", NULL };
13270
13271 self = self;
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13273 return NULL;
13274 if (_argo0) {
13275 if (_argo0 == Py_None) { _arg0 = NULL; }
13276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13278 return NULL;
13279 }
13280 }
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13284
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) return NULL;
13287 } _resultobj = Py_BuildValue("i",_result);
13288 return _resultobj;
13289 }
13290
13291 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13292 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13293 PyObject * _resultobj;
13294 bool _result;
13295 wxGridRangeSelectEvent * _arg0;
13296 PyObject * _argo0 = 0;
13297 char *_kwnames[] = { "self", NULL };
13298
13299 self = self;
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13301 return NULL;
13302 if (_argo0) {
13303 if (_argo0 == Py_None) { _arg0 = NULL; }
13304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13306 return NULL;
13307 }
13308 }
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13312
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) return NULL;
13315 } _resultobj = Py_BuildValue("i",_result);
13316 return _resultobj;
13317 }
13318
13319 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13320 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13321 PyObject * _resultobj;
13322 bool _result;
13323 wxGridRangeSelectEvent * _arg0;
13324 PyObject * _argo0 = 0;
13325 char *_kwnames[] = { "self", NULL };
13326
13327 self = self;
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13329 return NULL;
13330 if (_argo0) {
13331 if (_argo0 == Py_None) { _arg0 = NULL; }
13332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13334 return NULL;
13335 }
13336 }
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13340
13341 wxPyEndAllowThreads(__tstate);
13342 if (PyErr_Occurred()) return NULL;
13343 } _resultobj = Py_BuildValue("i",_result);
13344 return _resultobj;
13345 }
13346
13347 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13348 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13349 PyObject * _resultobj;
13350 bool _result;
13351 wxGridRangeSelectEvent * _arg0;
13352 PyObject * _argo0 = 0;
13353 char *_kwnames[] = { "self", NULL };
13354
13355 self = self;
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13357 return NULL;
13358 if (_argo0) {
13359 if (_argo0 == Py_None) { _arg0 = NULL; }
13360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13362 return NULL;
13363 }
13364 }
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) return NULL;
13371 } _resultobj = Py_BuildValue("i",_result);
13372 return _resultobj;
13373 }
13374
13375 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13376 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13377 PyObject * _resultobj;
13378 bool _result;
13379 wxGridRangeSelectEvent * _arg0;
13380 PyObject * _argo0 = 0;
13381 char *_kwnames[] = { "self", NULL };
13382
13383 self = self;
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13385 return NULL;
13386 if (_argo0) {
13387 if (_argo0 == Py_None) { _arg0 = NULL; }
13388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13390 return NULL;
13391 }
13392 }
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) return NULL;
13399 } _resultobj = Py_BuildValue("i",_result);
13400 return _resultobj;
13401 }
13402
13403 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13404 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13405 PyObject * _resultobj;
13406 bool _result;
13407 wxGridRangeSelectEvent * _arg0;
13408 PyObject * _argo0 = 0;
13409 char *_kwnames[] = { "self", NULL };
13410
13411 self = self;
13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13413 return NULL;
13414 if (_argo0) {
13415 if (_argo0 == Py_None) { _arg0 = NULL; }
13416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13418 return NULL;
13419 }
13420 }
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) return NULL;
13427 } _resultobj = Py_BuildValue("i",_result);
13428 return _resultobj;
13429 }
13430
13431 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13432 wxGridEditorCreatedEvent *src;
13433 wxCommandEvent *dest;
13434 src = (wxGridEditorCreatedEvent *) ptr;
13435 dest = (wxCommandEvent *) src;
13436 return (void *) dest;
13437 }
13438
13439 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13440 wxGridEditorCreatedEvent *src;
13441 wxEvent *dest;
13442 src = (wxGridEditorCreatedEvent *) ptr;
13443 dest = (wxEvent *) src;
13444 return (void *) dest;
13445 }
13446
13447 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13448 wxGridEditorCreatedEvent *src;
13449 wxObject *dest;
13450 src = (wxGridEditorCreatedEvent *) ptr;
13451 dest = (wxObject *) src;
13452 return (void *) dest;
13453 }
13454
13455 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13456 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13457 PyObject * _resultobj;
13458 wxGridEditorCreatedEvent * _result;
13459 int _arg0;
13460 wxEventType _arg1;
13461 wxObject * _arg2;
13462 int _arg3;
13463 int _arg4;
13464 wxControl * _arg5;
13465 PyObject * _argo2 = 0;
13466 PyObject * _argo5 = 0;
13467 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13468 char _ptemp[128];
13469
13470 self = self;
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13472 return NULL;
13473 if (_argo2) {
13474 if (_argo2 == Py_None) { _arg2 = NULL; }
13475 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13476 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13477 return NULL;
13478 }
13479 }
13480 if (_argo5) {
13481 if (_argo5 == Py_None) { _arg5 = NULL; }
13482 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13483 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13484 return NULL;
13485 }
13486 }
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) return NULL;
13493 } if (_result) {
13494 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13495 _resultobj = Py_BuildValue("s",_ptemp);
13496 } else {
13497 Py_INCREF(Py_None);
13498 _resultobj = Py_None;
13499 }
13500 return _resultobj;
13501 }
13502
13503 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13504 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13505 PyObject * _resultobj;
13506 int _result;
13507 wxGridEditorCreatedEvent * _arg0;
13508 PyObject * _argo0 = 0;
13509 char *_kwnames[] = { "self", NULL };
13510
13511 self = self;
13512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13513 return NULL;
13514 if (_argo0) {
13515 if (_argo0 == Py_None) { _arg0 = NULL; }
13516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13518 return NULL;
13519 }
13520 }
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) return NULL;
13527 } _resultobj = Py_BuildValue("i",_result);
13528 return _resultobj;
13529 }
13530
13531 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13532 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject * _resultobj;
13534 int _result;
13535 wxGridEditorCreatedEvent * _arg0;
13536 PyObject * _argo0 = 0;
13537 char *_kwnames[] = { "self", NULL };
13538
13539 self = self;
13540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13541 return NULL;
13542 if (_argo0) {
13543 if (_argo0 == Py_None) { _arg0 = NULL; }
13544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13546 return NULL;
13547 }
13548 }
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) return NULL;
13555 } _resultobj = Py_BuildValue("i",_result);
13556 return _resultobj;
13557 }
13558
13559 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13560 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13561 PyObject * _resultobj;
13562 wxControl * _result;
13563 wxGridEditorCreatedEvent * _arg0;
13564 PyObject * _argo0 = 0;
13565 char *_kwnames[] = { "self", NULL };
13566
13567 self = self;
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13569 return NULL;
13570 if (_argo0) {
13571 if (_argo0 == Py_None) { _arg0 = NULL; }
13572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13574 return NULL;
13575 }
13576 }
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
13580
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) return NULL;
13583 }{ _resultobj = wxPyMake_wxObject(_result); }
13584 return _resultobj;
13585 }
13586
13587 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13588 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13589 PyObject * _resultobj;
13590 wxGridEditorCreatedEvent * _arg0;
13591 int _arg1;
13592 PyObject * _argo0 = 0;
13593 char *_kwnames[] = { "self","row", NULL };
13594
13595 self = self;
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13597 return NULL;
13598 if (_argo0) {
13599 if (_argo0 == Py_None) { _arg0 = NULL; }
13600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13602 return NULL;
13603 }
13604 }
13605 {
13606 PyThreadState* __tstate = wxPyBeginAllowThreads();
13607 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
13608
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) return NULL;
13611 } Py_INCREF(Py_None);
13612 _resultobj = Py_None;
13613 return _resultobj;
13614 }
13615
13616 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13617 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13618 PyObject * _resultobj;
13619 wxGridEditorCreatedEvent * _arg0;
13620 int _arg1;
13621 PyObject * _argo0 = 0;
13622 char *_kwnames[] = { "self","col", NULL };
13623
13624 self = self;
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13626 return NULL;
13627 if (_argo0) {
13628 if (_argo0 == Py_None) { _arg0 = NULL; }
13629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13631 return NULL;
13632 }
13633 }
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) return NULL;
13640 } Py_INCREF(Py_None);
13641 _resultobj = Py_None;
13642 return _resultobj;
13643 }
13644
13645 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13646 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13647 PyObject * _resultobj;
13648 wxGridEditorCreatedEvent * _arg0;
13649 wxControl * _arg1;
13650 PyObject * _argo0 = 0;
13651 PyObject * _argo1 = 0;
13652 char *_kwnames[] = { "self","ctrl", NULL };
13653
13654 self = self;
13655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13656 return NULL;
13657 if (_argo0) {
13658 if (_argo0 == Py_None) { _arg0 = NULL; }
13659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13661 return NULL;
13662 }
13663 }
13664 if (_argo1) {
13665 if (_argo1 == Py_None) { _arg1 = NULL; }
13666 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13667 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13668 return NULL;
13669 }
13670 }
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) return NULL;
13677 } Py_INCREF(Py_None);
13678 _resultobj = Py_None;
13679 return _resultobj;
13680 }
13681
13682 static PyMethodDef gridcMethods[] = {
13683 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13684 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13685 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13686 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13687 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13688 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13689 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
13690 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13691 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13692 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13693 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13694 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13695 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13696 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13697 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13698 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13699 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13700 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13701 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13702 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13703 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13704 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13705 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13706 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13707 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13708 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13709 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13710 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13711 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13712 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13713 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13714 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13715 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13716 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13717 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
13718 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13719 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13720 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13721 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
13722 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13723 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13724 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13725 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13726 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13727 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13728 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13729 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13730 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13731 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13732 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13733 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13734 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13735 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13736 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13737 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13738 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13739 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13740 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13741 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13742 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13743 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13744 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
13745 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13746 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
13747 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13748 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13749 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13750 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13751 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13752 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13753 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13754 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
13755 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13756 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13757 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13758 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13759 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13760 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
13761 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
13762 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
13763 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
13764 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
13765 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
13766 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
13767 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
13768 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13769 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
13770 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13771 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13772 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13773 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
13774 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13775 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13776 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13777 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13778 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13779 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
13780 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13781 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
13782 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13783 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
13784 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
13785 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
13786 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
13787 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
13788 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
13789 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13790 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13791 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
13792 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13793 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13794 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13795 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13796 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13797 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13798 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13799 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13800 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13801 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13802 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13803 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13804 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13805 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13806 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13807 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13808 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13809 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13810 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13811 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13812 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13813 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13814 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13815 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13816 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13817 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13818 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13819 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13820 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13821 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13822 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13823 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13824 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13825 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13826 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13827 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13828 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13829 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13830 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13831 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13832 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13833 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13834 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13835 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13836 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13837 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13838 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13839 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13840 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13841 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13842 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13843 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13844 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13845 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13846 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
13847 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
13848 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13849 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13850 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13851 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13852 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13853 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13854 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13855 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13856 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13857 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13858 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13859 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
13860 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
13861 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13862 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13863 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13864 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13865 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13866 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13867 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13868 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13869 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13870 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13871 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13872 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13873 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13874 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
13875 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
13876 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13877 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13878 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13879 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13880 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13881 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
13882 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
13883 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13884 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13885 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13886 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13887 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13888 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13889 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13890 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13891 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13892 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13893 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13894 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13895 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13896 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13897 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13898 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13899 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13900 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13901 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
13902 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13903 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13904 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13905 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13906 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13907 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13908 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13909 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13910 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13911 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13912 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
13913 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
13914 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13915 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
13916 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
13917 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
13918 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13919 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13920 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13921 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
13922 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13923 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
13924 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13925 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13926 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
13927 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
13928 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
13929 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13930 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13931 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13932 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13933 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13934 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
13935 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
13936 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13937 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
13938 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
13939 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
13940 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
13944 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
13945 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
13946 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
13947 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
13948 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
13949 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
13956 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
13958 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13959 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13960 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
13961 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
13962 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
13963 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13964 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
13965 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
13966 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13967 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13968 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
13969 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
13970 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
13972 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13973 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
13974 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
13975 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
13976 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
13977 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13978 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
13979 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
13980 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
13981 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
13982 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
13983 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
13984 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13985 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
13986 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
13987 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
13988 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
13989 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13990 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
13991 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
13992 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13993 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
13994 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
13995 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
13996 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
13997 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
13998 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
13999 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
14000 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
14001 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
14002 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
14003 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
14004 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
14005 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
14006 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14007 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
14008 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14009 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
14010 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
14011 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14012 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14013 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14014 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
14015 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14016 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14017 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14018 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14019 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14020 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14021 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14022 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14023 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14024 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14025 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14026 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14027 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14028 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14029 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14030 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14031 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14032 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14033 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14034 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14035 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14036 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
14037 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
14038 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
14039 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14040 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14041 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14042 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14043 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14044 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14045 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14046 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14047 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14048 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14049 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14050 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14051 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14052 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14053 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14054 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14055 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14056 { NULL, NULL }
14057 };
14058 #ifdef __cplusplus
14059 }
14060 #endif
14061 /*
14062 * This table is used by the pointer type-checker
14063 */
14064 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
14065 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14066 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14067 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14068 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14069 { "_signed_long","_long",0},
14070 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
14071 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14072 { "_wxPrintQuality","_wxCoord",0},
14073 { "_wxPrintQuality","_int",0},
14074 { "_wxPrintQuality","_signed_int",0},
14075 { "_wxPrintQuality","_unsigned_int",0},
14076 { "_wxPrintQuality","_wxWindowID",0},
14077 { "_wxPrintQuality","_uint",0},
14078 { "_wxPrintQuality","_EBool",0},
14079 { "_wxPrintQuality","_size_t",0},
14080 { "_wxPrintQuality","_time_t",0},
14081 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14082 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14083 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14084 { "_byte","_unsigned_char",0},
14085 { "_long","_unsigned_long",0},
14086 { "_long","_signed_long",0},
14087 { "_size_t","_WXGRIDSELECTIONMODES",0},
14088 { "_size_t","_wxCoord",0},
14089 { "_size_t","_wxPrintQuality",0},
14090 { "_size_t","_time_t",0},
14091 { "_size_t","_unsigned_int",0},
14092 { "_size_t","_int",0},
14093 { "_size_t","_wxWindowID",0},
14094 { "_size_t","_uint",0},
14095 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14096 { "_uint","_WXGRIDSELECTIONMODES",0},
14097 { "_uint","_wxCoord",0},
14098 { "_uint","_wxPrintQuality",0},
14099 { "_uint","_time_t",0},
14100 { "_uint","_size_t",0},
14101 { "_uint","_unsigned_int",0},
14102 { "_uint","_int",0},
14103 { "_uint","_wxWindowID",0},
14104 { "_wxChar","_char",0},
14105 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14106 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14107 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14108 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14109 { "_char","_wxChar",0},
14110 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
14111 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
14112 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
14113 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14114 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14115 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14116 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14117 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14118 { "_EBool","_WXGRIDSELECTIONMODES",0},
14119 { "_EBool","_wxCoord",0},
14120 { "_EBool","_wxPrintQuality",0},
14121 { "_EBool","_signed_int",0},
14122 { "_EBool","_int",0},
14123 { "_EBool","_wxWindowID",0},
14124 { "_unsigned_long","_long",0},
14125 { "_WXGRIDSELECTIONMODES","_int",0},
14126 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14127 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14128 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14129 { "_WXGRIDSELECTIONMODES","_uint",0},
14130 { "_WXGRIDSELECTIONMODES","_EBool",0},
14131 { "_WXGRIDSELECTIONMODES","_size_t",0},
14132 { "_WXGRIDSELECTIONMODES","_time_t",0},
14133 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14134 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14135 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14136 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14137 { "_signed_int","_wxCoord",0},
14138 { "_signed_int","_wxPrintQuality",0},
14139 { "_signed_int","_EBool",0},
14140 { "_signed_int","_wxWindowID",0},
14141 { "_signed_int","_int",0},
14142 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
14143 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
14144 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14145 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14146 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14147 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14148 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14149 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14150 { "_WXTYPE","_short",0},
14151 { "_WXTYPE","_signed_short",0},
14152 { "_WXTYPE","_unsigned_short",0},
14153 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14154 { "_unsigned_short","_WXTYPE",0},
14155 { "_unsigned_short","_short",0},
14156 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14157 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14158 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14159 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14160 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14161 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14162 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14163 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14164 { "_signed_short","_WXTYPE",0},
14165 { "_signed_short","_short",0},
14166 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14167 { "_unsigned_char","_byte",0},
14168 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14169 { "_unsigned_int","_wxCoord",0},
14170 { "_unsigned_int","_wxPrintQuality",0},
14171 { "_unsigned_int","_time_t",0},
14172 { "_unsigned_int","_size_t",0},
14173 { "_unsigned_int","_uint",0},
14174 { "_unsigned_int","_wxWindowID",0},
14175 { "_unsigned_int","_int",0},
14176 { "_short","_WXTYPE",0},
14177 { "_short","_unsigned_short",0},
14178 { "_short","_signed_short",0},
14179 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14180 { "_wxWindowID","_wxCoord",0},
14181 { "_wxWindowID","_wxPrintQuality",0},
14182 { "_wxWindowID","_time_t",0},
14183 { "_wxWindowID","_size_t",0},
14184 { "_wxWindowID","_EBool",0},
14185 { "_wxWindowID","_uint",0},
14186 { "_wxWindowID","_int",0},
14187 { "_wxWindowID","_signed_int",0},
14188 { "_wxWindowID","_unsigned_int",0},
14189 { "_int","_WXGRIDSELECTIONMODES",0},
14190 { "_int","_wxCoord",0},
14191 { "_int","_wxPrintQuality",0},
14192 { "_int","_time_t",0},
14193 { "_int","_size_t",0},
14194 { "_int","_EBool",0},
14195 { "_int","_uint",0},
14196 { "_int","_wxWindowID",0},
14197 { "_int","_unsigned_int",0},
14198 { "_int","_signed_int",0},
14199 { "_time_t","_WXGRIDSELECTIONMODES",0},
14200 { "_time_t","_wxCoord",0},
14201 { "_time_t","_wxPrintQuality",0},
14202 { "_time_t","_unsigned_int",0},
14203 { "_time_t","_int",0},
14204 { "_time_t","_wxWindowID",0},
14205 { "_time_t","_uint",0},
14206 { "_time_t","_size_t",0},
14207 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14208 { "_wxCoord","_int",0},
14209 { "_wxCoord","_signed_int",0},
14210 { "_wxCoord","_unsigned_int",0},
14211 { "_wxCoord","_wxWindowID",0},
14212 { "_wxCoord","_uint",0},
14213 { "_wxCoord","_EBool",0},
14214 { "_wxCoord","_size_t",0},
14215 { "_wxCoord","_time_t",0},
14216 { "_wxCoord","_wxPrintQuality",0},
14217 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
14218 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
14219 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
14220 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14221 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14222 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14223 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14224 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14225 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
14226 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14227 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14228 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14229 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14230 {0,0,0}};
14231
14232 static PyObject *SWIG_globals;
14233 #ifdef __cplusplus
14234 extern "C"
14235 #endif
14236 SWIGEXPORT(void) initgridc() {
14237 PyObject *m, *d;
14238 SWIG_globals = SWIG_newvarlink();
14239 m = Py_InitModule("gridc", gridcMethods);
14240 d = PyModule_GetDict(m);
14241 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14242 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14243 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14244 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14245 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14246 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14247 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14248 PyDict_SetItemString(d,"cvar", SWIG_globals);
14249 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14250 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14251 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14252 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14253 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14254 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14255 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14256 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14257 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14258 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14259 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14260 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14261 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14262 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14263 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14264 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14265 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14266 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14267 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14268 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14269 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14270 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14271 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14272 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14273 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
14274 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
14275
14276 wxClassInfo::CleanUpClasses();
14277 wxClassInfo::InitializeClasses();
14278 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14279 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14280 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14281 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14282 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14283 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
14284 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14285 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14286 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14287 {
14288 int i;
14289 for (i = 0; _swig_mapping[i].n1; i++)
14290 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14291 }
14292 }