]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.cpp
wxUniversal fixes:
[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 DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c"));
92 static const wxString wxPyEmptyString(wxT(""));
93
94 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
95 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
96 wxGridCellAttr* rval = NULL; \
97 bool found; \
98 wxPyBeginBlockThreads(); \
99 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
100 PyObject* ro; \
101 wxGridCellAttr* ptr; \
102 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
103 if (ro) { \
104 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
105 rval = ptr; \
106 Py_DECREF(ro); \
107 } \
108 } \
109 wxPyEndBlockThreads(); \
110 if (! found) \
111 rval = PCLASS::CBNAME(a, b, c); \
112 return rval; \
113 } \
114 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
115 return PCLASS::CBNAME(a, b, c); \
116 }
117
118
119
120 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
121 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
122 wxPyBeginBlockThreads(); \
123 bool found; \
124 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
125 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
126 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
127 Py_DECREF(obj); \
128 } \
129 wxPyEndBlockThreads(); \
130 if (! found) \
131 PCLASS::CBNAME(attr, a, b); \
132 } \
133 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
134 PCLASS::CBNAME(attr, a, b); \
135 }
136
137
138
139 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
140 void CBNAME(wxGridCellAttr *attr, int val) { \
141 wxPyBeginBlockThreads(); \
142 bool found; \
143 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
144 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
145 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
146 Py_DECREF(obj); \
147 } \
148 wxPyEndBlockThreads(); \
149 if (! found) \
150 PCLASS::CBNAME(attr, val); \
151 } \
152 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
153 PCLASS::CBNAME(attr, val); \
154 }
155
156
157
158 #define PYCALLBACK_INT__pure(CBNAME) \
159 int CBNAME() { \
160 wxPyBeginBlockThreads(); \
161 int rval = 0; \
162 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
163 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
164 wxPyEndBlockThreads(); \
165 return rval; \
166 }
167
168
169
170 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
171 bool CBNAME(int a, int b) { \
172 wxPyBeginBlockThreads(); \
173 bool rval = 0; \
174 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
175 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
176 wxPyEndBlockThreads(); \
177 return rval; \
178 }
179
180
181 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
182 wxString CBNAME(int a, int b) { \
183 wxPyBeginBlockThreads(); \
184 wxString rval; \
185 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
186 PyObject* ro; \
187 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
188 if (ro) { \
189 rval = Py2wxString(ro); \
190 Py_DECREF(ro); \
191 } \
192 } \
193 wxPyEndBlockThreads(); \
194 return rval; \
195 }
196
197
198 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
199 void CBNAME(int a, int b, const wxString& c) { \
200 wxPyBeginBlockThreads(); \
201 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
202 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,wx2PyString(c)));\
203 wxPyEndBlockThreads(); \
204 }
205
206
207 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
208 wxString CBNAME(int a, int b) { \
209 bool found; \
210 wxPyBeginBlockThreads(); \
211 wxString rval; \
212 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
213 PyObject* ro; \
214 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
215 if (ro) { \
216 rval = Py2wxString(ro); \
217 Py_DECREF(ro); \
218 } \
219 } \
220 wxPyEndBlockThreads(); \
221 if (! found) \
222 rval = PCLASS::CBNAME(a, b); \
223 return rval; \
224 } \
225 wxString base_##CBNAME(int a, int b) { \
226 return PCLASS::CBNAME(a, b); \
227 }
228
229
230 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
231 bool CBNAME(int a, int b, const wxString& c) { \
232 bool rval = 0; \
233 bool found; \
234 wxPyBeginBlockThreads(); \
235 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
236 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", a,b,wx2PyString(c)));\
237 wxPyEndBlockThreads(); \
238 if (! found) \
239 rval = PCLASS::CBNAME(a,b,c); \
240 return rval; \
241 } \
242 bool base_##CBNAME(int a, int b, const wxString& c) { \
243 return PCLASS::CBNAME(a,b,c); \
244 }
245
246
247
248
249 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
250 long CBNAME(int a, int b) { \
251 long rval; \
252 bool found; \
253 wxPyBeginBlockThreads(); \
254 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
255 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
256 wxPyEndBlockThreads(); \
257 if (! found) \
258 rval = PCLASS::CBNAME(a,b); \
259 return rval; \
260 } \
261 long base_##CBNAME(int a, int b) { \
262 return PCLASS::CBNAME(a,b); \
263 }
264
265
266
267 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
268 bool CBNAME(int a, int b) { \
269 bool rval = 0; \
270 bool found; \
271 wxPyBeginBlockThreads(); \
272 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
273 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
274 wxPyEndBlockThreads(); \
275 if (! found) \
276 rval = PCLASS::CBNAME(a,b); \
277 return rval; \
278 } \
279 bool base_##CBNAME(int a, int b) { \
280 return PCLASS::CBNAME(a,b); \
281 }
282
283
284
285 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
286 double CBNAME(int a, int b) { \
287 bool found; \
288 wxPyBeginBlockThreads(); \
289 double rval; \
290 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
291 PyObject* ro; \
292 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
293 if (ro) { \
294 PyObject* str = PyObject_Str(ro); \
295 rval = PyFloat_AsDouble(str); \
296 Py_DECREF(ro); Py_DECREF(str); \
297 } \
298 } \
299 wxPyEndBlockThreads(); \
300 if (! found) \
301 rval = PCLASS::CBNAME(a, b); \
302 return rval; \
303 } \
304 double base_##CBNAME(int a, int b) { \
305 return PCLASS::CBNAME(a, b); \
306 }
307
308
309
310 #define PYCALLBACK__(PCLASS, CBNAME) \
311 void CBNAME() { \
312 bool found; \
313 wxPyBeginBlockThreads(); \
314 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
315 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
316 wxPyEndBlockThreads(); \
317 if (! found) \
318 PCLASS::CBNAME(); \
319 } \
320 void base_##CBNAME() { \
321 PCLASS::CBNAME(); \
322 }
323
324
325
326
327 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
328 bool CBNAME(size_t a, size_t b) { \
329 bool rval = 0; \
330 bool found; \
331 wxPyBeginBlockThreads(); \
332 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
333 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
334 wxPyEndBlockThreads(); \
335 if (! found) \
336 rval = PCLASS::CBNAME(a,b); \
337 return rval; \
338 } \
339 bool base_##CBNAME(size_t a, size_t b) { \
340 return PCLASS::CBNAME(a,b); \
341 }
342
343
344
345 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
346 bool CBNAME(size_t a) { \
347 bool rval = 0; \
348 bool found; \
349 wxPyBeginBlockThreads(); \
350 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
351 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
352 wxPyEndBlockThreads(); \
353 if (! found) \
354 rval = PCLASS::CBNAME(a); \
355 return rval; \
356 } \
357 bool base_##CBNAME(size_t a) { \
358 return PCLASS::CBNAME(a); \
359 }
360
361
362 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
363 wxString CBNAME(int a) { \
364 bool found; \
365 wxPyBeginBlockThreads(); \
366 wxString rval; \
367 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
368 PyObject* ro; \
369 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
370 if (ro) { \
371 rval = Py2wxString(ro); \
372 Py_DECREF(ro); \
373 } \
374 } \
375 wxPyEndBlockThreads(); \
376 if (! found) \
377 rval = PCLASS::CBNAME(a); \
378 return rval; \
379 } \
380 wxString base_##CBNAME(int a) { \
381 return PCLASS::CBNAME(a); \
382 }
383
384
385 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
386 void CBNAME(int a, const wxString& c) { \
387 bool found; \
388 wxPyBeginBlockThreads(); \
389 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
390 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", a, wx2PyString(c))); \
391 wxPyEndBlockThreads(); \
392 if (! found) \
393 PCLASS::CBNAME(a,c); \
394 } \
395 void base_##CBNAME(int a, const wxString& c) { \
396 PCLASS::CBNAME(a,c); \
397 }
398
399
400
401
402 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
403 bool CBNAME() { \
404 bool rval = 0; \
405 bool found; \
406 wxPyBeginBlockThreads(); \
407 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
408 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
409 wxPyEndBlockThreads(); \
410 if (! found) \
411 rval = PCLASS::CBNAME(); \
412 return rval; \
413 } \
414 bool base_##CBNAME() { \
415 return PCLASS::CBNAME(); \
416 }
417
418
419
420 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
421 void CBNAME(size_t a, int b) { \
422 bool found; \
423 wxPyBeginBlockThreads(); \
424 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
425 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
426 wxPyEndBlockThreads(); \
427 if (! found) \
428 PCLASS::CBNAME(a,b); \
429 } \
430 void base_##CBNAME(size_t a, int b) { \
431 PCLASS::CBNAME(a,b); \
432 }
433
434
435
436
437 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
438 void CBNAME(int a, int b, long c) { \
439 bool found; \
440 wxPyBeginBlockThreads(); \
441 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
442 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
443 wxPyEndBlockThreads(); \
444 if (! found) \
445 PCLASS::CBNAME(a,b,c); \
446 } \
447 void base_##CBNAME(int a, int b, long c) { \
448 PCLASS::CBNAME(a,b,c); \
449 }
450
451
452
453
454 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
455 void CBNAME(int a, int b, double c) { \
456 bool found; \
457 wxPyBeginBlockThreads(); \
458 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
459 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
460 wxPyEndBlockThreads(); \
461 if (! found) \
462 PCLASS::CBNAME(a,b,c); \
463 } \
464 void base_##CBNAME(int a, int b, double c) { \
465 PCLASS::CBNAME(a,b,c); \
466 }
467
468
469
470 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
471 void CBNAME(int a, int b, bool c) { \
472 bool found; \
473 wxPyBeginBlockThreads(); \
474 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
475 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
476 wxPyEndBlockThreads(); \
477 if (! found) \
478 PCLASS::CBNAME(a,b,c); \
479 } \
480 void base_##CBNAME(int a, int b, bool c) { \
481 PCLASS::CBNAME(a,b,c); \
482 }
483
484
485
486
487
488
489
490 #define wxPyMake_TEMPLATE(TYPE) \
491 PyObject* wxPyMake_##TYPE(TYPE* source) { \
492 PyObject* target = NULL; \
493 if (source) { \
494 /* Check if there is already a pointer to a Python object in the \
495 OOR data that we can use. */ \
496 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
497 if (data) { \
498 target = data->m_obj; \
499 Py_INCREF(target); \
500 } \
501 /* Otherwise make a new wrapper for it the old fashioned way and \
502 give it the OOR treatment */ \
503 if (! target) { \
504 target = wxPyConstructObject(source, #TYPE, FALSE); \
505 if (target) \
506 source->SetClientObject(new wxPyOORClientData(target)); \
507 } \
508 } else { /* source was NULL so return None. */ \
509 Py_INCREF(Py_None); target = Py_None; \
510 } \
511 return target; \
512 } \
513
514 wxPyMake_TEMPLATE(wxGridCellRenderer)
515 wxPyMake_TEMPLATE(wxGridCellEditor)
516 wxPyMake_TEMPLATE(wxGridCellAttr)
517 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
518 wxPyMake_TEMPLATE(wxGridTableBase)
519
520
521 class wxPyGridCellRenderer : public wxGridCellRenderer
522 {
523 public:
524 wxPyGridCellRenderer() : wxGridCellRenderer() {};
525
526 // Implement Python callback aware virtual methods
527 void Draw(wxGrid& grid, wxGridCellAttr& attr,
528 wxDC& dc, const wxRect& rect,
529 int row, int col, bool isSelected) {
530 wxPyBeginBlockThreads();
531 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
532 wxPyCBH_callCallback(m_myInst,
533 Py_BuildValue("(OOOOiii)",
534 wxPyConstructObject((void*)&grid, "wxGrid", 0),
535 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
536 wxPyConstructObject((void*)&dc, "wxDC", 0),
537 wxPyConstructObject((void*)&rect, "wxRect", 0),
538 row, col, isSelected));
539 }
540 wxPyEndBlockThreads();
541 }
542
543 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
544 int row, int col) {
545 wxSize rval;
546 wxPyBeginBlockThreads();
547 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
548 PyObject* ro;
549 wxSize* ptr;
550 ro = wxPyCBH_callCallbackObj(m_myInst,
551 Py_BuildValue("(OOOii)",
552 wxPyConstructObject((void*)&grid, "wxGrid", 0),
553 wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0),
554 wxPyConstructObject((void*)&dc, "wxDC", 0),
555 row, col));
556 if (ro) {
557 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
558 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) {
559 rval = *ptr;
560 }
561 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
562 PyObject* o1 = PySequence_GetItem(ro, 0);
563 PyObject* o2 = PySequence_GetItem(ro, 1);
564 if (PyNumber_Check(o1) && PyNumber_Check(o2))
565 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
566 else
567 PyErr_SetString(PyExc_TypeError, errmsg);
568 Py_DECREF(o1);
569 Py_DECREF(o2);
570 }
571 else {
572 PyErr_SetString(PyExc_TypeError, errmsg);
573 }
574 Py_DECREF(ro);
575 }
576 }
577 wxPyEndBlockThreads();
578 return rval;
579 }
580
581
582 wxGridCellRenderer *Clone() const {
583 wxGridCellRenderer* rval = NULL;
584 wxPyBeginBlockThreads();
585 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
586 PyObject* ro;
587 wxGridCellRenderer* ptr;
588 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
589 if (ro) {
590 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
591 rval = ptr;
592 Py_DECREF(ro);
593 }
594 }
595 wxPyEndBlockThreads();
596 return rval;
597 }
598
599 DEC_PYCALLBACK__STRING(SetParameters);
600
601 PYPRIVATE;
602 };
603
604 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
605
606
607 class wxPyGridCellEditor : public wxGridCellEditor
608 {
609 public:
610 wxPyGridCellEditor() : wxGridCellEditor() {}
611
612 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
613 wxPyBeginBlockThreads();
614 if (wxPyCBH_findCallback(m_myInst, "Create")) {
615 wxPyCBH_callCallback(m_myInst,
616 Py_BuildValue("(OiO)",
617 wxPyConstructObject((void*)parent, "wxWindow", 0),
618 id,
619 wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0)));
620 }
621 wxPyEndBlockThreads();
622 }
623
624
625 void BeginEdit(int row, int col, wxGrid* grid) {
626 wxPyBeginBlockThreads();
627 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
628 wxPyCBH_callCallback(m_myInst,
629 Py_BuildValue("(iiO)", row, col,
630 wxPyConstructObject((void*)grid, "wxGrid", 0)));
631 }
632 wxPyEndBlockThreads();
633 }
634
635
636 bool EndEdit(int row, int col, wxGrid* grid) {
637 bool rv = FALSE;
638 wxPyBeginBlockThreads();
639 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
640 rv = wxPyCBH_callCallback(m_myInst,
641 Py_BuildValue("(iiO)", row, col,
642 wxPyConstructObject((void*)grid, "wxGrid", 0)));
643 }
644 wxPyEndBlockThreads();
645 return rv;
646 }
647
648
649 wxGridCellEditor*Clone() const {
650 wxGridCellEditor* rval = NULL;
651 wxPyBeginBlockThreads();
652 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
653 PyObject* ro;
654 wxGridCellEditor* ptr;
655 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
656 if (ro) {
657 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
658 rval = ptr;
659 Py_DECREF(ro);
660 }
661 }
662 wxPyEndBlockThreads();
663 return rval;
664 }
665
666
667 void Show(bool show, wxGridCellAttr *attr) {
668 bool found;
669 wxPyBeginBlockThreads();
670 if ((found = wxPyCBH_findCallback(m_myInst, "Show")))
671 wxPyCBH_callCallback(m_myInst,
672 Py_BuildValue("(iO)", show,
673 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
674 wxPyEndBlockThreads();
675 if (! found)
676 wxGridCellEditor::Show(show, attr);
677 }
678 void base_Show(bool show, wxGridCellAttr *attr) {
679 wxGridCellEditor::Show(show, attr);
680 }
681
682
683 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
684 bool found; \
685 wxPyBeginBlockThreads();
686 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)")))
687 wxPyCBH_callCallback(m_myInst,
688 Py_BuildValue("(OO)",
689 wxPyConstructObject((void*)&rectCell, "wxRect", 0),
690 wxPyConstructObject((void*)attr, "wxGridCellAttr", 0)));
691 wxPyEndBlockThreads();
692 if (! found)
693 wxGridCellEditor::PaintBackground(rectCell, attr);
694 }
695 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
696 wxGridCellEditor::PaintBackground(rectCell, attr);
697 }
698
699
700 DEC_PYCALLBACK___pure(Reset);
701 DEC_PYCALLBACK__constany(SetSize, wxRect);
702 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
703 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
704 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
705 DEC_PYCALLBACK__(StartingClick);
706 DEC_PYCALLBACK__(Destroy);
707 DEC_PYCALLBACK__STRING(SetParameters);
708
709 PYPRIVATE;
710 };
711
712
713 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
714 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
715 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
716 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
717 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
718 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
719 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
720 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
721
722
723 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
724 {
725 public:
726 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
727
728 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
729 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
730 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
731 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
732
733 PYPRIVATE;
734 };
735
736 class wxPyGridTableBase : public wxGridTableBase
737 {
738 public:
739 wxPyGridTableBase() : wxGridTableBase() {}
740
741 PYCALLBACK_INT__pure(GetNumberRows);
742 PYCALLBACK_INT__pure(GetNumberCols);
743 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
744 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
745 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
746 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
747 PYCALLBACK__(wxGridTableBase, Clear);
748 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
749 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
750 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
751 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
752 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
753 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
754 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
755 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
756 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
757 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
758 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
759 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
760 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
761 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
762 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
763
764
765 wxString GetValue(int row, int col) {
766 wxPyBeginBlockThreads();
767 wxString rval;
768 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
769 PyObject* ro;
770 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
771 if (ro) {
772 rval = Py2wxString(ro);
773 Py_DECREF(ro);
774 }
775 }
776 wxPyEndBlockThreads();
777 return rval;
778 }
779
780 void SetValue(int row, int col, const wxString& val) {
781 wxPyBeginBlockThreads();
782 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
783 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,wx2PyString(val)));
784 }
785 wxPyEndBlockThreads();
786 }
787
788
789 // Map the Get/Set methods for the standard non-string types to
790 // the GetValue and SetValue python methods.
791 long GetValueAsLong( int row, int col ) {
792 long rval = 0;
793 wxPyBeginBlockThreads();
794 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
795 PyObject* ro;
796 PyObject* num;
797 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
798 if (ro && PyNumber_Check(ro)) {
799 num = PyNumber_Int(ro);
800 if (num) {
801 rval = PyInt_AsLong(num);
802 Py_DECREF(num);
803 }
804 Py_DECREF(ro);
805 }
806 }
807 wxPyEndBlockThreads();
808 return rval;
809 }
810
811 double GetValueAsDouble( int row, int col ) {
812 double rval = 0.0;
813 wxPyBeginBlockThreads();
814 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
815 PyObject* ro;
816 PyObject* num;
817 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
818 if (ro && PyNumber_Check(ro)) {
819 num = PyNumber_Float(ro);
820 if (num) {
821 rval = PyFloat_AsDouble(num);
822 Py_DECREF(num);
823 }
824 Py_DECREF(ro);
825 }
826 }
827 wxPyEndBlockThreads();
828 return rval;
829 }
830
831 bool GetValueAsBool( int row, int col ) {
832 return (bool)GetValueAsLong(row, col);
833 }
834
835 void SetValueAsLong( int row, int col, long value ) {
836 wxPyBeginBlockThreads();
837 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
838 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
839 }
840 wxPyEndBlockThreads();
841 }
842
843 void SetValueAsDouble( int row, int col, double value ) {
844 wxPyBeginBlockThreads();
845 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
846 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
847 }
848 wxPyEndBlockThreads();
849 }
850
851 void SetValueAsBool( int row, int col, bool value ) {
852 SetValueAsLong( row, col, (long)value );
853 }
854
855
856 PYPRIVATE;
857 };
858
859 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
860
861 // If source is an object instance then it may already be the right type
862 if (PyInstance_Check(source)) {
863 wxGridCellCoords* ptr;
864 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
865 goto error;
866 *obj = ptr;
867 return TRUE;
868 }
869 // otherwise a 2-tuple of integers is expected
870 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
871 PyObject* o1 = PySequence_GetItem(source, 0);
872 PyObject* o2 = PySequence_GetItem(source, 1);
873 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
874 return TRUE;
875 }
876
877 error:
878 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
879 return FALSE;
880 }
881
882 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
883 #ifdef __cplusplus
884 extern "C" {
885 #endif
886 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
887
888 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
889 return 1;
890 }
891
892 static PyObject *_wrap_wxGridNoCellCoords_get() {
893 PyObject * pyobj;
894 char ptemp[128];
895
896 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
897 pyobj = PyString_FromString(ptemp);
898 return pyobj;
899 }
900
901 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
902
903 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
904 return 1;
905 }
906
907 static PyObject *_wrap_wxGridNoCellRect_get() {
908 PyObject * pyobj;
909 char ptemp[128];
910
911 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
912 pyobj = PyString_FromString(ptemp);
913 return pyobj;
914 }
915
916 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject * _self) {
917 self->SetClientObject(new wxPyOORClientData(_self));
918 }
919 static PyObject *_wrap_wxGridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject * _resultobj;
921 wxGridCellRenderer * _arg0;
922 PyObject * _arg1;
923 PyObject * _argo0 = 0;
924 PyObject * _obj1 = 0;
925 char *_kwnames[] = { "self","_self", NULL };
926
927 self = self;
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer__setOORInfo",_kwnames,&_argo0,&_obj1))
929 return NULL;
930 if (_argo0) {
931 if (_argo0 == Py_None) { _arg0 = NULL; }
932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p.");
934 return NULL;
935 }
936 }
937 {
938 _arg1 = _obj1;
939 }
940 {
941 PyThreadState* __tstate = wxPyBeginAllowThreads();
942 wxGridCellRenderer__setOORInfo(_arg0,_arg1);
943
944 wxPyEndAllowThreads(__tstate);
945 if (PyErr_Occurred()) return NULL;
946 } Py_INCREF(Py_None);
947 _resultobj = Py_None;
948 return _resultobj;
949 }
950
951 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
952 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
953 PyObject * _resultobj;
954 wxGridCellRenderer * _arg0;
955 wxString * _arg1;
956 PyObject * _argo0 = 0;
957 PyObject * _obj1 = 0;
958 char *_kwnames[] = { "self","params", NULL };
959
960 self = self;
961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
962 return NULL;
963 if (_argo0) {
964 if (_argo0 == Py_None) { _arg0 = NULL; }
965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
967 return NULL;
968 }
969 }
970 {
971 _arg1 = wxString_in_helper(_obj1);
972 if (_arg1 == NULL)
973 return NULL;
974 }
975 {
976 PyThreadState* __tstate = wxPyBeginAllowThreads();
977 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
978
979 wxPyEndAllowThreads(__tstate);
980 if (PyErr_Occurred()) return NULL;
981 } Py_INCREF(Py_None);
982 _resultobj = Py_None;
983 {
984 if (_obj1)
985 delete _arg1;
986 }
987 return _resultobj;
988 }
989
990 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
991 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
992 PyObject * _resultobj;
993 wxGridCellRenderer * _arg0;
994 PyObject * _argo0 = 0;
995 char *_kwnames[] = { "self", NULL };
996
997 self = self;
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
999 return NULL;
1000 if (_argo0) {
1001 if (_argo0 == Py_None) { _arg0 = NULL; }
1002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
1004 return NULL;
1005 }
1006 }
1007 {
1008 PyThreadState* __tstate = wxPyBeginAllowThreads();
1009 wxGridCellRenderer_IncRef(_arg0);
1010
1011 wxPyEndAllowThreads(__tstate);
1012 if (PyErr_Occurred()) return NULL;
1013 } Py_INCREF(Py_None);
1014 _resultobj = Py_None;
1015 return _resultobj;
1016 }
1017
1018 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
1019 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1020 PyObject * _resultobj;
1021 wxGridCellRenderer * _arg0;
1022 PyObject * _argo0 = 0;
1023 char *_kwnames[] = { "self", NULL };
1024
1025 self = self;
1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
1027 return NULL;
1028 if (_argo0) {
1029 if (_argo0 == Py_None) { _arg0 = NULL; }
1030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
1032 return NULL;
1033 }
1034 }
1035 {
1036 PyThreadState* __tstate = wxPyBeginAllowThreads();
1037 wxGridCellRenderer_DecRef(_arg0);
1038
1039 wxPyEndAllowThreads(__tstate);
1040 if (PyErr_Occurred()) return NULL;
1041 } Py_INCREF(Py_None);
1042 _resultobj = Py_None;
1043 return _resultobj;
1044 }
1045
1046 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1047 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1048 PyObject * _resultobj;
1049 wxGridCellRenderer * _arg0;
1050 wxGrid * _arg1;
1051 wxGridCellAttr * _arg2;
1052 wxDC * _arg3;
1053 wxRect * _arg4;
1054 int _arg5;
1055 int _arg6;
1056 bool _arg7;
1057 PyObject * _argo0 = 0;
1058 PyObject * _argo1 = 0;
1059 PyObject * _argo2 = 0;
1060 PyObject * _argo3 = 0;
1061 wxRect temp;
1062 PyObject * _obj4 = 0;
1063 int tempbool7;
1064 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
1065
1066 self = self;
1067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
1068 return NULL;
1069 if (_argo0) {
1070 if (_argo0 == Py_None) { _arg0 = NULL; }
1071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1073 return NULL;
1074 }
1075 }
1076 if (_argo1) {
1077 if (_argo1 == Py_None) { _arg1 = NULL; }
1078 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1080 return NULL;
1081 }
1082 }
1083 if (_argo2) {
1084 if (_argo2 == Py_None) { _arg2 = NULL; }
1085 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1086 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1087 return NULL;
1088 }
1089 }
1090 if (_argo3) {
1091 if (_argo3 == Py_None) { _arg3 = NULL; }
1092 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1093 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1094 return NULL;
1095 }
1096 }
1097 {
1098 _arg4 = &temp;
1099 if (! wxRect_helper(_obj4, &_arg4))
1100 return NULL;
1101 }
1102 _arg7 = (bool ) tempbool7;
1103 {
1104 PyThreadState* __tstate = wxPyBeginAllowThreads();
1105 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1106
1107 wxPyEndAllowThreads(__tstate);
1108 if (PyErr_Occurred()) return NULL;
1109 } Py_INCREF(Py_None);
1110 _resultobj = Py_None;
1111 return _resultobj;
1112 }
1113
1114 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1115 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1116 PyObject * _resultobj;
1117 wxSize * _result;
1118 wxGridCellRenderer * _arg0;
1119 wxGrid * _arg1;
1120 wxGridCellAttr * _arg2;
1121 wxDC * _arg3;
1122 int _arg4;
1123 int _arg5;
1124 PyObject * _argo0 = 0;
1125 PyObject * _argo1 = 0;
1126 PyObject * _argo2 = 0;
1127 PyObject * _argo3 = 0;
1128 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1129 char _ptemp[128];
1130
1131 self = self;
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1133 return NULL;
1134 if (_argo0) {
1135 if (_argo0 == Py_None) { _arg0 = NULL; }
1136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1138 return NULL;
1139 }
1140 }
1141 if (_argo1) {
1142 if (_argo1 == Py_None) { _arg1 = NULL; }
1143 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1144 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1145 return NULL;
1146 }
1147 }
1148 if (_argo2) {
1149 if (_argo2 == Py_None) { _arg2 = NULL; }
1150 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1151 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1152 return NULL;
1153 }
1154 }
1155 if (_argo3) {
1156 if (_argo3 == Py_None) { _arg3 = NULL; }
1157 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1158 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1159 return NULL;
1160 }
1161 }
1162 {
1163 PyThreadState* __tstate = wxPyBeginAllowThreads();
1164 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1165
1166 wxPyEndAllowThreads(__tstate);
1167 if (PyErr_Occurred()) return NULL;
1168 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1169 _resultobj = Py_BuildValue("s",_ptemp);
1170 return _resultobj;
1171 }
1172
1173 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1174 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1175 PyObject * _resultobj;
1176 wxGridCellRenderer * _result;
1177 wxGridCellRenderer * _arg0;
1178 PyObject * _argo0 = 0;
1179 char *_kwnames[] = { "self", NULL };
1180
1181 self = self;
1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1183 return NULL;
1184 if (_argo0) {
1185 if (_argo0 == Py_None) { _arg0 = NULL; }
1186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1188 return NULL;
1189 }
1190 }
1191 {
1192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1193 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1194
1195 wxPyEndAllowThreads(__tstate);
1196 if (PyErr_Occurred()) return NULL;
1197 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
1198 return _resultobj;
1199 }
1200
1201 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1202 wxPyGridCellRenderer *src;
1203 wxGridCellRenderer *dest;
1204 src = (wxPyGridCellRenderer *) ptr;
1205 dest = (wxGridCellRenderer *) src;
1206 return (void *) dest;
1207 }
1208
1209 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1210 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1211 PyObject * _resultobj;
1212 wxPyGridCellRenderer * _result;
1213 char *_kwnames[] = { NULL };
1214 char _ptemp[128];
1215
1216 self = self;
1217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1218 return NULL;
1219 {
1220 PyThreadState* __tstate = wxPyBeginAllowThreads();
1221 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1222
1223 wxPyEndAllowThreads(__tstate);
1224 if (PyErr_Occurred()) return NULL;
1225 } if (_result) {
1226 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1227 _resultobj = Py_BuildValue("s",_ptemp);
1228 } else {
1229 Py_INCREF(Py_None);
1230 _resultobj = Py_None;
1231 }
1232 return _resultobj;
1233 }
1234
1235 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1236 static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxPyGridCellRenderer * _arg0;
1239 PyObject * _arg1;
1240 PyObject * _arg2;
1241 PyObject * _argo0 = 0;
1242 PyObject * _obj1 = 0;
1243 PyObject * _obj2 = 0;
1244 char *_kwnames[] = { "self","self","_class", NULL };
1245
1246 self = self;
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1248 return NULL;
1249 if (_argo0) {
1250 if (_argo0 == Py_None) { _arg0 = NULL; }
1251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1253 return NULL;
1254 }
1255 }
1256 {
1257 _arg1 = _obj1;
1258 }
1259 {
1260 _arg2 = _obj2;
1261 }
1262 {
1263 PyThreadState* __tstate = wxPyBeginAllowThreads();
1264 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1265
1266 wxPyEndAllowThreads(__tstate);
1267 if (PyErr_Occurred()) return NULL;
1268 } Py_INCREF(Py_None);
1269 _resultobj = Py_None;
1270 return _resultobj;
1271 }
1272
1273 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1274 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1275 PyObject * _resultobj;
1276 wxPyGridCellRenderer * _arg0;
1277 wxString * _arg1;
1278 PyObject * _argo0 = 0;
1279 PyObject * _obj1 = 0;
1280 char *_kwnames[] = { "self","params", NULL };
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1284 return NULL;
1285 if (_argo0) {
1286 if (_argo0 == Py_None) { _arg0 = NULL; }
1287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1289 return NULL;
1290 }
1291 }
1292 {
1293 _arg1 = wxString_in_helper(_obj1);
1294 if (_arg1 == NULL)
1295 return NULL;
1296 }
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) return NULL;
1303 } Py_INCREF(Py_None);
1304 _resultobj = Py_None;
1305 {
1306 if (_obj1)
1307 delete _arg1;
1308 }
1309 return _resultobj;
1310 }
1311
1312 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1313 wxGridCellStringRenderer *src;
1314 wxGridCellRenderer *dest;
1315 src = (wxGridCellStringRenderer *) ptr;
1316 dest = (wxGridCellRenderer *) src;
1317 return (void *) dest;
1318 }
1319
1320 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1321 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1322 PyObject * _resultobj;
1323 wxGridCellStringRenderer * _result;
1324 char *_kwnames[] = { NULL };
1325 char _ptemp[128];
1326
1327 self = self;
1328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1329 return NULL;
1330 {
1331 PyThreadState* __tstate = wxPyBeginAllowThreads();
1332 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1333
1334 wxPyEndAllowThreads(__tstate);
1335 if (PyErr_Occurred()) return NULL;
1336 } if (_result) {
1337 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1338 _resultobj = Py_BuildValue("s",_ptemp);
1339 } else {
1340 Py_INCREF(Py_None);
1341 _resultobj = Py_None;
1342 }
1343 return _resultobj;
1344 }
1345
1346 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1347 wxGridCellNumberRenderer *src;
1348 wxGridCellStringRenderer *dest;
1349 src = (wxGridCellNumberRenderer *) ptr;
1350 dest = (wxGridCellStringRenderer *) src;
1351 return (void *) dest;
1352 }
1353
1354 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1355 wxGridCellNumberRenderer *src;
1356 wxGridCellRenderer *dest;
1357 src = (wxGridCellNumberRenderer *) ptr;
1358 dest = (wxGridCellRenderer *) src;
1359 return (void *) dest;
1360 }
1361
1362 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1363 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1364 PyObject * _resultobj;
1365 wxGridCellNumberRenderer * _result;
1366 char *_kwnames[] = { NULL };
1367 char _ptemp[128];
1368
1369 self = self;
1370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1371 return NULL;
1372 {
1373 PyThreadState* __tstate = wxPyBeginAllowThreads();
1374 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1375
1376 wxPyEndAllowThreads(__tstate);
1377 if (PyErr_Occurred()) return NULL;
1378 } if (_result) {
1379 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1380 _resultobj = Py_BuildValue("s",_ptemp);
1381 } else {
1382 Py_INCREF(Py_None);
1383 _resultobj = Py_None;
1384 }
1385 return _resultobj;
1386 }
1387
1388 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1389 wxGridCellFloatRenderer *src;
1390 wxGridCellStringRenderer *dest;
1391 src = (wxGridCellFloatRenderer *) ptr;
1392 dest = (wxGridCellStringRenderer *) src;
1393 return (void *) dest;
1394 }
1395
1396 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1397 wxGridCellFloatRenderer *src;
1398 wxGridCellRenderer *dest;
1399 src = (wxGridCellFloatRenderer *) ptr;
1400 dest = (wxGridCellRenderer *) src;
1401 return (void *) dest;
1402 }
1403
1404 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1405 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1406 PyObject * _resultobj;
1407 wxGridCellFloatRenderer * _result;
1408 int _arg0 = (int ) -1;
1409 int _arg1 = (int ) -1;
1410 char *_kwnames[] = { "width","precision", NULL };
1411 char _ptemp[128];
1412
1413 self = self;
1414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1415 return NULL;
1416 {
1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
1418 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1419
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) return NULL;
1422 } if (_result) {
1423 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1424 _resultobj = Py_BuildValue("s",_ptemp);
1425 } else {
1426 Py_INCREF(Py_None);
1427 _resultobj = Py_None;
1428 }
1429 return _resultobj;
1430 }
1431
1432 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1433 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject * _resultobj;
1435 int _result;
1436 wxGridCellFloatRenderer * _arg0;
1437 PyObject * _argo0 = 0;
1438 char *_kwnames[] = { "self", NULL };
1439
1440 self = self;
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1442 return NULL;
1443 if (_argo0) {
1444 if (_argo0 == Py_None) { _arg0 = NULL; }
1445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1447 return NULL;
1448 }
1449 }
1450 {
1451 PyThreadState* __tstate = wxPyBeginAllowThreads();
1452 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1453
1454 wxPyEndAllowThreads(__tstate);
1455 if (PyErr_Occurred()) return NULL;
1456 } _resultobj = Py_BuildValue("i",_result);
1457 return _resultobj;
1458 }
1459
1460 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1461 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1462 PyObject * _resultobj;
1463 wxGridCellFloatRenderer * _arg0;
1464 int _arg1;
1465 PyObject * _argo0 = 0;
1466 char *_kwnames[] = { "self","width", NULL };
1467
1468 self = self;
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1470 return NULL;
1471 if (_argo0) {
1472 if (_argo0 == Py_None) { _arg0 = NULL; }
1473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1475 return NULL;
1476 }
1477 }
1478 {
1479 PyThreadState* __tstate = wxPyBeginAllowThreads();
1480 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1481
1482 wxPyEndAllowThreads(__tstate);
1483 if (PyErr_Occurred()) return NULL;
1484 } Py_INCREF(Py_None);
1485 _resultobj = Py_None;
1486 return _resultobj;
1487 }
1488
1489 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1490 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1491 PyObject * _resultobj;
1492 int _result;
1493 wxGridCellFloatRenderer * _arg0;
1494 PyObject * _argo0 = 0;
1495 char *_kwnames[] = { "self", NULL };
1496
1497 self = self;
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1499 return NULL;
1500 if (_argo0) {
1501 if (_argo0 == Py_None) { _arg0 = NULL; }
1502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1504 return NULL;
1505 }
1506 }
1507 {
1508 PyThreadState* __tstate = wxPyBeginAllowThreads();
1509 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1510
1511 wxPyEndAllowThreads(__tstate);
1512 if (PyErr_Occurred()) return NULL;
1513 } _resultobj = Py_BuildValue("i",_result);
1514 return _resultobj;
1515 }
1516
1517 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1518 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1519 PyObject * _resultobj;
1520 wxGridCellFloatRenderer * _arg0;
1521 int _arg1;
1522 PyObject * _argo0 = 0;
1523 char *_kwnames[] = { "self","precision", NULL };
1524
1525 self = self;
1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1527 return NULL;
1528 if (_argo0) {
1529 if (_argo0 == Py_None) { _arg0 = NULL; }
1530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1532 return NULL;
1533 }
1534 }
1535 {
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) return NULL;
1541 } Py_INCREF(Py_None);
1542 _resultobj = Py_None;
1543 return _resultobj;
1544 }
1545
1546 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1547 wxGridCellBoolRenderer *src;
1548 wxGridCellRenderer *dest;
1549 src = (wxGridCellBoolRenderer *) ptr;
1550 dest = (wxGridCellRenderer *) src;
1551 return (void *) dest;
1552 }
1553
1554 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1555 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject * _resultobj;
1557 wxGridCellBoolRenderer * _result;
1558 char *_kwnames[] = { NULL };
1559 char _ptemp[128];
1560
1561 self = self;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1563 return NULL;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) return NULL;
1570 } if (_result) {
1571 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1572 _resultobj = Py_BuildValue("s",_ptemp);
1573 } else {
1574 Py_INCREF(Py_None);
1575 _resultobj = Py_None;
1576 }
1577 return _resultobj;
1578 }
1579
1580 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1581 wxGridCellDateTimeRenderer *src;
1582 wxGridCellStringRenderer *dest;
1583 src = (wxGridCellDateTimeRenderer *) ptr;
1584 dest = (wxGridCellStringRenderer *) src;
1585 return (void *) dest;
1586 }
1587
1588 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1589 wxGridCellDateTimeRenderer *src;
1590 wxGridCellRenderer *dest;
1591 src = (wxGridCellDateTimeRenderer *) ptr;
1592 dest = (wxGridCellRenderer *) src;
1593 return (void *) dest;
1594 }
1595
1596 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1597 static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject * _resultobj;
1599 wxGridCellDateTimeRenderer * _result;
1600 wxString * _arg0 = (wxString *) &wxPyDateTimeFormatStr;
1601 wxString * _arg1 = (wxString *) &wxPyDateTimeFormatStr;
1602 PyObject * _obj0 = 0;
1603 PyObject * _obj1 = 0;
1604 char *_kwnames[] = { "outformat","informat", NULL };
1605 char _ptemp[128];
1606
1607 self = self;
1608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1609 return NULL;
1610 if (_obj0)
1611 {
1612 _arg0 = wxString_in_helper(_obj0);
1613 if (_arg0 == NULL)
1614 return NULL;
1615 }
1616 if (_obj1)
1617 {
1618 _arg1 = wxString_in_helper(_obj1);
1619 if (_arg1 == NULL)
1620 return NULL;
1621 }
1622 {
1623 PyThreadState* __tstate = wxPyBeginAllowThreads();
1624 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1625
1626 wxPyEndAllowThreads(__tstate);
1627 if (PyErr_Occurred()) return NULL;
1628 } if (_result) {
1629 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1630 _resultobj = Py_BuildValue("s",_ptemp);
1631 } else {
1632 Py_INCREF(Py_None);
1633 _resultobj = Py_None;
1634 }
1635 {
1636 if (_obj0)
1637 delete _arg0;
1638 }
1639 {
1640 if (_obj1)
1641 delete _arg1;
1642 }
1643 return _resultobj;
1644 }
1645
1646 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1647 wxGridCellEnumRenderer *src;
1648 wxGridCellStringRenderer *dest;
1649 src = (wxGridCellEnumRenderer *) ptr;
1650 dest = (wxGridCellStringRenderer *) src;
1651 return (void *) dest;
1652 }
1653
1654 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1655 wxGridCellEnumRenderer *src;
1656 wxGridCellRenderer *dest;
1657 src = (wxGridCellEnumRenderer *) ptr;
1658 dest = (wxGridCellRenderer *) src;
1659 return (void *) dest;
1660 }
1661
1662 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1663 static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1664 PyObject * _resultobj;
1665 wxGridCellEnumRenderer * _result;
1666 wxString * _arg0 = (wxString *) &wxPyEmptyString;
1667 PyObject * _obj0 = 0;
1668 char *_kwnames[] = { "choices", NULL };
1669 char _ptemp[128];
1670
1671 self = self;
1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1673 return NULL;
1674 if (_obj0)
1675 {
1676 _arg0 = wxString_LIST_helper(_obj0);
1677 if (_arg0 == NULL) {
1678 return NULL;
1679 }
1680 }
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) return NULL;
1687 } if (_result) {
1688 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1689 _resultobj = Py_BuildValue("s",_ptemp);
1690 } else {
1691 Py_INCREF(Py_None);
1692 _resultobj = Py_None;
1693 }
1694 {
1695 delete [] _arg0;
1696 }
1697 return _resultobj;
1698 }
1699
1700 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1701 wxGridCellAutoWrapStringRenderer *src;
1702 wxGridCellStringRenderer *dest;
1703 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1704 dest = (wxGridCellStringRenderer *) src;
1705 return (void *) dest;
1706 }
1707
1708 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1709 wxGridCellAutoWrapStringRenderer *src;
1710 wxGridCellRenderer *dest;
1711 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1712 dest = (wxGridCellRenderer *) src;
1713 return (void *) dest;
1714 }
1715
1716 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1717 static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1718 PyObject * _resultobj;
1719 wxGridCellAutoWrapStringRenderer * _result;
1720 char *_kwnames[] = { NULL };
1721 char _ptemp[128];
1722
1723 self = self;
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1725 return NULL;
1726 {
1727 PyThreadState* __tstate = wxPyBeginAllowThreads();
1728 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1729
1730 wxPyEndAllowThreads(__tstate);
1731 if (PyErr_Occurred()) return NULL;
1732 } if (_result) {
1733 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1734 _resultobj = Py_BuildValue("s",_ptemp);
1735 } else {
1736 Py_INCREF(Py_None);
1737 _resultobj = Py_None;
1738 }
1739 return _resultobj;
1740 }
1741
1742 static void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject * _self) {
1743 self->SetClientObject(new wxPyOORClientData(_self));
1744 }
1745 static PyObject *_wrap_wxGridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1746 PyObject * _resultobj;
1747 wxGridCellEditor * _arg0;
1748 PyObject * _arg1;
1749 PyObject * _argo0 = 0;
1750 PyObject * _obj1 = 0;
1751 char *_kwnames[] = { "self","_self", NULL };
1752
1753 self = self;
1754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor__setOORInfo",_kwnames,&_argo0,&_obj1))
1755 return NULL;
1756 if (_argo0) {
1757 if (_argo0 == Py_None) { _arg0 = NULL; }
1758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p.");
1760 return NULL;
1761 }
1762 }
1763 {
1764 _arg1 = _obj1;
1765 }
1766 {
1767 PyThreadState* __tstate = wxPyBeginAllowThreads();
1768 wxGridCellEditor__setOORInfo(_arg0,_arg1);
1769
1770 wxPyEndAllowThreads(__tstate);
1771 if (PyErr_Occurred()) return NULL;
1772 } Py_INCREF(Py_None);
1773 _resultobj = Py_None;
1774 return _resultobj;
1775 }
1776
1777 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1778 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1779 PyObject * _resultobj;
1780 bool _result;
1781 wxGridCellEditor * _arg0;
1782 PyObject * _argo0 = 0;
1783 char *_kwnames[] = { "self", NULL };
1784
1785 self = self;
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1787 return NULL;
1788 if (_argo0) {
1789 if (_argo0 == Py_None) { _arg0 = NULL; }
1790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1792 return NULL;
1793 }
1794 }
1795 {
1796 PyThreadState* __tstate = wxPyBeginAllowThreads();
1797 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1798
1799 wxPyEndAllowThreads(__tstate);
1800 if (PyErr_Occurred()) return NULL;
1801 } _resultobj = Py_BuildValue("i",_result);
1802 return _resultobj;
1803 }
1804
1805 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1806 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1807 PyObject * _resultobj;
1808 wxControl * _result;
1809 wxGridCellEditor * _arg0;
1810 PyObject * _argo0 = 0;
1811 char *_kwnames[] = { "self", NULL };
1812
1813 self = self;
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1815 return NULL;
1816 if (_argo0) {
1817 if (_argo0 == Py_None) { _arg0 = NULL; }
1818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1820 return NULL;
1821 }
1822 }
1823 {
1824 PyThreadState* __tstate = wxPyBeginAllowThreads();
1825 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1826
1827 wxPyEndAllowThreads(__tstate);
1828 if (PyErr_Occurred()) return NULL;
1829 }{ _resultobj = wxPyMake_wxObject(_result); }
1830 return _resultobj;
1831 }
1832
1833 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1834 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject * _resultobj;
1836 wxGridCellEditor * _arg0;
1837 wxControl * _arg1;
1838 PyObject * _argo0 = 0;
1839 PyObject * _argo1 = 0;
1840 char *_kwnames[] = { "self","control", NULL };
1841
1842 self = self;
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1844 return NULL;
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1849 return NULL;
1850 }
1851 }
1852 if (_argo1) {
1853 if (_argo1 == Py_None) { _arg1 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1856 return NULL;
1857 }
1858 }
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 wxGridCellEditor_SetControl(_arg0,_arg1);
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) return NULL;
1865 } Py_INCREF(Py_None);
1866 _resultobj = Py_None;
1867 return _resultobj;
1868 }
1869
1870 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1871 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject * _resultobj;
1873 wxGridCellEditor * _arg0;
1874 wxString * _arg1;
1875 PyObject * _argo0 = 0;
1876 PyObject * _obj1 = 0;
1877 char *_kwnames[] = { "self","params", NULL };
1878
1879 self = self;
1880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1881 return NULL;
1882 if (_argo0) {
1883 if (_argo0 == Py_None) { _arg0 = NULL; }
1884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1886 return NULL;
1887 }
1888 }
1889 {
1890 _arg1 = wxString_in_helper(_obj1);
1891 if (_arg1 == NULL)
1892 return NULL;
1893 }
1894 {
1895 PyThreadState* __tstate = wxPyBeginAllowThreads();
1896 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1897
1898 wxPyEndAllowThreads(__tstate);
1899 if (PyErr_Occurred()) return NULL;
1900 } Py_INCREF(Py_None);
1901 _resultobj = Py_None;
1902 {
1903 if (_obj1)
1904 delete _arg1;
1905 }
1906 return _resultobj;
1907 }
1908
1909 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1910 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject * _resultobj;
1912 wxGridCellEditor * _arg0;
1913 PyObject * _argo0 = 0;
1914 char *_kwnames[] = { "self", NULL };
1915
1916 self = self;
1917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1918 return NULL;
1919 if (_argo0) {
1920 if (_argo0 == Py_None) { _arg0 = NULL; }
1921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1923 return NULL;
1924 }
1925 }
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 wxGridCellEditor_IncRef(_arg0);
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) return NULL;
1932 } Py_INCREF(Py_None);
1933 _resultobj = Py_None;
1934 return _resultobj;
1935 }
1936
1937 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1938 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1939 PyObject * _resultobj;
1940 wxGridCellEditor * _arg0;
1941 PyObject * _argo0 = 0;
1942 char *_kwnames[] = { "self", NULL };
1943
1944 self = self;
1945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1946 return NULL;
1947 if (_argo0) {
1948 if (_argo0 == Py_None) { _arg0 = NULL; }
1949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1951 return NULL;
1952 }
1953 }
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 wxGridCellEditor_DecRef(_arg0);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) return NULL;
1960 } Py_INCREF(Py_None);
1961 _resultobj = Py_None;
1962 return _resultobj;
1963 }
1964
1965 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1966 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1967 PyObject * _resultobj;
1968 wxGridCellEditor * _arg0;
1969 wxWindow * _arg1;
1970 wxWindowID _arg2;
1971 wxEvtHandler * _arg3;
1972 PyObject * _argo0 = 0;
1973 PyObject * _argo1 = 0;
1974 PyObject * _argo3 = 0;
1975 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
1976
1977 self = self;
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
1979 return NULL;
1980 if (_argo0) {
1981 if (_argo0 == Py_None) { _arg0 = NULL; }
1982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1984 return NULL;
1985 }
1986 }
1987 if (_argo1) {
1988 if (_argo1 == Py_None) { _arg1 = NULL; }
1989 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1991 return NULL;
1992 }
1993 }
1994 if (_argo3) {
1995 if (_argo3 == Py_None) { _arg3 = NULL; }
1996 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
1997 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1998 return NULL;
1999 }
2000 }
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) return NULL;
2007 } Py_INCREF(Py_None);
2008 _resultobj = Py_None;
2009 return _resultobj;
2010 }
2011
2012 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
2013 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2014 PyObject * _resultobj;
2015 wxGridCellEditor * _arg0;
2016 int _arg1;
2017 int _arg2;
2018 wxGrid * _arg3;
2019 PyObject * _argo0 = 0;
2020 PyObject * _argo3 = 0;
2021 char *_kwnames[] = { "self","row","col","grid", NULL };
2022
2023 self = self;
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2025 return NULL;
2026 if (_argo0) {
2027 if (_argo0 == Py_None) { _arg0 = NULL; }
2028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
2030 return NULL;
2031 }
2032 }
2033 if (_argo3) {
2034 if (_argo3 == Py_None) { _arg3 = NULL; }
2035 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2036 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2037 return NULL;
2038 }
2039 }
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) return NULL;
2046 } Py_INCREF(Py_None);
2047 _resultobj = Py_None;
2048 return _resultobj;
2049 }
2050
2051 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2052 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2053 PyObject * _resultobj;
2054 bool _result;
2055 wxGridCellEditor * _arg0;
2056 int _arg1;
2057 int _arg2;
2058 wxGrid * _arg3;
2059 PyObject * _argo0 = 0;
2060 PyObject * _argo3 = 0;
2061 char *_kwnames[] = { "self","row","col","grid", NULL };
2062
2063 self = self;
2064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2065 return NULL;
2066 if (_argo0) {
2067 if (_argo0 == Py_None) { _arg0 = NULL; }
2068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2070 return NULL;
2071 }
2072 }
2073 if (_argo3) {
2074 if (_argo3 == Py_None) { _arg3 = NULL; }
2075 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2076 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2077 return NULL;
2078 }
2079 }
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) return NULL;
2086 } _resultobj = Py_BuildValue("i",_result);
2087 return _resultobj;
2088 }
2089
2090 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2091 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2092 PyObject * _resultobj;
2093 wxGridCellEditor * _arg0;
2094 PyObject * _argo0 = 0;
2095 char *_kwnames[] = { "self", NULL };
2096
2097 self = self;
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
2099 return NULL;
2100 if (_argo0) {
2101 if (_argo0 == Py_None) { _arg0 = NULL; }
2102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2104 return NULL;
2105 }
2106 }
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
2109 wxGridCellEditor_Reset(_arg0);
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) return NULL;
2113 } Py_INCREF(Py_None);
2114 _resultobj = Py_None;
2115 return _resultobj;
2116 }
2117
2118 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2119 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject * _resultobj;
2121 wxGridCellEditor * _result;
2122 wxGridCellEditor * _arg0;
2123 PyObject * _argo0 = 0;
2124 char *_kwnames[] = { "self", NULL };
2125
2126 self = self;
2127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2128 return NULL;
2129 if (_argo0) {
2130 if (_argo0 == Py_None) { _arg0 = NULL; }
2131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2133 return NULL;
2134 }
2135 }
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
2138 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) return NULL;
2142 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
2143 return _resultobj;
2144 }
2145
2146 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2147 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject * _resultobj;
2149 wxGridCellEditor * _arg0;
2150 wxRect * _arg1;
2151 PyObject * _argo0 = 0;
2152 wxRect temp;
2153 PyObject * _obj1 = 0;
2154 char *_kwnames[] = { "self","rect", NULL };
2155
2156 self = self;
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2158 return NULL;
2159 if (_argo0) {
2160 if (_argo0 == Py_None) { _arg0 = NULL; }
2161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2163 return NULL;
2164 }
2165 }
2166 {
2167 _arg1 = &temp;
2168 if (! wxRect_helper(_obj1, &_arg1))
2169 return NULL;
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 wxGridCellEditor_SetSize(_arg0,*_arg1);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) return NULL;
2177 } Py_INCREF(Py_None);
2178 _resultobj = Py_None;
2179 return _resultobj;
2180 }
2181
2182 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2183 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject * _resultobj;
2185 wxGridCellEditor * _arg0;
2186 bool _arg1;
2187 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2188 PyObject * _argo0 = 0;
2189 int tempbool1;
2190 PyObject * _argo2 = 0;
2191 char *_kwnames[] = { "self","show","attr", NULL };
2192
2193 self = self;
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2195 return NULL;
2196 if (_argo0) {
2197 if (_argo0 == Py_None) { _arg0 = NULL; }
2198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2200 return NULL;
2201 }
2202 }
2203 _arg1 = (bool ) tempbool1;
2204 if (_argo2) {
2205 if (_argo2 == Py_None) { _arg2 = NULL; }
2206 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2207 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2208 return NULL;
2209 }
2210 }
2211 {
2212 PyThreadState* __tstate = wxPyBeginAllowThreads();
2213 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2214
2215 wxPyEndAllowThreads(__tstate);
2216 if (PyErr_Occurred()) return NULL;
2217 } Py_INCREF(Py_None);
2218 _resultobj = Py_None;
2219 return _resultobj;
2220 }
2221
2222 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2223 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject * _resultobj;
2225 wxGridCellEditor * _arg0;
2226 wxRect * _arg1;
2227 wxGridCellAttr * _arg2;
2228 PyObject * _argo0 = 0;
2229 wxRect temp;
2230 PyObject * _obj1 = 0;
2231 PyObject * _argo2 = 0;
2232 char *_kwnames[] = { "self","rectCell","attr", NULL };
2233
2234 self = self;
2235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2236 return NULL;
2237 if (_argo0) {
2238 if (_argo0 == Py_None) { _arg0 = NULL; }
2239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2241 return NULL;
2242 }
2243 }
2244 {
2245 _arg1 = &temp;
2246 if (! wxRect_helper(_obj1, &_arg1))
2247 return NULL;
2248 }
2249 if (_argo2) {
2250 if (_argo2 == Py_None) { _arg2 = NULL; }
2251 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2252 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2253 return NULL;
2254 }
2255 }
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) return NULL;
2262 } Py_INCREF(Py_None);
2263 _resultobj = Py_None;
2264 return _resultobj;
2265 }
2266
2267 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2268 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2269 PyObject * _resultobj;
2270 bool _result;
2271 wxGridCellEditor * _arg0;
2272 wxKeyEvent * _arg1;
2273 PyObject * _argo0 = 0;
2274 PyObject * _argo1 = 0;
2275 char *_kwnames[] = { "self","event", NULL };
2276
2277 self = self;
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2279 return NULL;
2280 if (_argo0) {
2281 if (_argo0 == Py_None) { _arg0 = NULL; }
2282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2284 return NULL;
2285 }
2286 }
2287 if (_argo1) {
2288 if (_argo1 == Py_None) { _arg1 = NULL; }
2289 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2290 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2291 return NULL;
2292 }
2293 }
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) return NULL;
2300 } _resultobj = Py_BuildValue("i",_result);
2301 return _resultobj;
2302 }
2303
2304 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2305 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject * _resultobj;
2307 wxGridCellEditor * _arg0;
2308 wxKeyEvent * _arg1;
2309 PyObject * _argo0 = 0;
2310 PyObject * _argo1 = 0;
2311 char *_kwnames[] = { "self","event", NULL };
2312
2313 self = self;
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2315 return NULL;
2316 if (_argo0) {
2317 if (_argo0 == Py_None) { _arg0 = NULL; }
2318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2320 return NULL;
2321 }
2322 }
2323 if (_argo1) {
2324 if (_argo1 == Py_None) { _arg1 = NULL; }
2325 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2326 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2327 return NULL;
2328 }
2329 }
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) return NULL;
2336 } Py_INCREF(Py_None);
2337 _resultobj = Py_None;
2338 return _resultobj;
2339 }
2340
2341 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2342 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject * _resultobj;
2344 wxGridCellEditor * _arg0;
2345 PyObject * _argo0 = 0;
2346 char *_kwnames[] = { "self", NULL };
2347
2348 self = self;
2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2350 return NULL;
2351 if (_argo0) {
2352 if (_argo0 == Py_None) { _arg0 = NULL; }
2353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2355 return NULL;
2356 }
2357 }
2358 {
2359 PyThreadState* __tstate = wxPyBeginAllowThreads();
2360 wxGridCellEditor_StartingClick(_arg0);
2361
2362 wxPyEndAllowThreads(__tstate);
2363 if (PyErr_Occurred()) return NULL;
2364 } Py_INCREF(Py_None);
2365 _resultobj = Py_None;
2366 return _resultobj;
2367 }
2368
2369 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2370 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2371 PyObject * _resultobj;
2372 wxGridCellEditor * _arg0;
2373 wxKeyEvent * _arg1;
2374 PyObject * _argo0 = 0;
2375 PyObject * _argo1 = 0;
2376 char *_kwnames[] = { "self","event", NULL };
2377
2378 self = self;
2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2380 return NULL;
2381 if (_argo0) {
2382 if (_argo0 == Py_None) { _arg0 = NULL; }
2383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2385 return NULL;
2386 }
2387 }
2388 if (_argo1) {
2389 if (_argo1 == Py_None) { _arg1 = NULL; }
2390 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2392 return NULL;
2393 }
2394 }
2395 {
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2398
2399 wxPyEndAllowThreads(__tstate);
2400 if (PyErr_Occurred()) return NULL;
2401 } Py_INCREF(Py_None);
2402 _resultobj = Py_None;
2403 return _resultobj;
2404 }
2405
2406 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2407 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2408 PyObject * _resultobj;
2409 wxGridCellEditor * _arg0;
2410 PyObject * _argo0 = 0;
2411 char *_kwnames[] = { "self", NULL };
2412
2413 self = self;
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2415 return NULL;
2416 if (_argo0) {
2417 if (_argo0 == Py_None) { _arg0 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2420 return NULL;
2421 }
2422 }
2423 {
2424 PyThreadState* __tstate = wxPyBeginAllowThreads();
2425 wxGridCellEditor_Destroy(_arg0);
2426
2427 wxPyEndAllowThreads(__tstate);
2428 if (PyErr_Occurred()) return NULL;
2429 } Py_INCREF(Py_None);
2430 _resultobj = Py_None;
2431 return _resultobj;
2432 }
2433
2434 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2435 wxPyGridCellEditor *src;
2436 wxGridCellEditor *dest;
2437 src = (wxPyGridCellEditor *) ptr;
2438 dest = (wxGridCellEditor *) src;
2439 return (void *) dest;
2440 }
2441
2442 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2443 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2444 PyObject * _resultobj;
2445 wxPyGridCellEditor * _result;
2446 char *_kwnames[] = { NULL };
2447 char _ptemp[128];
2448
2449 self = self;
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2451 return NULL;
2452 {
2453 PyThreadState* __tstate = wxPyBeginAllowThreads();
2454 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2455
2456 wxPyEndAllowThreads(__tstate);
2457 if (PyErr_Occurred()) return NULL;
2458 } if (_result) {
2459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2460 _resultobj = Py_BuildValue("s",_ptemp);
2461 } else {
2462 Py_INCREF(Py_None);
2463 _resultobj = Py_None;
2464 }
2465 return _resultobj;
2466 }
2467
2468 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2469 static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject * _resultobj;
2471 wxPyGridCellEditor * _arg0;
2472 PyObject * _arg1;
2473 PyObject * _arg2;
2474 PyObject * _argo0 = 0;
2475 PyObject * _obj1 = 0;
2476 PyObject * _obj2 = 0;
2477 char *_kwnames[] = { "self","self","_class", NULL };
2478
2479 self = self;
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2481 return NULL;
2482 if (_argo0) {
2483 if (_argo0 == Py_None) { _arg0 = NULL; }
2484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2486 return NULL;
2487 }
2488 }
2489 {
2490 _arg1 = _obj1;
2491 }
2492 {
2493 _arg2 = _obj2;
2494 }
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) return NULL;
2501 } Py_INCREF(Py_None);
2502 _resultobj = Py_None;
2503 return _resultobj;
2504 }
2505
2506 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2507 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject * _resultobj;
2509 wxPyGridCellEditor * _arg0;
2510 wxRect * _arg1;
2511 PyObject * _argo0 = 0;
2512 wxRect temp;
2513 PyObject * _obj1 = 0;
2514 char *_kwnames[] = { "self","rect", NULL };
2515
2516 self = self;
2517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2518 return NULL;
2519 if (_argo0) {
2520 if (_argo0 == Py_None) { _arg0 = NULL; }
2521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2523 return NULL;
2524 }
2525 }
2526 {
2527 _arg1 = &temp;
2528 if (! wxRect_helper(_obj1, &_arg1))
2529 return NULL;
2530 }
2531 {
2532 PyThreadState* __tstate = wxPyBeginAllowThreads();
2533 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2534
2535 wxPyEndAllowThreads(__tstate);
2536 if (PyErr_Occurred()) return NULL;
2537 } Py_INCREF(Py_None);
2538 _resultobj = Py_None;
2539 return _resultobj;
2540 }
2541
2542 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2543 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2544 PyObject * _resultobj;
2545 wxPyGridCellEditor * _arg0;
2546 bool _arg1;
2547 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2548 PyObject * _argo0 = 0;
2549 int tempbool1;
2550 PyObject * _argo2 = 0;
2551 char *_kwnames[] = { "self","show","attr", NULL };
2552
2553 self = self;
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2555 return NULL;
2556 if (_argo0) {
2557 if (_argo0 == Py_None) { _arg0 = NULL; }
2558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2560 return NULL;
2561 }
2562 }
2563 _arg1 = (bool ) tempbool1;
2564 if (_argo2) {
2565 if (_argo2 == Py_None) { _arg2 = NULL; }
2566 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2567 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2568 return NULL;
2569 }
2570 }
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) return NULL;
2577 } Py_INCREF(Py_None);
2578 _resultobj = Py_None;
2579 return _resultobj;
2580 }
2581
2582 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2583 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2584 PyObject * _resultobj;
2585 wxPyGridCellEditor * _arg0;
2586 wxRect * _arg1;
2587 wxGridCellAttr * _arg2;
2588 PyObject * _argo0 = 0;
2589 wxRect temp;
2590 PyObject * _obj1 = 0;
2591 PyObject * _argo2 = 0;
2592 char *_kwnames[] = { "self","rectCell","attr", NULL };
2593
2594 self = self;
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2596 return NULL;
2597 if (_argo0) {
2598 if (_argo0 == Py_None) { _arg0 = NULL; }
2599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2601 return NULL;
2602 }
2603 }
2604 {
2605 _arg1 = &temp;
2606 if (! wxRect_helper(_obj1, &_arg1))
2607 return NULL;
2608 }
2609 if (_argo2) {
2610 if (_argo2 == Py_None) { _arg2 = NULL; }
2611 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2612 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2613 return NULL;
2614 }
2615 }
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) return NULL;
2622 } Py_INCREF(Py_None);
2623 _resultobj = Py_None;
2624 return _resultobj;
2625 }
2626
2627 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2628 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2629 PyObject * _resultobj;
2630 wxPyGridCellEditor * _arg0;
2631 wxKeyEvent * _arg1;
2632 PyObject * _argo0 = 0;
2633 PyObject * _argo1 = 0;
2634 char *_kwnames[] = { "self","event", NULL };
2635
2636 self = self;
2637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2638 return NULL;
2639 if (_argo0) {
2640 if (_argo0 == Py_None) { _arg0 = NULL; }
2641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2643 return NULL;
2644 }
2645 }
2646 if (_argo1) {
2647 if (_argo1 == Py_None) { _arg1 = NULL; }
2648 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2649 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2650 return NULL;
2651 }
2652 }
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) return NULL;
2659 } Py_INCREF(Py_None);
2660 _resultobj = Py_None;
2661 return _resultobj;
2662 }
2663
2664 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2665 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2666 PyObject * _resultobj;
2667 wxPyGridCellEditor * _arg0;
2668 wxKeyEvent * _arg1;
2669 PyObject * _argo0 = 0;
2670 PyObject * _argo1 = 0;
2671 char *_kwnames[] = { "self","event", NULL };
2672
2673 self = self;
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2675 return NULL;
2676 if (_argo0) {
2677 if (_argo0 == Py_None) { _arg0 = NULL; }
2678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2680 return NULL;
2681 }
2682 }
2683 if (_argo1) {
2684 if (_argo1 == Py_None) { _arg1 = NULL; }
2685 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2686 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2687 return NULL;
2688 }
2689 }
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) return NULL;
2696 } Py_INCREF(Py_None);
2697 _resultobj = Py_None;
2698 return _resultobj;
2699 }
2700
2701 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2702 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2703 PyObject * _resultobj;
2704 wxPyGridCellEditor * _arg0;
2705 PyObject * _argo0 = 0;
2706 char *_kwnames[] = { "self", NULL };
2707
2708 self = self;
2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2710 return NULL;
2711 if (_argo0) {
2712 if (_argo0 == Py_None) { _arg0 = NULL; }
2713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2715 return NULL;
2716 }
2717 }
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
2720 wxPyGridCellEditor_base_StartingClick(_arg0);
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) return NULL;
2724 } Py_INCREF(Py_None);
2725 _resultobj = Py_None;
2726 return _resultobj;
2727 }
2728
2729 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2730 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject * _resultobj;
2732 wxPyGridCellEditor * _arg0;
2733 wxKeyEvent * _arg1;
2734 PyObject * _argo0 = 0;
2735 PyObject * _argo1 = 0;
2736 char *_kwnames[] = { "self","event", NULL };
2737
2738 self = self;
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2740 return NULL;
2741 if (_argo0) {
2742 if (_argo0 == Py_None) { _arg0 = NULL; }
2743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2745 return NULL;
2746 }
2747 }
2748 if (_argo1) {
2749 if (_argo1 == Py_None) { _arg1 = NULL; }
2750 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2751 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2752 return NULL;
2753 }
2754 }
2755 {
2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
2757 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2758
2759 wxPyEndAllowThreads(__tstate);
2760 if (PyErr_Occurred()) return NULL;
2761 } Py_INCREF(Py_None);
2762 _resultobj = Py_None;
2763 return _resultobj;
2764 }
2765
2766 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2767 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2768 PyObject * _resultobj;
2769 wxPyGridCellEditor * _arg0;
2770 PyObject * _argo0 = 0;
2771 char *_kwnames[] = { "self", NULL };
2772
2773 self = self;
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2775 return NULL;
2776 if (_argo0) {
2777 if (_argo0 == Py_None) { _arg0 = NULL; }
2778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2780 return NULL;
2781 }
2782 }
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 wxPyGridCellEditor_base_Destroy(_arg0);
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) return NULL;
2789 } Py_INCREF(Py_None);
2790 _resultobj = Py_None;
2791 return _resultobj;
2792 }
2793
2794 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2795 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject * _resultobj;
2797 wxPyGridCellEditor * _arg0;
2798 wxString * _arg1;
2799 PyObject * _argo0 = 0;
2800 PyObject * _obj1 = 0;
2801 char *_kwnames[] = { "self","params", NULL };
2802
2803 self = self;
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2805 return NULL;
2806 if (_argo0) {
2807 if (_argo0 == Py_None) { _arg0 = NULL; }
2808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2810 return NULL;
2811 }
2812 }
2813 {
2814 _arg1 = wxString_in_helper(_obj1);
2815 if (_arg1 == NULL)
2816 return NULL;
2817 }
2818 {
2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
2820 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2821
2822 wxPyEndAllowThreads(__tstate);
2823 if (PyErr_Occurred()) return NULL;
2824 } Py_INCREF(Py_None);
2825 _resultobj = Py_None;
2826 {
2827 if (_obj1)
2828 delete _arg1;
2829 }
2830 return _resultobj;
2831 }
2832
2833 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2834 wxGridCellTextEditor *src;
2835 wxGridCellEditor *dest;
2836 src = (wxGridCellTextEditor *) ptr;
2837 dest = (wxGridCellEditor *) src;
2838 return (void *) dest;
2839 }
2840
2841 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2842 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject * _resultobj;
2844 wxGridCellTextEditor * _result;
2845 char *_kwnames[] = { NULL };
2846 char _ptemp[128];
2847
2848 self = self;
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2850 return NULL;
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) return NULL;
2857 } if (_result) {
2858 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2859 _resultobj = Py_BuildValue("s",_ptemp);
2860 } else {
2861 Py_INCREF(Py_None);
2862 _resultobj = Py_None;
2863 }
2864 return _resultobj;
2865 }
2866
2867 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2868 wxGridCellNumberEditor *src;
2869 wxGridCellTextEditor *dest;
2870 src = (wxGridCellNumberEditor *) ptr;
2871 dest = (wxGridCellTextEditor *) src;
2872 return (void *) dest;
2873 }
2874
2875 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2876 wxGridCellNumberEditor *src;
2877 wxGridCellEditor *dest;
2878 src = (wxGridCellNumberEditor *) ptr;
2879 dest = (wxGridCellEditor *) src;
2880 return (void *) dest;
2881 }
2882
2883 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2884 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2885 PyObject * _resultobj;
2886 wxGridCellNumberEditor * _result;
2887 int _arg0 = (int ) -1;
2888 int _arg1 = (int ) -1;
2889 char *_kwnames[] = { "min","max", NULL };
2890 char _ptemp[128];
2891
2892 self = self;
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2894 return NULL;
2895 {
2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
2897 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2898
2899 wxPyEndAllowThreads(__tstate);
2900 if (PyErr_Occurred()) return NULL;
2901 } if (_result) {
2902 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2903 _resultobj = Py_BuildValue("s",_ptemp);
2904 } else {
2905 Py_INCREF(Py_None);
2906 _resultobj = Py_None;
2907 }
2908 return _resultobj;
2909 }
2910
2911 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2912 wxGridCellFloatEditor *src;
2913 wxGridCellTextEditor *dest;
2914 src = (wxGridCellFloatEditor *) ptr;
2915 dest = (wxGridCellTextEditor *) src;
2916 return (void *) dest;
2917 }
2918
2919 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2920 wxGridCellFloatEditor *src;
2921 wxGridCellEditor *dest;
2922 src = (wxGridCellFloatEditor *) ptr;
2923 dest = (wxGridCellEditor *) src;
2924 return (void *) dest;
2925 }
2926
2927 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2928 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2929 PyObject * _resultobj;
2930 wxGridCellFloatEditor * _result;
2931 char *_kwnames[] = { NULL };
2932 char _ptemp[128];
2933
2934 self = self;
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2936 return NULL;
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) return NULL;
2943 } if (_result) {
2944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2945 _resultobj = Py_BuildValue("s",_ptemp);
2946 } else {
2947 Py_INCREF(Py_None);
2948 _resultobj = Py_None;
2949 }
2950 return _resultobj;
2951 }
2952
2953 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2954 wxGridCellBoolEditor *src;
2955 wxGridCellEditor *dest;
2956 src = (wxGridCellBoolEditor *) ptr;
2957 dest = (wxGridCellEditor *) src;
2958 return (void *) dest;
2959 }
2960
2961 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2962 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2963 PyObject * _resultobj;
2964 wxGridCellBoolEditor * _result;
2965 char *_kwnames[] = { NULL };
2966 char _ptemp[128];
2967
2968 self = self;
2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2970 return NULL;
2971 {
2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
2973 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) return NULL;
2977 } if (_result) {
2978 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
2979 _resultobj = Py_BuildValue("s",_ptemp);
2980 } else {
2981 Py_INCREF(Py_None);
2982 _resultobj = Py_None;
2983 }
2984 return _resultobj;
2985 }
2986
2987 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
2988 wxGridCellChoiceEditor *src;
2989 wxGridCellEditor *dest;
2990 src = (wxGridCellChoiceEditor *) ptr;
2991 dest = (wxGridCellEditor *) src;
2992 return (void *) dest;
2993 }
2994
2995 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2996 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject * _resultobj;
2998 wxGridCellChoiceEditor * _result;
2999 int _arg0 = (int ) 0;
3000 wxString * _arg1 = (wxString *) NULL;
3001 bool _arg2 = (bool ) FALSE;
3002 PyObject * _obj1 = 0;
3003 int tempbool2 = (int) FALSE;
3004 char *_kwnames[] = { "choices","allowOthers", NULL };
3005 char _ptemp[128];
3006
3007 self = self;
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
3009 return NULL;
3010 if (_obj1)
3011 {
3012 _arg1 = wxString_LIST_helper(_obj1);
3013 if (_arg1 == NULL) {
3014 return NULL;
3015 }
3016 }
3017 _arg2 = (bool ) tempbool2;
3018 {
3019 if (_obj1) {
3020 _arg0 = PyList_Size(_obj1);
3021 }
3022 else {
3023 _arg0 = 0;
3024 }
3025 }
3026 {
3027 PyThreadState* __tstate = wxPyBeginAllowThreads();
3028 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
3029
3030 wxPyEndAllowThreads(__tstate);
3031 if (PyErr_Occurred()) return NULL;
3032 } if (_result) {
3033 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
3034 _resultobj = Py_BuildValue("s",_ptemp);
3035 } else {
3036 Py_INCREF(Py_None);
3037 _resultobj = Py_None;
3038 }
3039 {
3040 delete [] _arg1;
3041 }
3042 return _resultobj;
3043 }
3044
3045 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
3046 wxGridCellEnumEditor *src;
3047 wxGridCellChoiceEditor *dest;
3048 src = (wxGridCellEnumEditor *) ptr;
3049 dest = (wxGridCellChoiceEditor *) src;
3050 return (void *) dest;
3051 }
3052
3053 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
3054 wxGridCellEnumEditor *src;
3055 wxGridCellEditor *dest;
3056 src = (wxGridCellEnumEditor *) ptr;
3057 dest = (wxGridCellEditor *) src;
3058 return (void *) dest;
3059 }
3060
3061 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3062 static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3063 PyObject * _resultobj;
3064 wxGridCellEnumEditor * _result;
3065 wxString * _arg0 = (wxString *) &wxPyEmptyString;
3066 PyObject * _obj0 = 0;
3067 char *_kwnames[] = { "choices", NULL };
3068 char _ptemp[128];
3069
3070 self = self;
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
3072 return NULL;
3073 if (_obj0)
3074 {
3075 _arg0 = wxString_LIST_helper(_obj0);
3076 if (_arg0 == NULL) {
3077 return NULL;
3078 }
3079 }
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
3083
3084 wxPyEndAllowThreads(__tstate);
3085 if (PyErr_Occurred()) return NULL;
3086 } if (_result) {
3087 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
3088 _resultobj = Py_BuildValue("s",_ptemp);
3089 } else {
3090 Py_INCREF(Py_None);
3091 _resultobj = Py_None;
3092 }
3093 {
3094 delete [] _arg0;
3095 }
3096 return _resultobj;
3097 }
3098
3099 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
3100 wxGridCellAutoWrapStringEditor *src;
3101 wxGridCellTextEditor *dest;
3102 src = (wxGridCellAutoWrapStringEditor *) ptr;
3103 dest = (wxGridCellTextEditor *) src;
3104 return (void *) dest;
3105 }
3106
3107 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3108 wxGridCellAutoWrapStringEditor *src;
3109 wxGridCellEditor *dest;
3110 src = (wxGridCellAutoWrapStringEditor *) ptr;
3111 dest = (wxGridCellEditor *) src;
3112 return (void *) dest;
3113 }
3114
3115 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3116 static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3117 PyObject * _resultobj;
3118 wxGridCellAutoWrapStringEditor * _result;
3119 char *_kwnames[] = { NULL };
3120 char _ptemp[128];
3121
3122 self = self;
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3124 return NULL;
3125 {
3126 PyThreadState* __tstate = wxPyBeginAllowThreads();
3127 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3128
3129 wxPyEndAllowThreads(__tstate);
3130 if (PyErr_Occurred()) return NULL;
3131 } if (_result) {
3132 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3133 _resultobj = Py_BuildValue("s",_ptemp);
3134 } else {
3135 Py_INCREF(Py_None);
3136 _resultobj = Py_None;
3137 }
3138 return _resultobj;
3139 }
3140
3141 static void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject * _self) {
3142 self->SetClientObject(new wxPyOORClientData(_self));
3143 }
3144 static PyObject *_wrap_wxGridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3145 PyObject * _resultobj;
3146 wxGridCellAttr * _arg0;
3147 PyObject * _arg1;
3148 PyObject * _argo0 = 0;
3149 PyObject * _obj1 = 0;
3150 char *_kwnames[] = { "self","_self", NULL };
3151
3152 self = self;
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr__setOORInfo",_kwnames,&_argo0,&_obj1))
3154 return NULL;
3155 if (_argo0) {
3156 if (_argo0 == Py_None) { _arg0 = NULL; }
3157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3159 return NULL;
3160 }
3161 }
3162 {
3163 _arg1 = _obj1;
3164 }
3165 {
3166 PyThreadState* __tstate = wxPyBeginAllowThreads();
3167 wxGridCellAttr__setOORInfo(_arg0,_arg1);
3168
3169 wxPyEndAllowThreads(__tstate);
3170 if (PyErr_Occurred()) return NULL;
3171 } Py_INCREF(Py_None);
3172 _resultobj = Py_None;
3173 return _resultobj;
3174 }
3175
3176 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3177 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject * _resultobj;
3179 wxGridCellAttr * _result;
3180 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3181 PyObject * _argo0 = 0;
3182 char *_kwnames[] = { "attrDefault", NULL };
3183 char _ptemp[128];
3184
3185 self = self;
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
3187 return NULL;
3188 if (_argo0) {
3189 if (_argo0 == Py_None) { _arg0 = NULL; }
3190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3192 return NULL;
3193 }
3194 }
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) return NULL;
3201 } if (_result) {
3202 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3203 _resultobj = Py_BuildValue("s",_ptemp);
3204 } else {
3205 Py_INCREF(Py_None);
3206 _resultobj = Py_None;
3207 }
3208 return _resultobj;
3209 }
3210
3211 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3212 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3213 PyObject * _resultobj;
3214 wxGridCellAttr * _result;
3215 wxGridCellAttr * _arg0;
3216 PyObject * _argo0 = 0;
3217 char *_kwnames[] = { "self", NULL };
3218
3219 self = self;
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3221 return NULL;
3222 if (_argo0) {
3223 if (_argo0 == Py_None) { _arg0 = NULL; }
3224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3226 return NULL;
3227 }
3228 }
3229 {
3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
3231 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3232
3233 wxPyEndAllowThreads(__tstate);
3234 if (PyErr_Occurred()) return NULL;
3235 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
3236 return _resultobj;
3237 }
3238
3239 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3240 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject * _resultobj;
3242 wxGridCellAttr * _arg0;
3243 wxGridCellAttr * _arg1;
3244 PyObject * _argo0 = 0;
3245 PyObject * _argo1 = 0;
3246 char *_kwnames[] = { "self","mergefrom", NULL };
3247
3248 self = self;
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3250 return NULL;
3251 if (_argo0) {
3252 if (_argo0 == Py_None) { _arg0 = NULL; }
3253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3255 return NULL;
3256 }
3257 }
3258 if (_argo1) {
3259 if (_argo1 == Py_None) { _arg1 = NULL; }
3260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3262 return NULL;
3263 }
3264 }
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 wxGridCellAttr_MergeWith(_arg0,_arg1);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) return NULL;
3271 } Py_INCREF(Py_None);
3272 _resultobj = Py_None;
3273 return _resultobj;
3274 }
3275
3276 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3277 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject * _resultobj;
3279 wxGridCellAttr * _arg0;
3280 PyObject * _argo0 = 0;
3281 char *_kwnames[] = { "self", NULL };
3282
3283 self = self;
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3285 return NULL;
3286 if (_argo0) {
3287 if (_argo0 == Py_None) { _arg0 = NULL; }
3288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3290 return NULL;
3291 }
3292 }
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 wxGridCellAttr_IncRef(_arg0);
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) return NULL;
3299 } Py_INCREF(Py_None);
3300 _resultobj = Py_None;
3301 return _resultobj;
3302 }
3303
3304 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3305 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject * _resultobj;
3307 wxGridCellAttr * _arg0;
3308 PyObject * _argo0 = 0;
3309 char *_kwnames[] = { "self", NULL };
3310
3311 self = self;
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3313 return NULL;
3314 if (_argo0) {
3315 if (_argo0 == Py_None) { _arg0 = NULL; }
3316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3318 return NULL;
3319 }
3320 }
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 wxGridCellAttr_DecRef(_arg0);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) return NULL;
3327 } Py_INCREF(Py_None);
3328 _resultobj = Py_None;
3329 return _resultobj;
3330 }
3331
3332 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3333 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3334 PyObject * _resultobj;
3335 wxGridCellAttr * _arg0;
3336 wxColour * _arg1;
3337 PyObject * _argo0 = 0;
3338 wxColour temp;
3339 PyObject * _obj1 = 0;
3340 char *_kwnames[] = { "self","colText", NULL };
3341
3342 self = self;
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3344 return NULL;
3345 if (_argo0) {
3346 if (_argo0 == Py_None) { _arg0 = NULL; }
3347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3349 return NULL;
3350 }
3351 }
3352 {
3353 _arg1 = &temp;
3354 if (! wxColour_helper(_obj1, &_arg1))
3355 return NULL;
3356 }
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 wxGridCellAttr_SetTextColour(_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_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3369 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject * _resultobj;
3371 wxGridCellAttr * _arg0;
3372 wxColour * _arg1;
3373 PyObject * _argo0 = 0;
3374 wxColour temp;
3375 PyObject * _obj1 = 0;
3376 char *_kwnames[] = { "self","colBack", NULL };
3377
3378 self = self;
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3380 return NULL;
3381 if (_argo0) {
3382 if (_argo0 == Py_None) { _arg0 = NULL; }
3383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3385 return NULL;
3386 }
3387 }
3388 {
3389 _arg1 = &temp;
3390 if (! wxColour_helper(_obj1, &_arg1))
3391 return NULL;
3392 }
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3396
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) return NULL;
3399 } Py_INCREF(Py_None);
3400 _resultobj = Py_None;
3401 return _resultobj;
3402 }
3403
3404 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3405 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject * _resultobj;
3407 wxGridCellAttr * _arg0;
3408 wxFont * _arg1;
3409 PyObject * _argo0 = 0;
3410 PyObject * _argo1 = 0;
3411 char *_kwnames[] = { "self","font", NULL };
3412
3413 self = self;
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3415 return NULL;
3416 if (_argo0) {
3417 if (_argo0 == Py_None) { _arg0 = NULL; }
3418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3420 return NULL;
3421 }
3422 }
3423 if (_argo1) {
3424 if (_argo1 == Py_None) { _arg1 = NULL; }
3425 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3426 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3427 return NULL;
3428 }
3429 }
3430 {
3431 PyThreadState* __tstate = wxPyBeginAllowThreads();
3432 wxGridCellAttr_SetFont(_arg0,*_arg1);
3433
3434 wxPyEndAllowThreads(__tstate);
3435 if (PyErr_Occurred()) return NULL;
3436 } Py_INCREF(Py_None);
3437 _resultobj = Py_None;
3438 return _resultobj;
3439 }
3440
3441 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3442 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3443 PyObject * _resultobj;
3444 wxGridCellAttr * _arg0;
3445 int _arg1;
3446 int _arg2;
3447 PyObject * _argo0 = 0;
3448 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3449
3450 self = self;
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
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_SetAlignment. Expected _wxGridCellAttr_p.");
3457 return NULL;
3458 }
3459 }
3460 {
3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
3462 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
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_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3472 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject * _resultobj;
3474 wxGridCellAttr * _arg0;
3475 bool _arg1 = (bool ) TRUE;
3476 PyObject * _argo0 = 0;
3477 int tempbool1 = (int) TRUE;
3478 char *_kwnames[] = { "self","isReadOnly", NULL };
3479
3480 self = self;
3481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3482 return NULL;
3483 if (_argo0) {
3484 if (_argo0 == Py_None) { _arg0 = NULL; }
3485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3487 return NULL;
3488 }
3489 }
3490 _arg1 = (bool ) tempbool1;
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) return NULL;
3497 } Py_INCREF(Py_None);
3498 _resultobj = Py_None;
3499 return _resultobj;
3500 }
3501
3502 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3503 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject * _resultobj;
3505 wxGridCellAttr * _arg0;
3506 wxGridCellRenderer * _arg1;
3507 PyObject * _argo0 = 0;
3508 PyObject * _argo1 = 0;
3509 char *_kwnames[] = { "self","renderer", NULL };
3510
3511 self = self;
3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3513 return NULL;
3514 if (_argo0) {
3515 if (_argo0 == Py_None) { _arg0 = NULL; }
3516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3518 return NULL;
3519 }
3520 }
3521 if (_argo1) {
3522 if (_argo1 == Py_None) { _arg1 = NULL; }
3523 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3524 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3525 return NULL;
3526 }
3527 }
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) return NULL;
3534 } Py_INCREF(Py_None);
3535 _resultobj = Py_None;
3536 return _resultobj;
3537 }
3538
3539 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3540 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject * _resultobj;
3542 wxGridCellAttr * _arg0;
3543 wxGridCellEditor * _arg1;
3544 PyObject * _argo0 = 0;
3545 PyObject * _argo1 = 0;
3546 char *_kwnames[] = { "self","editor", NULL };
3547
3548 self = self;
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3550 return NULL;
3551 if (_argo0) {
3552 if (_argo0 == Py_None) { _arg0 = NULL; }
3553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3555 return NULL;
3556 }
3557 }
3558 if (_argo1) {
3559 if (_argo1 == Py_None) { _arg1 = NULL; }
3560 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3561 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3562 return NULL;
3563 }
3564 }
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 wxGridCellAttr_SetEditor(_arg0,_arg1);
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) return NULL;
3571 } Py_INCREF(Py_None);
3572 _resultobj = Py_None;
3573 return _resultobj;
3574 }
3575
3576 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3577 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject * _resultobj;
3579 wxGridCellAttr * _arg0;
3580 wxGridCellAttr::wxAttrKind _arg1;
3581 PyObject * _argo0 = 0;
3582 char *_kwnames[] = { "self","kind", NULL };
3583
3584 self = self;
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3586 return NULL;
3587 if (_argo0) {
3588 if (_argo0 == Py_None) { _arg0 = NULL; }
3589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3591 return NULL;
3592 }
3593 }
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 wxGridCellAttr_SetKind(_arg0,_arg1);
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) return NULL;
3600 } Py_INCREF(Py_None);
3601 _resultobj = Py_None;
3602 return _resultobj;
3603 }
3604
3605 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3606 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3607 PyObject * _resultobj;
3608 bool _result;
3609 wxGridCellAttr * _arg0;
3610 PyObject * _argo0 = 0;
3611 char *_kwnames[] = { "self", NULL };
3612
3613 self = self;
3614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3615 return NULL;
3616 if (_argo0) {
3617 if (_argo0 == Py_None) { _arg0 = NULL; }
3618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3620 return NULL;
3621 }
3622 }
3623 {
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3626
3627 wxPyEndAllowThreads(__tstate);
3628 if (PyErr_Occurred()) return NULL;
3629 } _resultobj = Py_BuildValue("i",_result);
3630 return _resultobj;
3631 }
3632
3633 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3634 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3635 PyObject * _resultobj;
3636 bool _result;
3637 wxGridCellAttr * _arg0;
3638 PyObject * _argo0 = 0;
3639 char *_kwnames[] = { "self", NULL };
3640
3641 self = self;
3642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3643 return NULL;
3644 if (_argo0) {
3645 if (_argo0 == Py_None) { _arg0 = NULL; }
3646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3648 return NULL;
3649 }
3650 }
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) return NULL;
3657 } _resultobj = Py_BuildValue("i",_result);
3658 return _resultobj;
3659 }
3660
3661 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3662 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject * _resultobj;
3664 bool _result;
3665 wxGridCellAttr * _arg0;
3666 PyObject * _argo0 = 0;
3667 char *_kwnames[] = { "self", NULL };
3668
3669 self = self;
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3671 return NULL;
3672 if (_argo0) {
3673 if (_argo0 == Py_None) { _arg0 = NULL; }
3674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3676 return NULL;
3677 }
3678 }
3679 {
3680 PyThreadState* __tstate = wxPyBeginAllowThreads();
3681 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3682
3683 wxPyEndAllowThreads(__tstate);
3684 if (PyErr_Occurred()) return NULL;
3685 } _resultobj = Py_BuildValue("i",_result);
3686 return _resultobj;
3687 }
3688
3689 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3690 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3691 PyObject * _resultobj;
3692 bool _result;
3693 wxGridCellAttr * _arg0;
3694 PyObject * _argo0 = 0;
3695 char *_kwnames[] = { "self", NULL };
3696
3697 self = self;
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3699 return NULL;
3700 if (_argo0) {
3701 if (_argo0 == Py_None) { _arg0 = NULL; }
3702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3704 return NULL;
3705 }
3706 }
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3710
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) return NULL;
3713 } _resultobj = Py_BuildValue("i",_result);
3714 return _resultobj;
3715 }
3716
3717 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3718 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject * _resultobj;
3720 bool _result;
3721 wxGridCellAttr * _arg0;
3722 PyObject * _argo0 = 0;
3723 char *_kwnames[] = { "self", NULL };
3724
3725 self = self;
3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3727 return NULL;
3728 if (_argo0) {
3729 if (_argo0 == Py_None) { _arg0 = NULL; }
3730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3732 return NULL;
3733 }
3734 }
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) return NULL;
3741 } _resultobj = Py_BuildValue("i",_result);
3742 return _resultobj;
3743 }
3744
3745 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3746 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject * _resultobj;
3748 bool _result;
3749 wxGridCellAttr * _arg0;
3750 PyObject * _argo0 = 0;
3751 char *_kwnames[] = { "self", NULL };
3752
3753 self = self;
3754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3755 return NULL;
3756 if (_argo0) {
3757 if (_argo0 == Py_None) { _arg0 = NULL; }
3758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3760 return NULL;
3761 }
3762 }
3763 {
3764 PyThreadState* __tstate = wxPyBeginAllowThreads();
3765 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3766
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) return NULL;
3769 } _resultobj = Py_BuildValue("i",_result);
3770 return _resultobj;
3771 }
3772
3773 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3774 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject * _resultobj;
3776 bool _result;
3777 wxGridCellAttr * _arg0;
3778 PyObject * _argo0 = 0;
3779 char *_kwnames[] = { "self", NULL };
3780
3781 self = self;
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3783 return NULL;
3784 if (_argo0) {
3785 if (_argo0 == Py_None) { _arg0 = NULL; }
3786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3788 return NULL;
3789 }
3790 }
3791 {
3792 PyThreadState* __tstate = wxPyBeginAllowThreads();
3793 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3794
3795 wxPyEndAllowThreads(__tstate);
3796 if (PyErr_Occurred()) return NULL;
3797 } _resultobj = Py_BuildValue("i",_result);
3798 return _resultobj;
3799 }
3800
3801 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3802 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject * _resultobj;
3804 wxColour * _result;
3805 wxGridCellAttr * _arg0;
3806 PyObject * _argo0 = 0;
3807 char *_kwnames[] = { "self", NULL };
3808 char _ptemp[128];
3809
3810 self = self;
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3812 return NULL;
3813 if (_argo0) {
3814 if (_argo0 == Py_None) { _arg0 = NULL; }
3815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3817 return NULL;
3818 }
3819 }
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) return NULL;
3826 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3827 _resultobj = Py_BuildValue("s",_ptemp);
3828 return _resultobj;
3829 }
3830
3831 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3832 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3833 PyObject * _resultobj;
3834 wxColour * _result;
3835 wxGridCellAttr * _arg0;
3836 PyObject * _argo0 = 0;
3837 char *_kwnames[] = { "self", NULL };
3838 char _ptemp[128];
3839
3840 self = self;
3841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3842 return NULL;
3843 if (_argo0) {
3844 if (_argo0 == Py_None) { _arg0 = NULL; }
3845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3847 return NULL;
3848 }
3849 }
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) return NULL;
3856 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3857 _resultobj = Py_BuildValue("s",_ptemp);
3858 return _resultobj;
3859 }
3860
3861 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3862 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject * _resultobj;
3864 wxFont * _result;
3865 wxGridCellAttr * _arg0;
3866 PyObject * _argo0 = 0;
3867 char *_kwnames[] = { "self", NULL };
3868 char _ptemp[128];
3869
3870 self = self;
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3872 return NULL;
3873 if (_argo0) {
3874 if (_argo0 == Py_None) { _arg0 = NULL; }
3875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3877 return NULL;
3878 }
3879 }
3880 {
3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
3882 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) return NULL;
3886 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
3887 _resultobj = Py_BuildValue("s",_ptemp);
3888 return _resultobj;
3889 }
3890
3891 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3892 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3893 PyObject * _resultobj;
3894 wxGridCellAttr * _arg0;
3895 int * _arg1;
3896 int temp;
3897 int * _arg2;
3898 int temp0;
3899 PyObject * _argo0 = 0;
3900 char *_kwnames[] = { "self", NULL };
3901
3902 self = self;
3903 {
3904 _arg1 = &temp;
3905 }
3906 {
3907 _arg2 = &temp0;
3908 }
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3910 return NULL;
3911 if (_argo0) {
3912 if (_argo0 == Py_None) { _arg0 = NULL; }
3913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3915 return NULL;
3916 }
3917 }
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) return NULL;
3924 } Py_INCREF(Py_None);
3925 _resultobj = Py_None;
3926 {
3927 PyObject *o;
3928 o = PyInt_FromLong((long) (*_arg1));
3929 _resultobj = t_output_helper(_resultobj, o);
3930 }
3931 {
3932 PyObject *o;
3933 o = PyInt_FromLong((long) (*_arg2));
3934 _resultobj = t_output_helper(_resultobj, o);
3935 }
3936 return _resultobj;
3937 }
3938
3939 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3940 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject * _resultobj;
3942 wxGridCellRenderer * _result;
3943 wxGridCellAttr * _arg0;
3944 wxGrid * _arg1;
3945 int _arg2;
3946 int _arg3;
3947 PyObject * _argo0 = 0;
3948 PyObject * _argo1 = 0;
3949 char *_kwnames[] = { "self","grid","row","col", NULL };
3950
3951 self = self;
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3953 return NULL;
3954 if (_argo0) {
3955 if (_argo0 == Py_None) { _arg0 = NULL; }
3956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3958 return NULL;
3959 }
3960 }
3961 if (_argo1) {
3962 if (_argo1 == Py_None) { _arg1 = NULL; }
3963 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
3964 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3965 return NULL;
3966 }
3967 }
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) return NULL;
3974 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
3975 return _resultobj;
3976 }
3977
3978 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3979 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject * _resultobj;
3981 wxGridCellEditor * _result;
3982 wxGridCellAttr * _arg0;
3983 wxGrid * _arg1;
3984 int _arg2;
3985 int _arg3;
3986 PyObject * _argo0 = 0;
3987 PyObject * _argo1 = 0;
3988 char *_kwnames[] = { "self","grid","row","col", NULL };
3989
3990 self = self;
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3992 return NULL;
3993 if (_argo0) {
3994 if (_argo0 == Py_None) { _arg0 = NULL; }
3995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3997 return NULL;
3998 }
3999 }
4000 if (_argo1) {
4001 if (_argo1 == Py_None) { _arg1 = NULL; }
4002 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4003 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4004 return NULL;
4005 }
4006 }
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) return NULL;
4013 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
4014 return _resultobj;
4015 }
4016
4017 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4018 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4019 PyObject * _resultobj;
4020 bool _result;
4021 wxGridCellAttr * _arg0;
4022 PyObject * _argo0 = 0;
4023 char *_kwnames[] = { "self", NULL };
4024
4025 self = self;
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
4027 return NULL;
4028 if (_argo0) {
4029 if (_argo0 == Py_None) { _arg0 = NULL; }
4030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4032 return NULL;
4033 }
4034 }
4035 {
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) return NULL;
4041 } _resultobj = Py_BuildValue("i",_result);
4042 return _resultobj;
4043 }
4044
4045 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4046 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject * _resultobj;
4048 wxGridCellAttr * _arg0;
4049 wxGridCellAttr * _arg1;
4050 PyObject * _argo0 = 0;
4051 PyObject * _argo1 = 0;
4052 char *_kwnames[] = { "self","defAttr", NULL };
4053
4054 self = self;
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
4056 return NULL;
4057 if (_argo0) {
4058 if (_argo0 == Py_None) { _arg0 = NULL; }
4059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4061 return NULL;
4062 }
4063 }
4064 if (_argo1) {
4065 if (_argo1 == Py_None) { _arg1 = NULL; }
4066 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4067 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4068 return NULL;
4069 }
4070 }
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) return NULL;
4077 } Py_INCREF(Py_None);
4078 _resultobj = Py_None;
4079 return _resultobj;
4080 }
4081
4082 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4083 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4084 PyObject * _resultobj;
4085 wxGridCellAttrProvider * _result;
4086 char *_kwnames[] = { NULL };
4087 char _ptemp[128];
4088
4089 self = self;
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
4091 return NULL;
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) return NULL;
4098 } if (_result) {
4099 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4100 _resultobj = Py_BuildValue("s",_ptemp);
4101 } else {
4102 Py_INCREF(Py_None);
4103 _resultobj = Py_None;
4104 }
4105 return _resultobj;
4106 }
4107
4108 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject * _self) {
4109 self->SetClientObject(new wxPyOORClientData(_self));
4110 }
4111 static PyObject *_wrap_wxGridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject * _resultobj;
4113 wxGridCellAttrProvider * _arg0;
4114 PyObject * _arg1;
4115 PyObject * _argo0 = 0;
4116 PyObject * _obj1 = 0;
4117 char *_kwnames[] = { "self","_self", NULL };
4118
4119 self = self;
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames,&_argo0,&_obj1))
4121 return NULL;
4122 if (_argo0) {
4123 if (_argo0 == Py_None) { _arg0 = NULL; }
4124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4126 return NULL;
4127 }
4128 }
4129 {
4130 _arg1 = _obj1;
4131 }
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 wxGridCellAttrProvider__setOORInfo(_arg0,_arg1);
4135
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) return NULL;
4138 } Py_INCREF(Py_None);
4139 _resultobj = Py_None;
4140 return _resultobj;
4141 }
4142
4143 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4144 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4145 PyObject * _resultobj;
4146 wxGridCellAttr * _result;
4147 wxGridCellAttrProvider * _arg0;
4148 int _arg1;
4149 int _arg2;
4150 wxGridCellAttr::wxAttrKind _arg3;
4151 PyObject * _argo0 = 0;
4152 char *_kwnames[] = { "self","row","col","kind", NULL };
4153
4154 self = self;
4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4156 return NULL;
4157 if (_argo0) {
4158 if (_argo0 == Py_None) { _arg0 = NULL; }
4159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4161 return NULL;
4162 }
4163 }
4164 {
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) return NULL;
4170 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4171 return _resultobj;
4172 }
4173
4174 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4175 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4176 PyObject * _resultobj;
4177 wxGridCellAttrProvider * _arg0;
4178 wxGridCellAttr * _arg1;
4179 int _arg2;
4180 int _arg3;
4181 PyObject * _argo0 = 0;
4182 PyObject * _argo1 = 0;
4183 char *_kwnames[] = { "self","attr","row","col", NULL };
4184
4185 self = self;
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4187 return NULL;
4188 if (_argo0) {
4189 if (_argo0 == Py_None) { _arg0 = NULL; }
4190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4192 return NULL;
4193 }
4194 }
4195 if (_argo1) {
4196 if (_argo1 == Py_None) { _arg1 = NULL; }
4197 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4198 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4199 return NULL;
4200 }
4201 }
4202 {
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4205
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) return NULL;
4208 } Py_INCREF(Py_None);
4209 _resultobj = Py_None;
4210 return _resultobj;
4211 }
4212
4213 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4214 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject * _resultobj;
4216 wxGridCellAttrProvider * _arg0;
4217 wxGridCellAttr * _arg1;
4218 int _arg2;
4219 PyObject * _argo0 = 0;
4220 PyObject * _argo1 = 0;
4221 char *_kwnames[] = { "self","attr","row", NULL };
4222
4223 self = self;
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4225 return NULL;
4226 if (_argo0) {
4227 if (_argo0 == Py_None) { _arg0 = NULL; }
4228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4230 return NULL;
4231 }
4232 }
4233 if (_argo1) {
4234 if (_argo1 == Py_None) { _arg1 = NULL; }
4235 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4236 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4237 return NULL;
4238 }
4239 }
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) return NULL;
4246 } Py_INCREF(Py_None);
4247 _resultobj = Py_None;
4248 return _resultobj;
4249 }
4250
4251 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4252 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject * _resultobj;
4254 wxGridCellAttrProvider * _arg0;
4255 wxGridCellAttr * _arg1;
4256 int _arg2;
4257 PyObject * _argo0 = 0;
4258 PyObject * _argo1 = 0;
4259 char *_kwnames[] = { "self","attr","col", NULL };
4260
4261 self = self;
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4263 return NULL;
4264 if (_argo0) {
4265 if (_argo0 == Py_None) { _arg0 = NULL; }
4266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4268 return NULL;
4269 }
4270 }
4271 if (_argo1) {
4272 if (_argo1 == Py_None) { _arg1 = NULL; }
4273 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4274 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4275 return NULL;
4276 }
4277 }
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) return NULL;
4284 } Py_INCREF(Py_None);
4285 _resultobj = Py_None;
4286 return _resultobj;
4287 }
4288
4289 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4290 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4291 PyObject * _resultobj;
4292 wxGridCellAttrProvider * _arg0;
4293 size_t _arg1;
4294 int _arg2;
4295 PyObject * _argo0 = 0;
4296 char *_kwnames[] = { "self","pos","numRows", NULL };
4297
4298 self = self;
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4300 return NULL;
4301 if (_argo0) {
4302 if (_argo0 == Py_None) { _arg0 = NULL; }
4303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4305 return NULL;
4306 }
4307 }
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) return NULL;
4314 } Py_INCREF(Py_None);
4315 _resultobj = Py_None;
4316 return _resultobj;
4317 }
4318
4319 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4320 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4321 PyObject * _resultobj;
4322 wxGridCellAttrProvider * _arg0;
4323 size_t _arg1;
4324 int _arg2;
4325 PyObject * _argo0 = 0;
4326 char *_kwnames[] = { "self","pos","numCols", NULL };
4327
4328 self = self;
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4330 return NULL;
4331 if (_argo0) {
4332 if (_argo0 == Py_None) { _arg0 = NULL; }
4333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4335 return NULL;
4336 }
4337 }
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4341
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) return NULL;
4344 } Py_INCREF(Py_None);
4345 _resultobj = Py_None;
4346 return _resultobj;
4347 }
4348
4349 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4350 wxPyGridCellAttrProvider *src;
4351 wxGridCellAttrProvider *dest;
4352 src = (wxPyGridCellAttrProvider *) ptr;
4353 dest = (wxGridCellAttrProvider *) src;
4354 return (void *) dest;
4355 }
4356
4357 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4358 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject * _resultobj;
4360 wxPyGridCellAttrProvider * _result;
4361 char *_kwnames[] = { NULL };
4362 char _ptemp[128];
4363
4364 self = self;
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4366 return NULL;
4367 {
4368 PyThreadState* __tstate = wxPyBeginAllowThreads();
4369 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4370
4371 wxPyEndAllowThreads(__tstate);
4372 if (PyErr_Occurred()) return NULL;
4373 } if (_result) {
4374 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4375 _resultobj = Py_BuildValue("s",_ptemp);
4376 } else {
4377 Py_INCREF(Py_None);
4378 _resultobj = Py_None;
4379 }
4380 return _resultobj;
4381 }
4382
4383 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4384 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4385 PyObject * _resultobj;
4386 wxPyGridCellAttrProvider * _arg0;
4387 PyObject * _arg1;
4388 PyObject * _arg2;
4389 PyObject * _argo0 = 0;
4390 PyObject * _obj1 = 0;
4391 PyObject * _obj2 = 0;
4392 char *_kwnames[] = { "self","self","_class", NULL };
4393
4394 self = self;
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4396 return NULL;
4397 if (_argo0) {
4398 if (_argo0 == Py_None) { _arg0 = NULL; }
4399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4401 return NULL;
4402 }
4403 }
4404 {
4405 _arg1 = _obj1;
4406 }
4407 {
4408 _arg2 = _obj2;
4409 }
4410 {
4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
4412 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4413
4414 wxPyEndAllowThreads(__tstate);
4415 if (PyErr_Occurred()) return NULL;
4416 } Py_INCREF(Py_None);
4417 _resultobj = Py_None;
4418 return _resultobj;
4419 }
4420
4421 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4422 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject * _resultobj;
4424 wxGridCellAttr * _result;
4425 wxPyGridCellAttrProvider * _arg0;
4426 int _arg1;
4427 int _arg2;
4428 wxGridCellAttr::wxAttrKind _arg3;
4429 PyObject * _argo0 = 0;
4430 char *_kwnames[] = { "self","row","col","kind", NULL };
4431
4432 self = self;
4433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4434 return NULL;
4435 if (_argo0) {
4436 if (_argo0 == Py_None) { _arg0 = NULL; }
4437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4439 return NULL;
4440 }
4441 }
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) return NULL;
4448 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4449 return _resultobj;
4450 }
4451
4452 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4453 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4454 PyObject * _resultobj;
4455 wxPyGridCellAttrProvider * _arg0;
4456 wxGridCellAttr * _arg1;
4457 int _arg2;
4458 int _arg3;
4459 PyObject * _argo0 = 0;
4460 PyObject * _argo1 = 0;
4461 char *_kwnames[] = { "self","attr","row","col", NULL };
4462
4463 self = self;
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4465 return NULL;
4466 if (_argo0) {
4467 if (_argo0 == Py_None) { _arg0 = NULL; }
4468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4470 return NULL;
4471 }
4472 }
4473 if (_argo1) {
4474 if (_argo1 == Py_None) { _arg1 = NULL; }
4475 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4476 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4477 return NULL;
4478 }
4479 }
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) return NULL;
4486 } Py_INCREF(Py_None);
4487 _resultobj = Py_None;
4488 return _resultobj;
4489 }
4490
4491 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4492 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4493 PyObject * _resultobj;
4494 wxPyGridCellAttrProvider * _arg0;
4495 wxGridCellAttr * _arg1;
4496 int _arg2;
4497 PyObject * _argo0 = 0;
4498 PyObject * _argo1 = 0;
4499 char *_kwnames[] = { "self","attr","row", NULL };
4500
4501 self = self;
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4503 return NULL;
4504 if (_argo0) {
4505 if (_argo0 == Py_None) { _arg0 = NULL; }
4506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4508 return NULL;
4509 }
4510 }
4511 if (_argo1) {
4512 if (_argo1 == Py_None) { _arg1 = NULL; }
4513 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4514 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4515 return NULL;
4516 }
4517 }
4518 {
4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
4520 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4521
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) return NULL;
4524 } Py_INCREF(Py_None);
4525 _resultobj = Py_None;
4526 return _resultobj;
4527 }
4528
4529 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4530 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject * _resultobj;
4532 wxPyGridCellAttrProvider * _arg0;
4533 wxGridCellAttr * _arg1;
4534 int _arg2;
4535 PyObject * _argo0 = 0;
4536 PyObject * _argo1 = 0;
4537 char *_kwnames[] = { "self","attr","col", NULL };
4538
4539 self = self;
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4541 return NULL;
4542 if (_argo0) {
4543 if (_argo0 == Py_None) { _arg0 = NULL; }
4544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4546 return NULL;
4547 }
4548 }
4549 if (_argo1) {
4550 if (_argo1 == Py_None) { _arg1 = NULL; }
4551 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4552 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4553 return NULL;
4554 }
4555 }
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4559
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) return NULL;
4562 } Py_INCREF(Py_None);
4563 _resultobj = Py_None;
4564 return _resultobj;
4565 }
4566
4567 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4568 wxGridTableBase *src;
4569 wxObject *dest;
4570 src = (wxGridTableBase *) ptr;
4571 dest = (wxObject *) src;
4572 return (void *) dest;
4573 }
4574
4575 static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject * _self) {
4576 self->SetClientObject(new wxPyOORClientData(_self));
4577 }
4578 static PyObject *_wrap_wxGridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4579 PyObject * _resultobj;
4580 wxGridTableBase * _arg0;
4581 PyObject * _arg1;
4582 PyObject * _argo0 = 0;
4583 PyObject * _obj1 = 0;
4584 char *_kwnames[] = { "self","_self", NULL };
4585
4586 self = self;
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase__setOORInfo",_kwnames,&_argo0,&_obj1))
4588 return NULL;
4589 if (_argo0) {
4590 if (_argo0 == Py_None) { _arg0 = NULL; }
4591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
4593 return NULL;
4594 }
4595 }
4596 {
4597 _arg1 = _obj1;
4598 }
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 wxGridTableBase__setOORInfo(_arg0,_arg1);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) return NULL;
4605 } Py_INCREF(Py_None);
4606 _resultobj = Py_None;
4607 return _resultobj;
4608 }
4609
4610 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4611 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4612 PyObject * _resultobj;
4613 wxGridTableBase * _arg0;
4614 wxGridCellAttrProvider * _arg1;
4615 PyObject * _argo0 = 0;
4616 PyObject * _argo1 = 0;
4617 char *_kwnames[] = { "self","attrProvider", NULL };
4618
4619 self = self;
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4621 return NULL;
4622 if (_argo0) {
4623 if (_argo0 == Py_None) { _arg0 = NULL; }
4624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4626 return NULL;
4627 }
4628 }
4629 if (_argo1) {
4630 if (_argo1 == Py_None) { _arg1 = NULL; }
4631 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4633 return NULL;
4634 }
4635 }
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) return NULL;
4642 } Py_INCREF(Py_None);
4643 _resultobj = Py_None;
4644 return _resultobj;
4645 }
4646
4647 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4648 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4649 PyObject * _resultobj;
4650 wxGridCellAttrProvider * _result;
4651 wxGridTableBase * _arg0;
4652 PyObject * _argo0 = 0;
4653 char *_kwnames[] = { "self", NULL };
4654
4655 self = self;
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4657 return NULL;
4658 if (_argo0) {
4659 if (_argo0 == Py_None) { _arg0 = NULL; }
4660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4662 return NULL;
4663 }
4664 }
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) return NULL;
4671 }{ _resultobj = wxPyMake_wxGridCellAttrProvider(_result); }
4672 return _resultobj;
4673 }
4674
4675 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4676 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject * _resultobj;
4678 wxGridTableBase * _arg0;
4679 wxGrid * _arg1;
4680 PyObject * _argo0 = 0;
4681 PyObject * _argo1 = 0;
4682 char *_kwnames[] = { "self","grid", NULL };
4683
4684 self = self;
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4686 return NULL;
4687 if (_argo0) {
4688 if (_argo0 == Py_None) { _arg0 = NULL; }
4689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4691 return NULL;
4692 }
4693 }
4694 if (_argo1) {
4695 if (_argo1 == Py_None) { _arg1 = NULL; }
4696 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4697 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4698 return NULL;
4699 }
4700 }
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 wxGridTableBase_SetView(_arg0,_arg1);
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) return NULL;
4707 } Py_INCREF(Py_None);
4708 _resultobj = Py_None;
4709 return _resultobj;
4710 }
4711
4712 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4713 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject * _resultobj;
4715 wxGrid * _result;
4716 wxGridTableBase * _arg0;
4717 PyObject * _argo0 = 0;
4718 char *_kwnames[] = { "self", NULL };
4719
4720 self = self;
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4722 return NULL;
4723 if (_argo0) {
4724 if (_argo0 == Py_None) { _arg0 = NULL; }
4725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4727 return NULL;
4728 }
4729 }
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) return NULL;
4736 }{ _resultobj = wxPyMake_wxObject(_result); }
4737 return _resultobj;
4738 }
4739
4740 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4741 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject * _resultobj;
4743 int _result;
4744 wxGridTableBase * _arg0;
4745 PyObject * _argo0 = 0;
4746 char *_kwnames[] = { "self", NULL };
4747
4748 self = self;
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4750 return NULL;
4751 if (_argo0) {
4752 if (_argo0 == Py_None) { _arg0 = NULL; }
4753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4755 return NULL;
4756 }
4757 }
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4761
4762 wxPyEndAllowThreads(__tstate);
4763 if (PyErr_Occurred()) return NULL;
4764 } _resultobj = Py_BuildValue("i",_result);
4765 return _resultobj;
4766 }
4767
4768 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4769 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject * _resultobj;
4771 int _result;
4772 wxGridTableBase * _arg0;
4773 PyObject * _argo0 = 0;
4774 char *_kwnames[] = { "self", NULL };
4775
4776 self = self;
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4778 return NULL;
4779 if (_argo0) {
4780 if (_argo0 == Py_None) { _arg0 = NULL; }
4781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4783 return NULL;
4784 }
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) return NULL;
4792 } _resultobj = Py_BuildValue("i",_result);
4793 return _resultobj;
4794 }
4795
4796 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4797 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject * _resultobj;
4799 bool _result;
4800 wxGridTableBase * _arg0;
4801 int _arg1;
4802 int _arg2;
4803 PyObject * _argo0 = 0;
4804 char *_kwnames[] = { "self","row","col", NULL };
4805
4806 self = self;
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4808 return NULL;
4809 if (_argo0) {
4810 if (_argo0 == Py_None) { _arg0 = NULL; }
4811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4813 return NULL;
4814 }
4815 }
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) return NULL;
4822 } _resultobj = Py_BuildValue("i",_result);
4823 return _resultobj;
4824 }
4825
4826 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4827 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject * _resultobj;
4829 wxString * _result;
4830 wxGridTableBase * _arg0;
4831 int _arg1;
4832 int _arg2;
4833 PyObject * _argo0 = 0;
4834 char *_kwnames[] = { "self","row","col", NULL };
4835
4836 self = self;
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4838 return NULL;
4839 if (_argo0) {
4840 if (_argo0 == Py_None) { _arg0 = NULL; }
4841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4843 return NULL;
4844 }
4845 }
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) return NULL;
4852 }{
4853 #if wxUSE_UNICODE
4854 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4855 #else
4856 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4857 #endif
4858 }
4859 {
4860 delete _result;
4861 }
4862 return _resultobj;
4863 }
4864
4865 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4866 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject * _resultobj;
4868 wxGridTableBase * _arg0;
4869 int _arg1;
4870 int _arg2;
4871 wxString * _arg3;
4872 PyObject * _argo0 = 0;
4873 PyObject * _obj3 = 0;
4874 char *_kwnames[] = { "self","row","col","value", NULL };
4875
4876 self = self;
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4878 return NULL;
4879 if (_argo0) {
4880 if (_argo0 == Py_None) { _arg0 = NULL; }
4881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4883 return NULL;
4884 }
4885 }
4886 {
4887 _arg3 = wxString_in_helper(_obj3);
4888 if (_arg3 == NULL)
4889 return NULL;
4890 }
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) return NULL;
4897 } Py_INCREF(Py_None);
4898 _resultobj = Py_None;
4899 {
4900 if (_obj3)
4901 delete _arg3;
4902 }
4903 return _resultobj;
4904 }
4905
4906 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4907 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject * _resultobj;
4909 wxString * _result;
4910 wxGridTableBase * _arg0;
4911 int _arg1;
4912 int _arg2;
4913 PyObject * _argo0 = 0;
4914 char *_kwnames[] = { "self","row","col", NULL };
4915
4916 self = self;
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
4918 return NULL;
4919 if (_argo0) {
4920 if (_argo0 == Py_None) { _arg0 = NULL; }
4921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4923 return NULL;
4924 }
4925 }
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) return NULL;
4932 }{
4933 #if wxUSE_UNICODE
4934 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4935 #else
4936 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4937 #endif
4938 }
4939 {
4940 delete _result;
4941 }
4942 return _resultobj;
4943 }
4944
4945 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4946 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4947 PyObject * _resultobj;
4948 bool _result;
4949 wxGridTableBase * _arg0;
4950 int _arg1;
4951 int _arg2;
4952 wxString * _arg3;
4953 PyObject * _argo0 = 0;
4954 PyObject * _obj3 = 0;
4955 char *_kwnames[] = { "self","row","col","typeName", NULL };
4956
4957 self = self;
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4959 return NULL;
4960 if (_argo0) {
4961 if (_argo0 == Py_None) { _arg0 = NULL; }
4962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4964 return NULL;
4965 }
4966 }
4967 {
4968 _arg3 = wxString_in_helper(_obj3);
4969 if (_arg3 == NULL)
4970 return NULL;
4971 }
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) return NULL;
4978 } _resultobj = Py_BuildValue("i",_result);
4979 {
4980 if (_obj3)
4981 delete _arg3;
4982 }
4983 return _resultobj;
4984 }
4985
4986 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4987 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
4988 PyObject * _resultobj;
4989 bool _result;
4990 wxGridTableBase * _arg0;
4991 int _arg1;
4992 int _arg2;
4993 wxString * _arg3;
4994 PyObject * _argo0 = 0;
4995 PyObject * _obj3 = 0;
4996 char *_kwnames[] = { "self","row","col","typeName", NULL };
4997
4998 self = self;
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5000 return NULL;
5001 if (_argo0) {
5002 if (_argo0 == Py_None) { _arg0 = NULL; }
5003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5005 return NULL;
5006 }
5007 }
5008 {
5009 _arg3 = wxString_in_helper(_obj3);
5010 if (_arg3 == NULL)
5011 return NULL;
5012 }
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) return NULL;
5019 } _resultobj = Py_BuildValue("i",_result);
5020 {
5021 if (_obj3)
5022 delete _arg3;
5023 }
5024 return _resultobj;
5025 }
5026
5027 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5028 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject * _resultobj;
5030 long _result;
5031 wxGridTableBase * _arg0;
5032 int _arg1;
5033 int _arg2;
5034 PyObject * _argo0 = 0;
5035 char *_kwnames[] = { "self","row","col", NULL };
5036
5037 self = self;
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
5039 return NULL;
5040 if (_argo0) {
5041 if (_argo0 == Py_None) { _arg0 = NULL; }
5042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5044 return NULL;
5045 }
5046 }
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) return NULL;
5053 } _resultobj = Py_BuildValue("l",_result);
5054 return _resultobj;
5055 }
5056
5057 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5058 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject * _resultobj;
5060 double _result;
5061 wxGridTableBase * _arg0;
5062 int _arg1;
5063 int _arg2;
5064 PyObject * _argo0 = 0;
5065 char *_kwnames[] = { "self","row","col", NULL };
5066
5067 self = self;
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
5069 return NULL;
5070 if (_argo0) {
5071 if (_argo0 == Py_None) { _arg0 = NULL; }
5072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5074 return NULL;
5075 }
5076 }
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) return NULL;
5083 } _resultobj = Py_BuildValue("d",_result);
5084 return _resultobj;
5085 }
5086
5087 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5088 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5089 PyObject * _resultobj;
5090 bool _result;
5091 wxGridTableBase * _arg0;
5092 int _arg1;
5093 int _arg2;
5094 PyObject * _argo0 = 0;
5095 char *_kwnames[] = { "self","row","col", NULL };
5096
5097 self = self;
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
5099 return NULL;
5100 if (_argo0) {
5101 if (_argo0 == Py_None) { _arg0 = NULL; }
5102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5104 return NULL;
5105 }
5106 }
5107 {
5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
5109 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
5110
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) return NULL;
5113 } _resultobj = Py_BuildValue("i",_result);
5114 return _resultobj;
5115 }
5116
5117 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5118 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject * _resultobj;
5120 wxGridTableBase * _arg0;
5121 int _arg1;
5122 int _arg2;
5123 long _arg3;
5124 PyObject * _argo0 = 0;
5125 char *_kwnames[] = { "self","row","col","value", NULL };
5126
5127 self = self;
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5129 return NULL;
5130 if (_argo0) {
5131 if (_argo0 == Py_None) { _arg0 = NULL; }
5132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5134 return NULL;
5135 }
5136 }
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
5140
5141 wxPyEndAllowThreads(__tstate);
5142 if (PyErr_Occurred()) return NULL;
5143 } Py_INCREF(Py_None);
5144 _resultobj = Py_None;
5145 return _resultobj;
5146 }
5147
5148 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5149 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5150 PyObject * _resultobj;
5151 wxGridTableBase * _arg0;
5152 int _arg1;
5153 int _arg2;
5154 double _arg3;
5155 PyObject * _argo0 = 0;
5156 char *_kwnames[] = { "self","row","col","value", NULL };
5157
5158 self = self;
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5160 return NULL;
5161 if (_argo0) {
5162 if (_argo0 == Py_None) { _arg0 = NULL; }
5163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5165 return NULL;
5166 }
5167 }
5168 {
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) return NULL;
5174 } Py_INCREF(Py_None);
5175 _resultobj = Py_None;
5176 return _resultobj;
5177 }
5178
5179 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5180 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5181 PyObject * _resultobj;
5182 wxGridTableBase * _arg0;
5183 int _arg1;
5184 int _arg2;
5185 bool _arg3;
5186 PyObject * _argo0 = 0;
5187 int tempbool3;
5188 char *_kwnames[] = { "self","row","col","value", NULL };
5189
5190 self = self;
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5192 return NULL;
5193 if (_argo0) {
5194 if (_argo0 == Py_None) { _arg0 = NULL; }
5195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5197 return NULL;
5198 }
5199 }
5200 _arg3 = (bool ) tempbool3;
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) return NULL;
5207 } Py_INCREF(Py_None);
5208 _resultobj = Py_None;
5209 return _resultobj;
5210 }
5211
5212 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5213 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject * _resultobj;
5215 wxGridTableBase * _arg0;
5216 PyObject * _argo0 = 0;
5217 char *_kwnames[] = { "self", NULL };
5218
5219 self = self;
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5221 return NULL;
5222 if (_argo0) {
5223 if (_argo0 == Py_None) { _arg0 = NULL; }
5224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5226 return NULL;
5227 }
5228 }
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 wxGridTableBase_Clear(_arg0);
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) return NULL;
5235 } Py_INCREF(Py_None);
5236 _resultobj = Py_None;
5237 return _resultobj;
5238 }
5239
5240 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5241 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5242 PyObject * _resultobj;
5243 bool _result;
5244 wxGridTableBase * _arg0;
5245 size_t _arg1 = (size_t ) 0;
5246 size_t _arg2 = (size_t ) 1;
5247 PyObject * _argo0 = 0;
5248 char *_kwnames[] = { "self","pos","numRows", NULL };
5249
5250 self = self;
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5252 return NULL;
5253 if (_argo0) {
5254 if (_argo0 == Py_None) { _arg0 = NULL; }
5255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5257 return NULL;
5258 }
5259 }
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) return NULL;
5266 } _resultobj = Py_BuildValue("i",_result);
5267 return _resultobj;
5268 }
5269
5270 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5271 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5272 PyObject * _resultobj;
5273 bool _result;
5274 wxGridTableBase * _arg0;
5275 size_t _arg1 = (size_t ) 1;
5276 PyObject * _argo0 = 0;
5277 char *_kwnames[] = { "self","numRows", NULL };
5278
5279 self = self;
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5281 return NULL;
5282 if (_argo0) {
5283 if (_argo0 == Py_None) { _arg0 = NULL; }
5284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5286 return NULL;
5287 }
5288 }
5289 {
5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
5291 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5292
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) return NULL;
5295 } _resultobj = Py_BuildValue("i",_result);
5296 return _resultobj;
5297 }
5298
5299 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5300 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5301 PyObject * _resultobj;
5302 bool _result;
5303 wxGridTableBase * _arg0;
5304 size_t _arg1 = (size_t ) 0;
5305 size_t _arg2 = (size_t ) 1;
5306 PyObject * _argo0 = 0;
5307 char *_kwnames[] = { "self","pos","numRows", NULL };
5308
5309 self = self;
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5311 return NULL;
5312 if (_argo0) {
5313 if (_argo0 == Py_None) { _arg0 = NULL; }
5314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5316 return NULL;
5317 }
5318 }
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) return NULL;
5325 } _resultobj = Py_BuildValue("i",_result);
5326 return _resultobj;
5327 }
5328
5329 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5330 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject * _resultobj;
5332 bool _result;
5333 wxGridTableBase * _arg0;
5334 size_t _arg1 = (size_t ) 0;
5335 size_t _arg2 = (size_t ) 1;
5336 PyObject * _argo0 = 0;
5337 char *_kwnames[] = { "self","pos","numCols", NULL };
5338
5339 self = self;
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5341 return NULL;
5342 if (_argo0) {
5343 if (_argo0 == Py_None) { _arg0 = NULL; }
5344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5346 return NULL;
5347 }
5348 }
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5352
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) return NULL;
5355 } _resultobj = Py_BuildValue("i",_result);
5356 return _resultobj;
5357 }
5358
5359 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5360 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject * _resultobj;
5362 bool _result;
5363 wxGridTableBase * _arg0;
5364 size_t _arg1 = (size_t ) 1;
5365 PyObject * _argo0 = 0;
5366 char *_kwnames[] = { "self","numCols", NULL };
5367
5368 self = self;
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5370 return NULL;
5371 if (_argo0) {
5372 if (_argo0 == Py_None) { _arg0 = NULL; }
5373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5375 return NULL;
5376 }
5377 }
5378 {
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) return NULL;
5384 } _resultobj = Py_BuildValue("i",_result);
5385 return _resultobj;
5386 }
5387
5388 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5389 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5390 PyObject * _resultobj;
5391 bool _result;
5392 wxGridTableBase * _arg0;
5393 size_t _arg1 = (size_t ) 0;
5394 size_t _arg2 = (size_t ) 1;
5395 PyObject * _argo0 = 0;
5396 char *_kwnames[] = { "self","pos","numCols", NULL };
5397
5398 self = self;
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5400 return NULL;
5401 if (_argo0) {
5402 if (_argo0 == Py_None) { _arg0 = NULL; }
5403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5405 return NULL;
5406 }
5407 }
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) return NULL;
5414 } _resultobj = Py_BuildValue("i",_result);
5415 return _resultobj;
5416 }
5417
5418 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5419 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject * _resultobj;
5421 wxString * _result;
5422 wxGridTableBase * _arg0;
5423 int _arg1;
5424 PyObject * _argo0 = 0;
5425 char *_kwnames[] = { "self","row", NULL };
5426
5427 self = self;
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5429 return NULL;
5430 if (_argo0) {
5431 if (_argo0 == Py_None) { _arg0 = NULL; }
5432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5434 return NULL;
5435 }
5436 }
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5440
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) return NULL;
5443 }{
5444 #if wxUSE_UNICODE
5445 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5446 #else
5447 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5448 #endif
5449 }
5450 {
5451 delete _result;
5452 }
5453 return _resultobj;
5454 }
5455
5456 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5457 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject * _resultobj;
5459 wxString * _result;
5460 wxGridTableBase * _arg0;
5461 int _arg1;
5462 PyObject * _argo0 = 0;
5463 char *_kwnames[] = { "self","col", NULL };
5464
5465 self = self;
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5467 return NULL;
5468 if (_argo0) {
5469 if (_argo0 == Py_None) { _arg0 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5472 return NULL;
5473 }
5474 }
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) return NULL;
5481 }{
5482 #if wxUSE_UNICODE
5483 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5484 #else
5485 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5486 #endif
5487 }
5488 {
5489 delete _result;
5490 }
5491 return _resultobj;
5492 }
5493
5494 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5495 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject * _resultobj;
5497 wxGridTableBase * _arg0;
5498 int _arg1;
5499 wxString * _arg2;
5500 PyObject * _argo0 = 0;
5501 PyObject * _obj2 = 0;
5502 char *_kwnames[] = { "self","row","value", NULL };
5503
5504 self = self;
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5506 return NULL;
5507 if (_argo0) {
5508 if (_argo0 == Py_None) { _arg0 = NULL; }
5509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5511 return NULL;
5512 }
5513 }
5514 {
5515 _arg2 = wxString_in_helper(_obj2);
5516 if (_arg2 == NULL)
5517 return NULL;
5518 }
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5522
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) return NULL;
5525 } Py_INCREF(Py_None);
5526 _resultobj = Py_None;
5527 {
5528 if (_obj2)
5529 delete _arg2;
5530 }
5531 return _resultobj;
5532 }
5533
5534 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5535 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject * _resultobj;
5537 wxGridTableBase * _arg0;
5538 int _arg1;
5539 wxString * _arg2;
5540 PyObject * _argo0 = 0;
5541 PyObject * _obj2 = 0;
5542 char *_kwnames[] = { "self","col","value", NULL };
5543
5544 self = self;
5545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5546 return NULL;
5547 if (_argo0) {
5548 if (_argo0 == Py_None) { _arg0 = NULL; }
5549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5551 return NULL;
5552 }
5553 }
5554 {
5555 _arg2 = wxString_in_helper(_obj2);
5556 if (_arg2 == NULL)
5557 return NULL;
5558 }
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) return NULL;
5565 } Py_INCREF(Py_None);
5566 _resultobj = Py_None;
5567 {
5568 if (_obj2)
5569 delete _arg2;
5570 }
5571 return _resultobj;
5572 }
5573
5574 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5575 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5576 PyObject * _resultobj;
5577 bool _result;
5578 wxGridTableBase * _arg0;
5579 PyObject * _argo0 = 0;
5580 char *_kwnames[] = { "self", NULL };
5581
5582 self = self;
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5584 return NULL;
5585 if (_argo0) {
5586 if (_argo0 == Py_None) { _arg0 = NULL; }
5587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5589 return NULL;
5590 }
5591 }
5592 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5595
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) return NULL;
5598 } _resultobj = Py_BuildValue("i",_result);
5599 return _resultobj;
5600 }
5601
5602 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5603 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject * _resultobj;
5605 wxGridCellAttr * _result;
5606 wxGridTableBase * _arg0;
5607 int _arg1;
5608 int _arg2;
5609 wxGridCellAttr::wxAttrKind _arg3;
5610 PyObject * _argo0 = 0;
5611 char *_kwnames[] = { "self","row","col","kind", NULL };
5612
5613 self = self;
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5615 return NULL;
5616 if (_argo0) {
5617 if (_argo0 == Py_None) { _arg0 = NULL; }
5618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5620 return NULL;
5621 }
5622 }
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) return NULL;
5629 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
5630 return _resultobj;
5631 }
5632
5633 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5634 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject * _resultobj;
5636 wxGridTableBase * _arg0;
5637 wxGridCellAttr * _arg1;
5638 int _arg2;
5639 int _arg3;
5640 PyObject * _argo0 = 0;
5641 PyObject * _argo1 = 0;
5642 char *_kwnames[] = { "self","attr","row","col", NULL };
5643
5644 self = self;
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5646 return NULL;
5647 if (_argo0) {
5648 if (_argo0 == Py_None) { _arg0 = NULL; }
5649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5651 return NULL;
5652 }
5653 }
5654 if (_argo1) {
5655 if (_argo1 == Py_None) { _arg1 = NULL; }
5656 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5658 return NULL;
5659 }
5660 }
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) return NULL;
5667 } Py_INCREF(Py_None);
5668 _resultobj = Py_None;
5669 return _resultobj;
5670 }
5671
5672 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5673 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5674 PyObject * _resultobj;
5675 wxGridTableBase * _arg0;
5676 wxGridCellAttr * _arg1;
5677 int _arg2;
5678 PyObject * _argo0 = 0;
5679 PyObject * _argo1 = 0;
5680 char *_kwnames[] = { "self","attr","row", NULL };
5681
5682 self = self;
5683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5684 return NULL;
5685 if (_argo0) {
5686 if (_argo0 == Py_None) { _arg0 = NULL; }
5687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5689 return NULL;
5690 }
5691 }
5692 if (_argo1) {
5693 if (_argo1 == Py_None) { _arg1 = NULL; }
5694 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5695 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5696 return NULL;
5697 }
5698 }
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) return NULL;
5705 } Py_INCREF(Py_None);
5706 _resultobj = Py_None;
5707 return _resultobj;
5708 }
5709
5710 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5711 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5712 PyObject * _resultobj;
5713 wxGridTableBase * _arg0;
5714 wxGridCellAttr * _arg1;
5715 int _arg2;
5716 PyObject * _argo0 = 0;
5717 PyObject * _argo1 = 0;
5718 char *_kwnames[] = { "self","attr","col", NULL };
5719
5720 self = self;
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5722 return NULL;
5723 if (_argo0) {
5724 if (_argo0 == Py_None) { _arg0 = NULL; }
5725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5727 return NULL;
5728 }
5729 }
5730 if (_argo1) {
5731 if (_argo1 == Py_None) { _arg1 = NULL; }
5732 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5733 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5734 return NULL;
5735 }
5736 }
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) return NULL;
5743 } Py_INCREF(Py_None);
5744 _resultobj = Py_None;
5745 return _resultobj;
5746 }
5747
5748 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5749 wxPyGridTableBase *src;
5750 wxGridTableBase *dest;
5751 src = (wxPyGridTableBase *) ptr;
5752 dest = (wxGridTableBase *) src;
5753 return (void *) dest;
5754 }
5755
5756 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5757 wxPyGridTableBase *src;
5758 wxObject *dest;
5759 src = (wxPyGridTableBase *) ptr;
5760 dest = (wxObject *) src;
5761 return (void *) dest;
5762 }
5763
5764 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5765 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject * _resultobj;
5767 wxPyGridTableBase * _result;
5768 char *_kwnames[] = { NULL };
5769 char _ptemp[128];
5770
5771 self = self;
5772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5773 return NULL;
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5777
5778 wxPyEndAllowThreads(__tstate);
5779 if (PyErr_Occurred()) return NULL;
5780 } if (_result) {
5781 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5782 _resultobj = Py_BuildValue("s",_ptemp);
5783 } else {
5784 Py_INCREF(Py_None);
5785 _resultobj = Py_None;
5786 }
5787 return _resultobj;
5788 }
5789
5790 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5791 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5792 PyObject * _resultobj;
5793 wxPyGridTableBase * _arg0;
5794 PyObject * _arg1;
5795 PyObject * _arg2;
5796 PyObject * _argo0 = 0;
5797 PyObject * _obj1 = 0;
5798 PyObject * _obj2 = 0;
5799 char *_kwnames[] = { "self","self","_class", NULL };
5800
5801 self = self;
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5803 return NULL;
5804 if (_argo0) {
5805 if (_argo0 == Py_None) { _arg0 = NULL; }
5806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5808 return NULL;
5809 }
5810 }
5811 {
5812 _arg1 = _obj1;
5813 }
5814 {
5815 _arg2 = _obj2;
5816 }
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) return NULL;
5823 } Py_INCREF(Py_None);
5824 _resultobj = Py_None;
5825 return _resultobj;
5826 }
5827
5828 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5829 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5830 PyObject * _resultobj;
5831 wxPyGridTableBase * _arg0;
5832 PyObject * _argo0 = 0;
5833 char *_kwnames[] = { "self", NULL };
5834
5835 self = self;
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5837 return NULL;
5838 if (_argo0) {
5839 if (_argo0 == Py_None) { _arg0 = NULL; }
5840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5842 return NULL;
5843 }
5844 }
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 wxPyGridTableBase_Destroy(_arg0);
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) return NULL;
5851 } Py_INCREF(Py_None);
5852 _resultobj = Py_None;
5853 return _resultobj;
5854 }
5855
5856 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5857 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject * _resultobj;
5859 wxString * _result;
5860 wxPyGridTableBase * _arg0;
5861 int _arg1;
5862 int _arg2;
5863 PyObject * _argo0 = 0;
5864 char *_kwnames[] = { "self","row","col", NULL };
5865
5866 self = self;
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5868 return NULL;
5869 if (_argo0) {
5870 if (_argo0 == Py_None) { _arg0 = NULL; }
5871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5873 return NULL;
5874 }
5875 }
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) return NULL;
5882 }{
5883 #if wxUSE_UNICODE
5884 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5885 #else
5886 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5887 #endif
5888 }
5889 {
5890 delete _result;
5891 }
5892 return _resultobj;
5893 }
5894
5895 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5896 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5897 PyObject * _resultobj;
5898 bool _result;
5899 wxPyGridTableBase * _arg0;
5900 int _arg1;
5901 int _arg2;
5902 wxString * _arg3;
5903 PyObject * _argo0 = 0;
5904 PyObject * _obj3 = 0;
5905 char *_kwnames[] = { "self","row","col","typeName", NULL };
5906
5907 self = self;
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5909 return NULL;
5910 if (_argo0) {
5911 if (_argo0 == Py_None) { _arg0 = NULL; }
5912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5914 return NULL;
5915 }
5916 }
5917 {
5918 _arg3 = wxString_in_helper(_obj3);
5919 if (_arg3 == NULL)
5920 return NULL;
5921 }
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) return NULL;
5928 } _resultobj = Py_BuildValue("i",_result);
5929 {
5930 if (_obj3)
5931 delete _arg3;
5932 }
5933 return _resultobj;
5934 }
5935
5936 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5937 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject * _resultobj;
5939 bool _result;
5940 wxPyGridTableBase * _arg0;
5941 int _arg1;
5942 int _arg2;
5943 wxString * _arg3;
5944 PyObject * _argo0 = 0;
5945 PyObject * _obj3 = 0;
5946 char *_kwnames[] = { "self","row","col","typeName", NULL };
5947
5948 self = self;
5949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5950 return NULL;
5951 if (_argo0) {
5952 if (_argo0 == Py_None) { _arg0 = NULL; }
5953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5955 return NULL;
5956 }
5957 }
5958 {
5959 _arg3 = wxString_in_helper(_obj3);
5960 if (_arg3 == NULL)
5961 return NULL;
5962 }
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) return NULL;
5969 } _resultobj = Py_BuildValue("i",_result);
5970 {
5971 if (_obj3)
5972 delete _arg3;
5973 }
5974 return _resultobj;
5975 }
5976
5977 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5978 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject * _resultobj;
5980 wxPyGridTableBase * _arg0;
5981 PyObject * _argo0 = 0;
5982 char *_kwnames[] = { "self", NULL };
5983
5984 self = self;
5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
5986 return NULL;
5987 if (_argo0) {
5988 if (_argo0 == Py_None) { _arg0 = NULL; }
5989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5991 return NULL;
5992 }
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 wxPyGridTableBase_base_Clear(_arg0);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) return NULL;
6000 } Py_INCREF(Py_None);
6001 _resultobj = Py_None;
6002 return _resultobj;
6003 }
6004
6005 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6006 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject * _resultobj;
6008 bool _result;
6009 wxPyGridTableBase * _arg0;
6010 size_t _arg1 = (size_t ) 0;
6011 size_t _arg2 = (size_t ) 1;
6012 PyObject * _argo0 = 0;
6013 char *_kwnames[] = { "self","pos","numRows", NULL };
6014
6015 self = self;
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
6017 return NULL;
6018 if (_argo0) {
6019 if (_argo0 == Py_None) { _arg0 = NULL; }
6020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6022 return NULL;
6023 }
6024 }
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
6028
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) return NULL;
6031 } _resultobj = Py_BuildValue("i",_result);
6032 return _resultobj;
6033 }
6034
6035 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6036 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject * _resultobj;
6038 bool _result;
6039 wxPyGridTableBase * _arg0;
6040 size_t _arg1 = (size_t ) 1;
6041 PyObject * _argo0 = 0;
6042 char *_kwnames[] = { "self","numRows", NULL };
6043
6044 self = self;
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
6046 return NULL;
6047 if (_argo0) {
6048 if (_argo0 == Py_None) { _arg0 = NULL; }
6049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6051 return NULL;
6052 }
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) return NULL;
6060 } _resultobj = Py_BuildValue("i",_result);
6061 return _resultobj;
6062 }
6063
6064 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6065 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject * _resultobj;
6067 bool _result;
6068 wxPyGridTableBase * _arg0;
6069 size_t _arg1 = (size_t ) 0;
6070 size_t _arg2 = (size_t ) 1;
6071 PyObject * _argo0 = 0;
6072 char *_kwnames[] = { "self","pos","numRows", NULL };
6073
6074 self = self;
6075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
6076 return NULL;
6077 if (_argo0) {
6078 if (_argo0 == Py_None) { _arg0 = NULL; }
6079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6081 return NULL;
6082 }
6083 }
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) return NULL;
6090 } _resultobj = Py_BuildValue("i",_result);
6091 return _resultobj;
6092 }
6093
6094 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6095 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject * _resultobj;
6097 bool _result;
6098 wxPyGridTableBase * _arg0;
6099 size_t _arg1 = (size_t ) 0;
6100 size_t _arg2 = (size_t ) 1;
6101 PyObject * _argo0 = 0;
6102 char *_kwnames[] = { "self","pos","numCols", NULL };
6103
6104 self = self;
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
6106 return NULL;
6107 if (_argo0) {
6108 if (_argo0 == Py_None) { _arg0 = NULL; }
6109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6111 return NULL;
6112 }
6113 }
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) return NULL;
6120 } _resultobj = Py_BuildValue("i",_result);
6121 return _resultobj;
6122 }
6123
6124 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6125 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject * _resultobj;
6127 bool _result;
6128 wxPyGridTableBase * _arg0;
6129 size_t _arg1 = (size_t ) 1;
6130 PyObject * _argo0 = 0;
6131 char *_kwnames[] = { "self","numCols", NULL };
6132
6133 self = self;
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
6135 return NULL;
6136 if (_argo0) {
6137 if (_argo0 == Py_None) { _arg0 = NULL; }
6138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6140 return NULL;
6141 }
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) return NULL;
6149 } _resultobj = Py_BuildValue("i",_result);
6150 return _resultobj;
6151 }
6152
6153 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6154 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject * _resultobj;
6156 bool _result;
6157 wxPyGridTableBase * _arg0;
6158 size_t _arg1 = (size_t ) 0;
6159 size_t _arg2 = (size_t ) 1;
6160 PyObject * _argo0 = 0;
6161 char *_kwnames[] = { "self","pos","numCols", NULL };
6162
6163 self = self;
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6165 return NULL;
6166 if (_argo0) {
6167 if (_argo0 == Py_None) { _arg0 = NULL; }
6168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6170 return NULL;
6171 }
6172 }
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) return NULL;
6179 } _resultobj = Py_BuildValue("i",_result);
6180 return _resultobj;
6181 }
6182
6183 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6184 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6185 PyObject * _resultobj;
6186 wxString * _result;
6187 wxPyGridTableBase * _arg0;
6188 int _arg1;
6189 PyObject * _argo0 = 0;
6190 char *_kwnames[] = { "self","row", NULL };
6191
6192 self = self;
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6194 return NULL;
6195 if (_argo0) {
6196 if (_argo0 == Py_None) { _arg0 = NULL; }
6197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6199 return NULL;
6200 }
6201 }
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) return NULL;
6208 }{
6209 #if wxUSE_UNICODE
6210 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6211 #else
6212 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6213 #endif
6214 }
6215 {
6216 delete _result;
6217 }
6218 return _resultobj;
6219 }
6220
6221 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6222 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6223 PyObject * _resultobj;
6224 wxString * _result;
6225 wxPyGridTableBase * _arg0;
6226 int _arg1;
6227 PyObject * _argo0 = 0;
6228 char *_kwnames[] = { "self","col", NULL };
6229
6230 self = self;
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6232 return NULL;
6233 if (_argo0) {
6234 if (_argo0 == Py_None) { _arg0 = NULL; }
6235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6237 return NULL;
6238 }
6239 }
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) return NULL;
6246 }{
6247 #if wxUSE_UNICODE
6248 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6249 #else
6250 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6251 #endif
6252 }
6253 {
6254 delete _result;
6255 }
6256 return _resultobj;
6257 }
6258
6259 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6260 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6261 PyObject * _resultobj;
6262 wxPyGridTableBase * _arg0;
6263 int _arg1;
6264 wxString * _arg2;
6265 PyObject * _argo0 = 0;
6266 PyObject * _obj2 = 0;
6267 char *_kwnames[] = { "self","row","value", NULL };
6268
6269 self = self;
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6271 return NULL;
6272 if (_argo0) {
6273 if (_argo0 == Py_None) { _arg0 = NULL; }
6274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6276 return NULL;
6277 }
6278 }
6279 {
6280 _arg2 = wxString_in_helper(_obj2);
6281 if (_arg2 == NULL)
6282 return NULL;
6283 }
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) return NULL;
6290 } Py_INCREF(Py_None);
6291 _resultobj = Py_None;
6292 {
6293 if (_obj2)
6294 delete _arg2;
6295 }
6296 return _resultobj;
6297 }
6298
6299 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6300 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject * _resultobj;
6302 wxPyGridTableBase * _arg0;
6303 int _arg1;
6304 wxString * _arg2;
6305 PyObject * _argo0 = 0;
6306 PyObject * _obj2 = 0;
6307 char *_kwnames[] = { "self","col","value", NULL };
6308
6309 self = self;
6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6311 return NULL;
6312 if (_argo0) {
6313 if (_argo0 == Py_None) { _arg0 = NULL; }
6314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6316 return NULL;
6317 }
6318 }
6319 {
6320 _arg2 = wxString_in_helper(_obj2);
6321 if (_arg2 == NULL)
6322 return NULL;
6323 }
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) return NULL;
6330 } Py_INCREF(Py_None);
6331 _resultobj = Py_None;
6332 {
6333 if (_obj2)
6334 delete _arg2;
6335 }
6336 return _resultobj;
6337 }
6338
6339 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6340 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6341 PyObject * _resultobj;
6342 bool _result;
6343 wxPyGridTableBase * _arg0;
6344 PyObject * _argo0 = 0;
6345 char *_kwnames[] = { "self", NULL };
6346
6347 self = self;
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6349 return NULL;
6350 if (_argo0) {
6351 if (_argo0 == Py_None) { _arg0 = NULL; }
6352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6354 return NULL;
6355 }
6356 }
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) return NULL;
6363 } _resultobj = Py_BuildValue("i",_result);
6364 return _resultobj;
6365 }
6366
6367 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6368 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6369 PyObject * _resultobj;
6370 wxGridCellAttr * _result;
6371 wxPyGridTableBase * _arg0;
6372 int _arg1;
6373 int _arg2;
6374 wxGridCellAttr::wxAttrKind _arg3;
6375 PyObject * _argo0 = 0;
6376 char *_kwnames[] = { "self","row","col","kind", NULL };
6377
6378 self = self;
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6380 return NULL;
6381 if (_argo0) {
6382 if (_argo0 == Py_None) { _arg0 = NULL; }
6383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6385 return NULL;
6386 }
6387 }
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) return NULL;
6394 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
6395 return _resultobj;
6396 }
6397
6398 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6399 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6400 PyObject * _resultobj;
6401 wxPyGridTableBase * _arg0;
6402 wxGridCellAttr * _arg1;
6403 int _arg2;
6404 int _arg3;
6405 PyObject * _argo0 = 0;
6406 PyObject * _argo1 = 0;
6407 char *_kwnames[] = { "self","attr","row","col", NULL };
6408
6409 self = self;
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6411 return NULL;
6412 if (_argo0) {
6413 if (_argo0 == Py_None) { _arg0 = NULL; }
6414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6416 return NULL;
6417 }
6418 }
6419 if (_argo1) {
6420 if (_argo1 == Py_None) { _arg1 = NULL; }
6421 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6422 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6423 return NULL;
6424 }
6425 }
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) return NULL;
6432 } Py_INCREF(Py_None);
6433 _resultobj = Py_None;
6434 return _resultobj;
6435 }
6436
6437 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6438 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject * _resultobj;
6440 wxPyGridTableBase * _arg0;
6441 wxGridCellAttr * _arg1;
6442 int _arg2;
6443 PyObject * _argo0 = 0;
6444 PyObject * _argo1 = 0;
6445 char *_kwnames[] = { "self","attr","row", NULL };
6446
6447 self = self;
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6449 return NULL;
6450 if (_argo0) {
6451 if (_argo0 == Py_None) { _arg0 = NULL; }
6452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6454 return NULL;
6455 }
6456 }
6457 if (_argo1) {
6458 if (_argo1 == Py_None) { _arg1 = NULL; }
6459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6461 return NULL;
6462 }
6463 }
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6467
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) return NULL;
6470 } Py_INCREF(Py_None);
6471 _resultobj = Py_None;
6472 return _resultobj;
6473 }
6474
6475 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6476 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject * _resultobj;
6478 wxPyGridTableBase * _arg0;
6479 wxGridCellAttr * _arg1;
6480 int _arg2;
6481 PyObject * _argo0 = 0;
6482 PyObject * _argo1 = 0;
6483 char *_kwnames[] = { "self","attr","col", NULL };
6484
6485 self = self;
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6487 return NULL;
6488 if (_argo0) {
6489 if (_argo0 == Py_None) { _arg0 = NULL; }
6490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6492 return NULL;
6493 }
6494 }
6495 if (_argo1) {
6496 if (_argo1 == Py_None) { _arg1 = NULL; }
6497 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6498 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6499 return NULL;
6500 }
6501 }
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) return NULL;
6508 } Py_INCREF(Py_None);
6509 _resultobj = Py_None;
6510 return _resultobj;
6511 }
6512
6513 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6514 wxGridStringTable *src;
6515 wxGridTableBase *dest;
6516 src = (wxGridStringTable *) ptr;
6517 dest = (wxGridTableBase *) src;
6518 return (void *) dest;
6519 }
6520
6521 static void *SwigwxGridStringTableTowxObject(void *ptr) {
6522 wxGridStringTable *src;
6523 wxObject *dest;
6524 src = (wxGridStringTable *) ptr;
6525 dest = (wxObject *) src;
6526 return (void *) dest;
6527 }
6528
6529 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6530 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject * _resultobj;
6532 wxGridStringTable * _result;
6533 int _arg0 = (int ) 0;
6534 int _arg1 = (int ) 0;
6535 char *_kwnames[] = { "numRows","numCols", NULL };
6536 char _ptemp[128];
6537
6538 self = self;
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6540 return NULL;
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6544
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) return NULL;
6547 } if (_result) {
6548 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6549 _resultobj = Py_BuildValue("s",_ptemp);
6550 } else {
6551 Py_INCREF(Py_None);
6552 _resultobj = Py_None;
6553 }
6554 return _resultobj;
6555 }
6556
6557 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6558 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6559 PyObject * _resultobj;
6560 wxGridTableMessage * _result;
6561 wxGridTableBase * _arg0;
6562 int _arg1;
6563 int _arg2 = (int ) -1;
6564 int _arg3 = (int ) -1;
6565 PyObject * _argo0 = 0;
6566 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6567 char _ptemp[128];
6568
6569 self = self;
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6571 return NULL;
6572 if (_argo0) {
6573 if (_argo0 == Py_None) { _arg0 = NULL; }
6574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6576 return NULL;
6577 }
6578 }
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) return NULL;
6585 } if (_result) {
6586 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6587 _resultobj = Py_BuildValue("s",_ptemp);
6588 } else {
6589 Py_INCREF(Py_None);
6590 _resultobj = Py_None;
6591 }
6592 return _resultobj;
6593 }
6594
6595 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6596 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject * _resultobj;
6598 wxGridTableMessage * _arg0;
6599 PyObject * _argo0 = 0;
6600 char *_kwnames[] = { "self", NULL };
6601
6602 self = self;
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6604 return NULL;
6605 if (_argo0) {
6606 if (_argo0 == Py_None) { _arg0 = NULL; }
6607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6609 return NULL;
6610 }
6611 }
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 delete_wxGridTableMessage(_arg0);
6615
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) return NULL;
6618 } Py_INCREF(Py_None);
6619 _resultobj = Py_None;
6620 return _resultobj;
6621 }
6622
6623 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6624 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6625 PyObject * _resultobj;
6626 wxGridTableMessage * _arg0;
6627 wxGridTableBase * _arg1;
6628 PyObject * _argo0 = 0;
6629 PyObject * _argo1 = 0;
6630 char *_kwnames[] = { "self","table", NULL };
6631
6632 self = self;
6633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6634 return NULL;
6635 if (_argo0) {
6636 if (_argo0 == Py_None) { _arg0 = NULL; }
6637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6639 return NULL;
6640 }
6641 }
6642 if (_argo1) {
6643 if (_argo1 == Py_None) { _arg1 = NULL; }
6644 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6645 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6646 return NULL;
6647 }
6648 }
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) return NULL;
6655 } Py_INCREF(Py_None);
6656 _resultobj = Py_None;
6657 return _resultobj;
6658 }
6659
6660 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6661 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6662 PyObject * _resultobj;
6663 wxGridTableBase * _result;
6664 wxGridTableMessage * _arg0;
6665 PyObject * _argo0 = 0;
6666 char *_kwnames[] = { "self", NULL };
6667
6668 self = self;
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6670 return NULL;
6671 if (_argo0) {
6672 if (_argo0 == Py_None) { _arg0 = NULL; }
6673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6675 return NULL;
6676 }
6677 }
6678 {
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6681
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) return NULL;
6684 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
6685 return _resultobj;
6686 }
6687
6688 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6689 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject * _resultobj;
6691 wxGridTableMessage * _arg0;
6692 int _arg1;
6693 PyObject * _argo0 = 0;
6694 char *_kwnames[] = { "self","id", NULL };
6695
6696 self = self;
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6698 return NULL;
6699 if (_argo0) {
6700 if (_argo0 == Py_None) { _arg0 = NULL; }
6701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6703 return NULL;
6704 }
6705 }
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 wxGridTableMessage_SetId(_arg0,_arg1);
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) return NULL;
6712 } Py_INCREF(Py_None);
6713 _resultobj = Py_None;
6714 return _resultobj;
6715 }
6716
6717 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6718 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6719 PyObject * _resultobj;
6720 int _result;
6721 wxGridTableMessage * _arg0;
6722 PyObject * _argo0 = 0;
6723 char *_kwnames[] = { "self", NULL };
6724
6725 self = self;
6726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6727 return NULL;
6728 if (_argo0) {
6729 if (_argo0 == Py_None) { _arg0 = NULL; }
6730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6732 return NULL;
6733 }
6734 }
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 _result = (int )wxGridTableMessage_GetId(_arg0);
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) return NULL;
6741 } _resultobj = Py_BuildValue("i",_result);
6742 return _resultobj;
6743 }
6744
6745 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6746 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6747 PyObject * _resultobj;
6748 wxGridTableMessage * _arg0;
6749 int _arg1;
6750 PyObject * _argo0 = 0;
6751 char *_kwnames[] = { "self","comInt1", NULL };
6752
6753 self = self;
6754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6755 return NULL;
6756 if (_argo0) {
6757 if (_argo0 == Py_None) { _arg0 = NULL; }
6758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6760 return NULL;
6761 }
6762 }
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6766
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) return NULL;
6769 } Py_INCREF(Py_None);
6770 _resultobj = Py_None;
6771 return _resultobj;
6772 }
6773
6774 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6775 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject * _resultobj;
6777 int _result;
6778 wxGridTableMessage * _arg0;
6779 PyObject * _argo0 = 0;
6780 char *_kwnames[] = { "self", NULL };
6781
6782 self = self;
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6784 return NULL;
6785 if (_argo0) {
6786 if (_argo0 == Py_None) { _arg0 = NULL; }
6787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6789 return NULL;
6790 }
6791 }
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) return NULL;
6798 } _resultobj = Py_BuildValue("i",_result);
6799 return _resultobj;
6800 }
6801
6802 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6803 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject * _resultobj;
6805 wxGridTableMessage * _arg0;
6806 int _arg1;
6807 PyObject * _argo0 = 0;
6808 char *_kwnames[] = { "self","comInt2", NULL };
6809
6810 self = self;
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6812 return NULL;
6813 if (_argo0) {
6814 if (_argo0 == Py_None) { _arg0 = NULL; }
6815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6817 return NULL;
6818 }
6819 }
6820 {
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6823
6824 wxPyEndAllowThreads(__tstate);
6825 if (PyErr_Occurred()) return NULL;
6826 } Py_INCREF(Py_None);
6827 _resultobj = Py_None;
6828 return _resultobj;
6829 }
6830
6831 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6832 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject * _resultobj;
6834 int _result;
6835 wxGridTableMessage * _arg0;
6836 PyObject * _argo0 = 0;
6837 char *_kwnames[] = { "self", NULL };
6838
6839 self = self;
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
6841 return NULL;
6842 if (_argo0) {
6843 if (_argo0 == Py_None) { _arg0 = NULL; }
6844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6846 return NULL;
6847 }
6848 }
6849 {
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
6852
6853 wxPyEndAllowThreads(__tstate);
6854 if (PyErr_Occurred()) return NULL;
6855 } _resultobj = Py_BuildValue("i",_result);
6856 return _resultobj;
6857 }
6858
6859 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6860 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject * _resultobj;
6862 wxGridCellCoords * _result;
6863 int _arg0 = (int ) -1;
6864 int _arg1 = (int ) -1;
6865 char *_kwnames[] = { "r","c", NULL };
6866 char _ptemp[128];
6867
6868 self = self;
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
6870 return NULL;
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) return NULL;
6877 } if (_result) {
6878 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
6879 _resultobj = Py_BuildValue("s",_ptemp);
6880 } else {
6881 Py_INCREF(Py_None);
6882 _resultobj = Py_None;
6883 }
6884 return _resultobj;
6885 }
6886
6887 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6888 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject * _resultobj;
6890 wxGridCellCoords * _arg0;
6891 PyObject * _argo0 = 0;
6892 char *_kwnames[] = { "self", NULL };
6893
6894 self = self;
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
6896 return NULL;
6897 if (_argo0) {
6898 if (_argo0 == Py_None) { _arg0 = NULL; }
6899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6901 return NULL;
6902 }
6903 }
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 delete_wxGridCellCoords(_arg0);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) return NULL;
6910 } Py_INCREF(Py_None);
6911 _resultobj = Py_None;
6912 return _resultobj;
6913 }
6914
6915 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6916 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject * _resultobj;
6918 int _result;
6919 wxGridCellCoords * _arg0;
6920 PyObject * _argo0 = 0;
6921 char *_kwnames[] = { "self", NULL };
6922
6923 self = self;
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
6925 return NULL;
6926 if (_argo0) {
6927 if (_argo0 == Py_None) { _arg0 = NULL; }
6928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6930 return NULL;
6931 }
6932 }
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 _result = (int )wxGridCellCoords_GetRow(_arg0);
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) return NULL;
6939 } _resultobj = Py_BuildValue("i",_result);
6940 return _resultobj;
6941 }
6942
6943 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6944 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
6945 PyObject * _resultobj;
6946 wxGridCellCoords * _arg0;
6947 int _arg1;
6948 PyObject * _argo0 = 0;
6949 char *_kwnames[] = { "self","n", NULL };
6950
6951 self = self;
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
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_SetRow. Expected _wxGridCellCoords_p.");
6958 return NULL;
6959 }
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 wxGridCellCoords_SetRow(_arg0,_arg1);
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) return NULL;
6967 } Py_INCREF(Py_None);
6968 _resultobj = Py_None;
6969 return _resultobj;
6970 }
6971
6972 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6973 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
6974 PyObject * _resultobj;
6975 int _result;
6976 wxGridCellCoords * _arg0;
6977 PyObject * _argo0 = 0;
6978 char *_kwnames[] = { "self", NULL };
6979
6980 self = self;
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
6982 return NULL;
6983 if (_argo0) {
6984 if (_argo0 == Py_None) { _arg0 = NULL; }
6985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
6986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6987 return NULL;
6988 }
6989 }
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 _result = (int )wxGridCellCoords_GetCol(_arg0);
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) return NULL;
6996 } _resultobj = Py_BuildValue("i",_result);
6997 return _resultobj;
6998 }
6999
7000 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7001 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7002 PyObject * _resultobj;
7003 wxGridCellCoords * _arg0;
7004 int _arg1;
7005 PyObject * _argo0 = 0;
7006 char *_kwnames[] = { "self","n", NULL };
7007
7008 self = self;
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
7010 return NULL;
7011 if (_argo0) {
7012 if (_argo0 == Py_None) { _arg0 = NULL; }
7013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7015 return NULL;
7016 }
7017 }
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 wxGridCellCoords_SetCol(_arg0,_arg1);
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) return NULL;
7024 } Py_INCREF(Py_None);
7025 _resultobj = Py_None;
7026 return _resultobj;
7027 }
7028
7029 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7030 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7031 PyObject * _resultobj;
7032 wxGridCellCoords * _arg0;
7033 int _arg1;
7034 int _arg2;
7035 PyObject * _argo0 = 0;
7036 char *_kwnames[] = { "self","row","col", NULL };
7037
7038 self = self;
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
7040 return NULL;
7041 if (_argo0) {
7042 if (_argo0 == Py_None) { _arg0 = NULL; }
7043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7045 return NULL;
7046 }
7047 }
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) return NULL;
7054 } Py_INCREF(Py_None);
7055 _resultobj = Py_None;
7056 return _resultobj;
7057 }
7058
7059 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
7060 PyObject* tup = PyTuple_New(2);
7061 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
7062 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
7063 return tup;
7064 }
7065 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7066 PyObject * _resultobj;
7067 PyObject * _result;
7068 wxGridCellCoords * _arg0;
7069 PyObject * _argo0 = 0;
7070 char *_kwnames[] = { "self", NULL };
7071
7072 self = self;
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
7074 return NULL;
7075 if (_argo0) {
7076 if (_argo0 == Py_None) { _arg0 = NULL; }
7077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7079 return NULL;
7080 }
7081 }
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) return NULL;
7088 }{
7089 _resultobj = _result;
7090 }
7091 return _resultobj;
7092 }
7093
7094 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
7095 return *self != other;
7096 }
7097 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject * _resultobj;
7099 int _result;
7100 wxGridCellCoords * _arg0;
7101 wxGridCellCoords * _arg1;
7102 PyObject * _argo0 = 0;
7103 PyObject * _argo1 = 0;
7104 char *_kwnames[] = { "self","other", NULL };
7105
7106 self = self;
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
7108 return NULL;
7109 if (_argo0) {
7110 if (_argo0 == Py_None) { _arg0 = NULL; }
7111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7113 return NULL;
7114 }
7115 }
7116 if (_argo1) {
7117 if (_argo1 == Py_None) { _arg1 = NULL; }
7118 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
7119 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7120 return NULL;
7121 }
7122 }
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) return NULL;
7129 } _resultobj = Py_BuildValue("i",_result);
7130 return _resultobj;
7131 }
7132
7133 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
7134 wxGrid *src;
7135 wxScrolledWindow *dest;
7136 src = (wxGrid *) ptr;
7137 dest = (wxScrolledWindow *) src;
7138 return (void *) dest;
7139 }
7140
7141 static void *SwigwxGridTowxPanel(void *ptr) {
7142 wxGrid *src;
7143 wxPanel *dest;
7144 src = (wxGrid *) ptr;
7145 dest = (wxPanel *) src;
7146 return (void *) dest;
7147 }
7148
7149 static void *SwigwxGridTowxWindow(void *ptr) {
7150 wxGrid *src;
7151 wxWindow *dest;
7152 src = (wxGrid *) ptr;
7153 dest = (wxWindow *) src;
7154 return (void *) dest;
7155 }
7156
7157 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7158 wxGrid *src;
7159 wxEvtHandler *dest;
7160 src = (wxGrid *) ptr;
7161 dest = (wxEvtHandler *) src;
7162 return (void *) dest;
7163 }
7164
7165 static void *SwigwxGridTowxObject(void *ptr) {
7166 wxGrid *src;
7167 wxObject *dest;
7168 src = (wxGrid *) ptr;
7169 dest = (wxObject *) src;
7170 return (void *) dest;
7171 }
7172
7173 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7174 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7175 PyObject * _resultobj;
7176 wxGrid * _result;
7177 wxWindow * _arg0;
7178 wxWindowID _arg1;
7179 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7180 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7181 long _arg4 = (long ) wxWANTS_CHARS;
7182 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
7183 PyObject * _argo0 = 0;
7184 wxPoint temp;
7185 PyObject * _obj2 = 0;
7186 wxSize temp0;
7187 PyObject * _obj3 = 0;
7188 PyObject * _obj5 = 0;
7189 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7190 char _ptemp[128];
7191
7192 self = self;
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
7194 return NULL;
7195 if (_argo0) {
7196 if (_argo0 == Py_None) { _arg0 = NULL; }
7197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7199 return NULL;
7200 }
7201 }
7202 if (_obj2)
7203 {
7204 _arg2 = &temp;
7205 if (! wxPoint_helper(_obj2, &_arg2))
7206 return NULL;
7207 }
7208 if (_obj3)
7209 {
7210 _arg3 = &temp0;
7211 if (! wxSize_helper(_obj3, &_arg3))
7212 return NULL;
7213 }
7214 if (_obj5)
7215 {
7216 _arg5 = wxString_in_helper(_obj5);
7217 if (_arg5 == NULL)
7218 return NULL;
7219 }
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) return NULL;
7226 } if (_result) {
7227 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7228 _resultobj = Py_BuildValue("s",_ptemp);
7229 } else {
7230 Py_INCREF(Py_None);
7231 _resultobj = Py_None;
7232 }
7233 {
7234 if (_obj5)
7235 delete _arg5;
7236 }
7237 return _resultobj;
7238 }
7239
7240 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7241 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject * _resultobj;
7243 bool _result;
7244 wxGrid * _arg0;
7245 int _arg1;
7246 int _arg2;
7247 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7248 PyObject * _argo0 = 0;
7249 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7250
7251 self = self;
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7253 return NULL;
7254 if (_argo0) {
7255 if (_argo0 == Py_None) { _arg0 = NULL; }
7256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7258 return NULL;
7259 }
7260 }
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) return NULL;
7267 } _resultobj = Py_BuildValue("i",_result);
7268 return _resultobj;
7269 }
7270
7271 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7272 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7273 PyObject * _resultobj;
7274 wxGrid * _arg0;
7275 WXGRIDSELECTIONMODES _arg1;
7276 PyObject * _argo0 = 0;
7277 char *_kwnames[] = { "self","selmode", NULL };
7278
7279 self = self;
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
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_SetSelectionMode. Expected _wxGrid_p.");
7286 return NULL;
7287 }
7288 }
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 wxGrid_SetSelectionMode(_arg0,_arg1);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) return NULL;
7295 } Py_INCREF(Py_None);
7296 _resultobj = Py_None;
7297 return _resultobj;
7298 }
7299
7300 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7301 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject * _resultobj;
7303 int _result;
7304 wxGrid * _arg0;
7305 PyObject * _argo0 = 0;
7306 char *_kwnames[] = { "self", NULL };
7307
7308 self = self;
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7310 return NULL;
7311 if (_argo0) {
7312 if (_argo0 == Py_None) { _arg0 = NULL; }
7313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7315 return NULL;
7316 }
7317 }
7318 {
7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
7320 _result = (int )wxGrid_GetNumberRows(_arg0);
7321
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) return NULL;
7324 } _resultobj = Py_BuildValue("i",_result);
7325 return _resultobj;
7326 }
7327
7328 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7329 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7330 PyObject * _resultobj;
7331 int _result;
7332 wxGrid * _arg0;
7333 PyObject * _argo0 = 0;
7334 char *_kwnames[] = { "self", NULL };
7335
7336 self = self;
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7338 return NULL;
7339 if (_argo0) {
7340 if (_argo0 == Py_None) { _arg0 = NULL; }
7341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7343 return NULL;
7344 }
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 _result = (int )wxGrid_GetNumberCols(_arg0);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) return NULL;
7352 } _resultobj = Py_BuildValue("i",_result);
7353 return _resultobj;
7354 }
7355
7356 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7357 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject * _resultobj;
7359 bool _result;
7360 wxGrid * _arg0;
7361 wxGridTableMessage * _arg1;
7362 PyObject * _argo0 = 0;
7363 PyObject * _argo1 = 0;
7364 char *_kwnames[] = { "self","arg2", NULL };
7365
7366 self = self;
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7368 return NULL;
7369 if (_argo0) {
7370 if (_argo0 == Py_None) { _arg0 = NULL; }
7371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7373 return NULL;
7374 }
7375 }
7376 if (_argo1) {
7377 if (_argo1 == Py_None) { _arg1 = NULL; }
7378 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7380 return NULL;
7381 }
7382 }
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) return NULL;
7389 } _resultobj = Py_BuildValue("i",_result);
7390 return _resultobj;
7391 }
7392
7393 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7394 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject * _resultobj;
7396 wxGridTableBase * _result;
7397 wxGrid * _arg0;
7398 PyObject * _argo0 = 0;
7399 char *_kwnames[] = { "self", NULL };
7400
7401 self = self;
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7403 return NULL;
7404 if (_argo0) {
7405 if (_argo0 == Py_None) { _arg0 = NULL; }
7406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7408 return NULL;
7409 }
7410 }
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) return NULL;
7417 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
7418 return _resultobj;
7419 }
7420
7421 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7422 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7423 PyObject * _resultobj;
7424 bool _result;
7425 wxGrid * _arg0;
7426 wxGridTableBase * _arg1;
7427 bool _arg2 = (bool ) FALSE;
7428 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7429 PyObject * _argo0 = 0;
7430 PyObject * _argo1 = 0;
7431 int tempbool2 = (int) FALSE;
7432 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7433
7434 self = self;
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7436 return NULL;
7437 if (_argo0) {
7438 if (_argo0 == Py_None) { _arg0 = NULL; }
7439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7441 return NULL;
7442 }
7443 }
7444 if (_argo1) {
7445 if (_argo1 == Py_None) { _arg1 = NULL; }
7446 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7447 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7448 return NULL;
7449 }
7450 }
7451 _arg2 = (bool ) tempbool2;
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) return NULL;
7458 } _resultobj = Py_BuildValue("i",_result);
7459 return _resultobj;
7460 }
7461
7462 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7463 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7464 PyObject * _resultobj;
7465 wxGrid * _arg0;
7466 PyObject * _argo0 = 0;
7467 char *_kwnames[] = { "self", NULL };
7468
7469 self = self;
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7471 return NULL;
7472 if (_argo0) {
7473 if (_argo0 == Py_None) { _arg0 = NULL; }
7474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7476 return NULL;
7477 }
7478 }
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 wxGrid_ClearGrid(_arg0);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) return NULL;
7485 } Py_INCREF(Py_None);
7486 _resultobj = Py_None;
7487 return _resultobj;
7488 }
7489
7490 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7491 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject * _resultobj;
7493 bool _result;
7494 wxGrid * _arg0;
7495 int _arg1 = (int ) 0;
7496 int _arg2 = (int ) 1;
7497 bool _arg3 = (bool ) TRUE;
7498 PyObject * _argo0 = 0;
7499 int tempbool3 = (int) TRUE;
7500 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7501
7502 self = self;
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7504 return NULL;
7505 if (_argo0) {
7506 if (_argo0 == Py_None) { _arg0 = NULL; }
7507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7509 return NULL;
7510 }
7511 }
7512 _arg3 = (bool ) tempbool3;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) return NULL;
7519 } _resultobj = Py_BuildValue("i",_result);
7520 return _resultobj;
7521 }
7522
7523 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7524 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7525 PyObject * _resultobj;
7526 bool _result;
7527 wxGrid * _arg0;
7528 int _arg1 = (int ) 1;
7529 bool _arg2 = (bool ) TRUE;
7530 PyObject * _argo0 = 0;
7531 int tempbool2 = (int) TRUE;
7532 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7533
7534 self = self;
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7536 return NULL;
7537 if (_argo0) {
7538 if (_argo0 == Py_None) { _arg0 = NULL; }
7539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7541 return NULL;
7542 }
7543 }
7544 _arg2 = (bool ) tempbool2;
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) return NULL;
7551 } _resultobj = Py_BuildValue("i",_result);
7552 return _resultobj;
7553 }
7554
7555 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7556 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject * _resultobj;
7558 bool _result;
7559 wxGrid * _arg0;
7560 int _arg1 = (int ) 0;
7561 int _arg2 = (int ) 1;
7562 bool _arg3 = (bool ) TRUE;
7563 PyObject * _argo0 = 0;
7564 int tempbool3 = (int) TRUE;
7565 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7566
7567 self = self;
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7569 return NULL;
7570 if (_argo0) {
7571 if (_argo0 == Py_None) { _arg0 = NULL; }
7572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7574 return NULL;
7575 }
7576 }
7577 _arg3 = (bool ) tempbool3;
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) return NULL;
7584 } _resultobj = Py_BuildValue("i",_result);
7585 return _resultobj;
7586 }
7587
7588 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7589 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7590 PyObject * _resultobj;
7591 bool _result;
7592 wxGrid * _arg0;
7593 int _arg1 = (int ) 0;
7594 int _arg2 = (int ) 1;
7595 bool _arg3 = (bool ) TRUE;
7596 PyObject * _argo0 = 0;
7597 int tempbool3 = (int) TRUE;
7598 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7599
7600 self = self;
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7602 return NULL;
7603 if (_argo0) {
7604 if (_argo0 == Py_None) { _arg0 = NULL; }
7605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7607 return NULL;
7608 }
7609 }
7610 _arg3 = (bool ) tempbool3;
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) return NULL;
7617 } _resultobj = Py_BuildValue("i",_result);
7618 return _resultobj;
7619 }
7620
7621 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7622 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject * _resultobj;
7624 bool _result;
7625 wxGrid * _arg0;
7626 int _arg1 = (int ) 1;
7627 bool _arg2 = (bool ) TRUE;
7628 PyObject * _argo0 = 0;
7629 int tempbool2 = (int) TRUE;
7630 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7631
7632 self = self;
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7634 return NULL;
7635 if (_argo0) {
7636 if (_argo0 == Py_None) { _arg0 = NULL; }
7637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7639 return NULL;
7640 }
7641 }
7642 _arg2 = (bool ) tempbool2;
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) return NULL;
7649 } _resultobj = Py_BuildValue("i",_result);
7650 return _resultobj;
7651 }
7652
7653 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7654 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject * _resultobj;
7656 bool _result;
7657 wxGrid * _arg0;
7658 int _arg1 = (int ) 0;
7659 int _arg2 = (int ) 1;
7660 bool _arg3 = (bool ) TRUE;
7661 PyObject * _argo0 = 0;
7662 int tempbool3 = (int) TRUE;
7663 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7664
7665 self = self;
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7667 return NULL;
7668 if (_argo0) {
7669 if (_argo0 == Py_None) { _arg0 = NULL; }
7670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7672 return NULL;
7673 }
7674 }
7675 _arg3 = (bool ) tempbool3;
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) return NULL;
7682 } _resultobj = Py_BuildValue("i",_result);
7683 return _resultobj;
7684 }
7685
7686 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7687 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject * _resultobj;
7689 wxGrid * _arg0;
7690 wxDC * _arg1;
7691 wxGridCellAttr * _arg2;
7692 PyObject * _argo0 = 0;
7693 PyObject * _argo1 = 0;
7694 PyObject * _argo2 = 0;
7695 char *_kwnames[] = { "self","dc","attr", NULL };
7696
7697 self = self;
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7699 return NULL;
7700 if (_argo0) {
7701 if (_argo0 == Py_None) { _arg0 = NULL; }
7702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7704 return NULL;
7705 }
7706 }
7707 if (_argo1) {
7708 if (_argo1 == Py_None) { _arg1 = NULL; }
7709 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7710 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7711 return NULL;
7712 }
7713 }
7714 if (_argo2) {
7715 if (_argo2 == Py_None) { _arg2 = NULL; }
7716 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7717 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7718 return NULL;
7719 }
7720 }
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) return NULL;
7727 } Py_INCREF(Py_None);
7728 _resultobj = Py_None;
7729 return _resultobj;
7730 }
7731
7732 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7733 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject * _resultobj;
7735 wxGrid * _arg0;
7736 wxDC * _arg1;
7737 wxString * _arg2;
7738 wxRect * _arg3;
7739 int _arg4 = (int ) wxLEFT;
7740 int _arg5 = (int ) wxTOP;
7741 PyObject * _argo0 = 0;
7742 PyObject * _argo1 = 0;
7743 PyObject * _obj2 = 0;
7744 wxRect temp;
7745 PyObject * _obj3 = 0;
7746 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7747
7748 self = self;
7749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7750 return NULL;
7751 if (_argo0) {
7752 if (_argo0 == Py_None) { _arg0 = NULL; }
7753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7755 return NULL;
7756 }
7757 }
7758 if (_argo1) {
7759 if (_argo1 == Py_None) { _arg1 = NULL; }
7760 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7761 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7762 return NULL;
7763 }
7764 }
7765 {
7766 _arg2 = wxString_in_helper(_obj2);
7767 if (_arg2 == NULL)
7768 return NULL;
7769 }
7770 {
7771 _arg3 = &temp;
7772 if (! wxRect_helper(_obj3, &_arg3))
7773 return NULL;
7774 }
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) return NULL;
7781 } Py_INCREF(Py_None);
7782 _resultobj = Py_None;
7783 {
7784 if (_obj2)
7785 delete _arg2;
7786 }
7787 return _resultobj;
7788 }
7789
7790 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7791 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject * _resultobj;
7793 wxGrid * _arg0;
7794 wxDC * _arg1;
7795 wxArrayString * _arg2;
7796 long * _arg3;
7797 long temp;
7798 long * _arg4;
7799 long temp0;
7800 PyObject * _argo0 = 0;
7801 PyObject * _argo1 = 0;
7802 PyObject * _obj2 = 0;
7803 char *_kwnames[] = { "self","dc","lines", NULL };
7804
7805 self = self;
7806 {
7807 _arg3 = &temp;
7808 }
7809 {
7810 _arg4 = &temp0;
7811 }
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
7813 return NULL;
7814 if (_argo0) {
7815 if (_argo0 == Py_None) { _arg0 = NULL; }
7816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7818 return NULL;
7819 }
7820 }
7821 if (_argo1) {
7822 if (_argo1 == Py_None) { _arg1 = NULL; }
7823 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7824 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7825 return NULL;
7826 }
7827 }
7828 {
7829 if (! PySequence_Check(_obj2)) {
7830 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7831 return NULL;
7832 }
7833 _arg2 = new wxArrayString;
7834 int i, len=PySequence_Length(_obj2);
7835 for (i=0; i<len; i++) {
7836 PyObject* item = PySequence_GetItem(_obj2, i);
7837 #if wxUSE_UNICODE
7838 PyObject* str = PyObject_Unicode(item);
7839 _arg2->Add(PyUnicode_AsUnicode(str));
7840 #else
7841 PyObject* str = PyObject_Str(item);
7842 _arg2->Add(PyString_AsString(str));
7843 #endif
7844 Py_DECREF(item);
7845 Py_DECREF(str);
7846 }
7847 }
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) return NULL;
7854 } Py_INCREF(Py_None);
7855 _resultobj = Py_None;
7856 {
7857 PyObject *o;
7858 o = PyInt_FromLong((long) (*_arg3));
7859 _resultobj = t_output_helper(_resultobj, o);
7860 }
7861 {
7862 PyObject *o;
7863 o = PyInt_FromLong((long) (*_arg4));
7864 _resultobj = t_output_helper(_resultobj, o);
7865 }
7866 {
7867 if (_obj2)
7868 delete _arg2;
7869 }
7870 return _resultobj;
7871 }
7872
7873 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7874 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7875 PyObject * _resultobj;
7876 wxGrid * _arg0;
7877 PyObject * _argo0 = 0;
7878 char *_kwnames[] = { "self", NULL };
7879
7880 self = self;
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
7882 return NULL;
7883 if (_argo0) {
7884 if (_argo0 == Py_None) { _arg0 = NULL; }
7885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7887 return NULL;
7888 }
7889 }
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 wxGrid_BeginBatch(_arg0);
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) return NULL;
7896 } Py_INCREF(Py_None);
7897 _resultobj = Py_None;
7898 return _resultobj;
7899 }
7900
7901 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7902 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject * _resultobj;
7904 wxGrid * _arg0;
7905 PyObject * _argo0 = 0;
7906 char *_kwnames[] = { "self", NULL };
7907
7908 self = self;
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
7910 return NULL;
7911 if (_argo0) {
7912 if (_argo0 == Py_None) { _arg0 = NULL; }
7913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7915 return NULL;
7916 }
7917 }
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 wxGrid_EndBatch(_arg0);
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) return NULL;
7924 } Py_INCREF(Py_None);
7925 _resultobj = Py_None;
7926 return _resultobj;
7927 }
7928
7929 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7930 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7931 PyObject * _resultobj;
7932 int _result;
7933 wxGrid * _arg0;
7934 PyObject * _argo0 = 0;
7935 char *_kwnames[] = { "self", NULL };
7936
7937 self = self;
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
7939 return NULL;
7940 if (_argo0) {
7941 if (_argo0 == Py_None) { _arg0 = NULL; }
7942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7944 return NULL;
7945 }
7946 }
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 _result = (int )wxGrid_GetBatchCount(_arg0);
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) return NULL;
7953 } _resultobj = Py_BuildValue("i",_result);
7954 return _resultobj;
7955 }
7956
7957 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7958 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject * _resultobj;
7960 wxGrid * _arg0;
7961 PyObject * _argo0 = 0;
7962 char *_kwnames[] = { "self", NULL };
7963
7964 self = self;
7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
7966 return NULL;
7967 if (_argo0) {
7968 if (_argo0 == Py_None) { _arg0 = NULL; }
7969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7971 return NULL;
7972 }
7973 }
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 wxGrid_ForceRefresh(_arg0);
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) return NULL;
7980 } Py_INCREF(Py_None);
7981 _resultobj = Py_None;
7982 return _resultobj;
7983 }
7984
7985 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7986 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7987 PyObject * _resultobj;
7988 bool _result;
7989 wxGrid * _arg0;
7990 PyObject * _argo0 = 0;
7991 char *_kwnames[] = { "self", NULL };
7992
7993 self = self;
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
7995 return NULL;
7996 if (_argo0) {
7997 if (_argo0 == Py_None) { _arg0 = NULL; }
7998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8000 return NULL;
8001 }
8002 }
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
8005 _result = (bool )wxGrid_IsEditable(_arg0);
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) return NULL;
8009 } _resultobj = Py_BuildValue("i",_result);
8010 return _resultobj;
8011 }
8012
8013 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8014 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8015 PyObject * _resultobj;
8016 wxGrid * _arg0;
8017 bool _arg1;
8018 PyObject * _argo0 = 0;
8019 int tempbool1;
8020 char *_kwnames[] = { "self","edit", NULL };
8021
8022 self = self;
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
8024 return NULL;
8025 if (_argo0) {
8026 if (_argo0 == Py_None) { _arg0 = NULL; }
8027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8029 return NULL;
8030 }
8031 }
8032 _arg1 = (bool ) tempbool1;
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 wxGrid_EnableEditing(_arg0,_arg1);
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) return NULL;
8039 } Py_INCREF(Py_None);
8040 _resultobj = Py_None;
8041 return _resultobj;
8042 }
8043
8044 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8045 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8046 PyObject * _resultobj;
8047 wxGrid * _arg0;
8048 bool _arg1 = (bool ) TRUE;
8049 PyObject * _argo0 = 0;
8050 int tempbool1 = (int) TRUE;
8051 char *_kwnames[] = { "self","enable", NULL };
8052
8053 self = self;
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
8055 return NULL;
8056 if (_argo0) {
8057 if (_argo0 == Py_None) { _arg0 = NULL; }
8058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8060 return NULL;
8061 }
8062 }
8063 _arg1 = (bool ) tempbool1;
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 wxGrid_EnableCellEditControl(_arg0,_arg1);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) return NULL;
8070 } Py_INCREF(Py_None);
8071 _resultobj = Py_None;
8072 return _resultobj;
8073 }
8074
8075 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8076 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8077 PyObject * _resultobj;
8078 wxGrid * _arg0;
8079 PyObject * _argo0 = 0;
8080 char *_kwnames[] = { "self", NULL };
8081
8082 self = self;
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
8084 return NULL;
8085 if (_argo0) {
8086 if (_argo0 == Py_None) { _arg0 = NULL; }
8087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8089 return NULL;
8090 }
8091 }
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 wxGrid_DisableCellEditControl(_arg0);
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) return NULL;
8098 } Py_INCREF(Py_None);
8099 _resultobj = Py_None;
8100 return _resultobj;
8101 }
8102
8103 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8104 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject * _resultobj;
8106 bool _result;
8107 wxGrid * _arg0;
8108 PyObject * _argo0 = 0;
8109 char *_kwnames[] = { "self", NULL };
8110
8111 self = self;
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
8113 return NULL;
8114 if (_argo0) {
8115 if (_argo0 == Py_None) { _arg0 = NULL; }
8116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8118 return NULL;
8119 }
8120 }
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) return NULL;
8127 } _resultobj = Py_BuildValue("i",_result);
8128 return _resultobj;
8129 }
8130
8131 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8132 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject * _resultobj;
8134 bool _result;
8135 wxGrid * _arg0;
8136 PyObject * _argo0 = 0;
8137 char *_kwnames[] = { "self", NULL };
8138
8139 self = self;
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
8141 return NULL;
8142 if (_argo0) {
8143 if (_argo0 == Py_None) { _arg0 = NULL; }
8144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8146 return NULL;
8147 }
8148 }
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) return NULL;
8155 } _resultobj = Py_BuildValue("i",_result);
8156 return _resultobj;
8157 }
8158
8159 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8160 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject * _resultobj;
8162 bool _result;
8163 wxGrid * _arg0;
8164 PyObject * _argo0 = 0;
8165 char *_kwnames[] = { "self", NULL };
8166
8167 self = self;
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8169 return NULL;
8170 if (_argo0) {
8171 if (_argo0 == Py_None) { _arg0 = NULL; }
8172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8174 return NULL;
8175 }
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) return NULL;
8183 } _resultobj = Py_BuildValue("i",_result);
8184 return _resultobj;
8185 }
8186
8187 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8188 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8189 PyObject * _resultobj;
8190 bool _result;
8191 wxGrid * _arg0;
8192 PyObject * _argo0 = 0;
8193 char *_kwnames[] = { "self", NULL };
8194
8195 self = self;
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8197 return NULL;
8198 if (_argo0) {
8199 if (_argo0 == Py_None) { _arg0 = NULL; }
8200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8202 return NULL;
8203 }
8204 }
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) return NULL;
8211 } _resultobj = Py_BuildValue("i",_result);
8212 return _resultobj;
8213 }
8214
8215 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8216 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject * _resultobj;
8218 wxGrid * _arg0;
8219 PyObject * _argo0 = 0;
8220 char *_kwnames[] = { "self", NULL };
8221
8222 self = self;
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8224 return NULL;
8225 if (_argo0) {
8226 if (_argo0 == Py_None) { _arg0 = NULL; }
8227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8229 return NULL;
8230 }
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 wxGrid_ShowCellEditControl(_arg0);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) return NULL;
8238 } Py_INCREF(Py_None);
8239 _resultobj = Py_None;
8240 return _resultobj;
8241 }
8242
8243 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8244 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8245 PyObject * _resultobj;
8246 wxGrid * _arg0;
8247 PyObject * _argo0 = 0;
8248 char *_kwnames[] = { "self", NULL };
8249
8250 self = self;
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8252 return NULL;
8253 if (_argo0) {
8254 if (_argo0 == Py_None) { _arg0 = NULL; }
8255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8257 return NULL;
8258 }
8259 }
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 wxGrid_HideCellEditControl(_arg0);
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) return NULL;
8266 } Py_INCREF(Py_None);
8267 _resultobj = Py_None;
8268 return _resultobj;
8269 }
8270
8271 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8272 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8273 PyObject * _resultobj;
8274 wxGrid * _arg0;
8275 PyObject * _argo0 = 0;
8276 char *_kwnames[] = { "self", NULL };
8277
8278 self = self;
8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8280 return NULL;
8281 if (_argo0) {
8282 if (_argo0 == Py_None) { _arg0 = NULL; }
8283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8285 return NULL;
8286 }
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 wxGrid_SaveEditControlValue(_arg0);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) return NULL;
8294 } Py_INCREF(Py_None);
8295 _resultobj = Py_None;
8296 return _resultobj;
8297 }
8298
8299 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8300 wxGridCellCoords rv;
8301 self->XYToCell(x, y, rv);
8302 return new wxGridCellCoords(rv);
8303 }
8304 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8305 PyObject * _resultobj;
8306 wxGridCellCoords * _result;
8307 wxGrid * _arg0;
8308 int _arg1;
8309 int _arg2;
8310 PyObject * _argo0 = 0;
8311 char *_kwnames[] = { "self","x","y", NULL };
8312 char _ptemp[128];
8313
8314 self = self;
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8316 return NULL;
8317 if (_argo0) {
8318 if (_argo0 == Py_None) { _arg0 = NULL; }
8319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8321 return NULL;
8322 }
8323 }
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) return NULL;
8330 } if (_result) {
8331 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8332 _resultobj = Py_BuildValue("s",_ptemp);
8333 } else {
8334 Py_INCREF(Py_None);
8335 _resultobj = Py_None;
8336 }
8337 return _resultobj;
8338 }
8339
8340 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8341 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8342 PyObject * _resultobj;
8343 int _result;
8344 wxGrid * _arg0;
8345 int _arg1;
8346 PyObject * _argo0 = 0;
8347 char *_kwnames[] = { "self","y", NULL };
8348
8349 self = self;
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8351 return NULL;
8352 if (_argo0) {
8353 if (_argo0 == Py_None) { _arg0 = NULL; }
8354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8356 return NULL;
8357 }
8358 }
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) return NULL;
8365 } _resultobj = Py_BuildValue("i",_result);
8366 return _resultobj;
8367 }
8368
8369 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8370 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8371 PyObject * _resultobj;
8372 int _result;
8373 wxGrid * _arg0;
8374 int _arg1;
8375 PyObject * _argo0 = 0;
8376 char *_kwnames[] = { "self","x", NULL };
8377
8378 self = self;
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8380 return NULL;
8381 if (_argo0) {
8382 if (_argo0 == Py_None) { _arg0 = NULL; }
8383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8385 return NULL;
8386 }
8387 }
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) return NULL;
8394 } _resultobj = Py_BuildValue("i",_result);
8395 return _resultobj;
8396 }
8397
8398 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8399 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject * _resultobj;
8401 int _result;
8402 wxGrid * _arg0;
8403 int _arg1;
8404 PyObject * _argo0 = 0;
8405 char *_kwnames[] = { "self","y", NULL };
8406
8407 self = self;
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8409 return NULL;
8410 if (_argo0) {
8411 if (_argo0 == Py_None) { _arg0 = NULL; }
8412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8414 return NULL;
8415 }
8416 }
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) return NULL;
8423 } _resultobj = Py_BuildValue("i",_result);
8424 return _resultobj;
8425 }
8426
8427 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8428 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8429 PyObject * _resultobj;
8430 int _result;
8431 wxGrid * _arg0;
8432 int _arg1;
8433 PyObject * _argo0 = 0;
8434 char *_kwnames[] = { "self","x", NULL };
8435
8436 self = self;
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8438 return NULL;
8439 if (_argo0) {
8440 if (_argo0 == Py_None) { _arg0 = NULL; }
8441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8443 return NULL;
8444 }
8445 }
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) return NULL;
8452 } _resultobj = Py_BuildValue("i",_result);
8453 return _resultobj;
8454 }
8455
8456 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8457 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject * _resultobj;
8459 wxRect * _result;
8460 wxGrid * _arg0;
8461 int _arg1;
8462 int _arg2;
8463 PyObject * _argo0 = 0;
8464 char *_kwnames[] = { "self","row","col", NULL };
8465 char _ptemp[128];
8466
8467 self = self;
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8469 return NULL;
8470 if (_argo0) {
8471 if (_argo0 == Py_None) { _arg0 = NULL; }
8472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8474 return NULL;
8475 }
8476 }
8477 {
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
8479 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8480
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) return NULL;
8483 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8484 _resultobj = Py_BuildValue("s",_ptemp);
8485 return _resultobj;
8486 }
8487
8488 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8489 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8490 PyObject * _resultobj;
8491 int _result;
8492 wxGrid * _arg0;
8493 PyObject * _argo0 = 0;
8494 char *_kwnames[] = { "self", NULL };
8495
8496 self = self;
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8498 return NULL;
8499 if (_argo0) {
8500 if (_argo0 == Py_None) { _arg0 = NULL; }
8501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8503 return NULL;
8504 }
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) return NULL;
8512 } _resultobj = Py_BuildValue("i",_result);
8513 return _resultobj;
8514 }
8515
8516 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8517 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8518 PyObject * _resultobj;
8519 int _result;
8520 wxGrid * _arg0;
8521 PyObject * _argo0 = 0;
8522 char *_kwnames[] = { "self", NULL };
8523
8524 self = self;
8525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8526 return NULL;
8527 if (_argo0) {
8528 if (_argo0 == Py_None) { _arg0 = NULL; }
8529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8531 return NULL;
8532 }
8533 }
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) return NULL;
8540 } _resultobj = Py_BuildValue("i",_result);
8541 return _resultobj;
8542 }
8543
8544 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8545 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject * _resultobj;
8547 bool _result;
8548 wxGrid * _arg0;
8549 int _arg1;
8550 int _arg2;
8551 bool _arg3 = (bool ) TRUE;
8552 PyObject * _argo0 = 0;
8553 int tempbool3 = (int) TRUE;
8554 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8555
8556 self = self;
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8558 return NULL;
8559 if (_argo0) {
8560 if (_argo0 == Py_None) { _arg0 = NULL; }
8561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8563 return NULL;
8564 }
8565 }
8566 _arg3 = (bool ) tempbool3;
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) return NULL;
8573 } _resultobj = Py_BuildValue("i",_result);
8574 return _resultobj;
8575 }
8576
8577 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8578 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8579 PyObject * _resultobj;
8580 wxGrid * _arg0;
8581 int _arg1;
8582 int _arg2;
8583 PyObject * _argo0 = 0;
8584 char *_kwnames[] = { "self","row","col", NULL };
8585
8586 self = self;
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8588 return NULL;
8589 if (_argo0) {
8590 if (_argo0 == Py_None) { _arg0 = NULL; }
8591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8593 return NULL;
8594 }
8595 }
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) return NULL;
8602 } Py_INCREF(Py_None);
8603 _resultobj = Py_None;
8604 return _resultobj;
8605 }
8606
8607 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8608 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject * _resultobj;
8610 wxGrid * _arg0;
8611 int _arg1;
8612 int _arg2;
8613 PyObject * _argo0 = 0;
8614 char *_kwnames[] = { "self","row","col", NULL };
8615
8616 self = self;
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8618 return NULL;
8619 if (_argo0) {
8620 if (_argo0 == Py_None) { _arg0 = NULL; }
8621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8623 return NULL;
8624 }
8625 }
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) return NULL;
8632 } Py_INCREF(Py_None);
8633 _resultobj = Py_None;
8634 return _resultobj;
8635 }
8636
8637 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8638 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject * _resultobj;
8640 bool _result;
8641 wxGrid * _arg0;
8642 bool _arg1;
8643 PyObject * _argo0 = 0;
8644 int tempbool1;
8645 char *_kwnames[] = { "self","expandSelection", NULL };
8646
8647 self = self;
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8649 return NULL;
8650 if (_argo0) {
8651 if (_argo0 == Py_None) { _arg0 = NULL; }
8652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8654 return NULL;
8655 }
8656 }
8657 _arg1 = (bool ) tempbool1;
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8661
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) return NULL;
8664 } _resultobj = Py_BuildValue("i",_result);
8665 return _resultobj;
8666 }
8667
8668 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8669 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject * _resultobj;
8671 bool _result;
8672 wxGrid * _arg0;
8673 bool _arg1;
8674 PyObject * _argo0 = 0;
8675 int tempbool1;
8676 char *_kwnames[] = { "self","expandSelection", NULL };
8677
8678 self = self;
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8680 return NULL;
8681 if (_argo0) {
8682 if (_argo0 == Py_None) { _arg0 = NULL; }
8683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8685 return NULL;
8686 }
8687 }
8688 _arg1 = (bool ) tempbool1;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) return NULL;
8695 } _resultobj = Py_BuildValue("i",_result);
8696 return _resultobj;
8697 }
8698
8699 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8700 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject * _resultobj;
8702 bool _result;
8703 wxGrid * _arg0;
8704 bool _arg1;
8705 PyObject * _argo0 = 0;
8706 int tempbool1;
8707 char *_kwnames[] = { "self","expandSelection", NULL };
8708
8709 self = self;
8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8711 return NULL;
8712 if (_argo0) {
8713 if (_argo0 == Py_None) { _arg0 = NULL; }
8714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8716 return NULL;
8717 }
8718 }
8719 _arg1 = (bool ) tempbool1;
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) return NULL;
8726 } _resultobj = Py_BuildValue("i",_result);
8727 return _resultobj;
8728 }
8729
8730 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8731 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8732 PyObject * _resultobj;
8733 bool _result;
8734 wxGrid * _arg0;
8735 bool _arg1;
8736 PyObject * _argo0 = 0;
8737 int tempbool1;
8738 char *_kwnames[] = { "self","expandSelection", NULL };
8739
8740 self = self;
8741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8742 return NULL;
8743 if (_argo0) {
8744 if (_argo0 == Py_None) { _arg0 = NULL; }
8745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8747 return NULL;
8748 }
8749 }
8750 _arg1 = (bool ) tempbool1;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) return NULL;
8757 } _resultobj = Py_BuildValue("i",_result);
8758 return _resultobj;
8759 }
8760
8761 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8762 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8763 PyObject * _resultobj;
8764 bool _result;
8765 wxGrid * _arg0;
8766 PyObject * _argo0 = 0;
8767 char *_kwnames[] = { "self", NULL };
8768
8769 self = self;
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
8771 return NULL;
8772 if (_argo0) {
8773 if (_argo0 == Py_None) { _arg0 = NULL; }
8774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8776 return NULL;
8777 }
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 _result = (bool )wxGrid_MovePageDown(_arg0);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) return NULL;
8785 } _resultobj = Py_BuildValue("i",_result);
8786 return _resultobj;
8787 }
8788
8789 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8790 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject * _resultobj;
8792 bool _result;
8793 wxGrid * _arg0;
8794 PyObject * _argo0 = 0;
8795 char *_kwnames[] = { "self", NULL };
8796
8797 self = self;
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
8799 return NULL;
8800 if (_argo0) {
8801 if (_argo0 == Py_None) { _arg0 = NULL; }
8802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8804 return NULL;
8805 }
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 _result = (bool )wxGrid_MovePageUp(_arg0);
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) return NULL;
8813 } _resultobj = Py_BuildValue("i",_result);
8814 return _resultobj;
8815 }
8816
8817 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8818 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8819 PyObject * _resultobj;
8820 bool _result;
8821 wxGrid * _arg0;
8822 bool _arg1;
8823 PyObject * _argo0 = 0;
8824 int tempbool1;
8825 char *_kwnames[] = { "self","expandSelection", NULL };
8826
8827 self = self;
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
8829 return NULL;
8830 if (_argo0) {
8831 if (_argo0 == Py_None) { _arg0 = NULL; }
8832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8834 return NULL;
8835 }
8836 }
8837 _arg1 = (bool ) tempbool1;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) return NULL;
8844 } _resultobj = Py_BuildValue("i",_result);
8845 return _resultobj;
8846 }
8847
8848 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8849 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject * _resultobj;
8851 bool _result;
8852 wxGrid * _arg0;
8853 bool _arg1;
8854 PyObject * _argo0 = 0;
8855 int tempbool1;
8856 char *_kwnames[] = { "self","expandSelection", NULL };
8857
8858 self = self;
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
8860 return NULL;
8861 if (_argo0) {
8862 if (_argo0 == Py_None) { _arg0 = NULL; }
8863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8865 return NULL;
8866 }
8867 }
8868 _arg1 = (bool ) tempbool1;
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) return NULL;
8875 } _resultobj = Py_BuildValue("i",_result);
8876 return _resultobj;
8877 }
8878
8879 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8880 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject * _resultobj;
8882 bool _result;
8883 wxGrid * _arg0;
8884 bool _arg1;
8885 PyObject * _argo0 = 0;
8886 int tempbool1;
8887 char *_kwnames[] = { "self","expandSelection", NULL };
8888
8889 self = self;
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
8891 return NULL;
8892 if (_argo0) {
8893 if (_argo0 == Py_None) { _arg0 = NULL; }
8894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8896 return NULL;
8897 }
8898 }
8899 _arg1 = (bool ) tempbool1;
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) return NULL;
8906 } _resultobj = Py_BuildValue("i",_result);
8907 return _resultobj;
8908 }
8909
8910 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8911 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject * _resultobj;
8913 bool _result;
8914 wxGrid * _arg0;
8915 bool _arg1;
8916 PyObject * _argo0 = 0;
8917 int tempbool1;
8918 char *_kwnames[] = { "self","expandSelection", NULL };
8919
8920 self = self;
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
8922 return NULL;
8923 if (_argo0) {
8924 if (_argo0 == Py_None) { _arg0 = NULL; }
8925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8927 return NULL;
8928 }
8929 }
8930 _arg1 = (bool ) tempbool1;
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) return NULL;
8937 } _resultobj = Py_BuildValue("i",_result);
8938 return _resultobj;
8939 }
8940
8941 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8942 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject * _resultobj;
8944 int _result;
8945 wxGrid * _arg0;
8946 PyObject * _argo0 = 0;
8947 char *_kwnames[] = { "self", NULL };
8948
8949 self = self;
8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
8951 return NULL;
8952 if (_argo0) {
8953 if (_argo0 == Py_None) { _arg0 = NULL; }
8954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8956 return NULL;
8957 }
8958 }
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) return NULL;
8965 } _resultobj = Py_BuildValue("i",_result);
8966 return _resultobj;
8967 }
8968
8969 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8970 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject * _resultobj;
8972 int _result;
8973 wxGrid * _arg0;
8974 PyObject * _argo0 = 0;
8975 char *_kwnames[] = { "self", NULL };
8976
8977 self = self;
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
8979 return NULL;
8980 if (_argo0) {
8981 if (_argo0 == Py_None) { _arg0 = NULL; }
8982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8984 return NULL;
8985 }
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 _result = (int )wxGrid_GetRowLabelSize(_arg0);
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) return NULL;
8993 } _resultobj = Py_BuildValue("i",_result);
8994 return _resultobj;
8995 }
8996
8997 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8998 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8999 PyObject * _resultobj;
9000 int _result;
9001 wxGrid * _arg0;
9002 PyObject * _argo0 = 0;
9003 char *_kwnames[] = { "self", NULL };
9004
9005 self = self;
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_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_GetDefaultColLabelSize. Expected _wxGrid_p.");
9012 return NULL;
9013 }
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) return NULL;
9021 } _resultobj = Py_BuildValue("i",_result);
9022 return _resultobj;
9023 }
9024
9025 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9026 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9027 PyObject * _resultobj;
9028 int _result;
9029 wxGrid * _arg0;
9030 PyObject * _argo0 = 0;
9031 char *_kwnames[] = { "self", NULL };
9032
9033 self = self;
9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
9035 return NULL;
9036 if (_argo0) {
9037 if (_argo0 == Py_None) { _arg0 = NULL; }
9038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9040 return NULL;
9041 }
9042 }
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 _result = (int )wxGrid_GetColLabelSize(_arg0);
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) return NULL;
9049 } _resultobj = Py_BuildValue("i",_result);
9050 return _resultobj;
9051 }
9052
9053 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9054 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9055 PyObject * _resultobj;
9056 wxColour * _result;
9057 wxGrid * _arg0;
9058 PyObject * _argo0 = 0;
9059 char *_kwnames[] = { "self", NULL };
9060 char _ptemp[128];
9061
9062 self = self;
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
9064 return NULL;
9065 if (_argo0) {
9066 if (_argo0 == Py_None) { _arg0 = NULL; }
9067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9069 return NULL;
9070 }
9071 }
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) return NULL;
9078 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9079 _resultobj = Py_BuildValue("s",_ptemp);
9080 return _resultobj;
9081 }
9082
9083 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9084 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9085 PyObject * _resultobj;
9086 wxColour * _result;
9087 wxGrid * _arg0;
9088 PyObject * _argo0 = 0;
9089 char *_kwnames[] = { "self", NULL };
9090 char _ptemp[128];
9091
9092 self = self;
9093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
9094 return NULL;
9095 if (_argo0) {
9096 if (_argo0 == Py_None) { _arg0 = NULL; }
9097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9099 return NULL;
9100 }
9101 }
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
9105
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) return NULL;
9108 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9109 _resultobj = Py_BuildValue("s",_ptemp);
9110 return _resultobj;
9111 }
9112
9113 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9114 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9115 PyObject * _resultobj;
9116 wxFont * _result;
9117 wxGrid * _arg0;
9118 PyObject * _argo0 = 0;
9119 char *_kwnames[] = { "self", NULL };
9120 char _ptemp[128];
9121
9122 self = self;
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
9124 return NULL;
9125 if (_argo0) {
9126 if (_argo0 == Py_None) { _arg0 = NULL; }
9127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9129 return NULL;
9130 }
9131 }
9132 {
9133 PyThreadState* __tstate = wxPyBeginAllowThreads();
9134 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
9135
9136 wxPyEndAllowThreads(__tstate);
9137 if (PyErr_Occurred()) return NULL;
9138 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9139 _resultobj = Py_BuildValue("s",_ptemp);
9140 return _resultobj;
9141 }
9142
9143 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9144 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9145 PyObject * _resultobj;
9146 wxGrid * _arg0;
9147 int * _arg1;
9148 int temp;
9149 int * _arg2;
9150 int temp0;
9151 PyObject * _argo0 = 0;
9152 char *_kwnames[] = { "self", NULL };
9153
9154 self = self;
9155 {
9156 _arg1 = &temp;
9157 }
9158 {
9159 _arg2 = &temp0;
9160 }
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9162 return NULL;
9163 if (_argo0) {
9164 if (_argo0 == Py_None) { _arg0 = NULL; }
9165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9167 return NULL;
9168 }
9169 }
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) return NULL;
9176 } Py_INCREF(Py_None);
9177 _resultobj = Py_None;
9178 {
9179 PyObject *o;
9180 o = PyInt_FromLong((long) (*_arg1));
9181 _resultobj = t_output_helper(_resultobj, o);
9182 }
9183 {
9184 PyObject *o;
9185 o = PyInt_FromLong((long) (*_arg2));
9186 _resultobj = t_output_helper(_resultobj, o);
9187 }
9188 return _resultobj;
9189 }
9190
9191 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9192 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9193 PyObject * _resultobj;
9194 wxGrid * _arg0;
9195 int * _arg1;
9196 int temp;
9197 int * _arg2;
9198 int temp0;
9199 PyObject * _argo0 = 0;
9200 char *_kwnames[] = { "self", NULL };
9201
9202 self = self;
9203 {
9204 _arg1 = &temp;
9205 }
9206 {
9207 _arg2 = &temp0;
9208 }
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9210 return NULL;
9211 if (_argo0) {
9212 if (_argo0 == Py_None) { _arg0 = NULL; }
9213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9215 return NULL;
9216 }
9217 }
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) return NULL;
9224 } Py_INCREF(Py_None);
9225 _resultobj = Py_None;
9226 {
9227 PyObject *o;
9228 o = PyInt_FromLong((long) (*_arg1));
9229 _resultobj = t_output_helper(_resultobj, o);
9230 }
9231 {
9232 PyObject *o;
9233 o = PyInt_FromLong((long) (*_arg2));
9234 _resultobj = t_output_helper(_resultobj, o);
9235 }
9236 return _resultobj;
9237 }
9238
9239 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9240 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9241 PyObject * _resultobj;
9242 wxString * _result;
9243 wxGrid * _arg0;
9244 int _arg1;
9245 PyObject * _argo0 = 0;
9246 char *_kwnames[] = { "self","row", NULL };
9247
9248 self = self;
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9250 return NULL;
9251 if (_argo0) {
9252 if (_argo0 == Py_None) { _arg0 = NULL; }
9253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9255 return NULL;
9256 }
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) return NULL;
9264 }{
9265 #if wxUSE_UNICODE
9266 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9267 #else
9268 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9269 #endif
9270 }
9271 {
9272 delete _result;
9273 }
9274 return _resultobj;
9275 }
9276
9277 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9278 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject * _resultobj;
9280 wxString * _result;
9281 wxGrid * _arg0;
9282 int _arg1;
9283 PyObject * _argo0 = 0;
9284 char *_kwnames[] = { "self","col", NULL };
9285
9286 self = self;
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9288 return NULL;
9289 if (_argo0) {
9290 if (_argo0 == Py_None) { _arg0 = NULL; }
9291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9293 return NULL;
9294 }
9295 }
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) return NULL;
9302 }{
9303 #if wxUSE_UNICODE
9304 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9305 #else
9306 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9307 #endif
9308 }
9309 {
9310 delete _result;
9311 }
9312 return _resultobj;
9313 }
9314
9315 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9316 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9317 PyObject * _resultobj;
9318 wxColour * _result;
9319 wxGrid * _arg0;
9320 PyObject * _argo0 = 0;
9321 char *_kwnames[] = { "self", NULL };
9322 char _ptemp[128];
9323
9324 self = self;
9325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9326 return NULL;
9327 if (_argo0) {
9328 if (_argo0 == Py_None) { _arg0 = NULL; }
9329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9331 return NULL;
9332 }
9333 }
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) return NULL;
9340 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9341 _resultobj = Py_BuildValue("s",_ptemp);
9342 return _resultobj;
9343 }
9344
9345 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9346 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject * _resultobj;
9348 wxColour * _result;
9349 wxGrid * _arg0;
9350 PyObject * _argo0 = 0;
9351 char *_kwnames[] = { "self", NULL };
9352 char _ptemp[128];
9353
9354 self = self;
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9356 return NULL;
9357 if (_argo0) {
9358 if (_argo0 == Py_None) { _arg0 = NULL; }
9359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9361 return NULL;
9362 }
9363 }
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9367
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) return NULL;
9370 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9371 _resultobj = Py_BuildValue("s",_ptemp);
9372 return _resultobj;
9373 }
9374
9375 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9376 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9377 PyObject * _resultobj;
9378 int _result;
9379 wxGrid * _arg0;
9380 PyObject * _argo0 = 0;
9381 char *_kwnames[] = { "self", NULL };
9382
9383 self = self;
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9385 return NULL;
9386 if (_argo0) {
9387 if (_argo0 == Py_None) { _arg0 = NULL; }
9388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9390 return NULL;
9391 }
9392 }
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9396
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) return NULL;
9399 } _resultobj = Py_BuildValue("i",_result);
9400 return _resultobj;
9401 }
9402
9403 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9404 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9405 PyObject * _resultobj;
9406 int _result;
9407 wxGrid * _arg0;
9408 PyObject * _argo0 = 0;
9409 char *_kwnames[] = { "self", NULL };
9410
9411 self = self;
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9413 return NULL;
9414 if (_argo0) {
9415 if (_argo0 == Py_None) { _arg0 = NULL; }
9416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9418 return NULL;
9419 }
9420 }
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9424
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) return NULL;
9427 } _resultobj = Py_BuildValue("i",_result);
9428 return _resultobj;
9429 }
9430
9431 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9432 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9433 PyObject * _resultobj;
9434 wxGrid * _arg0;
9435 int _arg1;
9436 PyObject * _argo0 = 0;
9437 char *_kwnames[] = { "self","width", NULL };
9438
9439 self = self;
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9441 return NULL;
9442 if (_argo0) {
9443 if (_argo0 == Py_None) { _arg0 = NULL; }
9444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9446 return NULL;
9447 }
9448 }
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 wxGrid_SetRowLabelSize(_arg0,_arg1);
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) return NULL;
9455 } Py_INCREF(Py_None);
9456 _resultobj = Py_None;
9457 return _resultobj;
9458 }
9459
9460 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9461 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject * _resultobj;
9463 wxGrid * _arg0;
9464 int _arg1;
9465 PyObject * _argo0 = 0;
9466 char *_kwnames[] = { "self","height", NULL };
9467
9468 self = self;
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9470 return NULL;
9471 if (_argo0) {
9472 if (_argo0 == Py_None) { _arg0 = NULL; }
9473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9475 return NULL;
9476 }
9477 }
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 wxGrid_SetColLabelSize(_arg0,_arg1);
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) return NULL;
9484 } Py_INCREF(Py_None);
9485 _resultobj = Py_None;
9486 return _resultobj;
9487 }
9488
9489 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9490 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9491 PyObject * _resultobj;
9492 wxGrid * _arg0;
9493 wxColour * _arg1;
9494 PyObject * _argo0 = 0;
9495 wxColour temp;
9496 PyObject * _obj1 = 0;
9497 char *_kwnames[] = { "self","arg2", NULL };
9498
9499 self = self;
9500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9501 return NULL;
9502 if (_argo0) {
9503 if (_argo0 == Py_None) { _arg0 = NULL; }
9504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9506 return NULL;
9507 }
9508 }
9509 {
9510 _arg1 = &temp;
9511 if (! wxColour_helper(_obj1, &_arg1))
9512 return NULL;
9513 }
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) return NULL;
9520 } Py_INCREF(Py_None);
9521 _resultobj = Py_None;
9522 return _resultobj;
9523 }
9524
9525 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9526 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9527 PyObject * _resultobj;
9528 wxGrid * _arg0;
9529 wxColour * _arg1;
9530 PyObject * _argo0 = 0;
9531 wxColour temp;
9532 PyObject * _obj1 = 0;
9533 char *_kwnames[] = { "self","arg2", NULL };
9534
9535 self = self;
9536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9537 return NULL;
9538 if (_argo0) {
9539 if (_argo0 == Py_None) { _arg0 = NULL; }
9540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9542 return NULL;
9543 }
9544 }
9545 {
9546 _arg1 = &temp;
9547 if (! wxColour_helper(_obj1, &_arg1))
9548 return NULL;
9549 }
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) return NULL;
9556 } Py_INCREF(Py_None);
9557 _resultobj = Py_None;
9558 return _resultobj;
9559 }
9560
9561 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9562 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9563 PyObject * _resultobj;
9564 wxGrid * _arg0;
9565 wxFont * _arg1;
9566 PyObject * _argo0 = 0;
9567 PyObject * _argo1 = 0;
9568 char *_kwnames[] = { "self","arg2", NULL };
9569
9570 self = self;
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9572 return NULL;
9573 if (_argo0) {
9574 if (_argo0 == Py_None) { _arg0 = NULL; }
9575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9577 return NULL;
9578 }
9579 }
9580 if (_argo1) {
9581 if (_argo1 == Py_None) { _arg1 = NULL; }
9582 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9583 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9584 return NULL;
9585 }
9586 }
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 wxGrid_SetLabelFont(_arg0,*_arg1);
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) return NULL;
9593 } Py_INCREF(Py_None);
9594 _resultobj = Py_None;
9595 return _resultobj;
9596 }
9597
9598 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9599 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject * _resultobj;
9601 wxGrid * _arg0;
9602 int _arg1;
9603 int _arg2;
9604 PyObject * _argo0 = 0;
9605 char *_kwnames[] = { "self","horiz","vert", NULL };
9606
9607 self = self;
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9609 return NULL;
9610 if (_argo0) {
9611 if (_argo0 == Py_None) { _arg0 = NULL; }
9612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9614 return NULL;
9615 }
9616 }
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) return NULL;
9623 } Py_INCREF(Py_None);
9624 _resultobj = Py_None;
9625 return _resultobj;
9626 }
9627
9628 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9629 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9630 PyObject * _resultobj;
9631 wxGrid * _arg0;
9632 int _arg1;
9633 int _arg2;
9634 PyObject * _argo0 = 0;
9635 char *_kwnames[] = { "self","horiz","vert", NULL };
9636
9637 self = self;
9638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9639 return NULL;
9640 if (_argo0) {
9641 if (_argo0 == Py_None) { _arg0 = NULL; }
9642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9644 return NULL;
9645 }
9646 }
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) return NULL;
9653 } Py_INCREF(Py_None);
9654 _resultobj = Py_None;
9655 return _resultobj;
9656 }
9657
9658 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9659 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9660 PyObject * _resultobj;
9661 wxGrid * _arg0;
9662 int _arg1;
9663 wxString * _arg2;
9664 PyObject * _argo0 = 0;
9665 PyObject * _obj2 = 0;
9666 char *_kwnames[] = { "self","row","arg3", NULL };
9667
9668 self = self;
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9670 return NULL;
9671 if (_argo0) {
9672 if (_argo0 == Py_None) { _arg0 = NULL; }
9673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9675 return NULL;
9676 }
9677 }
9678 {
9679 _arg2 = wxString_in_helper(_obj2);
9680 if (_arg2 == NULL)
9681 return NULL;
9682 }
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) return NULL;
9689 } Py_INCREF(Py_None);
9690 _resultobj = Py_None;
9691 {
9692 if (_obj2)
9693 delete _arg2;
9694 }
9695 return _resultobj;
9696 }
9697
9698 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9699 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9700 PyObject * _resultobj;
9701 wxGrid * _arg0;
9702 int _arg1;
9703 wxString * _arg2;
9704 PyObject * _argo0 = 0;
9705 PyObject * _obj2 = 0;
9706 char *_kwnames[] = { "self","col","arg3", NULL };
9707
9708 self = self;
9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9710 return NULL;
9711 if (_argo0) {
9712 if (_argo0 == Py_None) { _arg0 = NULL; }
9713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9715 return NULL;
9716 }
9717 }
9718 {
9719 _arg2 = wxString_in_helper(_obj2);
9720 if (_arg2 == NULL)
9721 return NULL;
9722 }
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9726
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) return NULL;
9729 } Py_INCREF(Py_None);
9730 _resultobj = Py_None;
9731 {
9732 if (_obj2)
9733 delete _arg2;
9734 }
9735 return _resultobj;
9736 }
9737
9738 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9739 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9740 PyObject * _resultobj;
9741 wxGrid * _arg0;
9742 wxColour * _arg1;
9743 PyObject * _argo0 = 0;
9744 wxColour temp;
9745 PyObject * _obj1 = 0;
9746 char *_kwnames[] = { "self","arg2", NULL };
9747
9748 self = self;
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9750 return NULL;
9751 if (_argo0) {
9752 if (_argo0 == Py_None) { _arg0 = NULL; }
9753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9755 return NULL;
9756 }
9757 }
9758 {
9759 _arg1 = &temp;
9760 if (! wxColour_helper(_obj1, &_arg1))
9761 return NULL;
9762 }
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 wxGrid_SetGridLineColour(_arg0,*_arg1);
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) return NULL;
9769 } Py_INCREF(Py_None);
9770 _resultobj = Py_None;
9771 return _resultobj;
9772 }
9773
9774 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9775 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9776 PyObject * _resultobj;
9777 wxGrid * _arg0;
9778 wxColour * _arg1;
9779 PyObject * _argo0 = 0;
9780 wxColour temp;
9781 PyObject * _obj1 = 0;
9782 char *_kwnames[] = { "self","arg2", NULL };
9783
9784 self = self;
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
9786 return NULL;
9787 if (_argo0) {
9788 if (_argo0 == Py_None) { _arg0 = NULL; }
9789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9791 return NULL;
9792 }
9793 }
9794 {
9795 _arg1 = &temp;
9796 if (! wxColour_helper(_obj1, &_arg1))
9797 return NULL;
9798 }
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
9802
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) return NULL;
9805 } Py_INCREF(Py_None);
9806 _resultobj = Py_None;
9807 return _resultobj;
9808 }
9809
9810 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9811 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject * _resultobj;
9813 wxGrid * _arg0;
9814 int _arg1;
9815 PyObject * _argo0 = 0;
9816 char *_kwnames[] = { "self","width", NULL };
9817
9818 self = self;
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
9820 return NULL;
9821 if (_argo0) {
9822 if (_argo0 == Py_None) { _arg0 = NULL; }
9823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9825 return NULL;
9826 }
9827 }
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) return NULL;
9834 } Py_INCREF(Py_None);
9835 _resultobj = Py_None;
9836 return _resultobj;
9837 }
9838
9839 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9840 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject * _resultobj;
9842 wxGrid * _arg0;
9843 int _arg1;
9844 PyObject * _argo0 = 0;
9845 char *_kwnames[] = { "self","width", NULL };
9846
9847 self = self;
9848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
9849 return NULL;
9850 if (_argo0) {
9851 if (_argo0 == Py_None) { _arg0 = NULL; }
9852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9854 return NULL;
9855 }
9856 }
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) return NULL;
9863 } Py_INCREF(Py_None);
9864 _resultobj = Py_None;
9865 return _resultobj;
9866 }
9867
9868 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9869 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject * _resultobj;
9871 wxGrid * _arg0;
9872 bool _arg1 = (bool ) TRUE;
9873 PyObject * _argo0 = 0;
9874 int tempbool1 = (int) TRUE;
9875 char *_kwnames[] = { "self","enable", NULL };
9876
9877 self = self;
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
9879 return NULL;
9880 if (_argo0) {
9881 if (_argo0 == Py_None) { _arg0 = NULL; }
9882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9884 return NULL;
9885 }
9886 }
9887 _arg1 = (bool ) tempbool1;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 wxGrid_EnableDragRowSize(_arg0,_arg1);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) return NULL;
9894 } Py_INCREF(Py_None);
9895 _resultobj = Py_None;
9896 return _resultobj;
9897 }
9898
9899 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9900 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject * _resultobj;
9902 wxGrid * _arg0;
9903 PyObject * _argo0 = 0;
9904 char *_kwnames[] = { "self", NULL };
9905
9906 self = self;
9907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
9908 return NULL;
9909 if (_argo0) {
9910 if (_argo0 == Py_None) { _arg0 = NULL; }
9911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9913 return NULL;
9914 }
9915 }
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 wxGrid_DisableDragRowSize(_arg0);
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) return NULL;
9922 } Py_INCREF(Py_None);
9923 _resultobj = Py_None;
9924 return _resultobj;
9925 }
9926
9927 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9928 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject * _resultobj;
9930 bool _result;
9931 wxGrid * _arg0;
9932 PyObject * _argo0 = 0;
9933 char *_kwnames[] = { "self", NULL };
9934
9935 self = self;
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
9937 return NULL;
9938 if (_argo0) {
9939 if (_argo0 == Py_None) { _arg0 = NULL; }
9940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9942 return NULL;
9943 }
9944 }
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 _result = (bool )wxGrid_CanDragRowSize(_arg0);
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) return NULL;
9951 } _resultobj = Py_BuildValue("i",_result);
9952 return _resultobj;
9953 }
9954
9955 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9956 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject * _resultobj;
9958 wxGrid * _arg0;
9959 bool _arg1 = (bool ) TRUE;
9960 PyObject * _argo0 = 0;
9961 int tempbool1 = (int) TRUE;
9962 char *_kwnames[] = { "self","enable", NULL };
9963
9964 self = self;
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
9966 return NULL;
9967 if (_argo0) {
9968 if (_argo0 == Py_None) { _arg0 = NULL; }
9969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9971 return NULL;
9972 }
9973 }
9974 _arg1 = (bool ) tempbool1;
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 wxGrid_EnableDragColSize(_arg0,_arg1);
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) return NULL;
9981 } Py_INCREF(Py_None);
9982 _resultobj = Py_None;
9983 return _resultobj;
9984 }
9985
9986 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9987 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9988 PyObject * _resultobj;
9989 wxGrid * _arg0;
9990 PyObject * _argo0 = 0;
9991 char *_kwnames[] = { "self", NULL };
9992
9993 self = self;
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
9995 return NULL;
9996 if (_argo0) {
9997 if (_argo0 == Py_None) { _arg0 = NULL; }
9998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10000 return NULL;
10001 }
10002 }
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 wxGrid_DisableDragColSize(_arg0);
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) return NULL;
10009 } Py_INCREF(Py_None);
10010 _resultobj = Py_None;
10011 return _resultobj;
10012 }
10013
10014 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10015 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10016 PyObject * _resultobj;
10017 bool _result;
10018 wxGrid * _arg0;
10019 PyObject * _argo0 = 0;
10020 char *_kwnames[] = { "self", NULL };
10021
10022 self = self;
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
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_CanDragColSize. Expected _wxGrid_p.");
10029 return NULL;
10030 }
10031 }
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 _result = (bool )wxGrid_CanDragColSize(_arg0);
10035
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) return NULL;
10038 } _resultobj = Py_BuildValue("i",_result);
10039 return _resultobj;
10040 }
10041
10042 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10043 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10044 PyObject * _resultobj;
10045 wxGrid * _arg0;
10046 bool _arg1 = (bool ) TRUE;
10047 PyObject * _argo0 = 0;
10048 int tempbool1 = (int) TRUE;
10049 char *_kwnames[] = { "self","enable", NULL };
10050
10051 self = self;
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
10053 return NULL;
10054 if (_argo0) {
10055 if (_argo0 == Py_None) { _arg0 = NULL; }
10056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10058 return NULL;
10059 }
10060 }
10061 _arg1 = (bool ) tempbool1;
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 wxGrid_EnableDragGridSize(_arg0,_arg1);
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) return NULL;
10068 } Py_INCREF(Py_None);
10069 _resultobj = Py_None;
10070 return _resultobj;
10071 }
10072
10073 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10074 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10075 PyObject * _resultobj;
10076 wxGrid * _arg0;
10077 PyObject * _argo0 = 0;
10078 char *_kwnames[] = { "self", NULL };
10079
10080 self = self;
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
10082 return NULL;
10083 if (_argo0) {
10084 if (_argo0 == Py_None) { _arg0 = NULL; }
10085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10087 return NULL;
10088 }
10089 }
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 wxGrid_DisableDragGridSize(_arg0);
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) return NULL;
10096 } Py_INCREF(Py_None);
10097 _resultobj = Py_None;
10098 return _resultobj;
10099 }
10100
10101 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10102 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject * _resultobj;
10104 bool _result;
10105 wxGrid * _arg0;
10106 PyObject * _argo0 = 0;
10107 char *_kwnames[] = { "self", NULL };
10108
10109 self = self;
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
10111 return NULL;
10112 if (_argo0) {
10113 if (_argo0 == Py_None) { _arg0 = NULL; }
10114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10116 return NULL;
10117 }
10118 }
10119 {
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
10121 _result = (bool )wxGrid_CanDragGridSize(_arg0);
10122
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) return NULL;
10125 } _resultobj = Py_BuildValue("i",_result);
10126 return _resultobj;
10127 }
10128
10129 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10130 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10131 PyObject * _resultobj;
10132 wxGrid * _arg0;
10133 int _arg1;
10134 wxGridCellAttr * _arg2;
10135 PyObject * _argo0 = 0;
10136 PyObject * _argo2 = 0;
10137 char *_kwnames[] = { "self","row","attr", NULL };
10138
10139 self = self;
10140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10141 return NULL;
10142 if (_argo0) {
10143 if (_argo0 == Py_None) { _arg0 = NULL; }
10144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10146 return NULL;
10147 }
10148 }
10149 if (_argo2) {
10150 if (_argo2 == Py_None) { _arg2 = NULL; }
10151 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10152 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10153 return NULL;
10154 }
10155 }
10156 {
10157 PyThreadState* __tstate = wxPyBeginAllowThreads();
10158 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10159
10160 wxPyEndAllowThreads(__tstate);
10161 if (PyErr_Occurred()) return NULL;
10162 } Py_INCREF(Py_None);
10163 _resultobj = Py_None;
10164 return _resultobj;
10165 }
10166
10167 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10168 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject * _resultobj;
10170 wxGrid * _arg0;
10171 int _arg1;
10172 wxGridCellAttr * _arg2;
10173 PyObject * _argo0 = 0;
10174 PyObject * _argo2 = 0;
10175 char *_kwnames[] = { "self","col","attr", NULL };
10176
10177 self = self;
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10179 return NULL;
10180 if (_argo0) {
10181 if (_argo0 == Py_None) { _arg0 = NULL; }
10182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10184 return NULL;
10185 }
10186 }
10187 if (_argo2) {
10188 if (_argo2 == Py_None) { _arg2 = NULL; }
10189 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10190 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10191 return NULL;
10192 }
10193 }
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) return NULL;
10200 } Py_INCREF(Py_None);
10201 _resultobj = Py_None;
10202 return _resultobj;
10203 }
10204
10205 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10206 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10207 PyObject * _resultobj;
10208 wxGrid * _arg0;
10209 int _arg1;
10210 PyObject * _argo0 = 0;
10211 char *_kwnames[] = { "self","col", NULL };
10212
10213 self = self;
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10215 return NULL;
10216 if (_argo0) {
10217 if (_argo0 == Py_None) { _arg0 = NULL; }
10218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10220 return NULL;
10221 }
10222 }
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 wxGrid_SetColFormatBool(_arg0,_arg1);
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) return NULL;
10229 } Py_INCREF(Py_None);
10230 _resultobj = Py_None;
10231 return _resultobj;
10232 }
10233
10234 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10235 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject * _resultobj;
10237 wxGrid * _arg0;
10238 int _arg1;
10239 PyObject * _argo0 = 0;
10240 char *_kwnames[] = { "self","col", NULL };
10241
10242 self = self;
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10244 return NULL;
10245 if (_argo0) {
10246 if (_argo0 == Py_None) { _arg0 = NULL; }
10247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10249 return NULL;
10250 }
10251 }
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 wxGrid_SetColFormatNumber(_arg0,_arg1);
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) return NULL;
10258 } Py_INCREF(Py_None);
10259 _resultobj = Py_None;
10260 return _resultobj;
10261 }
10262
10263 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10264 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10265 PyObject * _resultobj;
10266 wxGrid * _arg0;
10267 int _arg1;
10268 int _arg2 = (int ) -1;
10269 int _arg3 = (int ) -1;
10270 PyObject * _argo0 = 0;
10271 char *_kwnames[] = { "self","col","width","precision", NULL };
10272
10273 self = self;
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10275 return NULL;
10276 if (_argo0) {
10277 if (_argo0 == Py_None) { _arg0 = NULL; }
10278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10280 return NULL;
10281 }
10282 }
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10286
10287 wxPyEndAllowThreads(__tstate);
10288 if (PyErr_Occurred()) return NULL;
10289 } Py_INCREF(Py_None);
10290 _resultobj = Py_None;
10291 return _resultobj;
10292 }
10293
10294 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10295 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject * _resultobj;
10297 wxGrid * _arg0;
10298 int _arg1;
10299 wxString * _arg2;
10300 PyObject * _argo0 = 0;
10301 PyObject * _obj2 = 0;
10302 char *_kwnames[] = { "self","col","typeName", NULL };
10303
10304 self = self;
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10306 return NULL;
10307 if (_argo0) {
10308 if (_argo0 == Py_None) { _arg0 = NULL; }
10309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10311 return NULL;
10312 }
10313 }
10314 {
10315 _arg2 = wxString_in_helper(_obj2);
10316 if (_arg2 == NULL)
10317 return NULL;
10318 }
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) return NULL;
10325 } Py_INCREF(Py_None);
10326 _resultobj = Py_None;
10327 {
10328 if (_obj2)
10329 delete _arg2;
10330 }
10331 return _resultobj;
10332 }
10333
10334 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10335 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10336 PyObject * _resultobj;
10337 wxGrid * _arg0;
10338 bool _arg1 = (bool ) TRUE;
10339 PyObject * _argo0 = 0;
10340 int tempbool1 = (int) TRUE;
10341 char *_kwnames[] = { "self","enable", NULL };
10342
10343 self = self;
10344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10345 return NULL;
10346 if (_argo0) {
10347 if (_argo0 == Py_None) { _arg0 = NULL; }
10348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10350 return NULL;
10351 }
10352 }
10353 _arg1 = (bool ) tempbool1;
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 wxGrid_EnableGridLines(_arg0,_arg1);
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) return NULL;
10360 } Py_INCREF(Py_None);
10361 _resultobj = Py_None;
10362 return _resultobj;
10363 }
10364
10365 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10366 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10367 PyObject * _resultobj;
10368 bool _result;
10369 wxGrid * _arg0;
10370 PyObject * _argo0 = 0;
10371 char *_kwnames[] = { "self", NULL };
10372
10373 self = self;
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10375 return NULL;
10376 if (_argo0) {
10377 if (_argo0 == Py_None) { _arg0 = NULL; }
10378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10380 return NULL;
10381 }
10382 }
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) return NULL;
10389 } _resultobj = Py_BuildValue("i",_result);
10390 return _resultobj;
10391 }
10392
10393 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10394 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10395 PyObject * _resultobj;
10396 int _result;
10397 wxGrid * _arg0;
10398 PyObject * _argo0 = 0;
10399 char *_kwnames[] = { "self", NULL };
10400
10401 self = self;
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10403 return NULL;
10404 if (_argo0) {
10405 if (_argo0 == Py_None) { _arg0 = NULL; }
10406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10408 return NULL;
10409 }
10410 }
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) return NULL;
10417 } _resultobj = Py_BuildValue("i",_result);
10418 return _resultobj;
10419 }
10420
10421 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10422 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10423 PyObject * _resultobj;
10424 int _result;
10425 wxGrid * _arg0;
10426 int _arg1;
10427 PyObject * _argo0 = 0;
10428 char *_kwnames[] = { "self","row", NULL };
10429
10430 self = self;
10431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10432 return NULL;
10433 if (_argo0) {
10434 if (_argo0 == Py_None) { _arg0 = NULL; }
10435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10437 return NULL;
10438 }
10439 }
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) return NULL;
10446 } _resultobj = Py_BuildValue("i",_result);
10447 return _resultobj;
10448 }
10449
10450 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10451 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject * _resultobj;
10453 int _result;
10454 wxGrid * _arg0;
10455 PyObject * _argo0 = 0;
10456 char *_kwnames[] = { "self", NULL };
10457
10458 self = self;
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10460 return NULL;
10461 if (_argo0) {
10462 if (_argo0 == Py_None) { _arg0 = NULL; }
10463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10465 return NULL;
10466 }
10467 }
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) return NULL;
10474 } _resultobj = Py_BuildValue("i",_result);
10475 return _resultobj;
10476 }
10477
10478 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10479 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10480 PyObject * _resultobj;
10481 int _result;
10482 wxGrid * _arg0;
10483 int _arg1;
10484 PyObject * _argo0 = 0;
10485 char *_kwnames[] = { "self","col", NULL };
10486
10487 self = self;
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10489 return NULL;
10490 if (_argo0) {
10491 if (_argo0 == Py_None) { _arg0 = NULL; }
10492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10494 return NULL;
10495 }
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) return NULL;
10503 } _resultobj = Py_BuildValue("i",_result);
10504 return _resultobj;
10505 }
10506
10507 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10508 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10509 PyObject * _resultobj;
10510 wxColour * _result;
10511 wxGrid * _arg0;
10512 PyObject * _argo0 = 0;
10513 char *_kwnames[] = { "self", NULL };
10514 char _ptemp[128];
10515
10516 self = self;
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10518 return NULL;
10519 if (_argo0) {
10520 if (_argo0 == Py_None) { _arg0 = NULL; }
10521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10523 return NULL;
10524 }
10525 }
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) return NULL;
10532 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10533 _resultobj = Py_BuildValue("s",_ptemp);
10534 return _resultobj;
10535 }
10536
10537 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10538 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10539 PyObject * _resultobj;
10540 wxColour * _result;
10541 wxGrid * _arg0;
10542 int _arg1;
10543 int _arg2;
10544 PyObject * _argo0 = 0;
10545 char *_kwnames[] = { "self","row","col", NULL };
10546 char _ptemp[128];
10547
10548 self = self;
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10550 return NULL;
10551 if (_argo0) {
10552 if (_argo0 == Py_None) { _arg0 = NULL; }
10553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10555 return NULL;
10556 }
10557 }
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) return NULL;
10564 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10565 _resultobj = Py_BuildValue("s",_ptemp);
10566 return _resultobj;
10567 }
10568
10569 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10570 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject * _resultobj;
10572 wxColour * _result;
10573 wxGrid * _arg0;
10574 PyObject * _argo0 = 0;
10575 char *_kwnames[] = { "self", NULL };
10576 char _ptemp[128];
10577
10578 self = self;
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10580 return NULL;
10581 if (_argo0) {
10582 if (_argo0 == Py_None) { _arg0 = NULL; }
10583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10585 return NULL;
10586 }
10587 }
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) return NULL;
10594 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10595 _resultobj = Py_BuildValue("s",_ptemp);
10596 return _resultobj;
10597 }
10598
10599 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10600 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject * _resultobj;
10602 wxColour * _result;
10603 wxGrid * _arg0;
10604 int _arg1;
10605 int _arg2;
10606 PyObject * _argo0 = 0;
10607 char *_kwnames[] = { "self","row","col", NULL };
10608 char _ptemp[128];
10609
10610 self = self;
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10612 return NULL;
10613 if (_argo0) {
10614 if (_argo0 == Py_None) { _arg0 = NULL; }
10615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10617 return NULL;
10618 }
10619 }
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) return NULL;
10626 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10627 _resultobj = Py_BuildValue("s",_ptemp);
10628 return _resultobj;
10629 }
10630
10631 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10632 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10633 PyObject * _resultobj;
10634 wxFont * _result;
10635 wxGrid * _arg0;
10636 PyObject * _argo0 = 0;
10637 char *_kwnames[] = { "self", NULL };
10638 char _ptemp[128];
10639
10640 self = self;
10641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10642 return NULL;
10643 if (_argo0) {
10644 if (_argo0 == Py_None) { _arg0 = NULL; }
10645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10647 return NULL;
10648 }
10649 }
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) return NULL;
10656 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10657 _resultobj = Py_BuildValue("s",_ptemp);
10658 return _resultobj;
10659 }
10660
10661 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10662 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject * _resultobj;
10664 wxFont * _result;
10665 wxGrid * _arg0;
10666 int _arg1;
10667 int _arg2;
10668 PyObject * _argo0 = 0;
10669 char *_kwnames[] = { "self","row","col", NULL };
10670 char _ptemp[128];
10671
10672 self = self;
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10674 return NULL;
10675 if (_argo0) {
10676 if (_argo0 == Py_None) { _arg0 = NULL; }
10677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10679 return NULL;
10680 }
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) return NULL;
10688 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10689 _resultobj = Py_BuildValue("s",_ptemp);
10690 return _resultobj;
10691 }
10692
10693 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10694 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10695 PyObject * _resultobj;
10696 wxGrid * _arg0;
10697 int * _arg1;
10698 int * _arg2;
10699 PyObject * _argo0 = 0;
10700 PyObject * _argo1 = 0;
10701 PyObject * _argo2 = 0;
10702 char *_kwnames[] = { "self","horiz","vert", NULL };
10703
10704 self = self;
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
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_GetDefaultCellAlignment. Expected _wxGrid_p.");
10711 return NULL;
10712 }
10713 }
10714 if (_argo1) {
10715 if (_argo1 == Py_None) { _arg1 = NULL; }
10716 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10717 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10718 return NULL;
10719 }
10720 }
10721 if (_argo2) {
10722 if (_argo2 == Py_None) { _arg2 = NULL; }
10723 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10724 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10725 return NULL;
10726 }
10727 }
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10731
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) return NULL;
10734 } Py_INCREF(Py_None);
10735 _resultobj = Py_None;
10736 return _resultobj;
10737 }
10738
10739 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10740 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject * _resultobj;
10742 wxGrid * _arg0;
10743 int _arg1;
10744 int _arg2;
10745 int * _arg3;
10746 int * _arg4;
10747 PyObject * _argo0 = 0;
10748 PyObject * _argo3 = 0;
10749 PyObject * _argo4 = 0;
10750 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
10751
10752 self = self;
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
10754 return NULL;
10755 if (_argo0) {
10756 if (_argo0 == Py_None) { _arg0 = NULL; }
10757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10759 return NULL;
10760 }
10761 }
10762 if (_argo3) {
10763 if (_argo3 == Py_None) { _arg3 = NULL; }
10764 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
10765 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10766 return NULL;
10767 }
10768 }
10769 if (_argo4) {
10770 if (_argo4 == Py_None) { _arg4 = NULL; }
10771 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
10772 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10773 return NULL;
10774 }
10775 }
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) return NULL;
10782 } Py_INCREF(Py_None);
10783 _resultobj = Py_None;
10784 return _resultobj;
10785 }
10786
10787 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10788 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10789 PyObject * _resultobj;
10790 wxGrid * _arg0;
10791 int _arg1;
10792 bool _arg2 = (bool ) FALSE;
10793 PyObject * _argo0 = 0;
10794 int tempbool2 = (int) FALSE;
10795 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
10796
10797 self = self;
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10799 return NULL;
10800 if (_argo0) {
10801 if (_argo0 == Py_None) { _arg0 = NULL; }
10802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10804 return NULL;
10805 }
10806 }
10807 _arg2 = (bool ) tempbool2;
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
10811
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) return NULL;
10814 } Py_INCREF(Py_None);
10815 _resultobj = Py_None;
10816 return _resultobj;
10817 }
10818
10819 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10820 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10821 PyObject * _resultobj;
10822 wxGrid * _arg0;
10823 int _arg1;
10824 int _arg2;
10825 PyObject * _argo0 = 0;
10826 char *_kwnames[] = { "self","row","height", NULL };
10827
10828 self = self;
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
10830 return NULL;
10831 if (_argo0) {
10832 if (_argo0 == Py_None) { _arg0 = NULL; }
10833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10835 return NULL;
10836 }
10837 }
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) return NULL;
10844 } Py_INCREF(Py_None);
10845 _resultobj = Py_None;
10846 return _resultobj;
10847 }
10848
10849 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10850 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10851 PyObject * _resultobj;
10852 wxGrid * _arg0;
10853 int _arg1;
10854 bool _arg2 = (bool ) FALSE;
10855 PyObject * _argo0 = 0;
10856 int tempbool2 = (int) FALSE;
10857 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
10858
10859 self = self;
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
10861 return NULL;
10862 if (_argo0) {
10863 if (_argo0 == Py_None) { _arg0 = NULL; }
10864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10866 return NULL;
10867 }
10868 }
10869 _arg2 = (bool ) tempbool2;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) return NULL;
10876 } Py_INCREF(Py_None);
10877 _resultobj = Py_None;
10878 return _resultobj;
10879 }
10880
10881 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10882 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject * _resultobj;
10884 wxGrid * _arg0;
10885 int _arg1;
10886 int _arg2;
10887 PyObject * _argo0 = 0;
10888 char *_kwnames[] = { "self","col","width", NULL };
10889
10890 self = self;
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
10892 return NULL;
10893 if (_argo0) {
10894 if (_argo0 == Py_None) { _arg0 = NULL; }
10895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10897 return NULL;
10898 }
10899 }
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 wxGrid_SetColSize(_arg0,_arg1,_arg2);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) return NULL;
10906 } Py_INCREF(Py_None);
10907 _resultobj = Py_None;
10908 return _resultobj;
10909 }
10910
10911 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10912 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject * _resultobj;
10914 wxGrid * _arg0;
10915 int _arg1;
10916 bool _arg2 = (bool ) TRUE;
10917 PyObject * _argo0 = 0;
10918 int tempbool2 = (int) TRUE;
10919 char *_kwnames[] = { "self","col","setAsMin", NULL };
10920
10921 self = self;
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
10923 return NULL;
10924 if (_argo0) {
10925 if (_argo0 == Py_None) { _arg0 = NULL; }
10926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10928 return NULL;
10929 }
10930 }
10931 _arg2 = (bool ) tempbool2;
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) return NULL;
10938 } Py_INCREF(Py_None);
10939 _resultobj = Py_None;
10940 return _resultobj;
10941 }
10942
10943 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10944 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
10945 PyObject * _resultobj;
10946 wxGrid * _arg0;
10947 int _arg1;
10948 bool _arg2 = (bool ) TRUE;
10949 PyObject * _argo0 = 0;
10950 int tempbool2 = (int) TRUE;
10951 char *_kwnames[] = { "self","row","setAsMin", NULL };
10952
10953 self = self;
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
10955 return NULL;
10956 if (_argo0) {
10957 if (_argo0 == Py_None) { _arg0 = NULL; }
10958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10960 return NULL;
10961 }
10962 }
10963 _arg2 = (bool ) tempbool2;
10964 {
10965 PyThreadState* __tstate = wxPyBeginAllowThreads();
10966 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
10967
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) return NULL;
10970 } Py_INCREF(Py_None);
10971 _resultobj = Py_None;
10972 return _resultobj;
10973 }
10974
10975 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10976 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
10977 PyObject * _resultobj;
10978 wxGrid * _arg0;
10979 bool _arg1 = (bool ) TRUE;
10980 PyObject * _argo0 = 0;
10981 int tempbool1 = (int) TRUE;
10982 char *_kwnames[] = { "self","setAsMin", NULL };
10983
10984 self = self;
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
10986 return NULL;
10987 if (_argo0) {
10988 if (_argo0 == Py_None) { _arg0 = NULL; }
10989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10991 return NULL;
10992 }
10993 }
10994 _arg1 = (bool ) tempbool1;
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 wxGrid_AutoSizeColumns(_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_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11007 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject * _resultobj;
11009 wxGrid * _arg0;
11010 bool _arg1 = (bool ) TRUE;
11011 PyObject * _argo0 = 0;
11012 int tempbool1 = (int) TRUE;
11013 char *_kwnames[] = { "self","setAsMin", NULL };
11014
11015 self = self;
11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
11017 return NULL;
11018 if (_argo0) {
11019 if (_argo0 == Py_None) { _arg0 = NULL; }
11020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11022 return NULL;
11023 }
11024 }
11025 _arg1 = (bool ) tempbool1;
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 wxGrid_AutoSizeRows(_arg0,_arg1);
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) return NULL;
11032 } Py_INCREF(Py_None);
11033 _resultobj = Py_None;
11034 return _resultobj;
11035 }
11036
11037 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11038 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject * _resultobj;
11040 wxGrid * _arg0;
11041 PyObject * _argo0 = 0;
11042 char *_kwnames[] = { "self", NULL };
11043
11044 self = self;
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
11046 return NULL;
11047 if (_argo0) {
11048 if (_argo0 == Py_None) { _arg0 = NULL; }
11049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11051 return NULL;
11052 }
11053 }
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 wxGrid_AutoSize(_arg0);
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) return NULL;
11060 } Py_INCREF(Py_None);
11061 _resultobj = Py_None;
11062 return _resultobj;
11063 }
11064
11065 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11066 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject * _resultobj;
11068 wxGrid * _arg0;
11069 int _arg1;
11070 int _arg2;
11071 PyObject * _argo0 = 0;
11072 char *_kwnames[] = { "self","col","width", NULL };
11073
11074 self = self;
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
11076 return NULL;
11077 if (_argo0) {
11078 if (_argo0 == Py_None) { _arg0 = NULL; }
11079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11081 return NULL;
11082 }
11083 }
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) return NULL;
11090 } Py_INCREF(Py_None);
11091 _resultobj = Py_None;
11092 return _resultobj;
11093 }
11094
11095 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11096 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11097 PyObject * _resultobj;
11098 wxGrid * _arg0;
11099 int _arg1;
11100 int _arg2;
11101 PyObject * _argo0 = 0;
11102 char *_kwnames[] = { "self","row","width", NULL };
11103
11104 self = self;
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
11106 return NULL;
11107 if (_argo0) {
11108 if (_argo0 == Py_None) { _arg0 = NULL; }
11109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11111 return NULL;
11112 }
11113 }
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
11117
11118 wxPyEndAllowThreads(__tstate);
11119 if (PyErr_Occurred()) return NULL;
11120 } Py_INCREF(Py_None);
11121 _resultobj = Py_None;
11122 return _resultobj;
11123 }
11124
11125 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11126 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject * _resultobj;
11128 wxGrid * _arg0;
11129 wxColour * _arg1;
11130 PyObject * _argo0 = 0;
11131 wxColour temp;
11132 PyObject * _obj1 = 0;
11133 char *_kwnames[] = { "self","arg2", NULL };
11134
11135 self = self;
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
11137 return NULL;
11138 if (_argo0) {
11139 if (_argo0 == Py_None) { _arg0 = NULL; }
11140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11142 return NULL;
11143 }
11144 }
11145 {
11146 _arg1 = &temp;
11147 if (! wxColour_helper(_obj1, &_arg1))
11148 return NULL;
11149 }
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) return NULL;
11156 } Py_INCREF(Py_None);
11157 _resultobj = Py_None;
11158 return _resultobj;
11159 }
11160
11161 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11162 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject * _resultobj;
11164 wxGrid * _arg0;
11165 int _arg1;
11166 int _arg2;
11167 wxColour * _arg3;
11168 PyObject * _argo0 = 0;
11169 wxColour temp;
11170 PyObject * _obj3 = 0;
11171 char *_kwnames[] = { "self","row","col","arg4", NULL };
11172
11173 self = self;
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11175 return NULL;
11176 if (_argo0) {
11177 if (_argo0 == Py_None) { _arg0 = NULL; }
11178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11180 return NULL;
11181 }
11182 }
11183 {
11184 _arg3 = &temp;
11185 if (! wxColour_helper(_obj3, &_arg3))
11186 return NULL;
11187 }
11188 {
11189 PyThreadState* __tstate = wxPyBeginAllowThreads();
11190 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
11191
11192 wxPyEndAllowThreads(__tstate);
11193 if (PyErr_Occurred()) return NULL;
11194 } Py_INCREF(Py_None);
11195 _resultobj = Py_None;
11196 return _resultobj;
11197 }
11198
11199 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11200 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject * _resultobj;
11202 wxGrid * _arg0;
11203 wxColour * _arg1;
11204 PyObject * _argo0 = 0;
11205 wxColour temp;
11206 PyObject * _obj1 = 0;
11207 char *_kwnames[] = { "self","arg2", NULL };
11208
11209 self = self;
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11211 return NULL;
11212 if (_argo0) {
11213 if (_argo0 == Py_None) { _arg0 = NULL; }
11214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11216 return NULL;
11217 }
11218 }
11219 {
11220 _arg1 = &temp;
11221 if (! wxColour_helper(_obj1, &_arg1))
11222 return NULL;
11223 }
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) return NULL;
11230 } Py_INCREF(Py_None);
11231 _resultobj = Py_None;
11232 return _resultobj;
11233 }
11234
11235 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11236 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11237 PyObject * _resultobj;
11238 wxGrid * _arg0;
11239 int _arg1;
11240 int _arg2;
11241 wxColour * _arg3;
11242 PyObject * _argo0 = 0;
11243 wxColour temp;
11244 PyObject * _obj3 = 0;
11245 char *_kwnames[] = { "self","row","col","arg4", NULL };
11246
11247 self = self;
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11249 return NULL;
11250 if (_argo0) {
11251 if (_argo0 == Py_None) { _arg0 = NULL; }
11252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11254 return NULL;
11255 }
11256 }
11257 {
11258 _arg3 = &temp;
11259 if (! wxColour_helper(_obj3, &_arg3))
11260 return NULL;
11261 }
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11265
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) return NULL;
11268 } Py_INCREF(Py_None);
11269 _resultobj = Py_None;
11270 return _resultobj;
11271 }
11272
11273 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11274 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject * _resultobj;
11276 wxGrid * _arg0;
11277 wxFont * _arg1;
11278 PyObject * _argo0 = 0;
11279 PyObject * _argo1 = 0;
11280 char *_kwnames[] = { "self","arg2", NULL };
11281
11282 self = self;
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11284 return NULL;
11285 if (_argo0) {
11286 if (_argo0 == Py_None) { _arg0 = NULL; }
11287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11289 return NULL;
11290 }
11291 }
11292 if (_argo1) {
11293 if (_argo1 == Py_None) { _arg1 = NULL; }
11294 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11295 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11296 return NULL;
11297 }
11298 }
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11302
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) return NULL;
11305 } Py_INCREF(Py_None);
11306 _resultobj = Py_None;
11307 return _resultobj;
11308 }
11309
11310 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11311 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11312 PyObject * _resultobj;
11313 wxGrid * _arg0;
11314 int _arg1;
11315 int _arg2;
11316 wxFont * _arg3;
11317 PyObject * _argo0 = 0;
11318 PyObject * _argo3 = 0;
11319 char *_kwnames[] = { "self","row","col","arg4", NULL };
11320
11321 self = self;
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11323 return NULL;
11324 if (_argo0) {
11325 if (_argo0 == Py_None) { _arg0 = NULL; }
11326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11328 return NULL;
11329 }
11330 }
11331 if (_argo3) {
11332 if (_argo3 == Py_None) { _arg3 = NULL; }
11333 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11334 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11335 return NULL;
11336 }
11337 }
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) return NULL;
11344 } Py_INCREF(Py_None);
11345 _resultobj = Py_None;
11346 return _resultobj;
11347 }
11348
11349 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11350 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11351 PyObject * _resultobj;
11352 wxGrid * _arg0;
11353 int _arg1;
11354 int _arg2;
11355 PyObject * _argo0 = 0;
11356 char *_kwnames[] = { "self","horiz","vert", NULL };
11357
11358 self = self;
11359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11360 return NULL;
11361 if (_argo0) {
11362 if (_argo0 == Py_None) { _arg0 = NULL; }
11363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11365 return NULL;
11366 }
11367 }
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) return NULL;
11374 } Py_INCREF(Py_None);
11375 _resultobj = Py_None;
11376 return _resultobj;
11377 }
11378
11379 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11380 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11381 PyObject * _resultobj;
11382 wxGrid * _arg0;
11383 int _arg1;
11384 int _arg2;
11385 int _arg3;
11386 int _arg4;
11387 PyObject * _argo0 = 0;
11388 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11389
11390 self = self;
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11392 return NULL;
11393 if (_argo0) {
11394 if (_argo0 == Py_None) { _arg0 = NULL; }
11395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11397 return NULL;
11398 }
11399 }
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) return NULL;
11406 } Py_INCREF(Py_None);
11407 _resultobj = Py_None;
11408 return _resultobj;
11409 }
11410
11411 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11412 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11413 PyObject * _resultobj;
11414 wxGrid * _arg0;
11415 wxGridCellRenderer * _arg1;
11416 PyObject * _argo0 = 0;
11417 PyObject * _argo1 = 0;
11418 char *_kwnames[] = { "self","renderer", NULL };
11419
11420 self = self;
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11422 return NULL;
11423 if (_argo0) {
11424 if (_argo0 == Py_None) { _arg0 = NULL; }
11425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11427 return NULL;
11428 }
11429 }
11430 if (_argo1) {
11431 if (_argo1 == Py_None) { _arg1 = NULL; }
11432 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11433 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11434 return NULL;
11435 }
11436 }
11437 {
11438 PyThreadState* __tstate = wxPyBeginAllowThreads();
11439 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11440
11441 wxPyEndAllowThreads(__tstate);
11442 if (PyErr_Occurred()) return NULL;
11443 } Py_INCREF(Py_None);
11444 _resultobj = Py_None;
11445 return _resultobj;
11446 }
11447
11448 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11449 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11450 PyObject * _resultobj;
11451 wxGrid * _arg0;
11452 int _arg1;
11453 int _arg2;
11454 wxGridCellRenderer * _arg3;
11455 PyObject * _argo0 = 0;
11456 PyObject * _argo3 = 0;
11457 char *_kwnames[] = { "self","row","col","renderer", NULL };
11458
11459 self = self;
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11461 return NULL;
11462 if (_argo0) {
11463 if (_argo0 == Py_None) { _arg0 = NULL; }
11464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11466 return NULL;
11467 }
11468 }
11469 if (_argo3) {
11470 if (_argo3 == Py_None) { _arg3 = NULL; }
11471 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11472 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11473 return NULL;
11474 }
11475 }
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) return NULL;
11482 } Py_INCREF(Py_None);
11483 _resultobj = Py_None;
11484 return _resultobj;
11485 }
11486
11487 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11488 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11489 PyObject * _resultobj;
11490 wxGridCellRenderer * _result;
11491 wxGrid * _arg0;
11492 PyObject * _argo0 = 0;
11493 char *_kwnames[] = { "self", NULL };
11494
11495 self = self;
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11497 return NULL;
11498 if (_argo0) {
11499 if (_argo0 == Py_None) { _arg0 = NULL; }
11500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11502 return NULL;
11503 }
11504 }
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) return NULL;
11511 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
11512 return _resultobj;
11513 }
11514
11515 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11516 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject * _resultobj;
11518 wxGridCellRenderer * _result;
11519 wxGrid * _arg0;
11520 int _arg1;
11521 int _arg2;
11522 PyObject * _argo0 = 0;
11523 char *_kwnames[] = { "self","row","col", NULL };
11524
11525 self = self;
11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11527 return NULL;
11528 if (_argo0) {
11529 if (_argo0 == Py_None) { _arg0 = NULL; }
11530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11532 return NULL;
11533 }
11534 }
11535 {
11536 PyThreadState* __tstate = wxPyBeginAllowThreads();
11537 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
11538
11539 wxPyEndAllowThreads(__tstate);
11540 if (PyErr_Occurred()) return NULL;
11541 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
11542 return _resultobj;
11543 }
11544
11545 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11546 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11547 PyObject * _resultobj;
11548 wxGrid * _arg0;
11549 wxGridCellEditor * _arg1;
11550 PyObject * _argo0 = 0;
11551 PyObject * _argo1 = 0;
11552 char *_kwnames[] = { "self","editor", NULL };
11553
11554 self = self;
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
11556 return NULL;
11557 if (_argo0) {
11558 if (_argo0 == Py_None) { _arg0 = NULL; }
11559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11561 return NULL;
11562 }
11563 }
11564 if (_argo1) {
11565 if (_argo1 == Py_None) { _arg1 = NULL; }
11566 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
11567 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11568 return NULL;
11569 }
11570 }
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 wxGrid_SetDefaultEditor(_arg0,_arg1);
11574
11575 wxPyEndAllowThreads(__tstate);
11576 if (PyErr_Occurred()) return NULL;
11577 } Py_INCREF(Py_None);
11578 _resultobj = Py_None;
11579 return _resultobj;
11580 }
11581
11582 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11583 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11584 PyObject * _resultobj;
11585 wxGrid * _arg0;
11586 int _arg1;
11587 int _arg2;
11588 wxGridCellEditor * _arg3;
11589 PyObject * _argo0 = 0;
11590 PyObject * _argo3 = 0;
11591 char *_kwnames[] = { "self","row","col","editor", NULL };
11592
11593 self = self;
11594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11595 return NULL;
11596 if (_argo0) {
11597 if (_argo0 == Py_None) { _arg0 = NULL; }
11598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11600 return NULL;
11601 }
11602 }
11603 if (_argo3) {
11604 if (_argo3 == Py_None) { _arg3 = NULL; }
11605 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
11606 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11607 return NULL;
11608 }
11609 }
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) return NULL;
11616 } Py_INCREF(Py_None);
11617 _resultobj = Py_None;
11618 return _resultobj;
11619 }
11620
11621 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11622 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject * _resultobj;
11624 wxGridCellEditor * _result;
11625 wxGrid * _arg0;
11626 PyObject * _argo0 = 0;
11627 char *_kwnames[] = { "self", NULL };
11628
11629 self = self;
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
11631 return NULL;
11632 if (_argo0) {
11633 if (_argo0 == Py_None) { _arg0 = NULL; }
11634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11636 return NULL;
11637 }
11638 }
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) return NULL;
11645 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
11646 return _resultobj;
11647 }
11648
11649 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11650 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
11651 PyObject * _resultobj;
11652 wxGridCellEditor * _result;
11653 wxGrid * _arg0;
11654 int _arg1;
11655 int _arg2;
11656 PyObject * _argo0 = 0;
11657 char *_kwnames[] = { "self","row","col", NULL };
11658
11659 self = self;
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
11661 return NULL;
11662 if (_argo0) {
11663 if (_argo0 == Py_None) { _arg0 = NULL; }
11664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11666 return NULL;
11667 }
11668 }
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) return NULL;
11675 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
11676 return _resultobj;
11677 }
11678
11679 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11680 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11681 PyObject * _resultobj;
11682 wxString * _result;
11683 wxGrid * _arg0;
11684 int _arg1;
11685 int _arg2;
11686 PyObject * _argo0 = 0;
11687 char *_kwnames[] = { "self","row","col", NULL };
11688
11689 self = self;
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
11691 return NULL;
11692 if (_argo0) {
11693 if (_argo0 == Py_None) { _arg0 = NULL; }
11694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11696 return NULL;
11697 }
11698 }
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) return NULL;
11705 }{
11706 #if wxUSE_UNICODE
11707 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
11708 #else
11709 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
11710 #endif
11711 }
11712 {
11713 delete _result;
11714 }
11715 return _resultobj;
11716 }
11717
11718 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11719 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11720 PyObject * _resultobj;
11721 wxGrid * _arg0;
11722 int _arg1;
11723 int _arg2;
11724 wxString * _arg3;
11725 PyObject * _argo0 = 0;
11726 PyObject * _obj3 = 0;
11727 char *_kwnames[] = { "self","row","col","s", NULL };
11728
11729 self = self;
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11731 return NULL;
11732 if (_argo0) {
11733 if (_argo0 == Py_None) { _arg0 = NULL; }
11734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11736 return NULL;
11737 }
11738 }
11739 {
11740 _arg3 = wxString_in_helper(_obj3);
11741 if (_arg3 == NULL)
11742 return NULL;
11743 }
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) return NULL;
11750 } Py_INCREF(Py_None);
11751 _resultobj = Py_None;
11752 {
11753 if (_obj3)
11754 delete _arg3;
11755 }
11756 return _resultobj;
11757 }
11758
11759 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11760 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject * _resultobj;
11762 bool _result;
11763 wxGrid * _arg0;
11764 int _arg1;
11765 int _arg2;
11766 PyObject * _argo0 = 0;
11767 char *_kwnames[] = { "self","row","col", NULL };
11768
11769 self = self;
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
11771 return NULL;
11772 if (_argo0) {
11773 if (_argo0 == Py_None) { _arg0 = NULL; }
11774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11776 return NULL;
11777 }
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) return NULL;
11785 } _resultobj = Py_BuildValue("i",_result);
11786 return _resultobj;
11787 }
11788
11789 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11790 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
11791 PyObject * _resultobj;
11792 wxGrid * _arg0;
11793 int _arg1;
11794 int _arg2;
11795 bool _arg3 = (bool ) TRUE;
11796 PyObject * _argo0 = 0;
11797 int tempbool3 = (int) TRUE;
11798 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
11799
11800 self = self;
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11802 return NULL;
11803 if (_argo0) {
11804 if (_argo0 == Py_None) { _arg0 = NULL; }
11805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11807 return NULL;
11808 }
11809 }
11810 _arg3 = (bool ) tempbool3;
11811 {
11812 PyThreadState* __tstate = wxPyBeginAllowThreads();
11813 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
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_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11823 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject * _resultobj;
11825 wxGrid * _arg0;
11826 int _arg1;
11827 bool _arg2 = (bool ) FALSE;
11828 PyObject * _argo0 = 0;
11829 int tempbool2 = (int) FALSE;
11830 char *_kwnames[] = { "self","row","addToSelected", NULL };
11831
11832 self = self;
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11834 return NULL;
11835 if (_argo0) {
11836 if (_argo0 == Py_None) { _arg0 = NULL; }
11837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11839 return NULL;
11840 }
11841 }
11842 _arg2 = (bool ) tempbool2;
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 wxGrid_SelectRow(_arg0,_arg1,_arg2);
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) return NULL;
11849 } Py_INCREF(Py_None);
11850 _resultobj = Py_None;
11851 return _resultobj;
11852 }
11853
11854 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11855 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
11856 PyObject * _resultobj;
11857 wxGrid * _arg0;
11858 int _arg1;
11859 bool _arg2 = (bool ) FALSE;
11860 PyObject * _argo0 = 0;
11861 int tempbool2 = (int) FALSE;
11862 char *_kwnames[] = { "self","col","addToSelected", NULL };
11863
11864 self = self;
11865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
11866 return NULL;
11867 if (_argo0) {
11868 if (_argo0 == Py_None) { _arg0 = NULL; }
11869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11871 return NULL;
11872 }
11873 }
11874 _arg2 = (bool ) tempbool2;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 wxGrid_SelectCol(_arg0,_arg1,_arg2);
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) return NULL;
11881 } Py_INCREF(Py_None);
11882 _resultobj = Py_None;
11883 return _resultobj;
11884 }
11885
11886 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11887 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
11888 PyObject * _resultobj;
11889 wxGrid * _arg0;
11890 int _arg1;
11891 int _arg2;
11892 int _arg3;
11893 int _arg4;
11894 bool _arg5 = (bool ) FALSE;
11895 PyObject * _argo0 = 0;
11896 int tempbool5 = (int) FALSE;
11897 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
11898
11899 self = self;
11900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
11901 return NULL;
11902 if (_argo0) {
11903 if (_argo0 == Py_None) { _arg0 = NULL; }
11904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11906 return NULL;
11907 }
11908 }
11909 _arg5 = (bool ) tempbool5;
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11913
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) return NULL;
11916 } Py_INCREF(Py_None);
11917 _resultobj = Py_None;
11918 return _resultobj;
11919 }
11920
11921 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11922 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject * _resultobj;
11924 wxGrid * _arg0;
11925 PyObject * _argo0 = 0;
11926 char *_kwnames[] = { "self", NULL };
11927
11928 self = self;
11929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
11930 return NULL;
11931 if (_argo0) {
11932 if (_argo0 == Py_None) { _arg0 = NULL; }
11933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11935 return NULL;
11936 }
11937 }
11938 {
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
11940 wxGrid_SelectAll(_arg0);
11941
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) return NULL;
11944 } Py_INCREF(Py_None);
11945 _resultobj = Py_None;
11946 return _resultobj;
11947 }
11948
11949 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11950 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11951 PyObject * _resultobj;
11952 bool _result;
11953 wxGrid * _arg0;
11954 PyObject * _argo0 = 0;
11955 char *_kwnames[] = { "self", NULL };
11956
11957 self = self;
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
11959 return NULL;
11960 if (_argo0) {
11961 if (_argo0 == Py_None) { _arg0 = NULL; }
11962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11964 return NULL;
11965 }
11966 }
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 _result = (bool )wxGrid_IsSelection(_arg0);
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) return NULL;
11973 } _resultobj = Py_BuildValue("i",_result);
11974 return _resultobj;
11975 }
11976
11977 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11978 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11979 PyObject * _resultobj;
11980 wxGrid * _arg0;
11981 PyObject * _argo0 = 0;
11982 char *_kwnames[] = { "self", NULL };
11983
11984 self = self;
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
11986 return NULL;
11987 if (_argo0) {
11988 if (_argo0 == Py_None) { _arg0 = NULL; }
11989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11991 return NULL;
11992 }
11993 }
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 wxGrid_ClearSelection(_arg0);
11997
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) return NULL;
12000 } Py_INCREF(Py_None);
12001 _resultobj = Py_None;
12002 return _resultobj;
12003 }
12004
12005 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12006 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12007 PyObject * _resultobj;
12008 bool _result;
12009 wxGrid * _arg0;
12010 int _arg1;
12011 int _arg2;
12012 PyObject * _argo0 = 0;
12013 char *_kwnames[] = { "self","row","col", NULL };
12014
12015 self = self;
12016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
12017 return NULL;
12018 if (_argo0) {
12019 if (_argo0 == Py_None) { _arg0 = NULL; }
12020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12022 return NULL;
12023 }
12024 }
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) return NULL;
12031 } _resultobj = Py_BuildValue("i",_result);
12032 return _resultobj;
12033 }
12034
12035 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12036 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12037 PyObject * _resultobj;
12038 wxRect * _result;
12039 wxGrid * _arg0;
12040 wxGridCellCoords * _arg1;
12041 wxGridCellCoords * _arg2;
12042 PyObject * _argo0 = 0;
12043 wxGridCellCoords temp;
12044 PyObject * _obj1 = 0;
12045 wxGridCellCoords temp0;
12046 PyObject * _obj2 = 0;
12047 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
12048 char _ptemp[128];
12049
12050 self = self;
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
12052 return NULL;
12053 if (_argo0) {
12054 if (_argo0 == Py_None) { _arg0 = NULL; }
12055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12057 return NULL;
12058 }
12059 }
12060 {
12061 _arg1 = &temp;
12062 if (! wxGridCellCoords_helper(_obj1, &_arg1))
12063 return NULL;
12064 }
12065 {
12066 _arg2 = &temp0;
12067 if (! wxGridCellCoords_helper(_obj2, &_arg2))
12068 return NULL;
12069 }
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) return NULL;
12076 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
12077 _resultobj = Py_BuildValue("s",_ptemp);
12078 return _resultobj;
12079 }
12080
12081 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12082 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject * _resultobj;
12084 wxColour * _result;
12085 wxGrid * _arg0;
12086 PyObject * _argo0 = 0;
12087 char *_kwnames[] = { "self", NULL };
12088 char _ptemp[128];
12089
12090 self = self;
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
12092 return NULL;
12093 if (_argo0) {
12094 if (_argo0 == Py_None) { _arg0 = NULL; }
12095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12097 return NULL;
12098 }
12099 }
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
12103
12104 wxPyEndAllowThreads(__tstate);
12105 if (PyErr_Occurred()) return NULL;
12106 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12107 _resultobj = Py_BuildValue("s",_ptemp);
12108 return _resultobj;
12109 }
12110
12111 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12112 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12113 PyObject * _resultobj;
12114 wxColour * _result;
12115 wxGrid * _arg0;
12116 PyObject * _argo0 = 0;
12117 char *_kwnames[] = { "self", NULL };
12118 char _ptemp[128];
12119
12120 self = self;
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
12122 return NULL;
12123 if (_argo0) {
12124 if (_argo0 == Py_None) { _arg0 = NULL; }
12125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12127 return NULL;
12128 }
12129 }
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) return NULL;
12136 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12137 _resultobj = Py_BuildValue("s",_ptemp);
12138 return _resultobj;
12139 }
12140
12141 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12142 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12143 PyObject * _resultobj;
12144 wxGrid * _arg0;
12145 wxColour * _arg1;
12146 PyObject * _argo0 = 0;
12147 wxColour temp;
12148 PyObject * _obj1 = 0;
12149 char *_kwnames[] = { "self","c", NULL };
12150
12151 self = self;
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
12153 return NULL;
12154 if (_argo0) {
12155 if (_argo0 == Py_None) { _arg0 = NULL; }
12156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12158 return NULL;
12159 }
12160 }
12161 {
12162 _arg1 = &temp;
12163 if (! wxColour_helper(_obj1, &_arg1))
12164 return NULL;
12165 }
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 wxGrid_SetSelectionBackground(_arg0,*_arg1);
12169
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) return NULL;
12172 } Py_INCREF(Py_None);
12173 _resultobj = Py_None;
12174 return _resultobj;
12175 }
12176
12177 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12178 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12179 PyObject * _resultobj;
12180 wxGrid * _arg0;
12181 wxColour * _arg1;
12182 PyObject * _argo0 = 0;
12183 wxColour temp;
12184 PyObject * _obj1 = 0;
12185 char *_kwnames[] = { "self","c", NULL };
12186
12187 self = self;
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12189 return NULL;
12190 if (_argo0) {
12191 if (_argo0 == Py_None) { _arg0 = NULL; }
12192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12194 return NULL;
12195 }
12196 }
12197 {
12198 _arg1 = &temp;
12199 if (! wxColour_helper(_obj1, &_arg1))
12200 return NULL;
12201 }
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) return NULL;
12208 } Py_INCREF(Py_None);
12209 _resultobj = Py_None;
12210 return _resultobj;
12211 }
12212
12213 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12214 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject * _resultobj;
12216 wxGrid * _arg0;
12217 wxString * _arg1;
12218 wxGridCellRenderer * _arg2;
12219 wxGridCellEditor * _arg3;
12220 PyObject * _argo0 = 0;
12221 PyObject * _obj1 = 0;
12222 PyObject * _argo2 = 0;
12223 PyObject * _argo3 = 0;
12224 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12225
12226 self = self;
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12228 return NULL;
12229 if (_argo0) {
12230 if (_argo0 == Py_None) { _arg0 = NULL; }
12231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12233 return NULL;
12234 }
12235 }
12236 {
12237 _arg1 = wxString_in_helper(_obj1);
12238 if (_arg1 == NULL)
12239 return NULL;
12240 }
12241 if (_argo2) {
12242 if (_argo2 == Py_None) { _arg2 = NULL; }
12243 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12244 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12245 return NULL;
12246 }
12247 }
12248 if (_argo3) {
12249 if (_argo3 == Py_None) { _arg3 = NULL; }
12250 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12251 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12252 return NULL;
12253 }
12254 }
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) return NULL;
12261 } Py_INCREF(Py_None);
12262 _resultobj = Py_None;
12263 {
12264 if (_obj1)
12265 delete _arg1;
12266 }
12267 return _resultobj;
12268 }
12269
12270 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12271 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12272 PyObject * _resultobj;
12273 wxGridCellEditor * _result;
12274 wxGrid * _arg0;
12275 int _arg1;
12276 int _arg2;
12277 PyObject * _argo0 = 0;
12278 char *_kwnames[] = { "self","row","col", NULL };
12279
12280 self = self;
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12282 return NULL;
12283 if (_argo0) {
12284 if (_argo0 == Py_None) { _arg0 = NULL; }
12285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12287 return NULL;
12288 }
12289 }
12290 {
12291 PyThreadState* __tstate = wxPyBeginAllowThreads();
12292 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12293
12294 wxPyEndAllowThreads(__tstate);
12295 if (PyErr_Occurred()) return NULL;
12296 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12297 return _resultobj;
12298 }
12299
12300 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12301 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12302 PyObject * _resultobj;
12303 wxGridCellRenderer * _result;
12304 wxGrid * _arg0;
12305 int _arg1;
12306 int _arg2;
12307 PyObject * _argo0 = 0;
12308 char *_kwnames[] = { "self","row","col", NULL };
12309
12310 self = self;
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12312 return NULL;
12313 if (_argo0) {
12314 if (_argo0 == Py_None) { _arg0 = NULL; }
12315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12317 return NULL;
12318 }
12319 }
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12323
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) return NULL;
12326 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12327 return _resultobj;
12328 }
12329
12330 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12331 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12332 PyObject * _resultobj;
12333 wxGridCellEditor * _result;
12334 wxGrid * _arg0;
12335 wxString * _arg1;
12336 PyObject * _argo0 = 0;
12337 PyObject * _obj1 = 0;
12338 char *_kwnames[] = { "self","typeName", NULL };
12339
12340 self = self;
12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12342 return NULL;
12343 if (_argo0) {
12344 if (_argo0 == Py_None) { _arg0 = NULL; }
12345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12347 return NULL;
12348 }
12349 }
12350 {
12351 _arg1 = wxString_in_helper(_obj1);
12352 if (_arg1 == NULL)
12353 return NULL;
12354 }
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12358
12359 wxPyEndAllowThreads(__tstate);
12360 if (PyErr_Occurred()) return NULL;
12361 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12362 {
12363 if (_obj1)
12364 delete _arg1;
12365 }
12366 return _resultobj;
12367 }
12368
12369 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12370 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12371 PyObject * _resultobj;
12372 wxGridCellRenderer * _result;
12373 wxGrid * _arg0;
12374 wxString * _arg1;
12375 PyObject * _argo0 = 0;
12376 PyObject * _obj1 = 0;
12377 char *_kwnames[] = { "self","typeName", NULL };
12378
12379 self = self;
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12381 return NULL;
12382 if (_argo0) {
12383 if (_argo0 == Py_None) { _arg0 = NULL; }
12384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12386 return NULL;
12387 }
12388 }
12389 {
12390 _arg1 = wxString_in_helper(_obj1);
12391 if (_arg1 == NULL)
12392 return NULL;
12393 }
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) return NULL;
12400 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12401 {
12402 if (_obj1)
12403 delete _arg1;
12404 }
12405 return _resultobj;
12406 }
12407
12408 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12409 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12410 PyObject * _resultobj;
12411 wxGrid * _arg0;
12412 int _arg1;
12413 int _arg2;
12414 PyObject * _argo0 = 0;
12415 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12416
12417 self = self;
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12419 return NULL;
12420 if (_argo0) {
12421 if (_argo0 == Py_None) { _arg0 = NULL; }
12422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12424 return NULL;
12425 }
12426 }
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12430
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) return NULL;
12433 } Py_INCREF(Py_None);
12434 _resultobj = Py_None;
12435 return _resultobj;
12436 }
12437
12438 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12439 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject * _resultobj;
12441 wxWindow * _result;
12442 wxGrid * _arg0;
12443 PyObject * _argo0 = 0;
12444 char *_kwnames[] = { "self", NULL };
12445
12446 self = self;
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
12448 return NULL;
12449 if (_argo0) {
12450 if (_argo0 == Py_None) { _arg0 = NULL; }
12451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12453 return NULL;
12454 }
12455 }
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12459
12460 wxPyEndAllowThreads(__tstate);
12461 if (PyErr_Occurred()) return NULL;
12462 }{ _resultobj = wxPyMake_wxObject(_result); }
12463 return _resultobj;
12464 }
12465
12466 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12467 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject * _resultobj;
12469 wxWindow * _result;
12470 wxGrid * _arg0;
12471 PyObject * _argo0 = 0;
12472 char *_kwnames[] = { "self", NULL };
12473
12474 self = self;
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12476 return NULL;
12477 if (_argo0) {
12478 if (_argo0 == Py_None) { _arg0 = NULL; }
12479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12481 return NULL;
12482 }
12483 }
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) return NULL;
12490 }{ _resultobj = wxPyMake_wxObject(_result); }
12491 return _resultobj;
12492 }
12493
12494 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12495 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12496 PyObject * _resultobj;
12497 wxWindow * _result;
12498 wxGrid * _arg0;
12499 PyObject * _argo0 = 0;
12500 char *_kwnames[] = { "self", NULL };
12501
12502 self = self;
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12504 return NULL;
12505 if (_argo0) {
12506 if (_argo0 == Py_None) { _arg0 = NULL; }
12507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12509 return NULL;
12510 }
12511 }
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) return NULL;
12518 }{ _resultobj = wxPyMake_wxObject(_result); }
12519 return _resultobj;
12520 }
12521
12522 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12523 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject * _resultobj;
12525 wxWindow * _result;
12526 wxGrid * _arg0;
12527 PyObject * _argo0 = 0;
12528 char *_kwnames[] = { "self", NULL };
12529
12530 self = self;
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
12532 return NULL;
12533 if (_argo0) {
12534 if (_argo0 == Py_None) { _arg0 = NULL; }
12535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12537 return NULL;
12538 }
12539 }
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) return NULL;
12546 }{ _resultobj = wxPyMake_wxObject(_result); }
12547 return _resultobj;
12548 }
12549
12550 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
12551 wxGridEvent *src;
12552 wxNotifyEvent *dest;
12553 src = (wxGridEvent *) ptr;
12554 dest = (wxNotifyEvent *) src;
12555 return (void *) dest;
12556 }
12557
12558 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
12559 wxGridEvent *src;
12560 wxCommandEvent *dest;
12561 src = (wxGridEvent *) ptr;
12562 dest = (wxCommandEvent *) src;
12563 return (void *) dest;
12564 }
12565
12566 static void *SwigwxGridEventTowxEvent(void *ptr) {
12567 wxGridEvent *src;
12568 wxEvent *dest;
12569 src = (wxGridEvent *) ptr;
12570 dest = (wxEvent *) src;
12571 return (void *) dest;
12572 }
12573
12574 static void *SwigwxGridEventTowxObject(void *ptr) {
12575 wxGridEvent *src;
12576 wxObject *dest;
12577 src = (wxGridEvent *) ptr;
12578 dest = (wxObject *) src;
12579 return (void *) dest;
12580 }
12581
12582 #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))
12583 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject * _resultobj;
12585 wxGridEvent * _result;
12586 int _arg0;
12587 wxEventType _arg1;
12588 wxGrid * _arg2;
12589 int _arg3 = (int ) -1;
12590 int _arg4 = (int ) -1;
12591 int _arg5 = (int ) -1;
12592 int _arg6 = (int ) -1;
12593 bool _arg7 = (bool ) TRUE;
12594 bool _arg8 = (bool ) FALSE;
12595 bool _arg9 = (bool ) FALSE;
12596 bool _arg10 = (bool ) FALSE;
12597 bool _arg11 = (bool ) FALSE;
12598 PyObject * _argo2 = 0;
12599 int tempbool7 = (int) TRUE;
12600 int tempbool8 = (int) FALSE;
12601 int tempbool9 = (int) FALSE;
12602 int tempbool10 = (int) FALSE;
12603 int tempbool11 = (int) FALSE;
12604 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
12605 char _ptemp[128];
12606
12607 self = self;
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
12609 return NULL;
12610 if (_argo2) {
12611 if (_argo2 == Py_None) { _arg2 = NULL; }
12612 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12613 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12614 return NULL;
12615 }
12616 }
12617 _arg7 = (bool ) tempbool7;
12618 _arg8 = (bool ) tempbool8;
12619 _arg9 = (bool ) tempbool9;
12620 _arg10 = (bool ) tempbool10;
12621 _arg11 = (bool ) tempbool11;
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) return NULL;
12628 } if (_result) {
12629 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
12630 _resultobj = Py_BuildValue("s",_ptemp);
12631 } else {
12632 Py_INCREF(Py_None);
12633 _resultobj = Py_None;
12634 }
12635 return _resultobj;
12636 }
12637
12638 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12639 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12640 PyObject * _resultobj;
12641 int _result;
12642 wxGridEvent * _arg0;
12643 PyObject * _argo0 = 0;
12644 char *_kwnames[] = { "self", NULL };
12645
12646 self = self;
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
12648 return NULL;
12649 if (_argo0) {
12650 if (_argo0 == Py_None) { _arg0 = NULL; }
12651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12653 return NULL;
12654 }
12655 }
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 _result = (int )wxGridEvent_GetRow(_arg0);
12659
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) return NULL;
12662 } _resultobj = Py_BuildValue("i",_result);
12663 return _resultobj;
12664 }
12665
12666 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12667 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject * _resultobj;
12669 int _result;
12670 wxGridEvent * _arg0;
12671 PyObject * _argo0 = 0;
12672 char *_kwnames[] = { "self", NULL };
12673
12674 self = self;
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
12676 return NULL;
12677 if (_argo0) {
12678 if (_argo0 == Py_None) { _arg0 = NULL; }
12679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12681 return NULL;
12682 }
12683 }
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 _result = (int )wxGridEvent_GetCol(_arg0);
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) return NULL;
12690 } _resultobj = Py_BuildValue("i",_result);
12691 return _resultobj;
12692 }
12693
12694 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12695 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12696 PyObject * _resultobj;
12697 wxPoint * _result;
12698 wxGridEvent * _arg0;
12699 PyObject * _argo0 = 0;
12700 char *_kwnames[] = { "self", NULL };
12701 char _ptemp[128];
12702
12703 self = self;
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
12705 return NULL;
12706 if (_argo0) {
12707 if (_argo0 == Py_None) { _arg0 = NULL; }
12708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12710 return NULL;
12711 }
12712 }
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) return NULL;
12719 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
12720 _resultobj = Py_BuildValue("s",_ptemp);
12721 return _resultobj;
12722 }
12723
12724 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12725 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject * _resultobj;
12727 bool _result;
12728 wxGridEvent * _arg0;
12729 PyObject * _argo0 = 0;
12730 char *_kwnames[] = { "self", NULL };
12731
12732 self = self;
12733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
12734 return NULL;
12735 if (_argo0) {
12736 if (_argo0 == Py_None) { _arg0 = NULL; }
12737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12739 return NULL;
12740 }
12741 }
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 _result = (bool )wxGridEvent_Selecting(_arg0);
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) return NULL;
12748 } _resultobj = Py_BuildValue("i",_result);
12749 return _resultobj;
12750 }
12751
12752 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12753 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12754 PyObject * _resultobj;
12755 bool _result;
12756 wxGridEvent * _arg0;
12757 PyObject * _argo0 = 0;
12758 char *_kwnames[] = { "self", NULL };
12759
12760 self = self;
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
12762 return NULL;
12763 if (_argo0) {
12764 if (_argo0 == Py_None) { _arg0 = NULL; }
12765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12767 return NULL;
12768 }
12769 }
12770 {
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 _result = (bool )wxGridEvent_ControlDown(_arg0);
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) return NULL;
12776 } _resultobj = Py_BuildValue("i",_result);
12777 return _resultobj;
12778 }
12779
12780 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12781 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12782 PyObject * _resultobj;
12783 bool _result;
12784 wxGridEvent * _arg0;
12785 PyObject * _argo0 = 0;
12786 char *_kwnames[] = { "self", NULL };
12787
12788 self = self;
12789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
12790 return NULL;
12791 if (_argo0) {
12792 if (_argo0 == Py_None) { _arg0 = NULL; }
12793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12795 return NULL;
12796 }
12797 }
12798 {
12799 PyThreadState* __tstate = wxPyBeginAllowThreads();
12800 _result = (bool )wxGridEvent_MetaDown(_arg0);
12801
12802 wxPyEndAllowThreads(__tstate);
12803 if (PyErr_Occurred()) return NULL;
12804 } _resultobj = Py_BuildValue("i",_result);
12805 return _resultobj;
12806 }
12807
12808 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12809 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12810 PyObject * _resultobj;
12811 bool _result;
12812 wxGridEvent * _arg0;
12813 PyObject * _argo0 = 0;
12814 char *_kwnames[] = { "self", NULL };
12815
12816 self = self;
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
12818 return NULL;
12819 if (_argo0) {
12820 if (_argo0 == Py_None) { _arg0 = NULL; }
12821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12823 return NULL;
12824 }
12825 }
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 _result = (bool )wxGridEvent_ShiftDown(_arg0);
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) return NULL;
12832 } _resultobj = Py_BuildValue("i",_result);
12833 return _resultobj;
12834 }
12835
12836 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12837 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12838 PyObject * _resultobj;
12839 bool _result;
12840 wxGridEvent * _arg0;
12841 PyObject * _argo0 = 0;
12842 char *_kwnames[] = { "self", NULL };
12843
12844 self = self;
12845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
12846 return NULL;
12847 if (_argo0) {
12848 if (_argo0 == Py_None) { _arg0 = NULL; }
12849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
12850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12851 return NULL;
12852 }
12853 }
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 _result = (bool )wxGridEvent_AltDown(_arg0);
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) return NULL;
12860 } _resultobj = Py_BuildValue("i",_result);
12861 return _resultobj;
12862 }
12863
12864 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
12865 wxGridSizeEvent *src;
12866 wxNotifyEvent *dest;
12867 src = (wxGridSizeEvent *) ptr;
12868 dest = (wxNotifyEvent *) src;
12869 return (void *) dest;
12870 }
12871
12872 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
12873 wxGridSizeEvent *src;
12874 wxCommandEvent *dest;
12875 src = (wxGridSizeEvent *) ptr;
12876 dest = (wxCommandEvent *) src;
12877 return (void *) dest;
12878 }
12879
12880 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
12881 wxGridSizeEvent *src;
12882 wxEvent *dest;
12883 src = (wxGridSizeEvent *) ptr;
12884 dest = (wxEvent *) src;
12885 return (void *) dest;
12886 }
12887
12888 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
12889 wxGridSizeEvent *src;
12890 wxObject *dest;
12891 src = (wxGridSizeEvent *) ptr;
12892 dest = (wxObject *) src;
12893 return (void *) dest;
12894 }
12895
12896 #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))
12897 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject * _resultobj;
12899 wxGridSizeEvent * _result;
12900 int _arg0;
12901 wxEventType _arg1;
12902 wxGrid * _arg2;
12903 int _arg3 = (int ) -1;
12904 int _arg4 = (int ) -1;
12905 int _arg5 = (int ) -1;
12906 bool _arg6 = (bool ) FALSE;
12907 bool _arg7 = (bool ) FALSE;
12908 bool _arg8 = (bool ) FALSE;
12909 bool _arg9 = (bool ) FALSE;
12910 PyObject * _argo2 = 0;
12911 int tempbool6 = (int) FALSE;
12912 int tempbool7 = (int) FALSE;
12913 int tempbool8 = (int) FALSE;
12914 int tempbool9 = (int) FALSE;
12915 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
12916 char _ptemp[128];
12917
12918 self = self;
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
12920 return NULL;
12921 if (_argo2) {
12922 if (_argo2 == Py_None) { _arg2 = NULL; }
12923 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
12924 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12925 return NULL;
12926 }
12927 }
12928 _arg6 = (bool ) tempbool6;
12929 _arg7 = (bool ) tempbool7;
12930 _arg8 = (bool ) tempbool8;
12931 _arg9 = (bool ) tempbool9;
12932 {
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) return NULL;
12938 } if (_result) {
12939 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
12940 _resultobj = Py_BuildValue("s",_ptemp);
12941 } else {
12942 Py_INCREF(Py_None);
12943 _resultobj = Py_None;
12944 }
12945 return _resultobj;
12946 }
12947
12948 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12949 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12950 PyObject * _resultobj;
12951 int _result;
12952 wxGridSizeEvent * _arg0;
12953 PyObject * _argo0 = 0;
12954 char *_kwnames[] = { "self", NULL };
12955
12956 self = self;
12957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
12958 return NULL;
12959 if (_argo0) {
12960 if (_argo0 == Py_None) { _arg0 = NULL; }
12961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12963 return NULL;
12964 }
12965 }
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) return NULL;
12972 } _resultobj = Py_BuildValue("i",_result);
12973 return _resultobj;
12974 }
12975
12976 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12977 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12978 PyObject * _resultobj;
12979 wxPoint * _result;
12980 wxGridSizeEvent * _arg0;
12981 PyObject * _argo0 = 0;
12982 char *_kwnames[] = { "self", NULL };
12983 char _ptemp[128];
12984
12985 self = self;
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
12987 return NULL;
12988 if (_argo0) {
12989 if (_argo0 == Py_None) { _arg0 = NULL; }
12990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
12991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12992 return NULL;
12993 }
12994 }
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
12998
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) return NULL;
13001 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
13002 _resultobj = Py_BuildValue("s",_ptemp);
13003 return _resultobj;
13004 }
13005
13006 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13007 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13008 PyObject * _resultobj;
13009 bool _result;
13010 wxGridSizeEvent * _arg0;
13011 PyObject * _argo0 = 0;
13012 char *_kwnames[] = { "self", NULL };
13013
13014 self = self;
13015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
13016 return NULL;
13017 if (_argo0) {
13018 if (_argo0 == Py_None) { _arg0 = NULL; }
13019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13021 return NULL;
13022 }
13023 }
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
13027
13028 wxPyEndAllowThreads(__tstate);
13029 if (PyErr_Occurred()) return NULL;
13030 } _resultobj = Py_BuildValue("i",_result);
13031 return _resultobj;
13032 }
13033
13034 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13035 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13036 PyObject * _resultobj;
13037 bool _result;
13038 wxGridSizeEvent * _arg0;
13039 PyObject * _argo0 = 0;
13040 char *_kwnames[] = { "self", NULL };
13041
13042 self = self;
13043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
13044 return NULL;
13045 if (_argo0) {
13046 if (_argo0 == Py_None) { _arg0 = NULL; }
13047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13049 return NULL;
13050 }
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) return NULL;
13058 } _resultobj = Py_BuildValue("i",_result);
13059 return _resultobj;
13060 }
13061
13062 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13063 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13064 PyObject * _resultobj;
13065 bool _result;
13066 wxGridSizeEvent * _arg0;
13067 PyObject * _argo0 = 0;
13068 char *_kwnames[] = { "self", NULL };
13069
13070 self = self;
13071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
13072 return NULL;
13073 if (_argo0) {
13074 if (_argo0 == Py_None) { _arg0 = NULL; }
13075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13077 return NULL;
13078 }
13079 }
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
13083
13084 wxPyEndAllowThreads(__tstate);
13085 if (PyErr_Occurred()) return NULL;
13086 } _resultobj = Py_BuildValue("i",_result);
13087 return _resultobj;
13088 }
13089
13090 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13091 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13092 PyObject * _resultobj;
13093 bool _result;
13094 wxGridSizeEvent * _arg0;
13095 PyObject * _argo0 = 0;
13096 char *_kwnames[] = { "self", NULL };
13097
13098 self = self;
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
13100 return NULL;
13101 if (_argo0) {
13102 if (_argo0 == Py_None) { _arg0 = NULL; }
13103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13105 return NULL;
13106 }
13107 }
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) return NULL;
13114 } _resultobj = Py_BuildValue("i",_result);
13115 return _resultobj;
13116 }
13117
13118 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13119 wxGridRangeSelectEvent *src;
13120 wxNotifyEvent *dest;
13121 src = (wxGridRangeSelectEvent *) ptr;
13122 dest = (wxNotifyEvent *) src;
13123 return (void *) dest;
13124 }
13125
13126 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13127 wxGridRangeSelectEvent *src;
13128 wxCommandEvent *dest;
13129 src = (wxGridRangeSelectEvent *) ptr;
13130 dest = (wxCommandEvent *) src;
13131 return (void *) dest;
13132 }
13133
13134 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13135 wxGridRangeSelectEvent *src;
13136 wxEvent *dest;
13137 src = (wxGridRangeSelectEvent *) ptr;
13138 dest = (wxEvent *) src;
13139 return (void *) dest;
13140 }
13141
13142 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13143 wxGridRangeSelectEvent *src;
13144 wxObject *dest;
13145 src = (wxGridRangeSelectEvent *) ptr;
13146 dest = (wxObject *) src;
13147 return (void *) dest;
13148 }
13149
13150 #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))
13151 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13152 PyObject * _resultobj;
13153 wxGridRangeSelectEvent * _result;
13154 int _arg0;
13155 wxEventType _arg1;
13156 wxGrid * _arg2;
13157 wxGridCellCoords * _arg3;
13158 wxGridCellCoords * _arg4;
13159 bool _arg5 = (bool ) TRUE;
13160 bool _arg6 = (bool ) FALSE;
13161 bool _arg7 = (bool ) FALSE;
13162 bool _arg8 = (bool ) FALSE;
13163 bool _arg9 = (bool ) FALSE;
13164 PyObject * _argo2 = 0;
13165 wxGridCellCoords temp;
13166 PyObject * _obj3 = 0;
13167 wxGridCellCoords temp0;
13168 PyObject * _obj4 = 0;
13169 int tempbool5 = (int) TRUE;
13170 int tempbool6 = (int) FALSE;
13171 int tempbool7 = (int) FALSE;
13172 int tempbool8 = (int) FALSE;
13173 int tempbool9 = (int) FALSE;
13174 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13175 char _ptemp[128];
13176
13177 self = self;
13178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13179 return NULL;
13180 if (_argo2) {
13181 if (_argo2 == Py_None) { _arg2 = NULL; }
13182 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13183 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13184 return NULL;
13185 }
13186 }
13187 {
13188 _arg3 = &temp;
13189 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13190 return NULL;
13191 }
13192 {
13193 _arg4 = &temp0;
13194 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13195 return NULL;
13196 }
13197 _arg5 = (bool ) tempbool5;
13198 _arg6 = (bool ) tempbool6;
13199 _arg7 = (bool ) tempbool7;
13200 _arg8 = (bool ) tempbool8;
13201 _arg9 = (bool ) tempbool9;
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) return NULL;
13208 } if (_result) {
13209 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13210 _resultobj = Py_BuildValue("s",_ptemp);
13211 } else {
13212 Py_INCREF(Py_None);
13213 _resultobj = Py_None;
13214 }
13215 return _resultobj;
13216 }
13217
13218 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13219 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13220 PyObject * _resultobj;
13221 wxGridCellCoords * _result;
13222 wxGridRangeSelectEvent * _arg0;
13223 PyObject * _argo0 = 0;
13224 char *_kwnames[] = { "self", NULL };
13225 char _ptemp[128];
13226
13227 self = self;
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13229 return NULL;
13230 if (_argo0) {
13231 if (_argo0 == Py_None) { _arg0 = NULL; }
13232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13234 return NULL;
13235 }
13236 }
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) return NULL;
13243 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13244 _resultobj = Py_BuildValue("s",_ptemp);
13245 return _resultobj;
13246 }
13247
13248 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13249 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13250 PyObject * _resultobj;
13251 wxGridCellCoords * _result;
13252 wxGridRangeSelectEvent * _arg0;
13253 PyObject * _argo0 = 0;
13254 char *_kwnames[] = { "self", NULL };
13255 char _ptemp[128];
13256
13257 self = self;
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13259 return NULL;
13260 if (_argo0) {
13261 if (_argo0 == Py_None) { _arg0 = NULL; }
13262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13264 return NULL;
13265 }
13266 }
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) return NULL;
13273 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13274 _resultobj = Py_BuildValue("s",_ptemp);
13275 return _resultobj;
13276 }
13277
13278 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13279 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13280 PyObject * _resultobj;
13281 int _result;
13282 wxGridRangeSelectEvent * _arg0;
13283 PyObject * _argo0 = 0;
13284 char *_kwnames[] = { "self", NULL };
13285
13286 self = self;
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13288 return NULL;
13289 if (_argo0) {
13290 if (_argo0 == Py_None) { _arg0 = NULL; }
13291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13293 return NULL;
13294 }
13295 }
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) return NULL;
13302 } _resultobj = Py_BuildValue("i",_result);
13303 return _resultobj;
13304 }
13305
13306 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13307 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13308 PyObject * _resultobj;
13309 int _result;
13310 wxGridRangeSelectEvent * _arg0;
13311 PyObject * _argo0 = 0;
13312 char *_kwnames[] = { "self", NULL };
13313
13314 self = self;
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13316 return NULL;
13317 if (_argo0) {
13318 if (_argo0 == Py_None) { _arg0 = NULL; }
13319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13321 return NULL;
13322 }
13323 }
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) return NULL;
13330 } _resultobj = Py_BuildValue("i",_result);
13331 return _resultobj;
13332 }
13333
13334 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13335 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject * _resultobj;
13337 int _result;
13338 wxGridRangeSelectEvent * _arg0;
13339 PyObject * _argo0 = 0;
13340 char *_kwnames[] = { "self", NULL };
13341
13342 self = self;
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13344 return NULL;
13345 if (_argo0) {
13346 if (_argo0 == Py_None) { _arg0 = NULL; }
13347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13349 return NULL;
13350 }
13351 }
13352 {
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13355
13356 wxPyEndAllowThreads(__tstate);
13357 if (PyErr_Occurred()) return NULL;
13358 } _resultobj = Py_BuildValue("i",_result);
13359 return _resultobj;
13360 }
13361
13362 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13363 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13364 PyObject * _resultobj;
13365 int _result;
13366 wxGridRangeSelectEvent * _arg0;
13367 PyObject * _argo0 = 0;
13368 char *_kwnames[] = { "self", NULL };
13369
13370 self = self;
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13372 return NULL;
13373 if (_argo0) {
13374 if (_argo0 == Py_None) { _arg0 = NULL; }
13375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13377 return NULL;
13378 }
13379 }
13380 {
13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
13382 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13383
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) return NULL;
13386 } _resultobj = Py_BuildValue("i",_result);
13387 return _resultobj;
13388 }
13389
13390 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13391 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject * _resultobj;
13393 bool _result;
13394 wxGridRangeSelectEvent * _arg0;
13395 PyObject * _argo0 = 0;
13396 char *_kwnames[] = { "self", NULL };
13397
13398 self = self;
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13400 return NULL;
13401 if (_argo0) {
13402 if (_argo0 == Py_None) { _arg0 = NULL; }
13403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13405 return NULL;
13406 }
13407 }
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) return NULL;
13414 } _resultobj = Py_BuildValue("i",_result);
13415 return _resultobj;
13416 }
13417
13418 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13419 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13420 PyObject * _resultobj;
13421 bool _result;
13422 wxGridRangeSelectEvent * _arg0;
13423 PyObject * _argo0 = 0;
13424 char *_kwnames[] = { "self", NULL };
13425
13426 self = self;
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13428 return NULL;
13429 if (_argo0) {
13430 if (_argo0 == Py_None) { _arg0 = NULL; }
13431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13433 return NULL;
13434 }
13435 }
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13439
13440 wxPyEndAllowThreads(__tstate);
13441 if (PyErr_Occurred()) return NULL;
13442 } _resultobj = Py_BuildValue("i",_result);
13443 return _resultobj;
13444 }
13445
13446 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13447 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13448 PyObject * _resultobj;
13449 bool _result;
13450 wxGridRangeSelectEvent * _arg0;
13451 PyObject * _argo0 = 0;
13452 char *_kwnames[] = { "self", NULL };
13453
13454 self = self;
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13456 return NULL;
13457 if (_argo0) {
13458 if (_argo0 == Py_None) { _arg0 = NULL; }
13459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13461 return NULL;
13462 }
13463 }
13464 {
13465 PyThreadState* __tstate = wxPyBeginAllowThreads();
13466 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13467
13468 wxPyEndAllowThreads(__tstate);
13469 if (PyErr_Occurred()) return NULL;
13470 } _resultobj = Py_BuildValue("i",_result);
13471 return _resultobj;
13472 }
13473
13474 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13475 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13476 PyObject * _resultobj;
13477 bool _result;
13478 wxGridRangeSelectEvent * _arg0;
13479 PyObject * _argo0 = 0;
13480 char *_kwnames[] = { "self", NULL };
13481
13482 self = self;
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13484 return NULL;
13485 if (_argo0) {
13486 if (_argo0 == Py_None) { _arg0 = NULL; }
13487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13489 return NULL;
13490 }
13491 }
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) return NULL;
13498 } _resultobj = Py_BuildValue("i",_result);
13499 return _resultobj;
13500 }
13501
13502 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13503 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13504 PyObject * _resultobj;
13505 bool _result;
13506 wxGridRangeSelectEvent * _arg0;
13507 PyObject * _argo0 = 0;
13508 char *_kwnames[] = { "self", NULL };
13509
13510 self = self;
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13512 return NULL;
13513 if (_argo0) {
13514 if (_argo0 == Py_None) { _arg0 = NULL; }
13515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13517 return NULL;
13518 }
13519 }
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) return NULL;
13526 } _resultobj = Py_BuildValue("i",_result);
13527 return _resultobj;
13528 }
13529
13530 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
13531 wxGridEditorCreatedEvent *src;
13532 wxCommandEvent *dest;
13533 src = (wxGridEditorCreatedEvent *) ptr;
13534 dest = (wxCommandEvent *) src;
13535 return (void *) dest;
13536 }
13537
13538 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
13539 wxGridEditorCreatedEvent *src;
13540 wxEvent *dest;
13541 src = (wxGridEditorCreatedEvent *) ptr;
13542 dest = (wxEvent *) src;
13543 return (void *) dest;
13544 }
13545
13546 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
13547 wxGridEditorCreatedEvent *src;
13548 wxObject *dest;
13549 src = (wxGridEditorCreatedEvent *) ptr;
13550 dest = (wxObject *) src;
13551 return (void *) dest;
13552 }
13553
13554 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13555 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13556 PyObject * _resultobj;
13557 wxGridEditorCreatedEvent * _result;
13558 int _arg0;
13559 wxEventType _arg1;
13560 wxObject * _arg2;
13561 int _arg3;
13562 int _arg4;
13563 wxControl * _arg5;
13564 PyObject * _argo2 = 0;
13565 PyObject * _argo5 = 0;
13566 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
13567 char _ptemp[128];
13568
13569 self = self;
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
13571 return NULL;
13572 if (_argo2) {
13573 if (_argo2 == Py_None) { _arg2 = NULL; }
13574 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
13575 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13576 return NULL;
13577 }
13578 }
13579 if (_argo5) {
13580 if (_argo5 == Py_None) { _arg5 = NULL; }
13581 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
13582 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13583 return NULL;
13584 }
13585 }
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) return NULL;
13592 } if (_result) {
13593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
13594 _resultobj = Py_BuildValue("s",_ptemp);
13595 } else {
13596 Py_INCREF(Py_None);
13597 _resultobj = Py_None;
13598 }
13599 return _resultobj;
13600 }
13601
13602 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13603 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13604 PyObject * _resultobj;
13605 int _result;
13606 wxGridEditorCreatedEvent * _arg0;
13607 PyObject * _argo0 = 0;
13608 char *_kwnames[] = { "self", NULL };
13609
13610 self = self;
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
13612 return NULL;
13613 if (_argo0) {
13614 if (_argo0 == Py_None) { _arg0 = NULL; }
13615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13617 return NULL;
13618 }
13619 }
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) return NULL;
13626 } _resultobj = Py_BuildValue("i",_result);
13627 return _resultobj;
13628 }
13629
13630 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13631 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject * _resultobj;
13633 int _result;
13634 wxGridEditorCreatedEvent * _arg0;
13635 PyObject * _argo0 = 0;
13636 char *_kwnames[] = { "self", NULL };
13637
13638 self = self;
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
13640 return NULL;
13641 if (_argo0) {
13642 if (_argo0 == Py_None) { _arg0 = NULL; }
13643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13645 return NULL;
13646 }
13647 }
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) return NULL;
13654 } _resultobj = Py_BuildValue("i",_result);
13655 return _resultobj;
13656 }
13657
13658 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13659 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject * _resultobj;
13661 wxControl * _result;
13662 wxGridEditorCreatedEvent * _arg0;
13663 PyObject * _argo0 = 0;
13664 char *_kwnames[] = { "self", NULL };
13665
13666 self = self;
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
13668 return NULL;
13669 if (_argo0) {
13670 if (_argo0 == Py_None) { _arg0 = NULL; }
13671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13673 return NULL;
13674 }
13675 }
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) return NULL;
13682 }{ _resultobj = wxPyMake_wxObject(_result); }
13683 return _resultobj;
13684 }
13685
13686 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13687 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject * _resultobj;
13689 wxGridEditorCreatedEvent * _arg0;
13690 int _arg1;
13691 PyObject * _argo0 = 0;
13692 char *_kwnames[] = { "self","row", NULL };
13693
13694 self = self;
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
13696 return NULL;
13697 if (_argo0) {
13698 if (_argo0 == Py_None) { _arg0 = NULL; }
13699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13701 return NULL;
13702 }
13703 }
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) return NULL;
13710 } Py_INCREF(Py_None);
13711 _resultobj = Py_None;
13712 return _resultobj;
13713 }
13714
13715 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13716 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13717 PyObject * _resultobj;
13718 wxGridEditorCreatedEvent * _arg0;
13719 int _arg1;
13720 PyObject * _argo0 = 0;
13721 char *_kwnames[] = { "self","col", NULL };
13722
13723 self = self;
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
13725 return NULL;
13726 if (_argo0) {
13727 if (_argo0 == Py_None) { _arg0 = NULL; }
13728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13730 return NULL;
13731 }
13732 }
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
13736
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) return NULL;
13739 } Py_INCREF(Py_None);
13740 _resultobj = Py_None;
13741 return _resultobj;
13742 }
13743
13744 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13745 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13746 PyObject * _resultobj;
13747 wxGridEditorCreatedEvent * _arg0;
13748 wxControl * _arg1;
13749 PyObject * _argo0 = 0;
13750 PyObject * _argo1 = 0;
13751 char *_kwnames[] = { "self","ctrl", NULL };
13752
13753 self = self;
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
13755 return NULL;
13756 if (_argo0) {
13757 if (_argo0 == Py_None) { _arg0 = NULL; }
13758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
13759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13760 return NULL;
13761 }
13762 }
13763 if (_argo1) {
13764 if (_argo1 == Py_None) { _arg1 = NULL; }
13765 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
13766 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13767 return NULL;
13768 }
13769 }
13770 {
13771 PyThreadState* __tstate = wxPyBeginAllowThreads();
13772 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
13773
13774 wxPyEndAllowThreads(__tstate);
13775 if (PyErr_Occurred()) return NULL;
13776 } Py_INCREF(Py_None);
13777 _resultobj = Py_None;
13778 return _resultobj;
13779 }
13780
13781 static PyMethodDef gridcMethods[] = {
13782 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
13783 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
13784 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
13785 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
13786 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13787 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13788 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
13789 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13790 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13791 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13792 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13793 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13794 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
13795 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
13796 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
13797 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
13798 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
13799 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
13800 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
13801 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13802 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13803 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13804 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13805 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13806 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
13807 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
13808 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
13809 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
13810 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
13811 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
13812 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
13813 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
13814 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
13815 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
13816 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
13817 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
13818 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
13819 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
13820 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
13821 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
13822 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
13823 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
13824 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
13825 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
13826 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
13827 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13828 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13829 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
13830 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
13831 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
13832 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
13833 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
13834 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
13835 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
13836 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
13837 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
13838 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
13839 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
13840 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
13841 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
13842 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
13843 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
13844 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13845 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
13846 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
13847 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13848 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13849 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
13850 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
13851 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13852 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13853 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
13854 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13855 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13856 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13857 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13858 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13859 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
13860 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
13861 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
13862 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
13863 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
13864 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
13865 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
13866 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
13867 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13868 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
13869 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13870 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
13871 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
13872 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
13873 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
13874 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
13875 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
13876 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13877 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13878 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
13879 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
13880 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
13881 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
13882 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
13883 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
13884 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
13885 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
13886 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
13887 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
13888 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
13889 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
13890 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
13891 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13892 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
13893 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
13894 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
13895 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
13896 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
13897 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13898 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
13899 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13900 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13901 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13902 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13903 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13904 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13905 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13906 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13907 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
13908 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13909 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13910 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13911 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13912 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
13913 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
13914 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
13915 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
13916 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
13917 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
13918 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13919 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
13920 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
13921 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
13922 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
13923 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
13924 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
13925 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13926 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
13927 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
13928 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
13929 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
13930 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
13931 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
13932 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
13933 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
13934 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
13935 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
13936 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
13937 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
13938 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
13939 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
13940 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
13941 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
13942 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
13943 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
13944 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
13945 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
13946 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
13947 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
13948 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
13949 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
13950 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
13951 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
13952 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
13953 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
13954 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
13955 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13956 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
13957 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
13958 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
13959 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
13960 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
13961 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
13962 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
13963 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
13964 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
13965 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
13966 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
13967 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
13968 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
13969 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
13970 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
13971 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
13972 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
13973 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
13974 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
13975 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
13976 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
13977 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
13978 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
13979 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
13980 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
13981 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
13982 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
13983 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
13984 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
13985 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
13986 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
13987 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
13988 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13989 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
13990 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13991 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
13992 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
13993 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
13994 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
13995 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
13996 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
13997 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
13998 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
13999 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
14000 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
14001 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14002 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14003 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
14004 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
14005 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
14006 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14007 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14008 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14009 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14010 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14011 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
14012 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
14013 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14014 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
14015 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
14016 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
14017 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
14018 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
14019 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
14020 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
14021 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14022 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
14023 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14024 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14025 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
14026 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
14027 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
14028 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14029 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14030 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14031 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14032 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14033 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
14034 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
14035 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14036 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
14037 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
14038 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
14039 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
14040 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
14041 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
14042 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
14043 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
14044 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
14045 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
14046 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
14047 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
14048 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
14049 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
14050 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
14051 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
14052 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
14053 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
14054 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
14055 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
14056 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
14057 { "wxGridTableBase__setOORInfo", (PyCFunction) _wrap_wxGridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14058 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14059 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14060 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
14061 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
14062 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14063 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
14064 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
14065 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
14066 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14067 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14068 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
14069 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
14070 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_wxGridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14071 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
14072 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
14073 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
14074 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
14075 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
14076 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
14077 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
14078 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14079 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
14080 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
14081 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
14082 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
14083 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
14084 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
14085 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14086 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
14087 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
14088 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
14089 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
14090 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14091 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
14092 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
14093 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14094 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
14095 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
14096 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
14097 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
14098 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
14099 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
14100 { "wxGridCellAttr__setOORInfo", (PyCFunction) _wrap_wxGridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14101 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
14102 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
14103 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
14104 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
14105 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
14106 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
14107 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
14108 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14109 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
14110 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14111 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
14112 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
14113 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14114 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14115 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14116 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
14117 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14118 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14119 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14120 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14121 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14122 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14123 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14124 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14125 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14126 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14127 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14128 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14129 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14130 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14131 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14132 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14133 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14134 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14135 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14136 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14137 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14138 { "wxGridCellEditor__setOORInfo", (PyCFunction) _wrap_wxGridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14139 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
14140 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
14141 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
14142 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14143 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14144 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14145 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14146 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14147 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14148 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14149 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14150 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14151 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14152 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14153 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14154 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14155 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14156 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14157 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14158 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14159 { "wxGridCellRenderer__setOORInfo", (PyCFunction) _wrap_wxGridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14160 { NULL, NULL }
14161 };
14162 #ifdef __cplusplus
14163 }
14164 #endif
14165 /*
14166 * This table is used by the pointer type-checker
14167 */
14168 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
14169 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14170 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14171 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14172 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14173 { "_signed_long","_long",0},
14174 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
14175 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14176 { "_wxPrintQuality","_wxCoord",0},
14177 { "_wxPrintQuality","_int",0},
14178 { "_wxPrintQuality","_signed_int",0},
14179 { "_wxPrintQuality","_unsigned_int",0},
14180 { "_wxPrintQuality","_wxWindowID",0},
14181 { "_wxPrintQuality","_uint",0},
14182 { "_wxPrintQuality","_EBool",0},
14183 { "_wxPrintQuality","_size_t",0},
14184 { "_wxPrintQuality","_time_t",0},
14185 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14186 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14187 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14188 { "_byte","_unsigned_char",0},
14189 { "_long","_unsigned_long",0},
14190 { "_long","_signed_long",0},
14191 { "_size_t","_WXGRIDSELECTIONMODES",0},
14192 { "_size_t","_wxCoord",0},
14193 { "_size_t","_wxPrintQuality",0},
14194 { "_size_t","_time_t",0},
14195 { "_size_t","_unsigned_int",0},
14196 { "_size_t","_int",0},
14197 { "_size_t","_wxWindowID",0},
14198 { "_size_t","_uint",0},
14199 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14200 { "_uint","_WXGRIDSELECTIONMODES",0},
14201 { "_uint","_wxCoord",0},
14202 { "_uint","_wxPrintQuality",0},
14203 { "_uint","_time_t",0},
14204 { "_uint","_size_t",0},
14205 { "_uint","_unsigned_int",0},
14206 { "_uint","_int",0},
14207 { "_uint","_wxWindowID",0},
14208 { "_wxChar","_char",0},
14209 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14210 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14211 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14212 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14213 { "_char","_wxChar",0},
14214 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
14215 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
14216 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
14217 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14218 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14219 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14220 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14221 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14222 { "_EBool","_WXGRIDSELECTIONMODES",0},
14223 { "_EBool","_wxCoord",0},
14224 { "_EBool","_wxPrintQuality",0},
14225 { "_EBool","_signed_int",0},
14226 { "_EBool","_int",0},
14227 { "_EBool","_wxWindowID",0},
14228 { "_unsigned_long","_long",0},
14229 { "_WXGRIDSELECTIONMODES","_int",0},
14230 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14231 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14232 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14233 { "_WXGRIDSELECTIONMODES","_uint",0},
14234 { "_WXGRIDSELECTIONMODES","_EBool",0},
14235 { "_WXGRIDSELECTIONMODES","_size_t",0},
14236 { "_WXGRIDSELECTIONMODES","_time_t",0},
14237 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14238 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14239 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14240 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14241 { "_signed_int","_wxCoord",0},
14242 { "_signed_int","_wxPrintQuality",0},
14243 { "_signed_int","_EBool",0},
14244 { "_signed_int","_wxWindowID",0},
14245 { "_signed_int","_int",0},
14246 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
14247 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
14248 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14249 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14250 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14251 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14252 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14253 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14254 { "_WXTYPE","_short",0},
14255 { "_WXTYPE","_signed_short",0},
14256 { "_WXTYPE","_unsigned_short",0},
14257 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14258 { "_unsigned_short","_WXTYPE",0},
14259 { "_unsigned_short","_short",0},
14260 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14261 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14262 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14263 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14264 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14265 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14266 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14267 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14268 { "_signed_short","_WXTYPE",0},
14269 { "_signed_short","_short",0},
14270 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14271 { "_unsigned_char","_byte",0},
14272 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14273 { "_unsigned_int","_wxCoord",0},
14274 { "_unsigned_int","_wxPrintQuality",0},
14275 { "_unsigned_int","_time_t",0},
14276 { "_unsigned_int","_size_t",0},
14277 { "_unsigned_int","_uint",0},
14278 { "_unsigned_int","_wxWindowID",0},
14279 { "_unsigned_int","_int",0},
14280 { "_short","_WXTYPE",0},
14281 { "_short","_unsigned_short",0},
14282 { "_short","_signed_short",0},
14283 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14284 { "_wxWindowID","_wxCoord",0},
14285 { "_wxWindowID","_wxPrintQuality",0},
14286 { "_wxWindowID","_time_t",0},
14287 { "_wxWindowID","_size_t",0},
14288 { "_wxWindowID","_EBool",0},
14289 { "_wxWindowID","_uint",0},
14290 { "_wxWindowID","_int",0},
14291 { "_wxWindowID","_signed_int",0},
14292 { "_wxWindowID","_unsigned_int",0},
14293 { "_int","_WXGRIDSELECTIONMODES",0},
14294 { "_int","_wxCoord",0},
14295 { "_int","_wxPrintQuality",0},
14296 { "_int","_time_t",0},
14297 { "_int","_size_t",0},
14298 { "_int","_EBool",0},
14299 { "_int","_uint",0},
14300 { "_int","_wxWindowID",0},
14301 { "_int","_unsigned_int",0},
14302 { "_int","_signed_int",0},
14303 { "_time_t","_WXGRIDSELECTIONMODES",0},
14304 { "_time_t","_wxCoord",0},
14305 { "_time_t","_wxPrintQuality",0},
14306 { "_time_t","_unsigned_int",0},
14307 { "_time_t","_int",0},
14308 { "_time_t","_wxWindowID",0},
14309 { "_time_t","_uint",0},
14310 { "_time_t","_size_t",0},
14311 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14312 { "_wxCoord","_int",0},
14313 { "_wxCoord","_signed_int",0},
14314 { "_wxCoord","_unsigned_int",0},
14315 { "_wxCoord","_wxWindowID",0},
14316 { "_wxCoord","_uint",0},
14317 { "_wxCoord","_EBool",0},
14318 { "_wxCoord","_size_t",0},
14319 { "_wxCoord","_time_t",0},
14320 { "_wxCoord","_wxPrintQuality",0},
14321 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
14322 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
14323 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
14324 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14325 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14326 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14327 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14328 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14329 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
14330 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14331 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14332 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14333 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14334 {0,0,0}};
14335
14336 static PyObject *SWIG_globals;
14337 #ifdef __cplusplus
14338 extern "C"
14339 #endif
14340 SWIGEXPORT(void) initgridc() {
14341 PyObject *m, *d;
14342 SWIG_globals = SWIG_newvarlink();
14343 m = Py_InitModule("gridc", gridcMethods);
14344 d = PyModule_GetDict(m);
14345 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14346 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14347 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14348 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14349 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14350 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14351 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14352 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
14353 PyDict_SetItemString(d,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
14354 PyDict_SetItemString(d,"cvar", SWIG_globals);
14355 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14356 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14357 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14358 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14359 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14360 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14361 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14362 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14363 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14364 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14365 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14366 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14367 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14368 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14369 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14370 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14371 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14372 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14373 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14374 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14375 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14376 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14377 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14378 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14379 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
14380 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
14381
14382 wxClassInfo::CleanUpClasses();
14383 wxClassInfo::InitializeClasses();
14384 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14385 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14386 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14387 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14388 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14389 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
14390 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14391 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14392 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14393 {
14394 int i;
14395 for (i = 0; _swig_mapping[i].n1; i++)
14396 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14397 }
14398 }