]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.cpp
wxPython Merge #2 of 2.4 branch --> HEAD (branch tag: wxPy_2_4_merge_2)
[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 "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initgridc
54
55 #define SWIG_name "gridc"
56
57 #include "wxPython.h"
58 #include <wx/grid.h>
59 #include <wx/generic/gridctrl.h>
60
61
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr);
90 DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c"));
91 static const wxString wxPyEmptyString(wxT(""));
92
93
94 #define wxPyMake_TEMPLATE(TYPE) \
95 PyObject* wxPyMake_##TYPE(TYPE* source) { \
96 PyObject* target = NULL; \
97 if (source) { \
98 /* Check if there is already a pointer to a Python object in the \
99 OOR data that we can use. */ \
100 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
101 if (data) { \
102 target = data->m_obj; \
103 Py_INCREF(target); \
104 } \
105 /* Otherwise make a new wrapper for it the old fashioned way and \
106 give it the OOR treatment */ \
107 if (! target) { \
108 target = wxPyConstructObject(source, wxT(#TYPE), FALSE); \
109 if (target) \
110 source->SetClientObject(new wxPyOORClientData(target)); \
111 } \
112 } else { /* source was NULL so return None. */ \
113 Py_INCREF(Py_None); target = Py_None; \
114 } \
115 return target; \
116 } \
117
118
119 wxPyMake_TEMPLATE(wxGridCellRenderer)
120 wxPyMake_TEMPLATE(wxGridCellEditor)
121 wxPyMake_TEMPLATE(wxGridCellAttr)
122 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
123 wxPyMake_TEMPLATE(wxGridTableBase)
124
125
126 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
127 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
128 wxGridCellAttr* rval = NULL; \
129 bool found; \
130 wxPyBeginBlockThreads(); \
131 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
132 PyObject* ro; \
133 wxGridCellAttr* ptr; \
134 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
135 if (ro) { \
136 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
137 rval = ptr; \
138 Py_DECREF(ro); \
139 } \
140 } \
141 wxPyEndBlockThreads(); \
142 if (! found) \
143 rval = PCLASS::CBNAME(a, b, c); \
144 return rval; \
145 } \
146 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
147 return PCLASS::CBNAME(a, b, c); \
148 }
149
150
151
152 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
153 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
154 wxPyBeginBlockThreads(); \
155 bool found; \
156 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
157 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
158 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
159 Py_DECREF(obj); \
160 } \
161 wxPyEndBlockThreads(); \
162 if (! found) \
163 PCLASS::CBNAME(attr, a, b); \
164 } \
165 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
166 PCLASS::CBNAME(attr, a, b); \
167 }
168
169
170
171 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
172 void CBNAME(wxGridCellAttr *attr, int val) { \
173 wxPyBeginBlockThreads(); \
174 bool found; \
175 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
176 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
177 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
178 Py_DECREF(obj); \
179 } \
180 wxPyEndBlockThreads(); \
181 if (! found) \
182 PCLASS::CBNAME(attr, val); \
183 } \
184 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
185 PCLASS::CBNAME(attr, val); \
186 }
187
188
189
190 #define PYCALLBACK_INT__pure(CBNAME) \
191 int CBNAME() { \
192 wxPyBeginBlockThreads(); \
193 int rval = 0; \
194 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
195 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
196 wxPyEndBlockThreads(); \
197 return rval; \
198 }
199
200
201
202 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
203 bool CBNAME(int a, int b) { \
204 wxPyBeginBlockThreads(); \
205 bool rval = 0; \
206 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
207 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
208 wxPyEndBlockThreads(); \
209 return rval; \
210 }
211
212
213 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
214 wxString CBNAME(int a, int b) { \
215 wxPyBeginBlockThreads(); \
216 wxString rval; \
217 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
218 PyObject* ro; \
219 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
220 if (ro) { \
221 rval = Py2wxString(ro); \
222 Py_DECREF(ro); \
223 } \
224 } \
225 wxPyEndBlockThreads(); \
226 return rval; \
227 }
228
229
230 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
231 void CBNAME(int a, int b, const wxString& c) { \
232 wxPyBeginBlockThreads(); \
233 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
234 PyObject* s = wx2PyString(c); \
235 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
236 Py_DECREF(s); \
237 } \
238 wxPyEndBlockThreads(); \
239 }
240
241
242 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
243 wxString CBNAME(int a, int b) { \
244 bool found; \
245 wxPyBeginBlockThreads(); \
246 wxString rval; \
247 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
248 PyObject* ro; \
249 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
250 if (ro) { \
251 rval = Py2wxString(ro); \
252 Py_DECREF(ro); \
253 } \
254 } \
255 wxPyEndBlockThreads(); \
256 if (! found) \
257 rval = PCLASS::CBNAME(a, b); \
258 return rval; \
259 } \
260 wxString base_##CBNAME(int a, int b) { \
261 return PCLASS::CBNAME(a, b); \
262 }
263
264
265 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b, const wxString& c) { \
267 bool rval = 0; \
268 bool found; \
269 wxPyBeginBlockThreads(); \
270 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
271 PyObject* s = wx2PyString(c); \
272 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
273 Py_DECREF(s); \
274 } \
275 wxPyEndBlockThreads(); \
276 if (! found) \
277 rval = PCLASS::CBNAME(a,b,c); \
278 return rval; \
279 } \
280 bool base_##CBNAME(int a, int b, const wxString& c) { \
281 return PCLASS::CBNAME(a,b,c); \
282 }
283
284
285
286
287 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
288 long CBNAME(int a, int b) { \
289 long rval; \
290 bool found; \
291 wxPyBeginBlockThreads(); \
292 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
293 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
294 wxPyEndBlockThreads(); \
295 if (! found) \
296 rval = PCLASS::CBNAME(a,b); \
297 return rval; \
298 } \
299 long base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a,b); \
301 }
302
303
304
305 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
306 bool CBNAME(int a, int b) { \
307 bool rval = 0; \
308 bool found; \
309 wxPyBeginBlockThreads(); \
310 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
311 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
312 wxPyEndBlockThreads(); \
313 if (! found) \
314 rval = PCLASS::CBNAME(a,b); \
315 return rval; \
316 } \
317 bool base_##CBNAME(int a, int b) { \
318 return PCLASS::CBNAME(a,b); \
319 }
320
321
322
323 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
324 double CBNAME(int a, int b) { \
325 bool found; \
326 wxPyBeginBlockThreads(); \
327 double rval; \
328 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
329 PyObject* ro; \
330 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
331 if (ro) { \
332 PyObject* str = PyObject_Str(ro); \
333 rval = PyFloat_AsDouble(str); \
334 Py_DECREF(ro); Py_DECREF(str); \
335 } \
336 } \
337 wxPyEndBlockThreads(); \
338 if (! found) \
339 rval = PCLASS::CBNAME(a, b); \
340 return rval; \
341 } \
342 double base_##CBNAME(int a, int b) { \
343 return PCLASS::CBNAME(a, b); \
344 }
345
346
347
348 #define PYCALLBACK__(PCLASS, CBNAME) \
349 void CBNAME() { \
350 bool found; \
351 wxPyBeginBlockThreads(); \
352 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
353 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
354 wxPyEndBlockThreads(); \
355 if (! found) \
356 PCLASS::CBNAME(); \
357 } \
358 void base_##CBNAME() { \
359 PCLASS::CBNAME(); \
360 }
361
362
363
364
365 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
366 bool CBNAME(size_t a, size_t b) { \
367 bool rval = 0; \
368 bool found; \
369 wxPyBeginBlockThreads(); \
370 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
371 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
372 wxPyEndBlockThreads(); \
373 if (! found) \
374 rval = PCLASS::CBNAME(a,b); \
375 return rval; \
376 } \
377 bool base_##CBNAME(size_t a, size_t b) { \
378 return PCLASS::CBNAME(a,b); \
379 }
380
381
382
383 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
384 bool CBNAME(size_t a) { \
385 bool rval = 0; \
386 bool found; \
387 wxPyBeginBlockThreads(); \
388 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
389 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
390 wxPyEndBlockThreads(); \
391 if (! found) \
392 rval = PCLASS::CBNAME(a); \
393 return rval; \
394 } \
395 bool base_##CBNAME(size_t a) { \
396 return PCLASS::CBNAME(a); \
397 }
398
399
400 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
401 wxString CBNAME(int a) { \
402 bool found; \
403 wxPyBeginBlockThreads(); \
404 wxString rval; \
405 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
406 PyObject* ro; \
407 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
408 if (ro) { \
409 rval = Py2wxString(ro); \
410 Py_DECREF(ro); \
411 } \
412 } \
413 wxPyEndBlockThreads(); \
414 if (! found) \
415 rval = PCLASS::CBNAME(a); \
416 return rval; \
417 } \
418 wxString base_##CBNAME(int a) { \
419 return PCLASS::CBNAME(a); \
420 }
421
422
423 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
424 void CBNAME(int a, const wxString& c) { \
425 bool found; \
426 wxPyBeginBlockThreads(); \
427 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
428 PyObject* s = wx2PyString(c); \
429 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
430 Py_DECREF(s); \
431 } \
432 wxPyEndBlockThreads(); \
433 if (! found) \
434 PCLASS::CBNAME(a,c); \
435 } \
436 void base_##CBNAME(int a, const wxString& c) { \
437 PCLASS::CBNAME(a,c); \
438 }
439
440
441
442
443 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
444 bool CBNAME() { \
445 bool rval = 0; \
446 bool found; \
447 wxPyBeginBlockThreads(); \
448 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
449 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
450 wxPyEndBlockThreads(); \
451 if (! found) \
452 rval = PCLASS::CBNAME(); \
453 return rval; \
454 } \
455 bool base_##CBNAME() { \
456 return PCLASS::CBNAME(); \
457 }
458
459
460
461 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
462 void CBNAME(size_t a, int b) { \
463 bool found; \
464 wxPyBeginBlockThreads(); \
465 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
466 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
467 wxPyEndBlockThreads(); \
468 if (! found) \
469 PCLASS::CBNAME(a,b); \
470 } \
471 void base_##CBNAME(size_t a, int b) { \
472 PCLASS::CBNAME(a,b); \
473 }
474
475
476
477
478 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
479 void CBNAME(int a, int b, long c) { \
480 bool found; \
481 wxPyBeginBlockThreads(); \
482 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
483 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
484 wxPyEndBlockThreads(); \
485 if (! found) \
486 PCLASS::CBNAME(a,b,c); \
487 } \
488 void base_##CBNAME(int a, int b, long c) { \
489 PCLASS::CBNAME(a,b,c); \
490 }
491
492
493
494
495 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
496 void CBNAME(int a, int b, double c) { \
497 bool found; \
498 wxPyBeginBlockThreads(); \
499 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
500 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
501 wxPyEndBlockThreads(); \
502 if (! found) \
503 PCLASS::CBNAME(a,b,c); \
504 } \
505 void base_##CBNAME(int a, int b, double c) { \
506 PCLASS::CBNAME(a,b,c); \
507 }
508
509
510
511 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
512 void CBNAME(int a, int b, bool c) { \
513 bool found; \
514 wxPyBeginBlockThreads(); \
515 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
516 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
517 wxPyEndBlockThreads(); \
518 if (! found) \
519 PCLASS::CBNAME(a,b,c); \
520 } \
521 void base_##CBNAME(int a, int b, bool c) { \
522 PCLASS::CBNAME(a,b,c); \
523 }
524
525
526
527
528
529 class wxPyGridCellRenderer : public wxGridCellRenderer
530 {
531 public:
532 wxPyGridCellRenderer() : wxGridCellRenderer() {};
533
534 // Implement Python callback aware virtual methods
535 void Draw(wxGrid& grid, wxGridCellAttr& attr,
536 wxDC& dc, const wxRect& rect,
537 int row, int col, bool isSelected) {
538 wxPyBeginBlockThreads();
539 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
540 PyObject* go = wxPyMake_wxObject(&grid);
541 PyObject* dco = wxPyMake_wxObject(&dc);
542 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
543 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
544
545 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
546 row, col, isSelected));
547 Py_DECREF(go);
548 Py_DECREF(ao);
549 Py_DECREF(dco);
550 Py_DECREF(ro);
551 }
552 wxPyEndBlockThreads();
553 }
554
555 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
556 int row, int col) {
557 wxSize rval;
558 wxPyBeginBlockThreads();
559 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
560 PyObject* ro;
561 wxSize* ptr;
562 PyObject* go = wxPyMake_wxObject(&grid);
563 PyObject* dco = wxPyMake_wxObject(&dc);
564 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
565
566 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
567 go, ao, dco,
568 row, col));
569 Py_DECREF(go);
570 Py_DECREF(ao);
571 Py_DECREF(dco);
572
573 if (ro) {
574 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
575 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) {
576 rval = *ptr;
577 }
578 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
579 PyObject* o1 = PySequence_GetItem(ro, 0);
580 PyObject* o2 = PySequence_GetItem(ro, 1);
581 if (PyNumber_Check(o1) && PyNumber_Check(o2))
582 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
583 else
584 PyErr_SetString(PyExc_TypeError, errmsg);
585 Py_DECREF(o1);
586 Py_DECREF(o2);
587 }
588 else {
589 PyErr_SetString(PyExc_TypeError, errmsg);
590 }
591 Py_DECREF(ro);
592 }
593 }
594 wxPyEndBlockThreads();
595 return rval;
596 }
597
598
599 wxGridCellRenderer *Clone() const {
600 wxGridCellRenderer* rval = NULL;
601 wxPyBeginBlockThreads();
602 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
603 PyObject* ro;
604 wxGridCellRenderer* ptr;
605 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
606 if (ro) {
607 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
608 rval = ptr;
609 Py_DECREF(ro);
610 }
611 }
612 wxPyEndBlockThreads();
613 return rval;
614 }
615
616 DEC_PYCALLBACK__STRING(SetParameters);
617
618 PYPRIVATE;
619 };
620
621 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
622
623
624 class wxPyGridCellEditor : public wxGridCellEditor
625 {
626 public:
627 wxPyGridCellEditor() : wxGridCellEditor() {}
628
629 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
630 wxPyBeginBlockThreads();
631 if (wxPyCBH_findCallback(m_myInst, "Create")) {
632 PyObject* po = wxPyMake_wxObject(parent);
633 PyObject* eo = wxPyMake_wxObject(evtHandler);
634
635 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
636 Py_DECREF(po);
637 Py_DECREF(eo);
638 }
639 wxPyEndBlockThreads();
640 }
641
642
643 void BeginEdit(int row, int col, wxGrid* grid) {
644 wxPyBeginBlockThreads();
645 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
646 PyObject* go = wxPyMake_wxObject(grid);
647 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
648 Py_DECREF(go);
649 }
650 wxPyEndBlockThreads();
651 }
652
653
654 bool EndEdit(int row, int col, wxGrid* grid) {
655 bool rv = FALSE;
656 wxPyBeginBlockThreads();
657 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
658 PyObject* go = wxPyMake_wxObject(grid);
659 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
660 Py_DECREF(go);
661 }
662 wxPyEndBlockThreads();
663 return rv;
664 }
665
666
667 wxGridCellEditor* Clone() const {
668 wxGridCellEditor* rval = NULL;
669 wxPyBeginBlockThreads();
670 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
671 PyObject* ro;
672 wxGridCellEditor* ptr;
673 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
674 if (ro) {
675 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
676 rval = ptr;
677 Py_DECREF(ro);
678 }
679 }
680 wxPyEndBlockThreads();
681 return rval;
682 }
683
684
685 void Show(bool show, wxGridCellAttr *attr) {
686 bool found;
687 wxPyBeginBlockThreads();
688 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
689 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
690 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
691 Py_DECREF(ao);
692 }
693 wxPyEndBlockThreads();
694 if (! found)
695 wxGridCellEditor::Show(show, attr);
696 }
697 void base_Show(bool show, wxGridCellAttr *attr) {
698 wxGridCellEditor::Show(show, attr);
699 }
700
701
702 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
703 bool found;
704 wxPyBeginBlockThreads();
705 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
706 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
707 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
708
709 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
710
711 Py_DECREF(ro);
712 Py_DECREF(ao);
713 }
714 wxPyEndBlockThreads();
715 if (! found)
716 wxGridCellEditor::PaintBackground(rectCell, attr);
717 }
718 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
719 wxGridCellEditor::PaintBackground(rectCell, attr);
720 }
721
722
723 DEC_PYCALLBACK___pure(Reset);
724 DEC_PYCALLBACK__constany(SetSize, wxRect);
725 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
726 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
727 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
728 DEC_PYCALLBACK__(StartingClick);
729 DEC_PYCALLBACK__(Destroy);
730 DEC_PYCALLBACK__STRING(SetParameters);
731 DEC_PYCALLBACK_STRING__constpure(GetValue);
732
733 PYPRIVATE;
734 };
735
736
737 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
738 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
739 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
740 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
741 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
742 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
743 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
744 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
745 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue);
746
747
748 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
749 {
750 public:
751 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
752
753 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
754 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
755 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
756 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
757
758 PYPRIVATE;
759 };
760
761 class wxPyGridTableBase : public wxGridTableBase
762 {
763 public:
764 wxPyGridTableBase() : wxGridTableBase() {}
765
766 PYCALLBACK_INT__pure(GetNumberRows);
767 PYCALLBACK_INT__pure(GetNumberCols);
768 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
769 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
770 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
771 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
772 PYCALLBACK__(wxGridTableBase, Clear);
773 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
774 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
775 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
776 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
777 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
778 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
779 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
780 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
781 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
782 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
783 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
784 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
785 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
786 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
787 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
788
789
790 wxString GetValue(int row, int col) {
791 wxPyBeginBlockThreads();
792 wxString rval;
793 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
794 PyObject* ro;
795 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
796 if (ro) {
797 rval = Py2wxString(ro);
798 Py_DECREF(ro);
799 }
800 }
801 wxPyEndBlockThreads();
802 return rval;
803 }
804
805 void SetValue(int row, int col, const wxString& val) {
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
808 PyObject* s = wx2PyString(val);
809 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
810 Py_DECREF(s);
811 }
812 wxPyEndBlockThreads();
813 }
814
815
816 // Map the Get/Set methods for the standard non-string types to
817 // the GetValue and SetValue python methods.
818 long GetValueAsLong( int row, int col ) {
819 long rval = 0;
820 wxPyBeginBlockThreads();
821 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
822 PyObject* ro;
823 PyObject* num;
824 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
825 if (ro && PyNumber_Check(ro)) {
826 num = PyNumber_Int(ro);
827 if (num) {
828 rval = PyInt_AsLong(num);
829 Py_DECREF(num);
830 }
831 Py_DECREF(ro);
832 }
833 }
834 wxPyEndBlockThreads();
835 return rval;
836 }
837
838 double GetValueAsDouble( int row, int col ) {
839 double rval = 0.0;
840 wxPyBeginBlockThreads();
841 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
842 PyObject* ro;
843 PyObject* num;
844 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
845 if (ro && PyNumber_Check(ro)) {
846 num = PyNumber_Float(ro);
847 if (num) {
848 rval = PyFloat_AsDouble(num);
849 Py_DECREF(num);
850 }
851 Py_DECREF(ro);
852 }
853 }
854 wxPyEndBlockThreads();
855 return rval;
856 }
857
858 bool GetValueAsBool( int row, int col ) {
859 return (bool)GetValueAsLong(row, col);
860 }
861
862 void SetValueAsLong( int row, int col, long value ) {
863 wxPyBeginBlockThreads();
864 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
865 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
866 }
867 wxPyEndBlockThreads();
868 }
869
870 void SetValueAsDouble( int row, int col, double value ) {
871 wxPyBeginBlockThreads();
872 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
873 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
874 }
875 wxPyEndBlockThreads();
876 }
877
878 void SetValueAsBool( int row, int col, bool value ) {
879 SetValueAsLong( row, col, (long)value );
880 }
881
882
883 PYPRIVATE;
884 };
885
886 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
887
888 // If source is an object instance then it may already be the right type
889 if (PyInstance_Check(source)) {
890 wxGridCellCoords* ptr;
891 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
892 goto error;
893 *obj = ptr;
894 return TRUE;
895 }
896 // otherwise a 2-tuple of integers is expected
897 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
898 PyObject* o1 = PySequence_GetItem(source, 0);
899 PyObject* o2 = PySequence_GetItem(source, 1);
900 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
901 return TRUE;
902 }
903
904 error:
905 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
906 return FALSE;
907 }
908
909 PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray* source)
910 {
911 PyObject* list = PyList_New(0);
912 size_t idx;
913 for (idx = 0; idx < source->GetCount(); idx += 1) {
914 wxGridCellCoords& coord = source->Item(idx);
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
917 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
918 PyList_Append(list, tup);
919 Py_DECREF(tup);
920 }
921 return list;
922 }
923
924 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
925 #ifdef __cplusplus
926 extern "C" {
927 #endif
928 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
929
930 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
931 return 1;
932 }
933
934 static PyObject *_wrap_wxGridNoCellCoords_get() {
935 PyObject * pyobj;
936 char ptemp[128];
937
938 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
939 pyobj = PyString_FromString(ptemp);
940 return pyobj;
941 }
942
943 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
944
945 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
946 return 1;
947 }
948
949 static PyObject *_wrap_wxGridNoCellRect_get() {
950 PyObject * pyobj;
951 char ptemp[128];
952
953 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
954 pyobj = PyString_FromString(ptemp);
955 return pyobj;
956 }
957
958 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject * _self) {
959 self->SetClientObject(new wxPyOORClientData(_self));
960 }
961 static PyObject *_wrap_wxGridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
962 PyObject * _resultobj;
963 wxGridCellRenderer * _arg0;
964 PyObject * _arg1;
965 PyObject * _argo0 = 0;
966 PyObject * _obj1 = 0;
967 char *_kwnames[] = { "self","_self", NULL };
968
969 self = self;
970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer__setOORInfo",_kwnames,&_argo0,&_obj1))
971 return NULL;
972 if (_argo0) {
973 if (_argo0 == Py_None) { _arg0 = NULL; }
974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p.");
976 return NULL;
977 }
978 }
979 {
980 _arg1 = _obj1;
981 }
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 wxGridCellRenderer__setOORInfo(_arg0,_arg1);
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) return NULL;
988 } Py_INCREF(Py_None);
989 _resultobj = Py_None;
990 return _resultobj;
991 }
992
993 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
994 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
995 PyObject * _resultobj;
996 wxGridCellRenderer * _arg0;
997 wxString * _arg1;
998 PyObject * _argo0 = 0;
999 PyObject * _obj1 = 0;
1000 char *_kwnames[] = { "self","params", NULL };
1001
1002 self = self;
1003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
1004 return NULL;
1005 if (_argo0) {
1006 if (_argo0 == Py_None) { _arg0 = NULL; }
1007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
1009 return NULL;
1010 }
1011 }
1012 {
1013 _arg1 = wxString_in_helper(_obj1);
1014 if (_arg1 == NULL)
1015 return NULL;
1016 }
1017 {
1018 PyThreadState* __tstate = wxPyBeginAllowThreads();
1019 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
1020
1021 wxPyEndAllowThreads(__tstate);
1022 if (PyErr_Occurred()) return NULL;
1023 } Py_INCREF(Py_None);
1024 _resultobj = Py_None;
1025 {
1026 if (_obj1)
1027 delete _arg1;
1028 }
1029 return _resultobj;
1030 }
1031
1032 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
1033 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1034 PyObject * _resultobj;
1035 wxGridCellRenderer * _arg0;
1036 PyObject * _argo0 = 0;
1037 char *_kwnames[] = { "self", NULL };
1038
1039 self = self;
1040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
1041 return NULL;
1042 if (_argo0) {
1043 if (_argo0 == Py_None) { _arg0 = NULL; }
1044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
1046 return NULL;
1047 }
1048 }
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 wxGridCellRenderer_IncRef(_arg0);
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) return NULL;
1055 } Py_INCREF(Py_None);
1056 _resultobj = Py_None;
1057 return _resultobj;
1058 }
1059
1060 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
1061 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject * _resultobj;
1063 wxGridCellRenderer * _arg0;
1064 PyObject * _argo0 = 0;
1065 char *_kwnames[] = { "self", NULL };
1066
1067 self = self;
1068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
1069 return NULL;
1070 if (_argo0) {
1071 if (_argo0 == Py_None) { _arg0 = NULL; }
1072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
1074 return NULL;
1075 }
1076 }
1077 {
1078 PyThreadState* __tstate = wxPyBeginAllowThreads();
1079 wxGridCellRenderer_DecRef(_arg0);
1080
1081 wxPyEndAllowThreads(__tstate);
1082 if (PyErr_Occurred()) return NULL;
1083 } Py_INCREF(Py_None);
1084 _resultobj = Py_None;
1085 return _resultobj;
1086 }
1087
1088 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1089 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1090 PyObject * _resultobj;
1091 wxGridCellRenderer * _arg0;
1092 wxGrid * _arg1;
1093 wxGridCellAttr * _arg2;
1094 wxDC * _arg3;
1095 wxRect * _arg4;
1096 int _arg5;
1097 int _arg6;
1098 bool _arg7;
1099 PyObject * _argo0 = 0;
1100 PyObject * _argo1 = 0;
1101 PyObject * _argo2 = 0;
1102 PyObject * _argo3 = 0;
1103 wxRect temp;
1104 PyObject * _obj4 = 0;
1105 int tempbool7;
1106 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1115 return NULL;
1116 }
1117 }
1118 if (_argo1) {
1119 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1121 return NULL;
1122 }
1123 }
1124 if (_argo2) {
1125 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1126 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1127 return NULL;
1128 }
1129 }
1130 if (_argo3) {
1131 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1132 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1133 return NULL;
1134 }
1135 }
1136 {
1137 _arg4 = &temp;
1138 if (! wxRect_helper(_obj4, &_arg4))
1139 return NULL;
1140 }
1141 _arg7 = (bool ) tempbool7;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) return NULL;
1148 } Py_INCREF(Py_None);
1149 _resultobj = Py_None;
1150 return _resultobj;
1151 }
1152
1153 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1154 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1155 PyObject * _resultobj;
1156 wxSize * _result;
1157 wxGridCellRenderer * _arg0;
1158 wxGrid * _arg1;
1159 wxGridCellAttr * _arg2;
1160 wxDC * _arg3;
1161 int _arg4;
1162 int _arg5;
1163 PyObject * _argo0 = 0;
1164 PyObject * _argo1 = 0;
1165 PyObject * _argo2 = 0;
1166 PyObject * _argo3 = 0;
1167 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1168 char _ptemp[128];
1169
1170 self = self;
1171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1172 return NULL;
1173 if (_argo0) {
1174 if (_argo0 == Py_None) { _arg0 = NULL; }
1175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1177 return NULL;
1178 }
1179 }
1180 if (_argo1) {
1181 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1182 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1183 return NULL;
1184 }
1185 }
1186 if (_argo2) {
1187 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1189 return NULL;
1190 }
1191 }
1192 if (_argo3) {
1193 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1195 return NULL;
1196 }
1197 }
1198 {
1199 PyThreadState* __tstate = wxPyBeginAllowThreads();
1200 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1201
1202 wxPyEndAllowThreads(__tstate);
1203 if (PyErr_Occurred()) return NULL;
1204 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1205 _resultobj = Py_BuildValue("s",_ptemp);
1206 return _resultobj;
1207 }
1208
1209 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1210 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1211 PyObject * _resultobj;
1212 wxGridCellRenderer * _result;
1213 wxGridCellRenderer * _arg0;
1214 PyObject * _argo0 = 0;
1215 char *_kwnames[] = { "self", NULL };
1216
1217 self = self;
1218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1219 return NULL;
1220 if (_argo0) {
1221 if (_argo0 == Py_None) { _arg0 = NULL; }
1222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1224 return NULL;
1225 }
1226 }
1227 {
1228 PyThreadState* __tstate = wxPyBeginAllowThreads();
1229 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1230
1231 wxPyEndAllowThreads(__tstate);
1232 if (PyErr_Occurred()) return NULL;
1233 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
1234 return _resultobj;
1235 }
1236
1237 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1238 wxPyGridCellRenderer *src;
1239 wxGridCellRenderer *dest;
1240 src = (wxPyGridCellRenderer *) ptr;
1241 dest = (wxGridCellRenderer *) src;
1242 return (void *) dest;
1243 }
1244
1245 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1246 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1247 PyObject * _resultobj;
1248 wxPyGridCellRenderer * _result;
1249 char *_kwnames[] = { NULL };
1250 char _ptemp[128];
1251
1252 self = self;
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1254 return NULL;
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) return NULL;
1261 } if (_result) {
1262 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1263 _resultobj = Py_BuildValue("s",_ptemp);
1264 } else {
1265 Py_INCREF(Py_None);
1266 _resultobj = Py_None;
1267 }
1268 return _resultobj;
1269 }
1270
1271 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1272 static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject * _resultobj;
1274 wxPyGridCellRenderer * _arg0;
1275 PyObject * _arg1;
1276 PyObject * _arg2;
1277 PyObject * _argo0 = 0;
1278 PyObject * _obj1 = 0;
1279 PyObject * _obj2 = 0;
1280 char *_kwnames[] = { "self","self","_class", NULL };
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
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__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1289 return NULL;
1290 }
1291 }
1292 {
1293 _arg1 = _obj1;
1294 }
1295 {
1296 _arg2 = _obj2;
1297 }
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) return NULL;
1304 } Py_INCREF(Py_None);
1305 _resultobj = Py_None;
1306 return _resultobj;
1307 }
1308
1309 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1310 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1311 PyObject * _resultobj;
1312 wxPyGridCellRenderer * _arg0;
1313 wxString * _arg1;
1314 PyObject * _argo0 = 0;
1315 PyObject * _obj1 = 0;
1316 char *_kwnames[] = { "self","params", NULL };
1317
1318 self = self;
1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1320 return NULL;
1321 if (_argo0) {
1322 if (_argo0 == Py_None) { _arg0 = NULL; }
1323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1325 return NULL;
1326 }
1327 }
1328 {
1329 _arg1 = wxString_in_helper(_obj1);
1330 if (_arg1 == NULL)
1331 return NULL;
1332 }
1333 {
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) return NULL;
1339 } Py_INCREF(Py_None);
1340 _resultobj = Py_None;
1341 {
1342 if (_obj1)
1343 delete _arg1;
1344 }
1345 return _resultobj;
1346 }
1347
1348 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1349 wxGridCellStringRenderer *src;
1350 wxGridCellRenderer *dest;
1351 src = (wxGridCellStringRenderer *) ptr;
1352 dest = (wxGridCellRenderer *) src;
1353 return (void *) dest;
1354 }
1355
1356 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1357 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1358 PyObject * _resultobj;
1359 wxGridCellStringRenderer * _result;
1360 char *_kwnames[] = { NULL };
1361 char _ptemp[128];
1362
1363 self = self;
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1365 return NULL;
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) return NULL;
1372 } if (_result) {
1373 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1374 _resultobj = Py_BuildValue("s",_ptemp);
1375 } else {
1376 Py_INCREF(Py_None);
1377 _resultobj = Py_None;
1378 }
1379 return _resultobj;
1380 }
1381
1382 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1383 wxGridCellNumberRenderer *src;
1384 wxGridCellStringRenderer *dest;
1385 src = (wxGridCellNumberRenderer *) ptr;
1386 dest = (wxGridCellStringRenderer *) src;
1387 return (void *) dest;
1388 }
1389
1390 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1391 wxGridCellNumberRenderer *src;
1392 wxGridCellRenderer *dest;
1393 src = (wxGridCellNumberRenderer *) ptr;
1394 dest = (wxGridCellRenderer *) src;
1395 return (void *) dest;
1396 }
1397
1398 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1399 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject * _resultobj;
1401 wxGridCellNumberRenderer * _result;
1402 char *_kwnames[] = { NULL };
1403 char _ptemp[128];
1404
1405 self = self;
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1407 return NULL;
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1411
1412 wxPyEndAllowThreads(__tstate);
1413 if (PyErr_Occurred()) return NULL;
1414 } if (_result) {
1415 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1416 _resultobj = Py_BuildValue("s",_ptemp);
1417 } else {
1418 Py_INCREF(Py_None);
1419 _resultobj = Py_None;
1420 }
1421 return _resultobj;
1422 }
1423
1424 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1425 wxGridCellFloatRenderer *src;
1426 wxGridCellStringRenderer *dest;
1427 src = (wxGridCellFloatRenderer *) ptr;
1428 dest = (wxGridCellStringRenderer *) src;
1429 return (void *) dest;
1430 }
1431
1432 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1433 wxGridCellFloatRenderer *src;
1434 wxGridCellRenderer *dest;
1435 src = (wxGridCellFloatRenderer *) ptr;
1436 dest = (wxGridCellRenderer *) src;
1437 return (void *) dest;
1438 }
1439
1440 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1441 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1442 PyObject * _resultobj;
1443 wxGridCellFloatRenderer * _result;
1444 int _arg0 = (int ) -1;
1445 int _arg1 = (int ) -1;
1446 char *_kwnames[] = { "width","precision", NULL };
1447 char _ptemp[128];
1448
1449 self = self;
1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1451 return NULL;
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) return NULL;
1458 } if (_result) {
1459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1460 _resultobj = Py_BuildValue("s",_ptemp);
1461 } else {
1462 Py_INCREF(Py_None);
1463 _resultobj = Py_None;
1464 }
1465 return _resultobj;
1466 }
1467
1468 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1469 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1470 PyObject * _resultobj;
1471 int _result;
1472 wxGridCellFloatRenderer * _arg0;
1473 PyObject * _argo0 = 0;
1474 char *_kwnames[] = { "self", NULL };
1475
1476 self = self;
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1478 return NULL;
1479 if (_argo0) {
1480 if (_argo0 == Py_None) { _arg0 = NULL; }
1481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1483 return NULL;
1484 }
1485 }
1486 {
1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
1488 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1489
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) return NULL;
1492 } _resultobj = Py_BuildValue("i",_result);
1493 return _resultobj;
1494 }
1495
1496 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1497 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1498 PyObject * _resultobj;
1499 wxGridCellFloatRenderer * _arg0;
1500 int _arg1;
1501 PyObject * _argo0 = 0;
1502 char *_kwnames[] = { "self","width", NULL };
1503
1504 self = self;
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1506 return NULL;
1507 if (_argo0) {
1508 if (_argo0 == Py_None) { _arg0 = NULL; }
1509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1511 return NULL;
1512 }
1513 }
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) return NULL;
1520 } Py_INCREF(Py_None);
1521 _resultobj = Py_None;
1522 return _resultobj;
1523 }
1524
1525 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1526 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject * _resultobj;
1528 int _result;
1529 wxGridCellFloatRenderer * _arg0;
1530 PyObject * _argo0 = 0;
1531 char *_kwnames[] = { "self", NULL };
1532
1533 self = self;
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1535 return NULL;
1536 if (_argo0) {
1537 if (_argo0 == Py_None) { _arg0 = NULL; }
1538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1540 return NULL;
1541 }
1542 }
1543 {
1544 PyThreadState* __tstate = wxPyBeginAllowThreads();
1545 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1546
1547 wxPyEndAllowThreads(__tstate);
1548 if (PyErr_Occurred()) return NULL;
1549 } _resultobj = Py_BuildValue("i",_result);
1550 return _resultobj;
1551 }
1552
1553 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1554 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1555 PyObject * _resultobj;
1556 wxGridCellFloatRenderer * _arg0;
1557 int _arg1;
1558 PyObject * _argo0 = 0;
1559 char *_kwnames[] = { "self","precision", NULL };
1560
1561 self = self;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1563 return NULL;
1564 if (_argo0) {
1565 if (_argo0 == Py_None) { _arg0 = NULL; }
1566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1568 return NULL;
1569 }
1570 }
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) return NULL;
1577 } Py_INCREF(Py_None);
1578 _resultobj = Py_None;
1579 return _resultobj;
1580 }
1581
1582 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1583 wxGridCellBoolRenderer *src;
1584 wxGridCellRenderer *dest;
1585 src = (wxGridCellBoolRenderer *) ptr;
1586 dest = (wxGridCellRenderer *) src;
1587 return (void *) dest;
1588 }
1589
1590 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1591 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject * _resultobj;
1593 wxGridCellBoolRenderer * _result;
1594 char *_kwnames[] = { NULL };
1595 char _ptemp[128];
1596
1597 self = self;
1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1599 return NULL;
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) return NULL;
1606 } if (_result) {
1607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1608 _resultobj = Py_BuildValue("s",_ptemp);
1609 } else {
1610 Py_INCREF(Py_None);
1611 _resultobj = Py_None;
1612 }
1613 return _resultobj;
1614 }
1615
1616 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1617 wxGridCellDateTimeRenderer *src;
1618 wxGridCellStringRenderer *dest;
1619 src = (wxGridCellDateTimeRenderer *) ptr;
1620 dest = (wxGridCellStringRenderer *) src;
1621 return (void *) dest;
1622 }
1623
1624 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1625 wxGridCellDateTimeRenderer *src;
1626 wxGridCellRenderer *dest;
1627 src = (wxGridCellDateTimeRenderer *) ptr;
1628 dest = (wxGridCellRenderer *) src;
1629 return (void *) dest;
1630 }
1631
1632 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1633 static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1634 PyObject * _resultobj;
1635 wxGridCellDateTimeRenderer * _result;
1636 wxString * _arg0 = (wxString *) &wxPyDateTimeFormatStr;
1637 wxString * _arg1 = (wxString *) &wxPyDateTimeFormatStr;
1638 PyObject * _obj0 = 0;
1639 PyObject * _obj1 = 0;
1640 char *_kwnames[] = { "outformat","informat", NULL };
1641 char _ptemp[128];
1642
1643 self = self;
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1645 return NULL;
1646 if (_obj0)
1647 {
1648 _arg0 = wxString_in_helper(_obj0);
1649 if (_arg0 == NULL)
1650 return NULL;
1651 }
1652 if (_obj1)
1653 {
1654 _arg1 = wxString_in_helper(_obj1);
1655 if (_arg1 == NULL)
1656 return NULL;
1657 }
1658 {
1659 PyThreadState* __tstate = wxPyBeginAllowThreads();
1660 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1661
1662 wxPyEndAllowThreads(__tstate);
1663 if (PyErr_Occurred()) return NULL;
1664 } if (_result) {
1665 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1666 _resultobj = Py_BuildValue("s",_ptemp);
1667 } else {
1668 Py_INCREF(Py_None);
1669 _resultobj = Py_None;
1670 }
1671 {
1672 if (_obj0)
1673 delete _arg0;
1674 }
1675 {
1676 if (_obj1)
1677 delete _arg1;
1678 }
1679 return _resultobj;
1680 }
1681
1682 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1683 wxGridCellEnumRenderer *src;
1684 wxGridCellStringRenderer *dest;
1685 src = (wxGridCellEnumRenderer *) ptr;
1686 dest = (wxGridCellStringRenderer *) src;
1687 return (void *) dest;
1688 }
1689
1690 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1691 wxGridCellEnumRenderer *src;
1692 wxGridCellRenderer *dest;
1693 src = (wxGridCellEnumRenderer *) ptr;
1694 dest = (wxGridCellRenderer *) src;
1695 return (void *) dest;
1696 }
1697
1698 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1699 static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1700 PyObject * _resultobj;
1701 wxGridCellEnumRenderer * _result;
1702 wxString * _arg0 = (wxString *) &wxPyEmptyString;
1703 PyObject * _obj0 = 0;
1704 char *_kwnames[] = { "choices", NULL };
1705 char _ptemp[128];
1706
1707 self = self;
1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1709 return NULL;
1710 if (_obj0)
1711 {
1712 _arg0 = wxString_LIST_helper(_obj0);
1713 if (_arg0 == NULL) {
1714 return NULL;
1715 }
1716 }
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
1719 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) return NULL;
1723 } if (_result) {
1724 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1725 _resultobj = Py_BuildValue("s",_ptemp);
1726 } else {
1727 Py_INCREF(Py_None);
1728 _resultobj = Py_None;
1729 }
1730 {
1731 delete [] _arg0;
1732 }
1733 return _resultobj;
1734 }
1735
1736 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1737 wxGridCellAutoWrapStringRenderer *src;
1738 wxGridCellStringRenderer *dest;
1739 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1740 dest = (wxGridCellStringRenderer *) src;
1741 return (void *) dest;
1742 }
1743
1744 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1745 wxGridCellAutoWrapStringRenderer *src;
1746 wxGridCellRenderer *dest;
1747 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1748 dest = (wxGridCellRenderer *) src;
1749 return (void *) dest;
1750 }
1751
1752 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1753 static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject * _resultobj;
1755 wxGridCellAutoWrapStringRenderer * _result;
1756 char *_kwnames[] = { NULL };
1757 char _ptemp[128];
1758
1759 self = self;
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1761 return NULL;
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) return NULL;
1768 } if (_result) {
1769 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1770 _resultobj = Py_BuildValue("s",_ptemp);
1771 } else {
1772 Py_INCREF(Py_None);
1773 _resultobj = Py_None;
1774 }
1775 return _resultobj;
1776 }
1777
1778 static void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject * _self) {
1779 self->SetClientObject(new wxPyOORClientData(_self));
1780 }
1781 static PyObject *_wrap_wxGridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1782 PyObject * _resultobj;
1783 wxGridCellEditor * _arg0;
1784 PyObject * _arg1;
1785 PyObject * _argo0 = 0;
1786 PyObject * _obj1 = 0;
1787 char *_kwnames[] = { "self","_self", NULL };
1788
1789 self = self;
1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor__setOORInfo",_kwnames,&_argo0,&_obj1))
1791 return NULL;
1792 if (_argo0) {
1793 if (_argo0 == Py_None) { _arg0 = NULL; }
1794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p.");
1796 return NULL;
1797 }
1798 }
1799 {
1800 _arg1 = _obj1;
1801 }
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 wxGridCellEditor__setOORInfo(_arg0,_arg1);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) return NULL;
1808 } Py_INCREF(Py_None);
1809 _resultobj = Py_None;
1810 return _resultobj;
1811 }
1812
1813 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1814 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject * _resultobj;
1816 bool _result;
1817 wxGridCellEditor * _arg0;
1818 PyObject * _argo0 = 0;
1819 char *_kwnames[] = { "self", NULL };
1820
1821 self = self;
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1823 return NULL;
1824 if (_argo0) {
1825 if (_argo0 == Py_None) { _arg0 = NULL; }
1826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1828 return NULL;
1829 }
1830 }
1831 {
1832 PyThreadState* __tstate = wxPyBeginAllowThreads();
1833 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1834
1835 wxPyEndAllowThreads(__tstate);
1836 if (PyErr_Occurred()) return NULL;
1837 } _resultobj = Py_BuildValue("i",_result);
1838 return _resultobj;
1839 }
1840
1841 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1842 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject * _resultobj;
1844 wxControl * _result;
1845 wxGridCellEditor * _arg0;
1846 PyObject * _argo0 = 0;
1847 char *_kwnames[] = { "self", NULL };
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1856 return NULL;
1857 }
1858 }
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) return NULL;
1865 }{ _resultobj = wxPyMake_wxObject(_result); }
1866 return _resultobj;
1867 }
1868
1869 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1870 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject * _resultobj;
1872 wxGridCellEditor * _arg0;
1873 wxControl * _arg1;
1874 PyObject * _argo0 = 0;
1875 PyObject * _argo1 = 0;
1876 char *_kwnames[] = { "self","control", NULL };
1877
1878 self = self;
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1880 return NULL;
1881 if (_argo0) {
1882 if (_argo0 == Py_None) { _arg0 = NULL; }
1883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1885 return NULL;
1886 }
1887 }
1888 if (_argo1) {
1889 if (_argo1 == Py_None) { _arg1 = NULL; }
1890 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1891 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1892 return NULL;
1893 }
1894 }
1895 {
1896 PyThreadState* __tstate = wxPyBeginAllowThreads();
1897 wxGridCellEditor_SetControl(_arg0,_arg1);
1898
1899 wxPyEndAllowThreads(__tstate);
1900 if (PyErr_Occurred()) return NULL;
1901 } Py_INCREF(Py_None);
1902 _resultobj = Py_None;
1903 return _resultobj;
1904 }
1905
1906 #define wxGridCellEditor_GetCellAttr(_swigobj) (_swigobj->GetCellAttr())
1907 static PyObject *_wrap_wxGridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject * _resultobj;
1909 wxGridCellAttr * _result;
1910 wxGridCellEditor * _arg0;
1911 PyObject * _argo0 = 0;
1912 char *_kwnames[] = { "self", NULL };
1913
1914 self = self;
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetCellAttr",_kwnames,&_argo0))
1916 return NULL;
1917 if (_argo0) {
1918 if (_argo0 == Py_None) { _arg0 = NULL; }
1919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetCellAttr. Expected _wxGridCellEditor_p.");
1921 return NULL;
1922 }
1923 }
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 _result = (wxGridCellAttr *)wxGridCellEditor_GetCellAttr(_arg0);
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) return NULL;
1930 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
1931 return _resultobj;
1932 }
1933
1934 #define wxGridCellEditor_SetCellAttr(_swigobj,_swigarg0) (_swigobj->SetCellAttr(_swigarg0))
1935 static PyObject *_wrap_wxGridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject * _resultobj;
1937 wxGridCellEditor * _arg0;
1938 wxGridCellAttr * _arg1;
1939 PyObject * _argo0 = 0;
1940 PyObject * _argo1 = 0;
1941 char *_kwnames[] = { "self","attr", NULL };
1942
1943 self = self;
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetCellAttr",_kwnames,&_argo0,&_argo1))
1945 return NULL;
1946 if (_argo0) {
1947 if (_argo0 == Py_None) { _arg0 = NULL; }
1948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellEditor_p.");
1950 return NULL;
1951 }
1952 }
1953 if (_argo1) {
1954 if (_argo1 == Py_None) { _arg1 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellAttr_p.");
1957 return NULL;
1958 }
1959 }
1960 {
1961 PyThreadState* __tstate = wxPyBeginAllowThreads();
1962 wxGridCellEditor_SetCellAttr(_arg0,_arg1);
1963
1964 wxPyEndAllowThreads(__tstate);
1965 if (PyErr_Occurred()) return NULL;
1966 } Py_INCREF(Py_None);
1967 _resultobj = Py_None;
1968 return _resultobj;
1969 }
1970
1971 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1972 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1973 PyObject * _resultobj;
1974 wxGridCellEditor * _arg0;
1975 wxString * _arg1;
1976 PyObject * _argo0 = 0;
1977 PyObject * _obj1 = 0;
1978 char *_kwnames[] = { "self","params", NULL };
1979
1980 self = self;
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1982 return NULL;
1983 if (_argo0) {
1984 if (_argo0 == Py_None) { _arg0 = NULL; }
1985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1987 return NULL;
1988 }
1989 }
1990 {
1991 _arg1 = wxString_in_helper(_obj1);
1992 if (_arg1 == NULL)
1993 return NULL;
1994 }
1995 {
1996 PyThreadState* __tstate = wxPyBeginAllowThreads();
1997 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1998
1999 wxPyEndAllowThreads(__tstate);
2000 if (PyErr_Occurred()) return NULL;
2001 } Py_INCREF(Py_None);
2002 _resultobj = Py_None;
2003 {
2004 if (_obj1)
2005 delete _arg1;
2006 }
2007 return _resultobj;
2008 }
2009
2010 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
2011 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject * _resultobj;
2013 wxGridCellEditor * _arg0;
2014 PyObject * _argo0 = 0;
2015 char *_kwnames[] = { "self", NULL };
2016
2017 self = self;
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
2019 return NULL;
2020 if (_argo0) {
2021 if (_argo0 == Py_None) { _arg0 = NULL; }
2022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
2024 return NULL;
2025 }
2026 }
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 wxGridCellEditor_IncRef(_arg0);
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) return NULL;
2033 } Py_INCREF(Py_None);
2034 _resultobj = Py_None;
2035 return _resultobj;
2036 }
2037
2038 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
2039 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject * _resultobj;
2041 wxGridCellEditor * _arg0;
2042 PyObject * _argo0 = 0;
2043 char *_kwnames[] = { "self", NULL };
2044
2045 self = self;
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
2047 return NULL;
2048 if (_argo0) {
2049 if (_argo0 == Py_None) { _arg0 = NULL; }
2050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
2052 return NULL;
2053 }
2054 }
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 wxGridCellEditor_DecRef(_arg0);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) return NULL;
2061 } Py_INCREF(Py_None);
2062 _resultobj = Py_None;
2063 return _resultobj;
2064 }
2065
2066 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
2067 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject * _resultobj;
2069 wxGridCellEditor * _arg0;
2070 wxWindow * _arg1;
2071 wxWindowID _arg2;
2072 wxEvtHandler * _arg3;
2073 PyObject * _argo0 = 0;
2074 PyObject * _argo1 = 0;
2075 PyObject * _argo3 = 0;
2076 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
2077
2078 self = self;
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
2080 return NULL;
2081 if (_argo0) {
2082 if (_argo0 == Py_None) { _arg0 = NULL; }
2083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
2085 return NULL;
2086 }
2087 }
2088 if (_argo1) {
2089 if (_argo1 == Py_None) { _arg1 = NULL; }
2090 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
2092 return NULL;
2093 }
2094 }
2095 if (_argo3) {
2096 if (_argo3 == Py_None) { _arg3 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
2099 return NULL;
2100 }
2101 }
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) return NULL;
2108 } Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 return _resultobj;
2111 }
2112
2113 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
2114 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject * _resultobj;
2116 wxGridCellEditor * _arg0;
2117 int _arg1;
2118 int _arg2;
2119 wxGrid * _arg3;
2120 PyObject * _argo0 = 0;
2121 PyObject * _argo3 = 0;
2122 char *_kwnames[] = { "self","row","col","grid", NULL };
2123
2124 self = self;
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2126 return NULL;
2127 if (_argo0) {
2128 if (_argo0 == Py_None) { _arg0 = NULL; }
2129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
2131 return NULL;
2132 }
2133 }
2134 if (_argo3) {
2135 if (_argo3 == Py_None) { _arg3 = NULL; }
2136 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2137 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2138 return NULL;
2139 }
2140 }
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) return NULL;
2147 } Py_INCREF(Py_None);
2148 _resultobj = Py_None;
2149 return _resultobj;
2150 }
2151
2152 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2153 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject * _resultobj;
2155 bool _result;
2156 wxGridCellEditor * _arg0;
2157 int _arg1;
2158 int _arg2;
2159 wxGrid * _arg3;
2160 PyObject * _argo0 = 0;
2161 PyObject * _argo3 = 0;
2162 char *_kwnames[] = { "self","row","col","grid", NULL };
2163
2164 self = self;
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2166 return NULL;
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2171 return NULL;
2172 }
2173 }
2174 if (_argo3) {
2175 if (_argo3 == Py_None) { _arg3 = NULL; }
2176 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2178 return NULL;
2179 }
2180 }
2181 {
2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
2183 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
2184
2185 wxPyEndAllowThreads(__tstate);
2186 if (PyErr_Occurred()) return NULL;
2187 } _resultobj = Py_BuildValue("i",_result);
2188 return _resultobj;
2189 }
2190
2191 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2192 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject * _resultobj;
2194 wxGridCellEditor * _arg0;
2195 PyObject * _argo0 = 0;
2196 char *_kwnames[] = { "self", NULL };
2197
2198 self = self;
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
2200 return NULL;
2201 if (_argo0) {
2202 if (_argo0 == Py_None) { _arg0 = NULL; }
2203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2205 return NULL;
2206 }
2207 }
2208 {
2209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2210 wxGridCellEditor_Reset(_arg0);
2211
2212 wxPyEndAllowThreads(__tstate);
2213 if (PyErr_Occurred()) return NULL;
2214 } Py_INCREF(Py_None);
2215 _resultobj = Py_None;
2216 return _resultobj;
2217 }
2218
2219 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2220 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject * _resultobj;
2222 wxGridCellEditor * _result;
2223 wxGridCellEditor * _arg0;
2224 PyObject * _argo0 = 0;
2225 char *_kwnames[] = { "self", NULL };
2226
2227 self = self;
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2229 return NULL;
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2234 return NULL;
2235 }
2236 }
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) return NULL;
2243 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
2244 return _resultobj;
2245 }
2246
2247 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2248 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2249 PyObject * _resultobj;
2250 wxGridCellEditor * _arg0;
2251 wxRect * _arg1;
2252 PyObject * _argo0 = 0;
2253 wxRect temp;
2254 PyObject * _obj1 = 0;
2255 char *_kwnames[] = { "self","rect", NULL };
2256
2257 self = self;
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2259 return NULL;
2260 if (_argo0) {
2261 if (_argo0 == Py_None) { _arg0 = NULL; }
2262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2264 return NULL;
2265 }
2266 }
2267 {
2268 _arg1 = &temp;
2269 if (! wxRect_helper(_obj1, &_arg1))
2270 return NULL;
2271 }
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 wxGridCellEditor_SetSize(_arg0,*_arg1);
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) return NULL;
2278 } Py_INCREF(Py_None);
2279 _resultobj = Py_None;
2280 return _resultobj;
2281 }
2282
2283 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2284 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject * _resultobj;
2286 wxGridCellEditor * _arg0;
2287 bool _arg1;
2288 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2289 PyObject * _argo0 = 0;
2290 int tempbool1;
2291 PyObject * _argo2 = 0;
2292 char *_kwnames[] = { "self","show","attr", NULL };
2293
2294 self = self;
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2296 return NULL;
2297 if (_argo0) {
2298 if (_argo0 == Py_None) { _arg0 = NULL; }
2299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2301 return NULL;
2302 }
2303 }
2304 _arg1 = (bool ) tempbool1;
2305 if (_argo2) {
2306 if (_argo2 == Py_None) { _arg2 = NULL; }
2307 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2308 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2309 return NULL;
2310 }
2311 }
2312 {
2313 PyThreadState* __tstate = wxPyBeginAllowThreads();
2314 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2315
2316 wxPyEndAllowThreads(__tstate);
2317 if (PyErr_Occurred()) return NULL;
2318 } Py_INCREF(Py_None);
2319 _resultobj = Py_None;
2320 return _resultobj;
2321 }
2322
2323 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2324 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject * _resultobj;
2326 wxGridCellEditor * _arg0;
2327 wxRect * _arg1;
2328 wxGridCellAttr * _arg2;
2329 PyObject * _argo0 = 0;
2330 wxRect temp;
2331 PyObject * _obj1 = 0;
2332 PyObject * _argo2 = 0;
2333 char *_kwnames[] = { "self","rectCell","attr", NULL };
2334
2335 self = self;
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2337 return NULL;
2338 if (_argo0) {
2339 if (_argo0 == Py_None) { _arg0 = NULL; }
2340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2342 return NULL;
2343 }
2344 }
2345 {
2346 _arg1 = &temp;
2347 if (! wxRect_helper(_obj1, &_arg1))
2348 return NULL;
2349 }
2350 if (_argo2) {
2351 if (_argo2 == Py_None) { _arg2 = NULL; }
2352 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2353 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2354 return NULL;
2355 }
2356 }
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) return NULL;
2363 } Py_INCREF(Py_None);
2364 _resultobj = Py_None;
2365 return _resultobj;
2366 }
2367
2368 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2369 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject * _resultobj;
2371 bool _result;
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_IsAcceptedKey",_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_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2385 return NULL;
2386 }
2387 }
2388 if (_argo1) {
2389 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2390 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2391 return NULL;
2392 }
2393 }
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) return NULL;
2400 } _resultobj = Py_BuildValue("i",_result);
2401 return _resultobj;
2402 }
2403
2404 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2405 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject * _resultobj;
2407 wxGridCellEditor * _arg0;
2408 wxKeyEvent * _arg1;
2409 PyObject * _argo0 = 0;
2410 PyObject * _argo1 = 0;
2411 char *_kwnames[] = { "self","event", NULL };
2412
2413 self = self;
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
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_StartingKey. Expected _wxGridCellEditor_p.");
2420 return NULL;
2421 }
2422 }
2423 if (_argo1) {
2424 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2426 return NULL;
2427 }
2428 }
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
2431 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) return NULL;
2435 } Py_INCREF(Py_None);
2436 _resultobj = Py_None;
2437 return _resultobj;
2438 }
2439
2440 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2441 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject * _resultobj;
2443 wxGridCellEditor * _arg0;
2444 PyObject * _argo0 = 0;
2445 char *_kwnames[] = { "self", NULL };
2446
2447 self = self;
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2449 return NULL;
2450 if (_argo0) {
2451 if (_argo0 == Py_None) { _arg0 = NULL; }
2452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2454 return NULL;
2455 }
2456 }
2457 {
2458 PyThreadState* __tstate = wxPyBeginAllowThreads();
2459 wxGridCellEditor_StartingClick(_arg0);
2460
2461 wxPyEndAllowThreads(__tstate);
2462 if (PyErr_Occurred()) return NULL;
2463 } Py_INCREF(Py_None);
2464 _resultobj = Py_None;
2465 return _resultobj;
2466 }
2467
2468 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2469 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject * _resultobj;
2471 wxGridCellEditor * _arg0;
2472 wxKeyEvent * _arg1;
2473 PyObject * _argo0 = 0;
2474 PyObject * _argo1 = 0;
2475 char *_kwnames[] = { "self","event", NULL };
2476
2477 self = self;
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2479 return NULL;
2480 if (_argo0) {
2481 if (_argo0 == Py_None) { _arg0 = NULL; }
2482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2484 return NULL;
2485 }
2486 }
2487 if (_argo1) {
2488 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2489 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2490 return NULL;
2491 }
2492 }
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) return NULL;
2499 } Py_INCREF(Py_None);
2500 _resultobj = Py_None;
2501 return _resultobj;
2502 }
2503
2504 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2505 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2506 PyObject * _resultobj;
2507 wxGridCellEditor * _arg0;
2508 PyObject * _argo0 = 0;
2509 char *_kwnames[] = { "self", NULL };
2510
2511 self = self;
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2513 return NULL;
2514 if (_argo0) {
2515 if (_argo0 == Py_None) { _arg0 = NULL; }
2516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2518 return NULL;
2519 }
2520 }
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 wxGridCellEditor_Destroy(_arg0);
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) return NULL;
2527 } Py_INCREF(Py_None);
2528 _resultobj = Py_None;
2529 return _resultobj;
2530 }
2531
2532 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2533 wxPyGridCellEditor *src;
2534 wxGridCellEditor *dest;
2535 src = (wxPyGridCellEditor *) ptr;
2536 dest = (wxGridCellEditor *) src;
2537 return (void *) dest;
2538 }
2539
2540 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2541 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2542 PyObject * _resultobj;
2543 wxPyGridCellEditor * _result;
2544 char *_kwnames[] = { NULL };
2545 char _ptemp[128];
2546
2547 self = self;
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2549 return NULL;
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) return NULL;
2556 } if (_result) {
2557 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2558 _resultobj = Py_BuildValue("s",_ptemp);
2559 } else {
2560 Py_INCREF(Py_None);
2561 _resultobj = Py_None;
2562 }
2563 return _resultobj;
2564 }
2565
2566 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2567 static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2568 PyObject * _resultobj;
2569 wxPyGridCellEditor * _arg0;
2570 PyObject * _arg1;
2571 PyObject * _arg2;
2572 PyObject * _argo0 = 0;
2573 PyObject * _obj1 = 0;
2574 PyObject * _obj2 = 0;
2575 char *_kwnames[] = { "self","self","_class", NULL };
2576
2577 self = self;
2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2579 return NULL;
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2584 return NULL;
2585 }
2586 }
2587 {
2588 _arg1 = _obj1;
2589 }
2590 {
2591 _arg2 = _obj2;
2592 }
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) return NULL;
2599 } Py_INCREF(Py_None);
2600 _resultobj = Py_None;
2601 return _resultobj;
2602 }
2603
2604 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2605 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2606 PyObject * _resultobj;
2607 wxPyGridCellEditor * _arg0;
2608 wxRect * _arg1;
2609 PyObject * _argo0 = 0;
2610 wxRect temp;
2611 PyObject * _obj1 = 0;
2612 char *_kwnames[] = { "self","rect", NULL };
2613
2614 self = self;
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2616 return NULL;
2617 if (_argo0) {
2618 if (_argo0 == Py_None) { _arg0 = NULL; }
2619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2621 return NULL;
2622 }
2623 }
2624 {
2625 _arg1 = &temp;
2626 if (! wxRect_helper(_obj1, &_arg1))
2627 return NULL;
2628 }
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) return NULL;
2635 } Py_INCREF(Py_None);
2636 _resultobj = Py_None;
2637 return _resultobj;
2638 }
2639
2640 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2641 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject * _resultobj;
2643 wxPyGridCellEditor * _arg0;
2644 bool _arg1;
2645 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2646 PyObject * _argo0 = 0;
2647 int tempbool1;
2648 PyObject * _argo2 = 0;
2649 char *_kwnames[] = { "self","show","attr", NULL };
2650
2651 self = self;
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2653 return NULL;
2654 if (_argo0) {
2655 if (_argo0 == Py_None) { _arg0 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2658 return NULL;
2659 }
2660 }
2661 _arg1 = (bool ) tempbool1;
2662 if (_argo2) {
2663 if (_argo2 == Py_None) { _arg2 = NULL; }
2664 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2665 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2666 return NULL;
2667 }
2668 }
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) return NULL;
2675 } Py_INCREF(Py_None);
2676 _resultobj = Py_None;
2677 return _resultobj;
2678 }
2679
2680 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2681 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject * _resultobj;
2683 wxPyGridCellEditor * _arg0;
2684 wxRect * _arg1;
2685 wxGridCellAttr * _arg2;
2686 PyObject * _argo0 = 0;
2687 wxRect temp;
2688 PyObject * _obj1 = 0;
2689 PyObject * _argo2 = 0;
2690 char *_kwnames[] = { "self","rectCell","attr", NULL };
2691
2692 self = self;
2693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2694 return NULL;
2695 if (_argo0) {
2696 if (_argo0 == Py_None) { _arg0 = NULL; }
2697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2699 return NULL;
2700 }
2701 }
2702 {
2703 _arg1 = &temp;
2704 if (! wxRect_helper(_obj1, &_arg1))
2705 return NULL;
2706 }
2707 if (_argo2) {
2708 if (_argo2 == Py_None) { _arg2 = NULL; }
2709 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2710 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2711 return NULL;
2712 }
2713 }
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) return NULL;
2720 } Py_INCREF(Py_None);
2721 _resultobj = Py_None;
2722 return _resultobj;
2723 }
2724
2725 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2726 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject * _resultobj;
2728 wxPyGridCellEditor * _arg0;
2729 wxKeyEvent * _arg1;
2730 PyObject * _argo0 = 0;
2731 PyObject * _argo1 = 0;
2732 char *_kwnames[] = { "self","event", NULL };
2733
2734 self = self;
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2736 return NULL;
2737 if (_argo0) {
2738 if (_argo0 == Py_None) { _arg0 = NULL; }
2739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2741 return NULL;
2742 }
2743 }
2744 if (_argo1) {
2745 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2746 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2747 return NULL;
2748 }
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) return NULL;
2756 } Py_INCREF(Py_None);
2757 _resultobj = Py_None;
2758 return _resultobj;
2759 }
2760
2761 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2762 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject * _resultobj;
2764 wxPyGridCellEditor * _arg0;
2765 wxKeyEvent * _arg1;
2766 PyObject * _argo0 = 0;
2767 PyObject * _argo1 = 0;
2768 char *_kwnames[] = { "self","event", NULL };
2769
2770 self = self;
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2772 return NULL;
2773 if (_argo0) {
2774 if (_argo0 == Py_None) { _arg0 = NULL; }
2775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2777 return NULL;
2778 }
2779 }
2780 if (_argo1) {
2781 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2782 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2783 return NULL;
2784 }
2785 }
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) return NULL;
2792 } Py_INCREF(Py_None);
2793 _resultobj = Py_None;
2794 return _resultobj;
2795 }
2796
2797 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2798 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2799 PyObject * _resultobj;
2800 wxPyGridCellEditor * _arg0;
2801 PyObject * _argo0 = 0;
2802 char *_kwnames[] = { "self", NULL };
2803
2804 self = self;
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2806 return NULL;
2807 if (_argo0) {
2808 if (_argo0 == Py_None) { _arg0 = NULL; }
2809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2811 return NULL;
2812 }
2813 }
2814 {
2815 PyThreadState* __tstate = wxPyBeginAllowThreads();
2816 wxPyGridCellEditor_base_StartingClick(_arg0);
2817
2818 wxPyEndAllowThreads(__tstate);
2819 if (PyErr_Occurred()) return NULL;
2820 } Py_INCREF(Py_None);
2821 _resultobj = Py_None;
2822 return _resultobj;
2823 }
2824
2825 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2826 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject * _resultobj;
2828 wxPyGridCellEditor * _arg0;
2829 wxKeyEvent * _arg1;
2830 PyObject * _argo0 = 0;
2831 PyObject * _argo1 = 0;
2832 char *_kwnames[] = { "self","event", NULL };
2833
2834 self = self;
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2836 return NULL;
2837 if (_argo0) {
2838 if (_argo0 == Py_None) { _arg0 = NULL; }
2839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2841 return NULL;
2842 }
2843 }
2844 if (_argo1) {
2845 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2846 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2847 return NULL;
2848 }
2849 }
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) return NULL;
2856 } Py_INCREF(Py_None);
2857 _resultobj = Py_None;
2858 return _resultobj;
2859 }
2860
2861 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2862 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject * _resultobj;
2864 wxPyGridCellEditor * _arg0;
2865 PyObject * _argo0 = 0;
2866 char *_kwnames[] = { "self", NULL };
2867
2868 self = self;
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2870 return NULL;
2871 if (_argo0) {
2872 if (_argo0 == Py_None) { _arg0 = NULL; }
2873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2875 return NULL;
2876 }
2877 }
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 wxPyGridCellEditor_base_Destroy(_arg0);
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) return NULL;
2884 } Py_INCREF(Py_None);
2885 _resultobj = Py_None;
2886 return _resultobj;
2887 }
2888
2889 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2890 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject * _resultobj;
2892 wxPyGridCellEditor * _arg0;
2893 wxString * _arg1;
2894 PyObject * _argo0 = 0;
2895 PyObject * _obj1 = 0;
2896 char *_kwnames[] = { "self","params", NULL };
2897
2898 self = self;
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2900 return NULL;
2901 if (_argo0) {
2902 if (_argo0 == Py_None) { _arg0 = NULL; }
2903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2905 return NULL;
2906 }
2907 }
2908 {
2909 _arg1 = wxString_in_helper(_obj1);
2910 if (_arg1 == NULL)
2911 return NULL;
2912 }
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
2915 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) return NULL;
2919 } Py_INCREF(Py_None);
2920 _resultobj = Py_None;
2921 {
2922 if (_obj1)
2923 delete _arg1;
2924 }
2925 return _resultobj;
2926 }
2927
2928 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2929 wxGridCellTextEditor *src;
2930 wxGridCellEditor *dest;
2931 src = (wxGridCellTextEditor *) ptr;
2932 dest = (wxGridCellEditor *) src;
2933 return (void *) dest;
2934 }
2935
2936 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2937 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2938 PyObject * _resultobj;
2939 wxGridCellTextEditor * _result;
2940 char *_kwnames[] = { NULL };
2941 char _ptemp[128];
2942
2943 self = self;
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2945 return NULL;
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) return NULL;
2952 } if (_result) {
2953 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2954 _resultobj = Py_BuildValue("s",_ptemp);
2955 } else {
2956 Py_INCREF(Py_None);
2957 _resultobj = Py_None;
2958 }
2959 return _resultobj;
2960 }
2961
2962 #define wxGridCellTextEditor_GetValue(_swigobj) (_swigobj->GetValue())
2963 static PyObject *_wrap_wxGridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject * _resultobj;
2965 wxString * _result;
2966 wxGridCellTextEditor * _arg0;
2967 PyObject * _argo0 = 0;
2968 char *_kwnames[] = { "self", NULL };
2969
2970 self = self;
2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellTextEditor_GetValue",_kwnames,&_argo0))
2972 return NULL;
2973 if (_argo0) {
2974 if (_argo0 == Py_None) { _arg0 = NULL; }
2975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellTextEditor_p")) {
2976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellTextEditor_GetValue. Expected _wxGridCellTextEditor_p.");
2977 return NULL;
2978 }
2979 }
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 _result = new wxString (wxGridCellTextEditor_GetValue(_arg0));
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) return NULL;
2986 }{
2987 #if wxUSE_UNICODE
2988 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
2989 #else
2990 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2991 #endif
2992 }
2993 {
2994 delete _result;
2995 }
2996 return _resultobj;
2997 }
2998
2999 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
3000 wxGridCellNumberEditor *src;
3001 wxGridCellTextEditor *dest;
3002 src = (wxGridCellNumberEditor *) ptr;
3003 dest = (wxGridCellTextEditor *) src;
3004 return (void *) dest;
3005 }
3006
3007 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
3008 wxGridCellNumberEditor *src;
3009 wxGridCellEditor *dest;
3010 src = (wxGridCellNumberEditor *) ptr;
3011 dest = (wxGridCellEditor *) src;
3012 return (void *) dest;
3013 }
3014
3015 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
3016 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3017 PyObject * _resultobj;
3018 wxGridCellNumberEditor * _result;
3019 int _arg0 = (int ) -1;
3020 int _arg1 = (int ) -1;
3021 char *_kwnames[] = { "min","max", NULL };
3022 char _ptemp[128];
3023
3024 self = self;
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
3026 return NULL;
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) return NULL;
3033 } if (_result) {
3034 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
3035 _resultobj = Py_BuildValue("s",_ptemp);
3036 } else {
3037 Py_INCREF(Py_None);
3038 _resultobj = Py_None;
3039 }
3040 return _resultobj;
3041 }
3042
3043 #define wxGridCellNumberEditor_GetValue(_swigobj) (_swigobj->GetValue())
3044 static PyObject *_wrap_wxGridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject * _resultobj;
3046 wxString * _result;
3047 wxGridCellNumberEditor * _arg0;
3048 PyObject * _argo0 = 0;
3049 char *_kwnames[] = { "self", NULL };
3050
3051 self = self;
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellNumberEditor_GetValue",_kwnames,&_argo0))
3053 return NULL;
3054 if (_argo0) {
3055 if (_argo0 == Py_None) { _arg0 = NULL; }
3056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellNumberEditor_p")) {
3057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellNumberEditor_GetValue. Expected _wxGridCellNumberEditor_p.");
3058 return NULL;
3059 }
3060 }
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 _result = new wxString (wxGridCellNumberEditor_GetValue(_arg0));
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) return NULL;
3067 }{
3068 #if wxUSE_UNICODE
3069 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3070 #else
3071 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3072 #endif
3073 }
3074 {
3075 delete _result;
3076 }
3077 return _resultobj;
3078 }
3079
3080 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
3081 wxGridCellFloatEditor *src;
3082 wxGridCellTextEditor *dest;
3083 src = (wxGridCellFloatEditor *) ptr;
3084 dest = (wxGridCellTextEditor *) src;
3085 return (void *) dest;
3086 }
3087
3088 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
3089 wxGridCellFloatEditor *src;
3090 wxGridCellEditor *dest;
3091 src = (wxGridCellFloatEditor *) ptr;
3092 dest = (wxGridCellEditor *) src;
3093 return (void *) dest;
3094 }
3095
3096 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
3097 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject * _resultobj;
3099 wxGridCellFloatEditor * _result;
3100 char *_kwnames[] = { NULL };
3101 char _ptemp[128];
3102
3103 self = self;
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
3105 return NULL;
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) return NULL;
3112 } if (_result) {
3113 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
3114 _resultobj = Py_BuildValue("s",_ptemp);
3115 } else {
3116 Py_INCREF(Py_None);
3117 _resultobj = Py_None;
3118 }
3119 return _resultobj;
3120 }
3121
3122 #define wxGridCellFloatEditor_GetValue(_swigobj) (_swigobj->GetValue())
3123 static PyObject *_wrap_wxGridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3124 PyObject * _resultobj;
3125 wxString * _result;
3126 wxGridCellFloatEditor * _arg0;
3127 PyObject * _argo0 = 0;
3128 char *_kwnames[] = { "self", NULL };
3129
3130 self = self;
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatEditor_GetValue",_kwnames,&_argo0))
3132 return NULL;
3133 if (_argo0) {
3134 if (_argo0 == Py_None) { _arg0 = NULL; }
3135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatEditor_p")) {
3136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatEditor_GetValue. Expected _wxGridCellFloatEditor_p.");
3137 return NULL;
3138 }
3139 }
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 _result = new wxString (wxGridCellFloatEditor_GetValue(_arg0));
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) return NULL;
3146 }{
3147 #if wxUSE_UNICODE
3148 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3149 #else
3150 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3151 #endif
3152 }
3153 {
3154 delete _result;
3155 }
3156 return _resultobj;
3157 }
3158
3159 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
3160 wxGridCellBoolEditor *src;
3161 wxGridCellEditor *dest;
3162 src = (wxGridCellBoolEditor *) ptr;
3163 dest = (wxGridCellEditor *) src;
3164 return (void *) dest;
3165 }
3166
3167 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
3168 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3169 PyObject * _resultobj;
3170 wxGridCellBoolEditor * _result;
3171 char *_kwnames[] = { NULL };
3172 char _ptemp[128];
3173
3174 self = self;
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
3176 return NULL;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) return NULL;
3183 } if (_result) {
3184 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
3185 _resultobj = Py_BuildValue("s",_ptemp);
3186 } else {
3187 Py_INCREF(Py_None);
3188 _resultobj = Py_None;
3189 }
3190 return _resultobj;
3191 }
3192
3193 #define wxGridCellBoolEditor_GetValue(_swigobj) (_swigobj->GetValue())
3194 static PyObject *_wrap_wxGridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3195 PyObject * _resultobj;
3196 wxString * _result;
3197 wxGridCellBoolEditor * _arg0;
3198 PyObject * _argo0 = 0;
3199 char *_kwnames[] = { "self", NULL };
3200
3201 self = self;
3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellBoolEditor_GetValue",_kwnames,&_argo0))
3203 return NULL;
3204 if (_argo0) {
3205 if (_argo0 == Py_None) { _arg0 = NULL; }
3206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellBoolEditor_p")) {
3207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellBoolEditor_GetValue. Expected _wxGridCellBoolEditor_p.");
3208 return NULL;
3209 }
3210 }
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 _result = new wxString (wxGridCellBoolEditor_GetValue(_arg0));
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) return NULL;
3217 }{
3218 #if wxUSE_UNICODE
3219 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3220 #else
3221 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3222 #endif
3223 }
3224 {
3225 delete _result;
3226 }
3227 return _resultobj;
3228 }
3229
3230 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
3231 wxGridCellChoiceEditor *src;
3232 wxGridCellEditor *dest;
3233 src = (wxGridCellChoiceEditor *) ptr;
3234 dest = (wxGridCellEditor *) src;
3235 return (void *) dest;
3236 }
3237
3238 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
3239 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject * _resultobj;
3241 wxGridCellChoiceEditor * _result;
3242 int _arg0 = (int ) 0;
3243 wxString * _arg1 = (wxString *) NULL;
3244 bool _arg2 = (bool ) FALSE;
3245 PyObject * _obj1 = 0;
3246 int tempbool2 = (int) FALSE;
3247 char *_kwnames[] = { "choices","allowOthers", NULL };
3248 char _ptemp[128];
3249
3250 self = self;
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
3252 return NULL;
3253 if (_obj1)
3254 {
3255 _arg1 = wxString_LIST_helper(_obj1);
3256 if (_arg1 == NULL) {
3257 return NULL;
3258 }
3259 }
3260 _arg2 = (bool ) tempbool2;
3261 {
3262 if (_obj1) {
3263 _arg0 = PyList_Size(_obj1);
3264 }
3265 else {
3266 _arg0 = 0;
3267 }
3268 }
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
3272
3273 wxPyEndAllowThreads(__tstate);
3274 if (PyErr_Occurred()) return NULL;
3275 } if (_result) {
3276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
3277 _resultobj = Py_BuildValue("s",_ptemp);
3278 } else {
3279 Py_INCREF(Py_None);
3280 _resultobj = Py_None;
3281 }
3282 {
3283 delete [] _arg1;
3284 }
3285 return _resultobj;
3286 }
3287
3288 #define wxGridCellChoiceEditor_GetValue(_swigobj) (_swigobj->GetValue())
3289 static PyObject *_wrap_wxGridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3290 PyObject * _resultobj;
3291 wxString * _result;
3292 wxGridCellChoiceEditor * _arg0;
3293 PyObject * _argo0 = 0;
3294 char *_kwnames[] = { "self", NULL };
3295
3296 self = self;
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellChoiceEditor_GetValue",_kwnames,&_argo0))
3298 return NULL;
3299 if (_argo0) {
3300 if (_argo0 == Py_None) { _arg0 = NULL; }
3301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellChoiceEditor_p")) {
3302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellChoiceEditor_GetValue. Expected _wxGridCellChoiceEditor_p.");
3303 return NULL;
3304 }
3305 }
3306 {
3307 PyThreadState* __tstate = wxPyBeginAllowThreads();
3308 _result = new wxString (wxGridCellChoiceEditor_GetValue(_arg0));
3309
3310 wxPyEndAllowThreads(__tstate);
3311 if (PyErr_Occurred()) return NULL;
3312 }{
3313 #if wxUSE_UNICODE
3314 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3315 #else
3316 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3317 #endif
3318 }
3319 {
3320 delete _result;
3321 }
3322 return _resultobj;
3323 }
3324
3325 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
3326 wxGridCellEnumEditor *src;
3327 wxGridCellChoiceEditor *dest;
3328 src = (wxGridCellEnumEditor *) ptr;
3329 dest = (wxGridCellChoiceEditor *) src;
3330 return (void *) dest;
3331 }
3332
3333 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
3334 wxGridCellEnumEditor *src;
3335 wxGridCellEditor *dest;
3336 src = (wxGridCellEnumEditor *) ptr;
3337 dest = (wxGridCellEditor *) src;
3338 return (void *) dest;
3339 }
3340
3341 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3342 static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3343 PyObject * _resultobj;
3344 wxGridCellEnumEditor * _result;
3345 wxString * _arg0 = (wxString *) &wxPyEmptyString;
3346 PyObject * _obj0 = 0;
3347 char *_kwnames[] = { "choices", NULL };
3348 char _ptemp[128];
3349
3350 self = self;
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
3352 return NULL;
3353 if (_obj0)
3354 {
3355 _arg0 = wxString_LIST_helper(_obj0);
3356 if (_arg0 == NULL) {
3357 return NULL;
3358 }
3359 }
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
3363
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) return NULL;
3366 } if (_result) {
3367 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
3368 _resultobj = Py_BuildValue("s",_ptemp);
3369 } else {
3370 Py_INCREF(Py_None);
3371 _resultobj = Py_None;
3372 }
3373 {
3374 delete [] _arg0;
3375 }
3376 return _resultobj;
3377 }
3378
3379 #define wxGridCellEnumEditor_GetValue(_swigobj) (_swigobj->GetValue())
3380 static PyObject *_wrap_wxGridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject * _resultobj;
3382 wxString * _result;
3383 wxGridCellEnumEditor * _arg0;
3384 PyObject * _argo0 = 0;
3385 char *_kwnames[] = { "self", NULL };
3386
3387 self = self;
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEnumEditor_GetValue",_kwnames,&_argo0))
3389 return NULL;
3390 if (_argo0) {
3391 if (_argo0 == Py_None) { _arg0 = NULL; }
3392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEnumEditor_p")) {
3393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEnumEditor_GetValue. Expected _wxGridCellEnumEditor_p.");
3394 return NULL;
3395 }
3396 }
3397 {
3398 PyThreadState* __tstate = wxPyBeginAllowThreads();
3399 _result = new wxString (wxGridCellEnumEditor_GetValue(_arg0));
3400
3401 wxPyEndAllowThreads(__tstate);
3402 if (PyErr_Occurred()) return NULL;
3403 }{
3404 #if wxUSE_UNICODE
3405 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3406 #else
3407 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3408 #endif
3409 }
3410 {
3411 delete _result;
3412 }
3413 return _resultobj;
3414 }
3415
3416 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
3417 wxGridCellAutoWrapStringEditor *src;
3418 wxGridCellTextEditor *dest;
3419 src = (wxGridCellAutoWrapStringEditor *) ptr;
3420 dest = (wxGridCellTextEditor *) src;
3421 return (void *) dest;
3422 }
3423
3424 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3425 wxGridCellAutoWrapStringEditor *src;
3426 wxGridCellEditor *dest;
3427 src = (wxGridCellAutoWrapStringEditor *) ptr;
3428 dest = (wxGridCellEditor *) src;
3429 return (void *) dest;
3430 }
3431
3432 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3433 static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject * _resultobj;
3435 wxGridCellAutoWrapStringEditor * _result;
3436 char *_kwnames[] = { NULL };
3437 char _ptemp[128];
3438
3439 self = self;
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3441 return NULL;
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) return NULL;
3448 } if (_result) {
3449 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3450 _resultobj = Py_BuildValue("s",_ptemp);
3451 } else {
3452 Py_INCREF(Py_None);
3453 _resultobj = Py_None;
3454 }
3455 return _resultobj;
3456 }
3457
3458 #define wxGridCellAutoWrapStringEditor_GetValue(_swigobj) (_swigobj->GetValue())
3459 static PyObject *_wrap_wxGridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject * _resultobj;
3461 wxString * _result;
3462 wxGridCellAutoWrapStringEditor * _arg0;
3463 PyObject * _argo0 = 0;
3464 char *_kwnames[] = { "self", NULL };
3465
3466 self = self;
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAutoWrapStringEditor_GetValue",_kwnames,&_argo0))
3468 return NULL;
3469 if (_argo0) {
3470 if (_argo0 == Py_None) { _arg0 = NULL; }
3471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAutoWrapStringEditor_p")) {
3472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAutoWrapStringEditor_GetValue. Expected _wxGridCellAutoWrapStringEditor_p.");
3473 return NULL;
3474 }
3475 }
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 _result = new wxString (wxGridCellAutoWrapStringEditor_GetValue(_arg0));
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) return NULL;
3482 }{
3483 #if wxUSE_UNICODE
3484 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3485 #else
3486 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3487 #endif
3488 }
3489 {
3490 delete _result;
3491 }
3492 return _resultobj;
3493 }
3494
3495 static void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject * _self) {
3496 self->SetClientObject(new wxPyOORClientData(_self));
3497 }
3498 static PyObject *_wrap_wxGridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3499 PyObject * _resultobj;
3500 wxGridCellAttr * _arg0;
3501 PyObject * _arg1;
3502 PyObject * _argo0 = 0;
3503 PyObject * _obj1 = 0;
3504 char *_kwnames[] = { "self","_self", NULL };
3505
3506 self = self;
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr__setOORInfo",_kwnames,&_argo0,&_obj1))
3508 return NULL;
3509 if (_argo0) {
3510 if (_argo0 == Py_None) { _arg0 = NULL; }
3511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3513 return NULL;
3514 }
3515 }
3516 {
3517 _arg1 = _obj1;
3518 }
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 wxGridCellAttr__setOORInfo(_arg0,_arg1);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) return NULL;
3525 } Py_INCREF(Py_None);
3526 _resultobj = Py_None;
3527 return _resultobj;
3528 }
3529
3530 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3531 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject * _resultobj;
3533 wxGridCellAttr * _result;
3534 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3535 PyObject * _argo0 = 0;
3536 char *_kwnames[] = { "attrDefault", NULL };
3537 char _ptemp[128];
3538
3539 self = self;
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
3541 return NULL;
3542 if (_argo0) {
3543 if (_argo0 == Py_None) { _arg0 = NULL; }
3544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3546 return NULL;
3547 }
3548 }
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) return NULL;
3555 } if (_result) {
3556 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3557 _resultobj = Py_BuildValue("s",_ptemp);
3558 } else {
3559 Py_INCREF(Py_None);
3560 _resultobj = Py_None;
3561 }
3562 return _resultobj;
3563 }
3564
3565 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3566 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3567 PyObject * _resultobj;
3568 wxGridCellAttr * _result;
3569 wxGridCellAttr * _arg0;
3570 PyObject * _argo0 = 0;
3571 char *_kwnames[] = { "self", NULL };
3572
3573 self = self;
3574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3575 return NULL;
3576 if (_argo0) {
3577 if (_argo0 == Py_None) { _arg0 = NULL; }
3578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3580 return NULL;
3581 }
3582 }
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) return NULL;
3589 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
3590 return _resultobj;
3591 }
3592
3593 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3594 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject * _resultobj;
3596 wxGridCellAttr * _arg0;
3597 wxGridCellAttr * _arg1;
3598 PyObject * _argo0 = 0;
3599 PyObject * _argo1 = 0;
3600 char *_kwnames[] = { "self","mergefrom", NULL };
3601
3602 self = self;
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3604 return NULL;
3605 if (_argo0) {
3606 if (_argo0 == Py_None) { _arg0 = NULL; }
3607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3609 return NULL;
3610 }
3611 }
3612 if (_argo1) {
3613 if (_argo1 == Py_None) { _arg1 = NULL; }
3614 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3615 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3616 return NULL;
3617 }
3618 }
3619 {
3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
3621 wxGridCellAttr_MergeWith(_arg0,_arg1);
3622
3623 wxPyEndAllowThreads(__tstate);
3624 if (PyErr_Occurred()) return NULL;
3625 } Py_INCREF(Py_None);
3626 _resultobj = Py_None;
3627 return _resultobj;
3628 }
3629
3630 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3631 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject * _resultobj;
3633 wxGridCellAttr * _arg0;
3634 PyObject * _argo0 = 0;
3635 char *_kwnames[] = { "self", NULL };
3636
3637 self = self;
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3639 return NULL;
3640 if (_argo0) {
3641 if (_argo0 == Py_None) { _arg0 = NULL; }
3642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3644 return NULL;
3645 }
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 wxGridCellAttr_IncRef(_arg0);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) return NULL;
3653 } Py_INCREF(Py_None);
3654 _resultobj = Py_None;
3655 return _resultobj;
3656 }
3657
3658 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3659 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3660 PyObject * _resultobj;
3661 wxGridCellAttr * _arg0;
3662 PyObject * _argo0 = 0;
3663 char *_kwnames[] = { "self", NULL };
3664
3665 self = self;
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3667 return NULL;
3668 if (_argo0) {
3669 if (_argo0 == Py_None) { _arg0 = NULL; }
3670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3672 return NULL;
3673 }
3674 }
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 wxGridCellAttr_DecRef(_arg0);
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) return NULL;
3681 } Py_INCREF(Py_None);
3682 _resultobj = Py_None;
3683 return _resultobj;
3684 }
3685
3686 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3687 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3688 PyObject * _resultobj;
3689 wxGridCellAttr * _arg0;
3690 wxColour * _arg1;
3691 PyObject * _argo0 = 0;
3692 wxColour temp;
3693 PyObject * _obj1 = 0;
3694 char *_kwnames[] = { "self","colText", NULL };
3695
3696 self = self;
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3698 return NULL;
3699 if (_argo0) {
3700 if (_argo0 == Py_None) { _arg0 = NULL; }
3701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3703 return NULL;
3704 }
3705 }
3706 {
3707 _arg1 = &temp;
3708 if (! wxColour_helper(_obj1, &_arg1))
3709 return NULL;
3710 }
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
3714
3715 wxPyEndAllowThreads(__tstate);
3716 if (PyErr_Occurred()) return NULL;
3717 } Py_INCREF(Py_None);
3718 _resultobj = Py_None;
3719 return _resultobj;
3720 }
3721
3722 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3723 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3724 PyObject * _resultobj;
3725 wxGridCellAttr * _arg0;
3726 wxColour * _arg1;
3727 PyObject * _argo0 = 0;
3728 wxColour temp;
3729 PyObject * _obj1 = 0;
3730 char *_kwnames[] = { "self","colBack", NULL };
3731
3732 self = self;
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3734 return NULL;
3735 if (_argo0) {
3736 if (_argo0 == Py_None) { _arg0 = NULL; }
3737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3739 return NULL;
3740 }
3741 }
3742 {
3743 _arg1 = &temp;
3744 if (! wxColour_helper(_obj1, &_arg1))
3745 return NULL;
3746 }
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) return NULL;
3753 } Py_INCREF(Py_None);
3754 _resultobj = Py_None;
3755 return _resultobj;
3756 }
3757
3758 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3759 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject * _resultobj;
3761 wxGridCellAttr * _arg0;
3762 wxFont * _arg1;
3763 PyObject * _argo0 = 0;
3764 PyObject * _argo1 = 0;
3765 char *_kwnames[] = { "self","font", NULL };
3766
3767 self = self;
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3769 return NULL;
3770 if (_argo0) {
3771 if (_argo0 == Py_None) { _arg0 = NULL; }
3772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3774 return NULL;
3775 }
3776 }
3777 if (_argo1) {
3778 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3779 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3780 return NULL;
3781 }
3782 }
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 wxGridCellAttr_SetFont(_arg0,*_arg1);
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) return NULL;
3789 } Py_INCREF(Py_None);
3790 _resultobj = Py_None;
3791 return _resultobj;
3792 }
3793
3794 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3795 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject * _resultobj;
3797 wxGridCellAttr * _arg0;
3798 int _arg1;
3799 int _arg2;
3800 PyObject * _argo0 = 0;
3801 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3802
3803 self = self;
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3805 return NULL;
3806 if (_argo0) {
3807 if (_argo0 == Py_None) { _arg0 = NULL; }
3808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3810 return NULL;
3811 }
3812 }
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3816
3817 wxPyEndAllowThreads(__tstate);
3818 if (PyErr_Occurred()) return NULL;
3819 } Py_INCREF(Py_None);
3820 _resultobj = Py_None;
3821 return _resultobj;
3822 }
3823
3824 #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3825 static PyObject *_wrap_wxGridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject * _resultobj;
3827 wxGridCellAttr * _arg0;
3828 int _arg1;
3829 int _arg2;
3830 PyObject * _argo0 = 0;
3831 char *_kwnames[] = { "self","num_rows","num_cols", NULL };
3832
3833 self = self;
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
3835 return NULL;
3836 if (_argo0) {
3837 if (_argo0 == Py_None) { _arg0 = NULL; }
3838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetSize. Expected _wxGridCellAttr_p.");
3840 return NULL;
3841 }
3842 }
3843 {
3844 PyThreadState* __tstate = wxPyBeginAllowThreads();
3845 wxGridCellAttr_SetSize(_arg0,_arg1,_arg2);
3846
3847 wxPyEndAllowThreads(__tstate);
3848 if (PyErr_Occurred()) return NULL;
3849 } Py_INCREF(Py_None);
3850 _resultobj = Py_None;
3851 return _resultobj;
3852 }
3853
3854 #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0))
3855 static PyObject *_wrap_wxGridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
3856 PyObject * _resultobj;
3857 wxGridCellAttr * _arg0;
3858 bool _arg1;
3859 PyObject * _argo0 = 0;
3860 int tempbool1;
3861 char *_kwnames[] = { "self","allow", NULL };
3862
3863 self = self;
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetOverflow",_kwnames,&_argo0,&tempbool1))
3865 return NULL;
3866 if (_argo0) {
3867 if (_argo0 == Py_None) { _arg0 = NULL; }
3868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetOverflow. Expected _wxGridCellAttr_p.");
3870 return NULL;
3871 }
3872 }
3873 _arg1 = (bool ) tempbool1;
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 wxGridCellAttr_SetOverflow(_arg0,_arg1);
3877
3878 wxPyEndAllowThreads(__tstate);
3879 if (PyErr_Occurred()) return NULL;
3880 } Py_INCREF(Py_None);
3881 _resultobj = Py_None;
3882 return _resultobj;
3883 }
3884
3885 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3886 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3887 PyObject * _resultobj;
3888 wxGridCellAttr * _arg0;
3889 bool _arg1 = (bool ) TRUE;
3890 PyObject * _argo0 = 0;
3891 int tempbool1 = (int) TRUE;
3892 char *_kwnames[] = { "self","isReadOnly", NULL };
3893
3894 self = self;
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3896 return NULL;
3897 if (_argo0) {
3898 if (_argo0 == Py_None) { _arg0 = NULL; }
3899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3901 return NULL;
3902 }
3903 }
3904 _arg1 = (bool ) tempbool1;
3905 {
3906 PyThreadState* __tstate = wxPyBeginAllowThreads();
3907 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3908
3909 wxPyEndAllowThreads(__tstate);
3910 if (PyErr_Occurred()) return NULL;
3911 } Py_INCREF(Py_None);
3912 _resultobj = Py_None;
3913 return _resultobj;
3914 }
3915
3916 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3917 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3918 PyObject * _resultobj;
3919 wxGridCellAttr * _arg0;
3920 wxGridCellRenderer * _arg1;
3921 PyObject * _argo0 = 0;
3922 PyObject * _argo1 = 0;
3923 char *_kwnames[] = { "self","renderer", NULL };
3924
3925 self = self;
3926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3927 return NULL;
3928 if (_argo0) {
3929 if (_argo0 == Py_None) { _arg0 = NULL; }
3930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3932 return NULL;
3933 }
3934 }
3935 if (_argo1) {
3936 if (_argo1 == Py_None) { _arg1 = NULL; }
3937 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3938 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3939 return NULL;
3940 }
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) return NULL;
3948 } Py_INCREF(Py_None);
3949 _resultobj = Py_None;
3950 return _resultobj;
3951 }
3952
3953 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3954 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3955 PyObject * _resultobj;
3956 wxGridCellAttr * _arg0;
3957 wxGridCellEditor * _arg1;
3958 PyObject * _argo0 = 0;
3959 PyObject * _argo1 = 0;
3960 char *_kwnames[] = { "self","editor", NULL };
3961
3962 self = self;
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3964 return NULL;
3965 if (_argo0) {
3966 if (_argo0 == Py_None) { _arg0 = NULL; }
3967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3969 return NULL;
3970 }
3971 }
3972 if (_argo1) {
3973 if (_argo1 == Py_None) { _arg1 = NULL; }
3974 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3975 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3976 return NULL;
3977 }
3978 }
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 wxGridCellAttr_SetEditor(_arg0,_arg1);
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) return NULL;
3985 } Py_INCREF(Py_None);
3986 _resultobj = Py_None;
3987 return _resultobj;
3988 }
3989
3990 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3991 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject * _resultobj;
3993 wxGridCellAttr * _arg0;
3994 wxGridCellAttr::wxAttrKind _arg1;
3995 PyObject * _argo0 = 0;
3996 char *_kwnames[] = { "self","kind", NULL };
3997
3998 self = self;
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
4000 return NULL;
4001 if (_argo0) {
4002 if (_argo0 == Py_None) { _arg0 = NULL; }
4003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
4005 return NULL;
4006 }
4007 }
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 wxGridCellAttr_SetKind(_arg0,_arg1);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) return NULL;
4014 } Py_INCREF(Py_None);
4015 _resultobj = Py_None;
4016 return _resultobj;
4017 }
4018
4019 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
4020 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject * _resultobj;
4022 bool _result;
4023 wxGridCellAttr * _arg0;
4024 PyObject * _argo0 = 0;
4025 char *_kwnames[] = { "self", NULL };
4026
4027 self = self;
4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
4029 return NULL;
4030 if (_argo0) {
4031 if (_argo0 == Py_None) { _arg0 = NULL; }
4032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
4034 return NULL;
4035 }
4036 }
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) return NULL;
4043 } _resultobj = Py_BuildValue("i",_result);
4044 return _resultobj;
4045 }
4046
4047 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
4048 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4049 PyObject * _resultobj;
4050 bool _result;
4051 wxGridCellAttr * _arg0;
4052 PyObject * _argo0 = 0;
4053 char *_kwnames[] = { "self", NULL };
4054
4055 self = self;
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
4057 return NULL;
4058 if (_argo0) {
4059 if (_argo0 == Py_None) { _arg0 = NULL; }
4060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
4062 return NULL;
4063 }
4064 }
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) return NULL;
4071 } _resultobj = Py_BuildValue("i",_result);
4072 return _resultobj;
4073 }
4074
4075 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
4076 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject * _resultobj;
4078 bool _result;
4079 wxGridCellAttr * _arg0;
4080 PyObject * _argo0 = 0;
4081 char *_kwnames[] = { "self", NULL };
4082
4083 self = self;
4084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
4085 return NULL;
4086 if (_argo0) {
4087 if (_argo0 == Py_None) { _arg0 = NULL; }
4088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
4090 return NULL;
4091 }
4092 }
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 _result = (bool )wxGridCellAttr_HasFont(_arg0);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) return NULL;
4099 } _resultobj = Py_BuildValue("i",_result);
4100 return _resultobj;
4101 }
4102
4103 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
4104 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject * _resultobj;
4106 bool _result;
4107 wxGridCellAttr * _arg0;
4108 PyObject * _argo0 = 0;
4109 char *_kwnames[] = { "self", NULL };
4110
4111 self = self;
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
4113 return NULL;
4114 if (_argo0) {
4115 if (_argo0 == Py_None) { _arg0 = NULL; }
4116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
4118 return NULL;
4119 }
4120 }
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) return NULL;
4127 } _resultobj = Py_BuildValue("i",_result);
4128 return _resultobj;
4129 }
4130
4131 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
4132 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject * _resultobj;
4134 bool _result;
4135 wxGridCellAttr * _arg0;
4136 PyObject * _argo0 = 0;
4137 char *_kwnames[] = { "self", NULL };
4138
4139 self = self;
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
4141 return NULL;
4142 if (_argo0) {
4143 if (_argo0 == Py_None) { _arg0 = NULL; }
4144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
4146 return NULL;
4147 }
4148 }
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) return NULL;
4155 } _resultobj = Py_BuildValue("i",_result);
4156 return _resultobj;
4157 }
4158
4159 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
4160 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject * _resultobj;
4162 bool _result;
4163 wxGridCellAttr * _arg0;
4164 PyObject * _argo0 = 0;
4165 char *_kwnames[] = { "self", NULL };
4166
4167 self = self;
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
4169 return NULL;
4170 if (_argo0) {
4171 if (_argo0 == Py_None) { _arg0 = NULL; }
4172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
4174 return NULL;
4175 }
4176 }
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) return NULL;
4183 } _resultobj = Py_BuildValue("i",_result);
4184 return _resultobj;
4185 }
4186
4187 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
4188 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject * _resultobj;
4190 bool _result;
4191 wxGridCellAttr * _arg0;
4192 PyObject * _argo0 = 0;
4193 char *_kwnames[] = { "self", NULL };
4194
4195 self = self;
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
4197 return NULL;
4198 if (_argo0) {
4199 if (_argo0 == Py_None) { _arg0 = NULL; }
4200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
4202 return NULL;
4203 }
4204 }
4205 {
4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
4207 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
4208
4209 wxPyEndAllowThreads(__tstate);
4210 if (PyErr_Occurred()) return NULL;
4211 } _resultobj = Py_BuildValue("i",_result);
4212 return _resultobj;
4213 }
4214
4215 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4216 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject * _resultobj;
4218 wxColour * _result;
4219 wxGridCellAttr * _arg0;
4220 PyObject * _argo0 = 0;
4221 char *_kwnames[] = { "self", NULL };
4222 char _ptemp[128];
4223
4224 self = self;
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
4226 return NULL;
4227 if (_argo0) {
4228 if (_argo0 == Py_None) { _arg0 = NULL; }
4229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
4231 return NULL;
4232 }
4233 }
4234 {
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
4237
4238 wxPyEndAllowThreads(__tstate);
4239 if (PyErr_Occurred()) return NULL;
4240 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4241 _resultobj = Py_BuildValue("s",_ptemp);
4242 return _resultobj;
4243 }
4244
4245 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
4246 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject * _resultobj;
4248 wxColour * _result;
4249 wxGridCellAttr * _arg0;
4250 PyObject * _argo0 = 0;
4251 char *_kwnames[] = { "self", NULL };
4252 char _ptemp[128];
4253
4254 self = self;
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
4256 return NULL;
4257 if (_argo0) {
4258 if (_argo0 == Py_None) { _arg0 = NULL; }
4259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
4261 return NULL;
4262 }
4263 }
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) return NULL;
4270 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4271 _resultobj = Py_BuildValue("s",_ptemp);
4272 return _resultobj;
4273 }
4274
4275 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
4276 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject * _resultobj;
4278 wxFont * _result;
4279 wxGridCellAttr * _arg0;
4280 PyObject * _argo0 = 0;
4281 char *_kwnames[] = { "self", NULL };
4282 char _ptemp[128];
4283
4284 self = self;
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
4286 return NULL;
4287 if (_argo0) {
4288 if (_argo0 == Py_None) { _arg0 = NULL; }
4289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
4291 return NULL;
4292 }
4293 }
4294 {
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
4297
4298 wxPyEndAllowThreads(__tstate);
4299 if (PyErr_Occurred()) return NULL;
4300 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
4301 _resultobj = Py_BuildValue("s",_ptemp);
4302 return _resultobj;
4303 }
4304
4305 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
4306 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4307 PyObject * _resultobj;
4308 wxGridCellAttr * _arg0;
4309 int * _arg1;
4310 int temp;
4311 int * _arg2;
4312 int temp0;
4313 PyObject * _argo0 = 0;
4314 char *_kwnames[] = { "self", NULL };
4315
4316 self = self;
4317 {
4318 _arg1 = &temp;
4319 }
4320 {
4321 _arg2 = &temp0;
4322 }
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
4324 return NULL;
4325 if (_argo0) {
4326 if (_argo0 == Py_None) { _arg0 = NULL; }
4327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
4329 return NULL;
4330 }
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) return NULL;
4338 } Py_INCREF(Py_None);
4339 _resultobj = Py_None;
4340 {
4341 PyObject *o;
4342 o = PyInt_FromLong((long) (*_arg1));
4343 _resultobj = t_output_helper(_resultobj, o);
4344 }
4345 {
4346 PyObject *o;
4347 o = PyInt_FromLong((long) (*_arg2));
4348 _resultobj = t_output_helper(_resultobj, o);
4349 }
4350 return _resultobj;
4351 }
4352
4353 #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4354 static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4355 PyObject * _resultobj;
4356 wxGridCellAttr * _arg0;
4357 int * _arg1;
4358 int temp;
4359 int * _arg2;
4360 int temp0;
4361 PyObject * _argo0 = 0;
4362 char *_kwnames[] = { "self", NULL };
4363
4364 self = self;
4365 {
4366 _arg1 = &temp;
4367 }
4368 {
4369 _arg2 = &temp0;
4370 }
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetSize",_kwnames,&_argo0))
4372 return NULL;
4373 if (_argo0) {
4374 if (_argo0 == Py_None) { _arg0 = NULL; }
4375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4377 return NULL;
4378 }
4379 }
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 wxGridCellAttr_GetSize(_arg0,_arg1,_arg2);
4383
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) return NULL;
4386 } Py_INCREF(Py_None);
4387 _resultobj = Py_None;
4388 {
4389 PyObject *o;
4390 o = PyInt_FromLong((long) (*_arg1));
4391 _resultobj = t_output_helper(_resultobj, o);
4392 }
4393 {
4394 PyObject *o;
4395 o = PyInt_FromLong((long) (*_arg2));
4396 _resultobj = t_output_helper(_resultobj, o);
4397 }
4398 return _resultobj;
4399 }
4400
4401 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4402 static PyObject *_wrap_wxGridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject * _resultobj;
4404 bool _result;
4405 wxGridCellAttr * _arg0;
4406 PyObject * _argo0 = 0;
4407 char *_kwnames[] = { "self", NULL };
4408
4409 self = self;
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetOverflow",_kwnames,&_argo0))
4411 return NULL;
4412 if (_argo0) {
4413 if (_argo0 == Py_None) { _arg0 = NULL; }
4414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4416 return NULL;
4417 }
4418 }
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 _result = (bool )wxGridCellAttr_GetOverflow(_arg0);
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) return NULL;
4425 } _resultobj = Py_BuildValue("i",_result);
4426 return _resultobj;
4427 }
4428
4429 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4430 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject * _resultobj;
4432 wxGridCellRenderer * _result;
4433 wxGridCellAttr * _arg0;
4434 wxGrid * _arg1;
4435 int _arg2;
4436 int _arg3;
4437 PyObject * _argo0 = 0;
4438 PyObject * _argo1 = 0;
4439 char *_kwnames[] = { "self","grid","row","col", NULL };
4440
4441 self = self;
4442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4443 return NULL;
4444 if (_argo0) {
4445 if (_argo0 == Py_None) { _arg0 = NULL; }
4446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4448 return NULL;
4449 }
4450 }
4451 if (_argo1) {
4452 if (_argo1 == Py_None) { _arg1 = NULL; }
4453 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4454 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4455 return NULL;
4456 }
4457 }
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) return NULL;
4464 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
4465 return _resultobj;
4466 }
4467
4468 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4469 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4470 PyObject * _resultobj;
4471 wxGridCellEditor * _result;
4472 wxGridCellAttr * _arg0;
4473 wxGrid * _arg1;
4474 int _arg2;
4475 int _arg3;
4476 PyObject * _argo0 = 0;
4477 PyObject * _argo1 = 0;
4478 char *_kwnames[] = { "self","grid","row","col", NULL };
4479
4480 self = self;
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4482 return NULL;
4483 if (_argo0) {
4484 if (_argo0 == Py_None) { _arg0 = NULL; }
4485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4487 return NULL;
4488 }
4489 }
4490 if (_argo1) {
4491 if (_argo1 == Py_None) { _arg1 = NULL; }
4492 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4493 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4494 return NULL;
4495 }
4496 }
4497 {
4498 PyThreadState* __tstate = wxPyBeginAllowThreads();
4499 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
4500
4501 wxPyEndAllowThreads(__tstate);
4502 if (PyErr_Occurred()) return NULL;
4503 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
4504 return _resultobj;
4505 }
4506
4507 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4508 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject * _resultobj;
4510 bool _result;
4511 wxGridCellAttr * _arg0;
4512 PyObject * _argo0 = 0;
4513 char *_kwnames[] = { "self", NULL };
4514
4515 self = self;
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
4517 return NULL;
4518 if (_argo0) {
4519 if (_argo0 == Py_None) { _arg0 = NULL; }
4520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4522 return NULL;
4523 }
4524 }
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) return NULL;
4531 } _resultobj = Py_BuildValue("i",_result);
4532 return _resultobj;
4533 }
4534
4535 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4536 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4537 PyObject * _resultobj;
4538 wxGridCellAttr * _arg0;
4539 wxGridCellAttr * _arg1;
4540 PyObject * _argo0 = 0;
4541 PyObject * _argo1 = 0;
4542 char *_kwnames[] = { "self","defAttr", NULL };
4543
4544 self = self;
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
4546 return NULL;
4547 if (_argo0) {
4548 if (_argo0 == Py_None) { _arg0 = NULL; }
4549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4551 return NULL;
4552 }
4553 }
4554 if (_argo1) {
4555 if (_argo1 == Py_None) { _arg1 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4558 return NULL;
4559 }
4560 }
4561 {
4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
4563 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
4564
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) return NULL;
4567 } Py_INCREF(Py_None);
4568 _resultobj = Py_None;
4569 return _resultobj;
4570 }
4571
4572 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4573 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject * _resultobj;
4575 wxGridCellAttrProvider * _result;
4576 char *_kwnames[] = { NULL };
4577 char _ptemp[128];
4578
4579 self = self;
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
4581 return NULL;
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
4585
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) return NULL;
4588 } if (_result) {
4589 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4590 _resultobj = Py_BuildValue("s",_ptemp);
4591 } else {
4592 Py_INCREF(Py_None);
4593 _resultobj = Py_None;
4594 }
4595 return _resultobj;
4596 }
4597
4598 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject * _self) {
4599 self->SetClientObject(new wxPyOORClientData(_self));
4600 }
4601 static PyObject *_wrap_wxGridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject * _resultobj;
4603 wxGridCellAttrProvider * _arg0;
4604 PyObject * _arg1;
4605 PyObject * _argo0 = 0;
4606 PyObject * _obj1 = 0;
4607 char *_kwnames[] = { "self","_self", NULL };
4608
4609 self = self;
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames,&_argo0,&_obj1))
4611 return NULL;
4612 if (_argo0) {
4613 if (_argo0 == Py_None) { _arg0 = NULL; }
4614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4616 return NULL;
4617 }
4618 }
4619 {
4620 _arg1 = _obj1;
4621 }
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 wxGridCellAttrProvider__setOORInfo(_arg0,_arg1);
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) return NULL;
4628 } Py_INCREF(Py_None);
4629 _resultobj = Py_None;
4630 return _resultobj;
4631 }
4632
4633 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4634 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject * _resultobj;
4636 wxGridCellAttr * _result;
4637 wxGridCellAttrProvider * _arg0;
4638 int _arg1;
4639 int _arg2;
4640 wxGridCellAttr::wxAttrKind _arg3;
4641 PyObject * _argo0 = 0;
4642 char *_kwnames[] = { "self","row","col","kind", NULL };
4643
4644 self = self;
4645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4646 return NULL;
4647 if (_argo0) {
4648 if (_argo0 == Py_None) { _arg0 = NULL; }
4649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4651 return NULL;
4652 }
4653 }
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) return NULL;
4660 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4661 return _resultobj;
4662 }
4663
4664 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4665 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4666 PyObject * _resultobj;
4667 wxGridCellAttrProvider * _arg0;
4668 wxGridCellAttr * _arg1;
4669 int _arg2;
4670 int _arg3;
4671 PyObject * _argo0 = 0;
4672 PyObject * _argo1 = 0;
4673 char *_kwnames[] = { "self","attr","row","col", NULL };
4674
4675 self = self;
4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4677 return NULL;
4678 if (_argo0) {
4679 if (_argo0 == Py_None) { _arg0 = NULL; }
4680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4682 return NULL;
4683 }
4684 }
4685 if (_argo1) {
4686 if (_argo1 == Py_None) { _arg1 = NULL; }
4687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4689 return NULL;
4690 }
4691 }
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) return NULL;
4698 } Py_INCREF(Py_None);
4699 _resultobj = Py_None;
4700 return _resultobj;
4701 }
4702
4703 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4704 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject * _resultobj;
4706 wxGridCellAttrProvider * _arg0;
4707 wxGridCellAttr * _arg1;
4708 int _arg2;
4709 PyObject * _argo0 = 0;
4710 PyObject * _argo1 = 0;
4711 char *_kwnames[] = { "self","attr","row", NULL };
4712
4713 self = self;
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4715 return NULL;
4716 if (_argo0) {
4717 if (_argo0 == Py_None) { _arg0 = NULL; }
4718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4720 return NULL;
4721 }
4722 }
4723 if (_argo1) {
4724 if (_argo1 == Py_None) { _arg1 = NULL; }
4725 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4726 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4727 return NULL;
4728 }
4729 }
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) return NULL;
4736 } Py_INCREF(Py_None);
4737 _resultobj = Py_None;
4738 return _resultobj;
4739 }
4740
4741 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4742 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject * _resultobj;
4744 wxGridCellAttrProvider * _arg0;
4745 wxGridCellAttr * _arg1;
4746 int _arg2;
4747 PyObject * _argo0 = 0;
4748 PyObject * _argo1 = 0;
4749 char *_kwnames[] = { "self","attr","col", NULL };
4750
4751 self = self;
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4753 return NULL;
4754 if (_argo0) {
4755 if (_argo0 == Py_None) { _arg0 = NULL; }
4756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4758 return NULL;
4759 }
4760 }
4761 if (_argo1) {
4762 if (_argo1 == Py_None) { _arg1 = NULL; }
4763 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4764 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4765 return NULL;
4766 }
4767 }
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) return NULL;
4774 } Py_INCREF(Py_None);
4775 _resultobj = Py_None;
4776 return _resultobj;
4777 }
4778
4779 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4780 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4781 PyObject * _resultobj;
4782 wxGridCellAttrProvider * _arg0;
4783 size_t _arg1;
4784 int _arg2;
4785 PyObject * _argo0 = 0;
4786 char *_kwnames[] = { "self","pos","numRows", NULL };
4787
4788 self = self;
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4790 return NULL;
4791 if (_argo0) {
4792 if (_argo0 == Py_None) { _arg0 = NULL; }
4793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4795 return NULL;
4796 }
4797 }
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) return NULL;
4804 } Py_INCREF(Py_None);
4805 _resultobj = Py_None;
4806 return _resultobj;
4807 }
4808
4809 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4810 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4811 PyObject * _resultobj;
4812 wxGridCellAttrProvider * _arg0;
4813 size_t _arg1;
4814 int _arg2;
4815 PyObject * _argo0 = 0;
4816 char *_kwnames[] = { "self","pos","numCols", NULL };
4817
4818 self = self;
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4820 return NULL;
4821 if (_argo0) {
4822 if (_argo0 == Py_None) { _arg0 = NULL; }
4823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4825 return NULL;
4826 }
4827 }
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4831
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) return NULL;
4834 } Py_INCREF(Py_None);
4835 _resultobj = Py_None;
4836 return _resultobj;
4837 }
4838
4839 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4840 wxPyGridCellAttrProvider *src;
4841 wxGridCellAttrProvider *dest;
4842 src = (wxPyGridCellAttrProvider *) ptr;
4843 dest = (wxGridCellAttrProvider *) src;
4844 return (void *) dest;
4845 }
4846
4847 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4848 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject * _resultobj;
4850 wxPyGridCellAttrProvider * _result;
4851 char *_kwnames[] = { NULL };
4852 char _ptemp[128];
4853
4854 self = self;
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4856 return NULL;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) return NULL;
4863 } if (_result) {
4864 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4865 _resultobj = Py_BuildValue("s",_ptemp);
4866 } else {
4867 Py_INCREF(Py_None);
4868 _resultobj = Py_None;
4869 }
4870 return _resultobj;
4871 }
4872
4873 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4874 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject * _resultobj;
4876 wxPyGridCellAttrProvider * _arg0;
4877 PyObject * _arg1;
4878 PyObject * _arg2;
4879 PyObject * _argo0 = 0;
4880 PyObject * _obj1 = 0;
4881 PyObject * _obj2 = 0;
4882 char *_kwnames[] = { "self","self","_class", NULL };
4883
4884 self = self;
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4886 return NULL;
4887 if (_argo0) {
4888 if (_argo0 == Py_None) { _arg0 = NULL; }
4889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4891 return NULL;
4892 }
4893 }
4894 {
4895 _arg1 = _obj1;
4896 }
4897 {
4898 _arg2 = _obj2;
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) return NULL;
4906 } Py_INCREF(Py_None);
4907 _resultobj = Py_None;
4908 return _resultobj;
4909 }
4910
4911 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4912 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject * _resultobj;
4914 wxGridCellAttr * _result;
4915 wxPyGridCellAttrProvider * _arg0;
4916 int _arg1;
4917 int _arg2;
4918 wxGridCellAttr::wxAttrKind _arg3;
4919 PyObject * _argo0 = 0;
4920 char *_kwnames[] = { "self","row","col","kind", NULL };
4921
4922 self = self;
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4924 return NULL;
4925 if (_argo0) {
4926 if (_argo0 == Py_None) { _arg0 = NULL; }
4927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4929 return NULL;
4930 }
4931 }
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) return NULL;
4938 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4939 return _resultobj;
4940 }
4941
4942 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4943 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject * _resultobj;
4945 wxPyGridCellAttrProvider * _arg0;
4946 wxGridCellAttr * _arg1;
4947 int _arg2;
4948 int _arg3;
4949 PyObject * _argo0 = 0;
4950 PyObject * _argo1 = 0;
4951 char *_kwnames[] = { "self","attr","row","col", NULL };
4952
4953 self = self;
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4955 return NULL;
4956 if (_argo0) {
4957 if (_argo0 == Py_None) { _arg0 = NULL; }
4958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4960 return NULL;
4961 }
4962 }
4963 if (_argo1) {
4964 if (_argo1 == Py_None) { _arg1 = NULL; }
4965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4967 return NULL;
4968 }
4969 }
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) return NULL;
4976 } Py_INCREF(Py_None);
4977 _resultobj = Py_None;
4978 return _resultobj;
4979 }
4980
4981 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4982 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4983 PyObject * _resultobj;
4984 wxPyGridCellAttrProvider * _arg0;
4985 wxGridCellAttr * _arg1;
4986 int _arg2;
4987 PyObject * _argo0 = 0;
4988 PyObject * _argo1 = 0;
4989 char *_kwnames[] = { "self","attr","row", NULL };
4990
4991 self = self;
4992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4993 return NULL;
4994 if (_argo0) {
4995 if (_argo0 == Py_None) { _arg0 = NULL; }
4996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4998 return NULL;
4999 }
5000 }
5001 if (_argo1) {
5002 if (_argo1 == Py_None) { _arg1 = NULL; }
5003 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5005 return NULL;
5006 }
5007 }
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
5011
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) return NULL;
5014 } Py_INCREF(Py_None);
5015 _resultobj = Py_None;
5016 return _resultobj;
5017 }
5018
5019 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5020 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5021 PyObject * _resultobj;
5022 wxPyGridCellAttrProvider * _arg0;
5023 wxGridCellAttr * _arg1;
5024 int _arg2;
5025 PyObject * _argo0 = 0;
5026 PyObject * _argo1 = 0;
5027 char *_kwnames[] = { "self","attr","col", NULL };
5028
5029 self = self;
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5031 return NULL;
5032 if (_argo0) {
5033 if (_argo0 == Py_None) { _arg0 = NULL; }
5034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
5035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
5036 return NULL;
5037 }
5038 }
5039 if (_argo1) {
5040 if (_argo1 == Py_None) { _arg1 = NULL; }
5041 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5042 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
5043 return NULL;
5044 }
5045 }
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) return NULL;
5052 } Py_INCREF(Py_None);
5053 _resultobj = Py_None;
5054 return _resultobj;
5055 }
5056
5057 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
5058 wxGridTableBase *src;
5059 wxObject *dest;
5060 src = (wxGridTableBase *) ptr;
5061 dest = (wxObject *) src;
5062 return (void *) dest;
5063 }
5064
5065 static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject * _self) {
5066 self->SetClientObject(new wxPyOORClientData(_self));
5067 }
5068 static PyObject *_wrap_wxGridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject * _resultobj;
5070 wxGridTableBase * _arg0;
5071 PyObject * _arg1;
5072 PyObject * _argo0 = 0;
5073 PyObject * _obj1 = 0;
5074 char *_kwnames[] = { "self","_self", NULL };
5075
5076 self = self;
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase__setOORInfo",_kwnames,&_argo0,&_obj1))
5078 return NULL;
5079 if (_argo0) {
5080 if (_argo0 == Py_None) { _arg0 = NULL; }
5081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
5083 return NULL;
5084 }
5085 }
5086 {
5087 _arg1 = _obj1;
5088 }
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 wxGridTableBase__setOORInfo(_arg0,_arg1);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) return NULL;
5095 } Py_INCREF(Py_None);
5096 _resultobj = Py_None;
5097 return _resultobj;
5098 }
5099
5100 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
5101 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject * _resultobj;
5103 wxGridTableBase * _arg0;
5104 wxGridCellAttrProvider * _arg1;
5105 PyObject * _argo0 = 0;
5106 PyObject * _argo1 = 0;
5107 char *_kwnames[] = { "self","attrProvider", NULL };
5108
5109 self = self;
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
5111 return NULL;
5112 if (_argo0) {
5113 if (_argo0 == Py_None) { _arg0 = NULL; }
5114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
5116 return NULL;
5117 }
5118 }
5119 if (_argo1) {
5120 if (_argo1 == Py_None) { _arg1 = NULL; }
5121 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
5122 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
5123 return NULL;
5124 }
5125 }
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
5129
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) return NULL;
5132 } Py_INCREF(Py_None);
5133 _resultobj = Py_None;
5134 return _resultobj;
5135 }
5136
5137 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
5138 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5139 PyObject * _resultobj;
5140 wxGridCellAttrProvider * _result;
5141 wxGridTableBase * _arg0;
5142 PyObject * _argo0 = 0;
5143 char *_kwnames[] = { "self", NULL };
5144
5145 self = self;
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
5147 return NULL;
5148 if (_argo0) {
5149 if (_argo0 == Py_None) { _arg0 = NULL; }
5150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
5152 return NULL;
5153 }
5154 }
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
5158
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) return NULL;
5161 }{ _resultobj = wxPyMake_wxGridCellAttrProvider(_result); }
5162 return _resultobj;
5163 }
5164
5165 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
5166 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5167 PyObject * _resultobj;
5168 wxGridTableBase * _arg0;
5169 wxGrid * _arg1;
5170 PyObject * _argo0 = 0;
5171 PyObject * _argo1 = 0;
5172 char *_kwnames[] = { "self","grid", NULL };
5173
5174 self = self;
5175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
5176 return NULL;
5177 if (_argo0) {
5178 if (_argo0 == Py_None) { _arg0 = NULL; }
5179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
5181 return NULL;
5182 }
5183 }
5184 if (_argo1) {
5185 if (_argo1 == Py_None) { _arg1 = NULL; }
5186 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
5187 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
5188 return NULL;
5189 }
5190 }
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 wxGridTableBase_SetView(_arg0,_arg1);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) return NULL;
5197 } Py_INCREF(Py_None);
5198 _resultobj = Py_None;
5199 return _resultobj;
5200 }
5201
5202 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
5203 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject * _resultobj;
5205 wxGrid * _result;
5206 wxGridTableBase * _arg0;
5207 PyObject * _argo0 = 0;
5208 char *_kwnames[] = { "self", NULL };
5209
5210 self = self;
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
5212 return NULL;
5213 if (_argo0) {
5214 if (_argo0 == Py_None) { _arg0 = NULL; }
5215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
5217 return NULL;
5218 }
5219 }
5220 {
5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
5222 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
5223
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) return NULL;
5226 }{ _resultobj = wxPyMake_wxObject(_result); }
5227 return _resultobj;
5228 }
5229
5230 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
5231 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject * _resultobj;
5233 int _result;
5234 wxGridTableBase * _arg0;
5235 PyObject * _argo0 = 0;
5236 char *_kwnames[] = { "self", NULL };
5237
5238 self = self;
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
5240 return NULL;
5241 if (_argo0) {
5242 if (_argo0 == Py_None) { _arg0 = NULL; }
5243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
5245 return NULL;
5246 }
5247 }
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) return NULL;
5254 } _resultobj = Py_BuildValue("i",_result);
5255 return _resultobj;
5256 }
5257
5258 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
5259 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5260 PyObject * _resultobj;
5261 int _result;
5262 wxGridTableBase * _arg0;
5263 PyObject * _argo0 = 0;
5264 char *_kwnames[] = { "self", NULL };
5265
5266 self = self;
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
5268 return NULL;
5269 if (_argo0) {
5270 if (_argo0 == Py_None) { _arg0 = NULL; }
5271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
5273 return NULL;
5274 }
5275 }
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) return NULL;
5282 } _resultobj = Py_BuildValue("i",_result);
5283 return _resultobj;
5284 }
5285
5286 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
5287 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject * _resultobj;
5289 bool _result;
5290 wxGridTableBase * _arg0;
5291 int _arg1;
5292 int _arg2;
5293 PyObject * _argo0 = 0;
5294 char *_kwnames[] = { "self","row","col", NULL };
5295
5296 self = self;
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
5298 return NULL;
5299 if (_argo0) {
5300 if (_argo0 == Py_None) { _arg0 = NULL; }
5301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
5303 return NULL;
5304 }
5305 }
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) return NULL;
5312 } _resultobj = Py_BuildValue("i",_result);
5313 return _resultobj;
5314 }
5315
5316 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
5317 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5318 PyObject * _resultobj;
5319 wxString * _result;
5320 wxGridTableBase * _arg0;
5321 int _arg1;
5322 int _arg2;
5323 PyObject * _argo0 = 0;
5324 char *_kwnames[] = { "self","row","col", NULL };
5325
5326 self = self;
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
5328 return NULL;
5329 if (_argo0) {
5330 if (_argo0 == Py_None) { _arg0 = NULL; }
5331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5333 return NULL;
5334 }
5335 }
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) return NULL;
5342 }{
5343 #if wxUSE_UNICODE
5344 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5345 #else
5346 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5347 #endif
5348 }
5349 {
5350 delete _result;
5351 }
5352 return _resultobj;
5353 }
5354
5355 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5356 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5357 PyObject * _resultobj;
5358 wxGridTableBase * _arg0;
5359 int _arg1;
5360 int _arg2;
5361 wxString * _arg3;
5362 PyObject * _argo0 = 0;
5363 PyObject * _obj3 = 0;
5364 char *_kwnames[] = { "self","row","col","value", NULL };
5365
5366 self = self;
5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5368 return NULL;
5369 if (_argo0) {
5370 if (_argo0 == Py_None) { _arg0 = NULL; }
5371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5373 return NULL;
5374 }
5375 }
5376 {
5377 _arg3 = wxString_in_helper(_obj3);
5378 if (_arg3 == NULL)
5379 return NULL;
5380 }
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) return NULL;
5387 } Py_INCREF(Py_None);
5388 _resultobj = Py_None;
5389 {
5390 if (_obj3)
5391 delete _arg3;
5392 }
5393 return _resultobj;
5394 }
5395
5396 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5397 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject * _resultobj;
5399 wxString * _result;
5400 wxGridTableBase * _arg0;
5401 int _arg1;
5402 int _arg2;
5403 PyObject * _argo0 = 0;
5404 char *_kwnames[] = { "self","row","col", NULL };
5405
5406 self = self;
5407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5408 return NULL;
5409 if (_argo0) {
5410 if (_argo0 == Py_None) { _arg0 = NULL; }
5411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5413 return NULL;
5414 }
5415 }
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) return NULL;
5422 }{
5423 #if wxUSE_UNICODE
5424 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5425 #else
5426 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5427 #endif
5428 }
5429 {
5430 delete _result;
5431 }
5432 return _resultobj;
5433 }
5434
5435 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5436 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject * _resultobj;
5438 bool _result;
5439 wxGridTableBase * _arg0;
5440 int _arg1;
5441 int _arg2;
5442 wxString * _arg3;
5443 PyObject * _argo0 = 0;
5444 PyObject * _obj3 = 0;
5445 char *_kwnames[] = { "self","row","col","typeName", NULL };
5446
5447 self = self;
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5449 return NULL;
5450 if (_argo0) {
5451 if (_argo0 == Py_None) { _arg0 = NULL; }
5452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5454 return NULL;
5455 }
5456 }
5457 {
5458 _arg3 = wxString_in_helper(_obj3);
5459 if (_arg3 == NULL)
5460 return NULL;
5461 }
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) return NULL;
5468 } _resultobj = Py_BuildValue("i",_result);
5469 {
5470 if (_obj3)
5471 delete _arg3;
5472 }
5473 return _resultobj;
5474 }
5475
5476 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5477 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject * _resultobj;
5479 bool _result;
5480 wxGridTableBase * _arg0;
5481 int _arg1;
5482 int _arg2;
5483 wxString * _arg3;
5484 PyObject * _argo0 = 0;
5485 PyObject * _obj3 = 0;
5486 char *_kwnames[] = { "self","row","col","typeName", NULL };
5487
5488 self = self;
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5490 return NULL;
5491 if (_argo0) {
5492 if (_argo0 == Py_None) { _arg0 = NULL; }
5493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5495 return NULL;
5496 }
5497 }
5498 {
5499 _arg3 = wxString_in_helper(_obj3);
5500 if (_arg3 == NULL)
5501 return NULL;
5502 }
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) return NULL;
5509 } _resultobj = Py_BuildValue("i",_result);
5510 {
5511 if (_obj3)
5512 delete _arg3;
5513 }
5514 return _resultobj;
5515 }
5516
5517 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5518 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject * _resultobj;
5520 long _result;
5521 wxGridTableBase * _arg0;
5522 int _arg1;
5523 int _arg2;
5524 PyObject * _argo0 = 0;
5525 char *_kwnames[] = { "self","row","col", NULL };
5526
5527 self = self;
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
5529 return NULL;
5530 if (_argo0) {
5531 if (_argo0 == Py_None) { _arg0 = NULL; }
5532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5534 return NULL;
5535 }
5536 }
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) return NULL;
5543 } _resultobj = Py_BuildValue("l",_result);
5544 return _resultobj;
5545 }
5546
5547 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5548 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5549 PyObject * _resultobj;
5550 double _result;
5551 wxGridTableBase * _arg0;
5552 int _arg1;
5553 int _arg2;
5554 PyObject * _argo0 = 0;
5555 char *_kwnames[] = { "self","row","col", NULL };
5556
5557 self = self;
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
5559 return NULL;
5560 if (_argo0) {
5561 if (_argo0 == Py_None) { _arg0 = NULL; }
5562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5564 return NULL;
5565 }
5566 }
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) return NULL;
5573 } _resultobj = Py_BuildValue("d",_result);
5574 return _resultobj;
5575 }
5576
5577 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5578 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5579 PyObject * _resultobj;
5580 bool _result;
5581 wxGridTableBase * _arg0;
5582 int _arg1;
5583 int _arg2;
5584 PyObject * _argo0 = 0;
5585 char *_kwnames[] = { "self","row","col", NULL };
5586
5587 self = self;
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
5589 return NULL;
5590 if (_argo0) {
5591 if (_argo0 == Py_None) { _arg0 = NULL; }
5592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5594 return NULL;
5595 }
5596 }
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) return NULL;
5603 } _resultobj = Py_BuildValue("i",_result);
5604 return _resultobj;
5605 }
5606
5607 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5608 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5609 PyObject * _resultobj;
5610 wxGridTableBase * _arg0;
5611 int _arg1;
5612 int _arg2;
5613 long _arg3;
5614 PyObject * _argo0 = 0;
5615 char *_kwnames[] = { "self","row","col","value", NULL };
5616
5617 self = self;
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5619 return NULL;
5620 if (_argo0) {
5621 if (_argo0 == Py_None) { _arg0 = NULL; }
5622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5624 return NULL;
5625 }
5626 }
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) return NULL;
5633 } Py_INCREF(Py_None);
5634 _resultobj = Py_None;
5635 return _resultobj;
5636 }
5637
5638 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5639 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject * _resultobj;
5641 wxGridTableBase * _arg0;
5642 int _arg1;
5643 int _arg2;
5644 double _arg3;
5645 PyObject * _argo0 = 0;
5646 char *_kwnames[] = { "self","row","col","value", NULL };
5647
5648 self = self;
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5650 return NULL;
5651 if (_argo0) {
5652 if (_argo0 == Py_None) { _arg0 = NULL; }
5653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5655 return NULL;
5656 }
5657 }
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) return NULL;
5664 } Py_INCREF(Py_None);
5665 _resultobj = Py_None;
5666 return _resultobj;
5667 }
5668
5669 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5670 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5671 PyObject * _resultobj;
5672 wxGridTableBase * _arg0;
5673 int _arg1;
5674 int _arg2;
5675 bool _arg3;
5676 PyObject * _argo0 = 0;
5677 int tempbool3;
5678 char *_kwnames[] = { "self","row","col","value", NULL };
5679
5680 self = self;
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5682 return NULL;
5683 if (_argo0) {
5684 if (_argo0 == Py_None) { _arg0 = NULL; }
5685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5687 return NULL;
5688 }
5689 }
5690 _arg3 = (bool ) tempbool3;
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) return NULL;
5697 } Py_INCREF(Py_None);
5698 _resultobj = Py_None;
5699 return _resultobj;
5700 }
5701
5702 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5703 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject * _resultobj;
5705 wxGridTableBase * _arg0;
5706 PyObject * _argo0 = 0;
5707 char *_kwnames[] = { "self", NULL };
5708
5709 self = self;
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5711 return NULL;
5712 if (_argo0) {
5713 if (_argo0 == Py_None) { _arg0 = NULL; }
5714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5716 return NULL;
5717 }
5718 }
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 wxGridTableBase_Clear(_arg0);
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) return NULL;
5725 } Py_INCREF(Py_None);
5726 _resultobj = Py_None;
5727 return _resultobj;
5728 }
5729
5730 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5731 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject * _resultobj;
5733 bool _result;
5734 wxGridTableBase * _arg0;
5735 size_t _arg1 = (size_t ) 0;
5736 size_t _arg2 = (size_t ) 1;
5737 PyObject * _argo0 = 0;
5738 char *_kwnames[] = { "self","pos","numRows", NULL };
5739
5740 self = self;
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5742 return NULL;
5743 if (_argo0) {
5744 if (_argo0 == Py_None) { _arg0 = NULL; }
5745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5747 return NULL;
5748 }
5749 }
5750 {
5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
5752 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5753
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) return NULL;
5756 } _resultobj = Py_BuildValue("i",_result);
5757 return _resultobj;
5758 }
5759
5760 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5761 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5762 PyObject * _resultobj;
5763 bool _result;
5764 wxGridTableBase * _arg0;
5765 size_t _arg1 = (size_t ) 1;
5766 PyObject * _argo0 = 0;
5767 char *_kwnames[] = { "self","numRows", NULL };
5768
5769 self = self;
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5771 return NULL;
5772 if (_argo0) {
5773 if (_argo0 == Py_None) { _arg0 = NULL; }
5774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5776 return NULL;
5777 }
5778 }
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) return NULL;
5785 } _resultobj = Py_BuildValue("i",_result);
5786 return _resultobj;
5787 }
5788
5789 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5790 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5791 PyObject * _resultobj;
5792 bool _result;
5793 wxGridTableBase * _arg0;
5794 size_t _arg1 = (size_t ) 0;
5795 size_t _arg2 = (size_t ) 1;
5796 PyObject * _argo0 = 0;
5797 char *_kwnames[] = { "self","pos","numRows", NULL };
5798
5799 self = self;
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5801 return NULL;
5802 if (_argo0) {
5803 if (_argo0 == Py_None) { _arg0 = NULL; }
5804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5806 return NULL;
5807 }
5808 }
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) return NULL;
5815 } _resultobj = Py_BuildValue("i",_result);
5816 return _resultobj;
5817 }
5818
5819 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5820 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5821 PyObject * _resultobj;
5822 bool _result;
5823 wxGridTableBase * _arg0;
5824 size_t _arg1 = (size_t ) 0;
5825 size_t _arg2 = (size_t ) 1;
5826 PyObject * _argo0 = 0;
5827 char *_kwnames[] = { "self","pos","numCols", NULL };
5828
5829 self = self;
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5831 return NULL;
5832 if (_argo0) {
5833 if (_argo0 == Py_None) { _arg0 = NULL; }
5834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5836 return NULL;
5837 }
5838 }
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) return NULL;
5845 } _resultobj = Py_BuildValue("i",_result);
5846 return _resultobj;
5847 }
5848
5849 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5850 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5851 PyObject * _resultobj;
5852 bool _result;
5853 wxGridTableBase * _arg0;
5854 size_t _arg1 = (size_t ) 1;
5855 PyObject * _argo0 = 0;
5856 char *_kwnames[] = { "self","numCols", NULL };
5857
5858 self = self;
5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5860 return NULL;
5861 if (_argo0) {
5862 if (_argo0 == Py_None) { _arg0 = NULL; }
5863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5865 return NULL;
5866 }
5867 }
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) return NULL;
5874 } _resultobj = Py_BuildValue("i",_result);
5875 return _resultobj;
5876 }
5877
5878 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5879 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject * _resultobj;
5881 bool _result;
5882 wxGridTableBase * _arg0;
5883 size_t _arg1 = (size_t ) 0;
5884 size_t _arg2 = (size_t ) 1;
5885 PyObject * _argo0 = 0;
5886 char *_kwnames[] = { "self","pos","numCols", NULL };
5887
5888 self = self;
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5890 return NULL;
5891 if (_argo0) {
5892 if (_argo0 == Py_None) { _arg0 = NULL; }
5893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5895 return NULL;
5896 }
5897 }
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) return NULL;
5904 } _resultobj = Py_BuildValue("i",_result);
5905 return _resultobj;
5906 }
5907
5908 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5909 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject * _resultobj;
5911 wxString * _result;
5912 wxGridTableBase * _arg0;
5913 int _arg1;
5914 PyObject * _argo0 = 0;
5915 char *_kwnames[] = { "self","row", NULL };
5916
5917 self = self;
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5919 return NULL;
5920 if (_argo0) {
5921 if (_argo0 == Py_None) { _arg0 = NULL; }
5922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5924 return NULL;
5925 }
5926 }
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) return NULL;
5933 }{
5934 #if wxUSE_UNICODE
5935 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5936 #else
5937 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5938 #endif
5939 }
5940 {
5941 delete _result;
5942 }
5943 return _resultobj;
5944 }
5945
5946 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5947 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject * _resultobj;
5949 wxString * _result;
5950 wxGridTableBase * _arg0;
5951 int _arg1;
5952 PyObject * _argo0 = 0;
5953 char *_kwnames[] = { "self","col", NULL };
5954
5955 self = self;
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5957 return NULL;
5958 if (_argo0) {
5959 if (_argo0 == Py_None) { _arg0 = NULL; }
5960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5962 return NULL;
5963 }
5964 }
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) return NULL;
5971 }{
5972 #if wxUSE_UNICODE
5973 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5974 #else
5975 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5976 #endif
5977 }
5978 {
5979 delete _result;
5980 }
5981 return _resultobj;
5982 }
5983
5984 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5985 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject * _resultobj;
5987 wxGridTableBase * _arg0;
5988 int _arg1;
5989 wxString * _arg2;
5990 PyObject * _argo0 = 0;
5991 PyObject * _obj2 = 0;
5992 char *_kwnames[] = { "self","row","value", NULL };
5993
5994 self = self;
5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5996 return NULL;
5997 if (_argo0) {
5998 if (_argo0 == Py_None) { _arg0 = NULL; }
5999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
6001 return NULL;
6002 }
6003 }
6004 {
6005 _arg2 = wxString_in_helper(_obj2);
6006 if (_arg2 == NULL)
6007 return NULL;
6008 }
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
6012
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) return NULL;
6015 } Py_INCREF(Py_None);
6016 _resultobj = Py_None;
6017 {
6018 if (_obj2)
6019 delete _arg2;
6020 }
6021 return _resultobj;
6022 }
6023
6024 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
6025 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6026 PyObject * _resultobj;
6027 wxGridTableBase * _arg0;
6028 int _arg1;
6029 wxString * _arg2;
6030 PyObject * _argo0 = 0;
6031 PyObject * _obj2 = 0;
6032 char *_kwnames[] = { "self","col","value", NULL };
6033
6034 self = self;
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6036 return NULL;
6037 if (_argo0) {
6038 if (_argo0 == Py_None) { _arg0 = NULL; }
6039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
6041 return NULL;
6042 }
6043 }
6044 {
6045 _arg2 = wxString_in_helper(_obj2);
6046 if (_arg2 == NULL)
6047 return NULL;
6048 }
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) return NULL;
6055 } Py_INCREF(Py_None);
6056 _resultobj = Py_None;
6057 {
6058 if (_obj2)
6059 delete _arg2;
6060 }
6061 return _resultobj;
6062 }
6063
6064 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
6065 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject * _resultobj;
6067 bool _result;
6068 wxGridTableBase * _arg0;
6069 PyObject * _argo0 = 0;
6070 char *_kwnames[] = { "self", NULL };
6071
6072 self = self;
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
6074 return NULL;
6075 if (_argo0) {
6076 if (_argo0 == Py_None) { _arg0 = NULL; }
6077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
6079 return NULL;
6080 }
6081 }
6082 {
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
6084 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
6085
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) return NULL;
6088 } _resultobj = Py_BuildValue("i",_result);
6089 return _resultobj;
6090 }
6091
6092 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
6093 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject * _resultobj;
6095 wxGridCellAttr * _result;
6096 wxGridTableBase * _arg0;
6097 int _arg1;
6098 int _arg2;
6099 wxGridCellAttr::wxAttrKind _arg3;
6100 PyObject * _argo0 = 0;
6101 char *_kwnames[] = { "self","row","col","kind", NULL };
6102
6103 self = self;
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6105 return NULL;
6106 if (_argo0) {
6107 if (_argo0 == Py_None) { _arg0 = NULL; }
6108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
6110 return NULL;
6111 }
6112 }
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) return NULL;
6119 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
6120 return _resultobj;
6121 }
6122
6123 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
6124 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject * _resultobj;
6126 wxGridTableBase * _arg0;
6127 wxGridCellAttr * _arg1;
6128 int _arg2;
6129 int _arg3;
6130 PyObject * _argo0 = 0;
6131 PyObject * _argo1 = 0;
6132 char *_kwnames[] = { "self","attr","row","col", NULL };
6133
6134 self = self;
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6136 return NULL;
6137 if (_argo0) {
6138 if (_argo0 == Py_None) { _arg0 = NULL; }
6139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
6141 return NULL;
6142 }
6143 }
6144 if (_argo1) {
6145 if (_argo1 == Py_None) { _arg1 = NULL; }
6146 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6147 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
6148 return NULL;
6149 }
6150 }
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) return NULL;
6157 } Py_INCREF(Py_None);
6158 _resultobj = Py_None;
6159 return _resultobj;
6160 }
6161
6162 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
6163 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject * _resultobj;
6165 wxGridTableBase * _arg0;
6166 wxGridCellAttr * _arg1;
6167 int _arg2;
6168 PyObject * _argo0 = 0;
6169 PyObject * _argo1 = 0;
6170 char *_kwnames[] = { "self","attr","row", NULL };
6171
6172 self = self;
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6174 return NULL;
6175 if (_argo0) {
6176 if (_argo0 == Py_None) { _arg0 = NULL; }
6177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
6179 return NULL;
6180 }
6181 }
6182 if (_argo1) {
6183 if (_argo1 == Py_None) { _arg1 = NULL; }
6184 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6185 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
6186 return NULL;
6187 }
6188 }
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
6192
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) return NULL;
6195 } Py_INCREF(Py_None);
6196 _resultobj = Py_None;
6197 return _resultobj;
6198 }
6199
6200 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
6201 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject * _resultobj;
6203 wxGridTableBase * _arg0;
6204 wxGridCellAttr * _arg1;
6205 int _arg2;
6206 PyObject * _argo0 = 0;
6207 PyObject * _argo1 = 0;
6208 char *_kwnames[] = { "self","attr","col", NULL };
6209
6210 self = self;
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6212 return NULL;
6213 if (_argo0) {
6214 if (_argo0 == Py_None) { _arg0 = NULL; }
6215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
6217 return NULL;
6218 }
6219 }
6220 if (_argo1) {
6221 if (_argo1 == Py_None) { _arg1 = NULL; }
6222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
6224 return NULL;
6225 }
6226 }
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
6230
6231 wxPyEndAllowThreads(__tstate);
6232 if (PyErr_Occurred()) return NULL;
6233 } Py_INCREF(Py_None);
6234 _resultobj = Py_None;
6235 return _resultobj;
6236 }
6237
6238 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
6239 wxPyGridTableBase *src;
6240 wxGridTableBase *dest;
6241 src = (wxPyGridTableBase *) ptr;
6242 dest = (wxGridTableBase *) src;
6243 return (void *) dest;
6244 }
6245
6246 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
6247 wxPyGridTableBase *src;
6248 wxObject *dest;
6249 src = (wxPyGridTableBase *) ptr;
6250 dest = (wxObject *) src;
6251 return (void *) dest;
6252 }
6253
6254 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
6255 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject * _resultobj;
6257 wxPyGridTableBase * _result;
6258 char *_kwnames[] = { NULL };
6259 char _ptemp[128];
6260
6261 self = self;
6262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
6263 return NULL;
6264 {
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
6267
6268 wxPyEndAllowThreads(__tstate);
6269 if (PyErr_Occurred()) return NULL;
6270 } if (_result) {
6271 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
6272 _resultobj = Py_BuildValue("s",_ptemp);
6273 } else {
6274 Py_INCREF(Py_None);
6275 _resultobj = Py_None;
6276 }
6277 return _resultobj;
6278 }
6279
6280 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6281 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6282 PyObject * _resultobj;
6283 wxPyGridTableBase * _arg0;
6284 PyObject * _arg1;
6285 PyObject * _arg2;
6286 PyObject * _argo0 = 0;
6287 PyObject * _obj1 = 0;
6288 PyObject * _obj2 = 0;
6289 char *_kwnames[] = { "self","self","_class", NULL };
6290
6291 self = self;
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
6293 return NULL;
6294 if (_argo0) {
6295 if (_argo0 == Py_None) { _arg0 = NULL; }
6296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
6298 return NULL;
6299 }
6300 }
6301 {
6302 _arg1 = _obj1;
6303 }
6304 {
6305 _arg2 = _obj2;
6306 }
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) return NULL;
6313 } Py_INCREF(Py_None);
6314 _resultobj = Py_None;
6315 return _resultobj;
6316 }
6317
6318 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
6319 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject * _resultobj;
6321 wxPyGridTableBase * _arg0;
6322 PyObject * _argo0 = 0;
6323 char *_kwnames[] = { "self", NULL };
6324
6325 self = self;
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
6327 return NULL;
6328 if (_argo0) {
6329 if (_argo0 == Py_None) { _arg0 = NULL; }
6330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6332 return NULL;
6333 }
6334 }
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 wxPyGridTableBase_Destroy(_arg0);
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) return NULL;
6341 } Py_INCREF(Py_None);
6342 _resultobj = Py_None;
6343 return _resultobj;
6344 }
6345
6346 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6347 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject * _resultobj;
6349 wxString * _result;
6350 wxPyGridTableBase * _arg0;
6351 int _arg1;
6352 int _arg2;
6353 PyObject * _argo0 = 0;
6354 char *_kwnames[] = { "self","row","col", NULL };
6355
6356 self = self;
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
6358 return NULL;
6359 if (_argo0) {
6360 if (_argo0 == Py_None) { _arg0 = NULL; }
6361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6363 return NULL;
6364 }
6365 }
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) return NULL;
6372 }{
6373 #if wxUSE_UNICODE
6374 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6375 #else
6376 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6377 #endif
6378 }
6379 {
6380 delete _result;
6381 }
6382 return _resultobj;
6383 }
6384
6385 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6386 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6387 PyObject * _resultobj;
6388 bool _result;
6389 wxPyGridTableBase * _arg0;
6390 int _arg1;
6391 int _arg2;
6392 wxString * _arg3;
6393 PyObject * _argo0 = 0;
6394 PyObject * _obj3 = 0;
6395 char *_kwnames[] = { "self","row","col","typeName", NULL };
6396
6397 self = self;
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6399 return NULL;
6400 if (_argo0) {
6401 if (_argo0 == Py_None) { _arg0 = NULL; }
6402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6404 return NULL;
6405 }
6406 }
6407 {
6408 _arg3 = wxString_in_helper(_obj3);
6409 if (_arg3 == NULL)
6410 return NULL;
6411 }
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) return NULL;
6418 } _resultobj = Py_BuildValue("i",_result);
6419 {
6420 if (_obj3)
6421 delete _arg3;
6422 }
6423 return _resultobj;
6424 }
6425
6426 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6427 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject * _resultobj;
6429 bool _result;
6430 wxPyGridTableBase * _arg0;
6431 int _arg1;
6432 int _arg2;
6433 wxString * _arg3;
6434 PyObject * _argo0 = 0;
6435 PyObject * _obj3 = 0;
6436 char *_kwnames[] = { "self","row","col","typeName", NULL };
6437
6438 self = self;
6439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6440 return NULL;
6441 if (_argo0) {
6442 if (_argo0 == Py_None) { _arg0 = NULL; }
6443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6445 return NULL;
6446 }
6447 }
6448 {
6449 _arg3 = wxString_in_helper(_obj3);
6450 if (_arg3 == NULL)
6451 return NULL;
6452 }
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) return NULL;
6459 } _resultobj = Py_BuildValue("i",_result);
6460 {
6461 if (_obj3)
6462 delete _arg3;
6463 }
6464 return _resultobj;
6465 }
6466
6467 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6468 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject * _resultobj;
6470 wxPyGridTableBase * _arg0;
6471 PyObject * _argo0 = 0;
6472 char *_kwnames[] = { "self", NULL };
6473
6474 self = self;
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
6476 return NULL;
6477 if (_argo0) {
6478 if (_argo0 == Py_None) { _arg0 = NULL; }
6479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6481 return NULL;
6482 }
6483 }
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 wxPyGridTableBase_base_Clear(_arg0);
6487
6488 wxPyEndAllowThreads(__tstate);
6489 if (PyErr_Occurred()) return NULL;
6490 } Py_INCREF(Py_None);
6491 _resultobj = Py_None;
6492 return _resultobj;
6493 }
6494
6495 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6496 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6497 PyObject * _resultobj;
6498 bool _result;
6499 wxPyGridTableBase * _arg0;
6500 size_t _arg1 = (size_t ) 0;
6501 size_t _arg2 = (size_t ) 1;
6502 PyObject * _argo0 = 0;
6503 char *_kwnames[] = { "self","pos","numRows", NULL };
6504
6505 self = self;
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
6507 return NULL;
6508 if (_argo0) {
6509 if (_argo0 == Py_None) { _arg0 = NULL; }
6510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6512 return NULL;
6513 }
6514 }
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) return NULL;
6521 } _resultobj = Py_BuildValue("i",_result);
6522 return _resultobj;
6523 }
6524
6525 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6526 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6527 PyObject * _resultobj;
6528 bool _result;
6529 wxPyGridTableBase * _arg0;
6530 size_t _arg1 = (size_t ) 1;
6531 PyObject * _argo0 = 0;
6532 char *_kwnames[] = { "self","numRows", NULL };
6533
6534 self = self;
6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
6536 return NULL;
6537 if (_argo0) {
6538 if (_argo0 == Py_None) { _arg0 = NULL; }
6539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6541 return NULL;
6542 }
6543 }
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) return NULL;
6550 } _resultobj = Py_BuildValue("i",_result);
6551 return _resultobj;
6552 }
6553
6554 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6555 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6556 PyObject * _resultobj;
6557 bool _result;
6558 wxPyGridTableBase * _arg0;
6559 size_t _arg1 = (size_t ) 0;
6560 size_t _arg2 = (size_t ) 1;
6561 PyObject * _argo0 = 0;
6562 char *_kwnames[] = { "self","pos","numRows", NULL };
6563
6564 self = self;
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
6566 return NULL;
6567 if (_argo0) {
6568 if (_argo0 == Py_None) { _arg0 = NULL; }
6569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6571 return NULL;
6572 }
6573 }
6574 {
6575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6576 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) return NULL;
6580 } _resultobj = Py_BuildValue("i",_result);
6581 return _resultobj;
6582 }
6583
6584 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6585 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject * _resultobj;
6587 bool _result;
6588 wxPyGridTableBase * _arg0;
6589 size_t _arg1 = (size_t ) 0;
6590 size_t _arg2 = (size_t ) 1;
6591 PyObject * _argo0 = 0;
6592 char *_kwnames[] = { "self","pos","numCols", NULL };
6593
6594 self = self;
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
6596 return NULL;
6597 if (_argo0) {
6598 if (_argo0 == Py_None) { _arg0 = NULL; }
6599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6601 return NULL;
6602 }
6603 }
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) return NULL;
6610 } _resultobj = Py_BuildValue("i",_result);
6611 return _resultobj;
6612 }
6613
6614 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6615 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6616 PyObject * _resultobj;
6617 bool _result;
6618 wxPyGridTableBase * _arg0;
6619 size_t _arg1 = (size_t ) 1;
6620 PyObject * _argo0 = 0;
6621 char *_kwnames[] = { "self","numCols", NULL };
6622
6623 self = self;
6624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
6625 return NULL;
6626 if (_argo0) {
6627 if (_argo0 == Py_None) { _arg0 = NULL; }
6628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6630 return NULL;
6631 }
6632 }
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) return NULL;
6639 } _resultobj = Py_BuildValue("i",_result);
6640 return _resultobj;
6641 }
6642
6643 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6644 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6645 PyObject * _resultobj;
6646 bool _result;
6647 wxPyGridTableBase * _arg0;
6648 size_t _arg1 = (size_t ) 0;
6649 size_t _arg2 = (size_t ) 1;
6650 PyObject * _argo0 = 0;
6651 char *_kwnames[] = { "self","pos","numCols", NULL };
6652
6653 self = self;
6654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6655 return NULL;
6656 if (_argo0) {
6657 if (_argo0 == Py_None) { _arg0 = NULL; }
6658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6660 return NULL;
6661 }
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) return NULL;
6669 } _resultobj = Py_BuildValue("i",_result);
6670 return _resultobj;
6671 }
6672
6673 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6674 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject * _resultobj;
6676 wxString * _result;
6677 wxPyGridTableBase * _arg0;
6678 int _arg1;
6679 PyObject * _argo0 = 0;
6680 char *_kwnames[] = { "self","row", NULL };
6681
6682 self = self;
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6684 return NULL;
6685 if (_argo0) {
6686 if (_argo0 == Py_None) { _arg0 = NULL; }
6687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6689 return NULL;
6690 }
6691 }
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6695
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) return NULL;
6698 }{
6699 #if wxUSE_UNICODE
6700 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6701 #else
6702 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6703 #endif
6704 }
6705 {
6706 delete _result;
6707 }
6708 return _resultobj;
6709 }
6710
6711 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6712 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6713 PyObject * _resultobj;
6714 wxString * _result;
6715 wxPyGridTableBase * _arg0;
6716 int _arg1;
6717 PyObject * _argo0 = 0;
6718 char *_kwnames[] = { "self","col", NULL };
6719
6720 self = self;
6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6722 return NULL;
6723 if (_argo0) {
6724 if (_argo0 == Py_None) { _arg0 = NULL; }
6725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6727 return NULL;
6728 }
6729 }
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) return NULL;
6736 }{
6737 #if wxUSE_UNICODE
6738 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6739 #else
6740 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6741 #endif
6742 }
6743 {
6744 delete _result;
6745 }
6746 return _resultobj;
6747 }
6748
6749 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6750 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject * _resultobj;
6752 wxPyGridTableBase * _arg0;
6753 int _arg1;
6754 wxString * _arg2;
6755 PyObject * _argo0 = 0;
6756 PyObject * _obj2 = 0;
6757 char *_kwnames[] = { "self","row","value", NULL };
6758
6759 self = self;
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6761 return NULL;
6762 if (_argo0) {
6763 if (_argo0 == Py_None) { _arg0 = NULL; }
6764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6766 return NULL;
6767 }
6768 }
6769 {
6770 _arg2 = wxString_in_helper(_obj2);
6771 if (_arg2 == NULL)
6772 return NULL;
6773 }
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) return NULL;
6780 } Py_INCREF(Py_None);
6781 _resultobj = Py_None;
6782 {
6783 if (_obj2)
6784 delete _arg2;
6785 }
6786 return _resultobj;
6787 }
6788
6789 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6790 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject * _resultobj;
6792 wxPyGridTableBase * _arg0;
6793 int _arg1;
6794 wxString * _arg2;
6795 PyObject * _argo0 = 0;
6796 PyObject * _obj2 = 0;
6797 char *_kwnames[] = { "self","col","value", NULL };
6798
6799 self = self;
6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6801 return NULL;
6802 if (_argo0) {
6803 if (_argo0 == Py_None) { _arg0 = NULL; }
6804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6806 return NULL;
6807 }
6808 }
6809 {
6810 _arg2 = wxString_in_helper(_obj2);
6811 if (_arg2 == NULL)
6812 return NULL;
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) return NULL;
6820 } Py_INCREF(Py_None);
6821 _resultobj = Py_None;
6822 {
6823 if (_obj2)
6824 delete _arg2;
6825 }
6826 return _resultobj;
6827 }
6828
6829 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6830 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject * _resultobj;
6832 bool _result;
6833 wxPyGridTableBase * _arg0;
6834 PyObject * _argo0 = 0;
6835 char *_kwnames[] = { "self", NULL };
6836
6837 self = self;
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6839 return NULL;
6840 if (_argo0) {
6841 if (_argo0 == Py_None) { _arg0 = NULL; }
6842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6844 return NULL;
6845 }
6846 }
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) return NULL;
6853 } _resultobj = Py_BuildValue("i",_result);
6854 return _resultobj;
6855 }
6856
6857 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6858 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject * _resultobj;
6860 wxGridCellAttr * _result;
6861 wxPyGridTableBase * _arg0;
6862 int _arg1;
6863 int _arg2;
6864 wxGridCellAttr::wxAttrKind _arg3;
6865 PyObject * _argo0 = 0;
6866 char *_kwnames[] = { "self","row","col","kind", NULL };
6867
6868 self = self;
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6870 return NULL;
6871 if (_argo0) {
6872 if (_argo0 == Py_None) { _arg0 = NULL; }
6873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6875 return NULL;
6876 }
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) return NULL;
6884 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
6885 return _resultobj;
6886 }
6887
6888 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6889 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject * _resultobj;
6891 wxPyGridTableBase * _arg0;
6892 wxGridCellAttr * _arg1;
6893 int _arg2;
6894 int _arg3;
6895 PyObject * _argo0 = 0;
6896 PyObject * _argo1 = 0;
6897 char *_kwnames[] = { "self","attr","row","col", NULL };
6898
6899 self = self;
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6901 return NULL;
6902 if (_argo0) {
6903 if (_argo0 == Py_None) { _arg0 = NULL; }
6904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6906 return NULL;
6907 }
6908 }
6909 if (_argo1) {
6910 if (_argo1 == Py_None) { _arg1 = NULL; }
6911 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6912 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6913 return NULL;
6914 }
6915 }
6916 {
6917 PyThreadState* __tstate = wxPyBeginAllowThreads();
6918 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6919
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) return NULL;
6922 } Py_INCREF(Py_None);
6923 _resultobj = Py_None;
6924 return _resultobj;
6925 }
6926
6927 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6928 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject * _resultobj;
6930 wxPyGridTableBase * _arg0;
6931 wxGridCellAttr * _arg1;
6932 int _arg2;
6933 PyObject * _argo0 = 0;
6934 PyObject * _argo1 = 0;
6935 char *_kwnames[] = { "self","attr","row", NULL };
6936
6937 self = self;
6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6939 return NULL;
6940 if (_argo0) {
6941 if (_argo0 == Py_None) { _arg0 = NULL; }
6942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6944 return NULL;
6945 }
6946 }
6947 if (_argo1) {
6948 if (_argo1 == Py_None) { _arg1 = NULL; }
6949 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6950 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6951 return NULL;
6952 }
6953 }
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) return NULL;
6960 } Py_INCREF(Py_None);
6961 _resultobj = Py_None;
6962 return _resultobj;
6963 }
6964
6965 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6966 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject * _resultobj;
6968 wxPyGridTableBase * _arg0;
6969 wxGridCellAttr * _arg1;
6970 int _arg2;
6971 PyObject * _argo0 = 0;
6972 PyObject * _argo1 = 0;
6973 char *_kwnames[] = { "self","attr","col", NULL };
6974
6975 self = self;
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6977 return NULL;
6978 if (_argo0) {
6979 if (_argo0 == Py_None) { _arg0 = NULL; }
6980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6982 return NULL;
6983 }
6984 }
6985 if (_argo1) {
6986 if (_argo1 == Py_None) { _arg1 = NULL; }
6987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6989 return NULL;
6990 }
6991 }
6992 {
6993 PyThreadState* __tstate = wxPyBeginAllowThreads();
6994 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6995
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) return NULL;
6998 } Py_INCREF(Py_None);
6999 _resultobj = Py_None;
7000 return _resultobj;
7001 }
7002
7003 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
7004 wxGridStringTable *src;
7005 wxGridTableBase *dest;
7006 src = (wxGridStringTable *) ptr;
7007 dest = (wxGridTableBase *) src;
7008 return (void *) dest;
7009 }
7010
7011 static void *SwigwxGridStringTableTowxObject(void *ptr) {
7012 wxGridStringTable *src;
7013 wxObject *dest;
7014 src = (wxGridStringTable *) ptr;
7015 dest = (wxObject *) src;
7016 return (void *) dest;
7017 }
7018
7019 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
7020 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject * _resultobj;
7022 wxGridStringTable * _result;
7023 int _arg0 = (int ) 0;
7024 int _arg1 = (int ) 0;
7025 char *_kwnames[] = { "numRows","numCols", NULL };
7026 char _ptemp[128];
7027
7028 self = self;
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
7030 return NULL;
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) return NULL;
7037 } if (_result) {
7038 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
7039 _resultobj = Py_BuildValue("s",_ptemp);
7040 } else {
7041 Py_INCREF(Py_None);
7042 _resultobj = Py_None;
7043 }
7044 return _resultobj;
7045 }
7046
7047 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7048 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject * _resultobj;
7050 wxGridTableMessage * _result;
7051 wxGridTableBase * _arg0;
7052 int _arg1;
7053 int _arg2 = (int ) -1;
7054 int _arg3 = (int ) -1;
7055 PyObject * _argo0 = 0;
7056 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
7057 char _ptemp[128];
7058
7059 self = self;
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7061 return NULL;
7062 if (_argo0) {
7063 if (_argo0 == Py_None) { _arg0 = NULL; }
7064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
7065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
7066 return NULL;
7067 }
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) return NULL;
7075 } if (_result) {
7076 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
7077 _resultobj = Py_BuildValue("s",_ptemp);
7078 } else {
7079 Py_INCREF(Py_None);
7080 _resultobj = Py_None;
7081 }
7082 return _resultobj;
7083 }
7084
7085 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
7086 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject * _resultobj;
7088 wxGridTableMessage * _arg0;
7089 PyObject * _argo0 = 0;
7090 char *_kwnames[] = { "self", NULL };
7091
7092 self = self;
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
7094 return NULL;
7095 if (_argo0) {
7096 if (_argo0 == Py_None) { _arg0 = NULL; }
7097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
7099 return NULL;
7100 }
7101 }
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 delete_wxGridTableMessage(_arg0);
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) return NULL;
7108 } Py_INCREF(Py_None);
7109 _resultobj = Py_None;
7110 return _resultobj;
7111 }
7112
7113 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
7114 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject * _resultobj;
7116 wxGridTableMessage * _arg0;
7117 wxGridTableBase * _arg1;
7118 PyObject * _argo0 = 0;
7119 PyObject * _argo1 = 0;
7120 char *_kwnames[] = { "self","table", NULL };
7121
7122 self = self;
7123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
7124 return NULL;
7125 if (_argo0) {
7126 if (_argo0 == Py_None) { _arg0 = NULL; }
7127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
7129 return NULL;
7130 }
7131 }
7132 if (_argo1) {
7133 if (_argo1 == Py_None) { _arg1 = NULL; }
7134 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7135 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
7136 return NULL;
7137 }
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 wxGridTableMessage_SetTableObject(_arg0,_arg1);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) return NULL;
7145 } Py_INCREF(Py_None);
7146 _resultobj = Py_None;
7147 return _resultobj;
7148 }
7149
7150 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
7151 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject * _resultobj;
7153 wxGridTableBase * _result;
7154 wxGridTableMessage * _arg0;
7155 PyObject * _argo0 = 0;
7156 char *_kwnames[] = { "self", NULL };
7157
7158 self = self;
7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
7160 return NULL;
7161 if (_argo0) {
7162 if (_argo0 == Py_None) { _arg0 = NULL; }
7163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
7165 return NULL;
7166 }
7167 }
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) return NULL;
7174 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
7175 return _resultobj;
7176 }
7177
7178 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7179 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7180 PyObject * _resultobj;
7181 wxGridTableMessage * _arg0;
7182 int _arg1;
7183 PyObject * _argo0 = 0;
7184 char *_kwnames[] = { "self","id", NULL };
7185
7186 self = self;
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
7188 return NULL;
7189 if (_argo0) {
7190 if (_argo0 == Py_None) { _arg0 = NULL; }
7191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
7193 return NULL;
7194 }
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 wxGridTableMessage_SetId(_arg0,_arg1);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) return NULL;
7202 } Py_INCREF(Py_None);
7203 _resultobj = Py_None;
7204 return _resultobj;
7205 }
7206
7207 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
7208 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7209 PyObject * _resultobj;
7210 int _result;
7211 wxGridTableMessage * _arg0;
7212 PyObject * _argo0 = 0;
7213 char *_kwnames[] = { "self", NULL };
7214
7215 self = self;
7216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
7217 return NULL;
7218 if (_argo0) {
7219 if (_argo0 == Py_None) { _arg0 = NULL; }
7220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
7222 return NULL;
7223 }
7224 }
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 _result = (int )wxGridTableMessage_GetId(_arg0);
7228
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) return NULL;
7231 } _resultobj = Py_BuildValue("i",_result);
7232 return _resultobj;
7233 }
7234
7235 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
7236 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject * _resultobj;
7238 wxGridTableMessage * _arg0;
7239 int _arg1;
7240 PyObject * _argo0 = 0;
7241 char *_kwnames[] = { "self","comInt1", NULL };
7242
7243 self = self;
7244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
7245 return NULL;
7246 if (_argo0) {
7247 if (_argo0 == Py_None) { _arg0 = NULL; }
7248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
7250 return NULL;
7251 }
7252 }
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) return NULL;
7259 } Py_INCREF(Py_None);
7260 _resultobj = Py_None;
7261 return _resultobj;
7262 }
7263
7264 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
7265 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject * _resultobj;
7267 int _result;
7268 wxGridTableMessage * _arg0;
7269 PyObject * _argo0 = 0;
7270 char *_kwnames[] = { "self", NULL };
7271
7272 self = self;
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
7274 return NULL;
7275 if (_argo0) {
7276 if (_argo0 == Py_None) { _arg0 = NULL; }
7277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
7279 return NULL;
7280 }
7281 }
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) return NULL;
7288 } _resultobj = Py_BuildValue("i",_result);
7289 return _resultobj;
7290 }
7291
7292 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
7293 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject * _resultobj;
7295 wxGridTableMessage * _arg0;
7296 int _arg1;
7297 PyObject * _argo0 = 0;
7298 char *_kwnames[] = { "self","comInt2", NULL };
7299
7300 self = self;
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
7302 return NULL;
7303 if (_argo0) {
7304 if (_argo0 == Py_None) { _arg0 = NULL; }
7305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
7307 return NULL;
7308 }
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) return NULL;
7316 } Py_INCREF(Py_None);
7317 _resultobj = Py_None;
7318 return _resultobj;
7319 }
7320
7321 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
7322 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject * _resultobj;
7324 int _result;
7325 wxGridTableMessage * _arg0;
7326 PyObject * _argo0 = 0;
7327 char *_kwnames[] = { "self", NULL };
7328
7329 self = self;
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
7331 return NULL;
7332 if (_argo0) {
7333 if (_argo0 == Py_None) { _arg0 = NULL; }
7334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7336 return NULL;
7337 }
7338 }
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) return NULL;
7345 } _resultobj = Py_BuildValue("i",_result);
7346 return _resultobj;
7347 }
7348
7349 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7350 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7351 PyObject * _resultobj;
7352 wxGridCellCoords * _result;
7353 int _arg0 = (int ) -1;
7354 int _arg1 = (int ) -1;
7355 char *_kwnames[] = { "r","c", NULL };
7356 char _ptemp[128];
7357
7358 self = self;
7359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
7360 return NULL;
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) return NULL;
7367 } if (_result) {
7368 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7369 _resultobj = Py_BuildValue("s",_ptemp);
7370 } else {
7371 Py_INCREF(Py_None);
7372 _resultobj = Py_None;
7373 }
7374 return _resultobj;
7375 }
7376
7377 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7378 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7379 PyObject * _resultobj;
7380 wxGridCellCoords * _arg0;
7381 PyObject * _argo0 = 0;
7382 char *_kwnames[] = { "self", NULL };
7383
7384 self = self;
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
7386 return NULL;
7387 if (_argo0) {
7388 if (_argo0 == Py_None) { _arg0 = NULL; }
7389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7391 return NULL;
7392 }
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 delete_wxGridCellCoords(_arg0);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) return NULL;
7400 } Py_INCREF(Py_None);
7401 _resultobj = Py_None;
7402 return _resultobj;
7403 }
7404
7405 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7406 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7407 PyObject * _resultobj;
7408 int _result;
7409 wxGridCellCoords * _arg0;
7410 PyObject * _argo0 = 0;
7411 char *_kwnames[] = { "self", NULL };
7412
7413 self = self;
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
7415 return NULL;
7416 if (_argo0) {
7417 if (_argo0 == Py_None) { _arg0 = NULL; }
7418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
7420 return NULL;
7421 }
7422 }
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 _result = (int )wxGridCellCoords_GetRow(_arg0);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) return NULL;
7429 } _resultobj = Py_BuildValue("i",_result);
7430 return _resultobj;
7431 }
7432
7433 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7434 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7435 PyObject * _resultobj;
7436 wxGridCellCoords * _arg0;
7437 int _arg1;
7438 PyObject * _argo0 = 0;
7439 char *_kwnames[] = { "self","n", NULL };
7440
7441 self = self;
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
7443 return NULL;
7444 if (_argo0) {
7445 if (_argo0 == Py_None) { _arg0 = NULL; }
7446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7448 return NULL;
7449 }
7450 }
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 wxGridCellCoords_SetRow(_arg0,_arg1);
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) return NULL;
7457 } Py_INCREF(Py_None);
7458 _resultobj = Py_None;
7459 return _resultobj;
7460 }
7461
7462 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7463 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7464 PyObject * _resultobj;
7465 int _result;
7466 wxGridCellCoords * _arg0;
7467 PyObject * _argo0 = 0;
7468 char *_kwnames[] = { "self", NULL };
7469
7470 self = self;
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
7472 return NULL;
7473 if (_argo0) {
7474 if (_argo0 == Py_None) { _arg0 = NULL; }
7475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7477 return NULL;
7478 }
7479 }
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 _result = (int )wxGridCellCoords_GetCol(_arg0);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) return NULL;
7486 } _resultobj = Py_BuildValue("i",_result);
7487 return _resultobj;
7488 }
7489
7490 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7491 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject * _resultobj;
7493 wxGridCellCoords * _arg0;
7494 int _arg1;
7495 PyObject * _argo0 = 0;
7496 char *_kwnames[] = { "self","n", NULL };
7497
7498 self = self;
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
7500 return NULL;
7501 if (_argo0) {
7502 if (_argo0 == Py_None) { _arg0 = NULL; }
7503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7505 return NULL;
7506 }
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 wxGridCellCoords_SetCol(_arg0,_arg1);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) return NULL;
7514 } Py_INCREF(Py_None);
7515 _resultobj = Py_None;
7516 return _resultobj;
7517 }
7518
7519 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7520 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject * _resultobj;
7522 wxGridCellCoords * _arg0;
7523 int _arg1;
7524 int _arg2;
7525 PyObject * _argo0 = 0;
7526 char *_kwnames[] = { "self","row","col", NULL };
7527
7528 self = self;
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
7530 return NULL;
7531 if (_argo0) {
7532 if (_argo0 == Py_None) { _arg0 = NULL; }
7533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7535 return NULL;
7536 }
7537 }
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) return NULL;
7544 } Py_INCREF(Py_None);
7545 _resultobj = Py_None;
7546 return _resultobj;
7547 }
7548
7549 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
7550 PyObject* tup = PyTuple_New(2);
7551 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
7552 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
7553 return tup;
7554 }
7555 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7556 PyObject * _resultobj;
7557 PyObject * _result;
7558 wxGridCellCoords * _arg0;
7559 PyObject * _argo0 = 0;
7560 char *_kwnames[] = { "self", NULL };
7561
7562 self = self;
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
7564 return NULL;
7565 if (_argo0) {
7566 if (_argo0 == Py_None) { _arg0 = NULL; }
7567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7569 return NULL;
7570 }
7571 }
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) return NULL;
7578 }{
7579 _resultobj = _result;
7580 }
7581 return _resultobj;
7582 }
7583
7584 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
7585 return *self != other;
7586 }
7587 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject * _resultobj;
7589 int _result;
7590 wxGridCellCoords * _arg0;
7591 wxGridCellCoords * _arg1;
7592 PyObject * _argo0 = 0;
7593 PyObject * _argo1 = 0;
7594 char *_kwnames[] = { "self","other", NULL };
7595
7596 self = self;
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
7598 return NULL;
7599 if (_argo0) {
7600 if (_argo0 == Py_None) { _arg0 = NULL; }
7601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7603 return NULL;
7604 }
7605 }
7606 if (_argo1) {
7607 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
7608 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7609 return NULL;
7610 }
7611 }
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) return NULL;
7618 } _resultobj = Py_BuildValue("i",_result);
7619 return _resultobj;
7620 }
7621
7622 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
7623 wxGrid *src;
7624 wxScrolledWindow *dest;
7625 src = (wxGrid *) ptr;
7626 dest = (wxScrolledWindow *) src;
7627 return (void *) dest;
7628 }
7629
7630 static void *SwigwxGridTowxPanel(void *ptr) {
7631 wxGrid *src;
7632 wxPanel *dest;
7633 src = (wxGrid *) ptr;
7634 dest = (wxPanel *) src;
7635 return (void *) dest;
7636 }
7637
7638 static void *SwigwxGridTowxWindow(void *ptr) {
7639 wxGrid *src;
7640 wxWindow *dest;
7641 src = (wxGrid *) ptr;
7642 dest = (wxWindow *) src;
7643 return (void *) dest;
7644 }
7645
7646 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7647 wxGrid *src;
7648 wxEvtHandler *dest;
7649 src = (wxGrid *) ptr;
7650 dest = (wxEvtHandler *) src;
7651 return (void *) dest;
7652 }
7653
7654 static void *SwigwxGridTowxObject(void *ptr) {
7655 wxGrid *src;
7656 wxObject *dest;
7657 src = (wxGrid *) ptr;
7658 dest = (wxObject *) src;
7659 return (void *) dest;
7660 }
7661
7662 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7663 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7664 PyObject * _resultobj;
7665 wxGrid * _result;
7666 wxWindow * _arg0;
7667 wxWindowID _arg1;
7668 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7669 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7670 long _arg4 = (long ) wxWANTS_CHARS;
7671 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
7672 PyObject * _argo0 = 0;
7673 wxPoint temp;
7674 PyObject * _obj2 = 0;
7675 wxSize temp0;
7676 PyObject * _obj3 = 0;
7677 PyObject * _obj5 = 0;
7678 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7679 char _ptemp[128];
7680
7681 self = self;
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
7683 return NULL;
7684 if (_argo0) {
7685 if (_argo0 == Py_None) { _arg0 = NULL; }
7686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7688 return NULL;
7689 }
7690 }
7691 if (_obj2)
7692 {
7693 _arg2 = &temp;
7694 if (! wxPoint_helper(_obj2, &_arg2))
7695 return NULL;
7696 }
7697 if (_obj3)
7698 {
7699 _arg3 = &temp0;
7700 if (! wxSize_helper(_obj3, &_arg3))
7701 return NULL;
7702 }
7703 if (_obj5)
7704 {
7705 _arg5 = wxString_in_helper(_obj5);
7706 if (_arg5 == NULL)
7707 return NULL;
7708 }
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) return NULL;
7715 } if (_result) {
7716 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7717 _resultobj = Py_BuildValue("s",_ptemp);
7718 } else {
7719 Py_INCREF(Py_None);
7720 _resultobj = Py_None;
7721 }
7722 {
7723 if (_obj5)
7724 delete _arg5;
7725 }
7726 return _resultobj;
7727 }
7728
7729 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7730 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject * _resultobj;
7732 bool _result;
7733 wxGrid * _arg0;
7734 int _arg1;
7735 int _arg2;
7736 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7737 PyObject * _argo0 = 0;
7738 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7739
7740 self = self;
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7742 return NULL;
7743 if (_argo0) {
7744 if (_argo0 == Py_None) { _arg0 = NULL; }
7745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7747 return NULL;
7748 }
7749 }
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) return NULL;
7756 } _resultobj = Py_BuildValue("i",_result);
7757 return _resultobj;
7758 }
7759
7760 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7761 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject * _resultobj;
7763 wxGrid * _arg0;
7764 WXGRIDSELECTIONMODES _arg1;
7765 PyObject * _argo0 = 0;
7766 char *_kwnames[] = { "self","selmode", NULL };
7767
7768 self = self;
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7770 return NULL;
7771 if (_argo0) {
7772 if (_argo0 == Py_None) { _arg0 = NULL; }
7773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7775 return NULL;
7776 }
7777 }
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 wxGrid_SetSelectionMode(_arg0,_arg1);
7781
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) return NULL;
7784 } Py_INCREF(Py_None);
7785 _resultobj = Py_None;
7786 return _resultobj;
7787 }
7788
7789 #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7790 static PyObject *_wrap_wxGrid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject * _resultobj;
7792 WXGRIDSELECTIONMODES _result;
7793 wxGrid * _arg0;
7794 PyObject * _argo0 = 0;
7795 char *_kwnames[] = { "self", NULL };
7796
7797 self = self;
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionMode",_kwnames,&_argo0))
7799 return NULL;
7800 if (_argo0) {
7801 if (_argo0 == Py_None) { _arg0 = NULL; }
7802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionMode. Expected _wxGrid_p.");
7804 return NULL;
7805 }
7806 }
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 _result = (WXGRIDSELECTIONMODES )wxGrid_GetSelectionMode(_arg0);
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) return NULL;
7813 } _resultobj = Py_BuildValue("i",_result);
7814 return _resultobj;
7815 }
7816
7817 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7818 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7819 PyObject * _resultobj;
7820 int _result;
7821 wxGrid * _arg0;
7822 PyObject * _argo0 = 0;
7823 char *_kwnames[] = { "self", NULL };
7824
7825 self = self;
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7827 return NULL;
7828 if (_argo0) {
7829 if (_argo0 == Py_None) { _arg0 = NULL; }
7830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7832 return NULL;
7833 }
7834 }
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 _result = (int )wxGrid_GetNumberRows(_arg0);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) return NULL;
7841 } _resultobj = Py_BuildValue("i",_result);
7842 return _resultobj;
7843 }
7844
7845 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7846 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject * _resultobj;
7848 int _result;
7849 wxGrid * _arg0;
7850 PyObject * _argo0 = 0;
7851 char *_kwnames[] = { "self", NULL };
7852
7853 self = self;
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7855 return NULL;
7856 if (_argo0) {
7857 if (_argo0 == Py_None) { _arg0 = NULL; }
7858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7860 return NULL;
7861 }
7862 }
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 _result = (int )wxGrid_GetNumberCols(_arg0);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) return NULL;
7869 } _resultobj = Py_BuildValue("i",_result);
7870 return _resultobj;
7871 }
7872
7873 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7874 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7875 PyObject * _resultobj;
7876 bool _result;
7877 wxGrid * _arg0;
7878 wxGridTableMessage * _arg1;
7879 PyObject * _argo0 = 0;
7880 PyObject * _argo1 = 0;
7881 char *_kwnames[] = { "self","arg2", NULL };
7882
7883 self = self;
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7885 return NULL;
7886 if (_argo0) {
7887 if (_argo0 == Py_None) { _arg0 = NULL; }
7888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7890 return NULL;
7891 }
7892 }
7893 if (_argo1) {
7894 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7895 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7896 return NULL;
7897 }
7898 }
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7902
7903 wxPyEndAllowThreads(__tstate);
7904 if (PyErr_Occurred()) return NULL;
7905 } _resultobj = Py_BuildValue("i",_result);
7906 return _resultobj;
7907 }
7908
7909 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7910 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7911 PyObject * _resultobj;
7912 wxGridTableBase * _result;
7913 wxGrid * _arg0;
7914 PyObject * _argo0 = 0;
7915 char *_kwnames[] = { "self", NULL };
7916
7917 self = self;
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7919 return NULL;
7920 if (_argo0) {
7921 if (_argo0 == Py_None) { _arg0 = NULL; }
7922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7924 return NULL;
7925 }
7926 }
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) return NULL;
7933 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
7934 return _resultobj;
7935 }
7936
7937 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7938 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7939 PyObject * _resultobj;
7940 bool _result;
7941 wxGrid * _arg0;
7942 wxGridTableBase * _arg1;
7943 bool _arg2 = (bool ) FALSE;
7944 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7945 PyObject * _argo0 = 0;
7946 PyObject * _argo1 = 0;
7947 int tempbool2 = (int) FALSE;
7948 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7949
7950 self = self;
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7952 return NULL;
7953 if (_argo0) {
7954 if (_argo0 == Py_None) { _arg0 = NULL; }
7955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7957 return NULL;
7958 }
7959 }
7960 if (_argo1) {
7961 if (_argo1 == Py_None) { _arg1 = NULL; }
7962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7964 return NULL;
7965 }
7966 }
7967 _arg2 = (bool ) tempbool2;
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) return NULL;
7974 } _resultobj = Py_BuildValue("i",_result);
7975 return _resultobj;
7976 }
7977
7978 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7979 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject * _resultobj;
7981 wxGrid * _arg0;
7982 PyObject * _argo0 = 0;
7983 char *_kwnames[] = { "self", NULL };
7984
7985 self = self;
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7987 return NULL;
7988 if (_argo0) {
7989 if (_argo0 == Py_None) { _arg0 = NULL; }
7990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7992 return NULL;
7993 }
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 wxGrid_ClearGrid(_arg0);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) return NULL;
8001 } Py_INCREF(Py_None);
8002 _resultobj = Py_None;
8003 return _resultobj;
8004 }
8005
8006 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
8007 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject * _resultobj;
8009 bool _result;
8010 wxGrid * _arg0;
8011 int _arg1 = (int ) 0;
8012 int _arg2 = (int ) 1;
8013 bool _arg3 = (bool ) TRUE;
8014 PyObject * _argo0 = 0;
8015 int tempbool3 = (int) TRUE;
8016 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
8017
8018 self = self;
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8020 return NULL;
8021 if (_argo0) {
8022 if (_argo0 == Py_None) { _arg0 = NULL; }
8023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
8025 return NULL;
8026 }
8027 }
8028 _arg3 = (bool ) tempbool3;
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) return NULL;
8035 } _resultobj = Py_BuildValue("i",_result);
8036 return _resultobj;
8037 }
8038
8039 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
8040 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject * _resultobj;
8042 bool _result;
8043 wxGrid * _arg0;
8044 int _arg1 = (int ) 1;
8045 bool _arg2 = (bool ) TRUE;
8046 PyObject * _argo0 = 0;
8047 int tempbool2 = (int) TRUE;
8048 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
8049
8050 self = self;
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
8052 return NULL;
8053 if (_argo0) {
8054 if (_argo0 == Py_None) { _arg0 = NULL; }
8055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
8057 return NULL;
8058 }
8059 }
8060 _arg2 = (bool ) tempbool2;
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) return NULL;
8067 } _resultobj = Py_BuildValue("i",_result);
8068 return _resultobj;
8069 }
8070
8071 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
8072 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject * _resultobj;
8074 bool _result;
8075 wxGrid * _arg0;
8076 int _arg1 = (int ) 0;
8077 int _arg2 = (int ) 1;
8078 bool _arg3 = (bool ) TRUE;
8079 PyObject * _argo0 = 0;
8080 int tempbool3 = (int) TRUE;
8081 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
8082
8083 self = self;
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8085 return NULL;
8086 if (_argo0) {
8087 if (_argo0 == Py_None) { _arg0 = NULL; }
8088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
8090 return NULL;
8091 }
8092 }
8093 _arg3 = (bool ) tempbool3;
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) return NULL;
8100 } _resultobj = Py_BuildValue("i",_result);
8101 return _resultobj;
8102 }
8103
8104 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
8105 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject * _resultobj;
8107 bool _result;
8108 wxGrid * _arg0;
8109 int _arg1 = (int ) 0;
8110 int _arg2 = (int ) 1;
8111 bool _arg3 = (bool ) TRUE;
8112 PyObject * _argo0 = 0;
8113 int tempbool3 = (int) TRUE;
8114 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
8115
8116 self = self;
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8118 return NULL;
8119 if (_argo0) {
8120 if (_argo0 == Py_None) { _arg0 = NULL; }
8121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
8123 return NULL;
8124 }
8125 }
8126 _arg3 = (bool ) tempbool3;
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) return NULL;
8133 } _resultobj = Py_BuildValue("i",_result);
8134 return _resultobj;
8135 }
8136
8137 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
8138 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8139 PyObject * _resultobj;
8140 bool _result;
8141 wxGrid * _arg0;
8142 int _arg1 = (int ) 1;
8143 bool _arg2 = (bool ) TRUE;
8144 PyObject * _argo0 = 0;
8145 int tempbool2 = (int) TRUE;
8146 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
8147
8148 self = self;
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
8150 return NULL;
8151 if (_argo0) {
8152 if (_argo0 == Py_None) { _arg0 = NULL; }
8153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
8155 return NULL;
8156 }
8157 }
8158 _arg2 = (bool ) tempbool2;
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
8161 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) return NULL;
8165 } _resultobj = Py_BuildValue("i",_result);
8166 return _resultobj;
8167 }
8168
8169 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
8170 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8171 PyObject * _resultobj;
8172 bool _result;
8173 wxGrid * _arg0;
8174 int _arg1 = (int ) 0;
8175 int _arg2 = (int ) 1;
8176 bool _arg3 = (bool ) TRUE;
8177 PyObject * _argo0 = 0;
8178 int tempbool3 = (int) TRUE;
8179 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
8180
8181 self = self;
8182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8183 return NULL;
8184 if (_argo0) {
8185 if (_argo0 == Py_None) { _arg0 = NULL; }
8186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
8188 return NULL;
8189 }
8190 }
8191 _arg3 = (bool ) tempbool3;
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) return NULL;
8198 } _resultobj = Py_BuildValue("i",_result);
8199 return _resultobj;
8200 }
8201
8202 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
8203 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject * _resultobj;
8205 wxGrid * _arg0;
8206 wxDC * _arg1;
8207 wxGridCellAttr * _arg2;
8208 PyObject * _argo0 = 0;
8209 PyObject * _argo1 = 0;
8210 PyObject * _argo2 = 0;
8211 char *_kwnames[] = { "self","dc","attr", NULL };
8212
8213 self = self;
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
8215 return NULL;
8216 if (_argo0) {
8217 if (_argo0 == Py_None) { _arg0 = NULL; }
8218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
8220 return NULL;
8221 }
8222 }
8223 if (_argo1) {
8224 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8225 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
8226 return NULL;
8227 }
8228 }
8229 if (_argo2) {
8230 if (_argo2 == Py_None) { _arg2 = NULL; }
8231 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
8232 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
8233 return NULL;
8234 }
8235 }
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) return NULL;
8242 } Py_INCREF(Py_None);
8243 _resultobj = Py_None;
8244 return _resultobj;
8245 }
8246
8247 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8248 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject * _resultobj;
8250 wxGrid * _arg0;
8251 wxDC * _arg1;
8252 wxString * _arg2;
8253 wxRect * _arg3;
8254 int _arg4 = (int ) wxLEFT;
8255 int _arg5 = (int ) wxTOP;
8256 int _arg6 = (int ) wxHORIZONTAL;
8257 PyObject * _argo0 = 0;
8258 PyObject * _argo1 = 0;
8259 PyObject * _obj2 = 0;
8260 wxRect temp;
8261 PyObject * _obj3 = 0;
8262 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment","textOrientation", NULL };
8263
8264 self = self;
8265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5,&_arg6))
8266 return NULL;
8267 if (_argo0) {
8268 if (_argo0 == Py_None) { _arg0 = NULL; }
8269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
8271 return NULL;
8272 }
8273 }
8274 if (_argo1) {
8275 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8276 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
8277 return NULL;
8278 }
8279 }
8280 {
8281 _arg2 = wxString_in_helper(_obj2);
8282 if (_arg2 == NULL)
8283 return NULL;
8284 }
8285 {
8286 _arg3 = &temp;
8287 if (! wxRect_helper(_obj3, &_arg3))
8288 return NULL;
8289 }
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6);
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) return NULL;
8296 } Py_INCREF(Py_None);
8297 _resultobj = Py_None;
8298 {
8299 if (_obj2)
8300 delete _arg2;
8301 }
8302 return _resultobj;
8303 }
8304
8305 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8306 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8307 PyObject * _resultobj;
8308 wxGrid * _arg0;
8309 wxDC * _arg1;
8310 wxArrayString * _arg2;
8311 long * _arg3;
8312 long temp;
8313 long * _arg4;
8314 long temp0;
8315 PyObject * _argo0 = 0;
8316 PyObject * _argo1 = 0;
8317 PyObject * _obj2 = 0;
8318 char *_kwnames[] = { "self","dc","lines", NULL };
8319
8320 self = self;
8321 {
8322 _arg3 = &temp;
8323 }
8324 {
8325 _arg4 = &temp0;
8326 }
8327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
8328 return NULL;
8329 if (_argo0) {
8330 if (_argo0 == Py_None) { _arg0 = NULL; }
8331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8333 return NULL;
8334 }
8335 }
8336 if (_argo1) {
8337 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8338 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8339 return NULL;
8340 }
8341 }
8342 {
8343 if (! PySequence_Check(_obj2)) {
8344 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8345 return NULL;
8346 }
8347 _arg2 = new wxArrayString;
8348 int i, len=PySequence_Length(_obj2);
8349 for (i=0; i<len; i++) {
8350 PyObject* item = PySequence_GetItem(_obj2, i);
8351 #if wxUSE_UNICODE
8352 PyObject* str = PyObject_Unicode(item);
8353 #else
8354 PyObject* str = PyObject_Str(item);
8355 #endif
8356 _arg2->Add(Py2wxString(str));
8357 Py_DECREF(item);
8358 Py_DECREF(str);
8359 }
8360 }
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) return NULL;
8367 } Py_INCREF(Py_None);
8368 _resultobj = Py_None;
8369 {
8370 PyObject *o;
8371 o = PyInt_FromLong((long) (*_arg3));
8372 _resultobj = t_output_helper(_resultobj, o);
8373 }
8374 {
8375 PyObject *o;
8376 o = PyInt_FromLong((long) (*_arg4));
8377 _resultobj = t_output_helper(_resultobj, o);
8378 }
8379 {
8380 if (_obj2)
8381 delete _arg2;
8382 }
8383 return _resultobj;
8384 }
8385
8386 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8387 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8388 PyObject * _resultobj;
8389 wxGrid * _arg0;
8390 PyObject * _argo0 = 0;
8391 char *_kwnames[] = { "self", NULL };
8392
8393 self = self;
8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
8395 return NULL;
8396 if (_argo0) {
8397 if (_argo0 == Py_None) { _arg0 = NULL; }
8398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
8400 return NULL;
8401 }
8402 }
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 wxGrid_BeginBatch(_arg0);
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) return NULL;
8409 } Py_INCREF(Py_None);
8410 _resultobj = Py_None;
8411 return _resultobj;
8412 }
8413
8414 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8415 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8416 PyObject * _resultobj;
8417 wxGrid * _arg0;
8418 PyObject * _argo0 = 0;
8419 char *_kwnames[] = { "self", NULL };
8420
8421 self = self;
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
8423 return NULL;
8424 if (_argo0) {
8425 if (_argo0 == Py_None) { _arg0 = NULL; }
8426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8428 return NULL;
8429 }
8430 }
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 wxGrid_EndBatch(_arg0);
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) return NULL;
8437 } Py_INCREF(Py_None);
8438 _resultobj = Py_None;
8439 return _resultobj;
8440 }
8441
8442 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8443 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8444 PyObject * _resultobj;
8445 int _result;
8446 wxGrid * _arg0;
8447 PyObject * _argo0 = 0;
8448 char *_kwnames[] = { "self", NULL };
8449
8450 self = self;
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
8452 return NULL;
8453 if (_argo0) {
8454 if (_argo0 == Py_None) { _arg0 = NULL; }
8455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8457 return NULL;
8458 }
8459 }
8460 {
8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
8462 _result = (int )wxGrid_GetBatchCount(_arg0);
8463
8464 wxPyEndAllowThreads(__tstate);
8465 if (PyErr_Occurred()) return NULL;
8466 } _resultobj = Py_BuildValue("i",_result);
8467 return _resultobj;
8468 }
8469
8470 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8471 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject * _resultobj;
8473 wxGrid * _arg0;
8474 PyObject * _argo0 = 0;
8475 char *_kwnames[] = { "self", NULL };
8476
8477 self = self;
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
8479 return NULL;
8480 if (_argo0) {
8481 if (_argo0 == Py_None) { _arg0 = NULL; }
8482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8484 return NULL;
8485 }
8486 }
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 wxGrid_ForceRefresh(_arg0);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) return NULL;
8493 } Py_INCREF(Py_None);
8494 _resultobj = Py_None;
8495 return _resultobj;
8496 }
8497
8498 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8499 static PyObject *_wrap_wxGrid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8500 PyObject * _resultobj;
8501 wxGrid * _arg0;
8502 bool _arg1 = (bool ) TRUE;
8503 wxRect * _arg2 = (wxRect *) NULL;
8504 PyObject * _argo0 = 0;
8505 int tempbool1 = (int) TRUE;
8506 wxRect temp;
8507 PyObject * _obj2 = 0;
8508 char *_kwnames[] = { "self","eraseb","rect", NULL };
8509
8510 self = self;
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxGrid_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8512 return NULL;
8513 if (_argo0) {
8514 if (_argo0 == Py_None) { _arg0 = NULL; }
8515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8517 return NULL;
8518 }
8519 }
8520 _arg1 = (bool ) tempbool1;
8521 if (_obj2)
8522 {
8523 _arg2 = &temp;
8524 if (! wxRect_helper(_obj2, &_arg2))
8525 return NULL;
8526 }
8527 {
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 wxGrid_Refresh(_arg0,_arg1,_arg2);
8530
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) return NULL;
8533 } Py_INCREF(Py_None);
8534 _resultobj = Py_None;
8535 return _resultobj;
8536 }
8537
8538 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8539 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject * _resultobj;
8541 bool _result;
8542 wxGrid * _arg0;
8543 PyObject * _argo0 = 0;
8544 char *_kwnames[] = { "self", NULL };
8545
8546 self = self;
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
8548 return NULL;
8549 if (_argo0) {
8550 if (_argo0 == Py_None) { _arg0 = NULL; }
8551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8553 return NULL;
8554 }
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 _result = (bool )wxGrid_IsEditable(_arg0);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) return NULL;
8562 } _resultobj = Py_BuildValue("i",_result);
8563 return _resultobj;
8564 }
8565
8566 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8567 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8568 PyObject * _resultobj;
8569 wxGrid * _arg0;
8570 bool _arg1;
8571 PyObject * _argo0 = 0;
8572 int tempbool1;
8573 char *_kwnames[] = { "self","edit", NULL };
8574
8575 self = self;
8576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
8577 return NULL;
8578 if (_argo0) {
8579 if (_argo0 == Py_None) { _arg0 = NULL; }
8580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8582 return NULL;
8583 }
8584 }
8585 _arg1 = (bool ) tempbool1;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 wxGrid_EnableEditing(_arg0,_arg1);
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) return NULL;
8592 } Py_INCREF(Py_None);
8593 _resultobj = Py_None;
8594 return _resultobj;
8595 }
8596
8597 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8598 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8599 PyObject * _resultobj;
8600 wxGrid * _arg0;
8601 bool _arg1 = (bool ) TRUE;
8602 PyObject * _argo0 = 0;
8603 int tempbool1 = (int) TRUE;
8604 char *_kwnames[] = { "self","enable", NULL };
8605
8606 self = self;
8607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
8608 return NULL;
8609 if (_argo0) {
8610 if (_argo0 == Py_None) { _arg0 = NULL; }
8611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8613 return NULL;
8614 }
8615 }
8616 _arg1 = (bool ) tempbool1;
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 wxGrid_EnableCellEditControl(_arg0,_arg1);
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) return NULL;
8623 } Py_INCREF(Py_None);
8624 _resultobj = Py_None;
8625 return _resultobj;
8626 }
8627
8628 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8629 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject * _resultobj;
8631 wxGrid * _arg0;
8632 PyObject * _argo0 = 0;
8633 char *_kwnames[] = { "self", NULL };
8634
8635 self = self;
8636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
8637 return NULL;
8638 if (_argo0) {
8639 if (_argo0 == Py_None) { _arg0 = NULL; }
8640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8642 return NULL;
8643 }
8644 }
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 wxGrid_DisableCellEditControl(_arg0);
8648
8649 wxPyEndAllowThreads(__tstate);
8650 if (PyErr_Occurred()) return NULL;
8651 } Py_INCREF(Py_None);
8652 _resultobj = Py_None;
8653 return _resultobj;
8654 }
8655
8656 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8657 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8658 PyObject * _resultobj;
8659 bool _result;
8660 wxGrid * _arg0;
8661 PyObject * _argo0 = 0;
8662 char *_kwnames[] = { "self", NULL };
8663
8664 self = self;
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
8666 return NULL;
8667 if (_argo0) {
8668 if (_argo0 == Py_None) { _arg0 = NULL; }
8669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8671 return NULL;
8672 }
8673 }
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) return NULL;
8680 } _resultobj = Py_BuildValue("i",_result);
8681 return _resultobj;
8682 }
8683
8684 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8685 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8686 PyObject * _resultobj;
8687 bool _result;
8688 wxGrid * _arg0;
8689 PyObject * _argo0 = 0;
8690 char *_kwnames[] = { "self", NULL };
8691
8692 self = self;
8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
8694 return NULL;
8695 if (_argo0) {
8696 if (_argo0 == Py_None) { _arg0 = NULL; }
8697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8699 return NULL;
8700 }
8701 }
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
8705
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) return NULL;
8708 } _resultobj = Py_BuildValue("i",_result);
8709 return _resultobj;
8710 }
8711
8712 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8713 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8714 PyObject * _resultobj;
8715 bool _result;
8716 wxGrid * _arg0;
8717 PyObject * _argo0 = 0;
8718 char *_kwnames[] = { "self", NULL };
8719
8720 self = self;
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8722 return NULL;
8723 if (_argo0) {
8724 if (_argo0 == Py_None) { _arg0 = NULL; }
8725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8727 return NULL;
8728 }
8729 }
8730 {
8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
8732 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8733
8734 wxPyEndAllowThreads(__tstate);
8735 if (PyErr_Occurred()) return NULL;
8736 } _resultobj = Py_BuildValue("i",_result);
8737 return _resultobj;
8738 }
8739
8740 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8741 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8742 PyObject * _resultobj;
8743 bool _result;
8744 wxGrid * _arg0;
8745 PyObject * _argo0 = 0;
8746 char *_kwnames[] = { "self", NULL };
8747
8748 self = self;
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8750 return NULL;
8751 if (_argo0) {
8752 if (_argo0 == Py_None) { _arg0 = NULL; }
8753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8755 return NULL;
8756 }
8757 }
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8761
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) return NULL;
8764 } _resultobj = Py_BuildValue("i",_result);
8765 return _resultobj;
8766 }
8767
8768 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8769 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8770 PyObject * _resultobj;
8771 wxGrid * _arg0;
8772 PyObject * _argo0 = 0;
8773 char *_kwnames[] = { "self", NULL };
8774
8775 self = self;
8776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8777 return NULL;
8778 if (_argo0) {
8779 if (_argo0 == Py_None) { _arg0 = NULL; }
8780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8782 return NULL;
8783 }
8784 }
8785 {
8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
8787 wxGrid_ShowCellEditControl(_arg0);
8788
8789 wxPyEndAllowThreads(__tstate);
8790 if (PyErr_Occurred()) return NULL;
8791 } Py_INCREF(Py_None);
8792 _resultobj = Py_None;
8793 return _resultobj;
8794 }
8795
8796 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8797 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject * _resultobj;
8799 wxGrid * _arg0;
8800 PyObject * _argo0 = 0;
8801 char *_kwnames[] = { "self", NULL };
8802
8803 self = self;
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8805 return NULL;
8806 if (_argo0) {
8807 if (_argo0 == Py_None) { _arg0 = NULL; }
8808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8810 return NULL;
8811 }
8812 }
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 wxGrid_HideCellEditControl(_arg0);
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) return NULL;
8819 } Py_INCREF(Py_None);
8820 _resultobj = Py_None;
8821 return _resultobj;
8822 }
8823
8824 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8825 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8826 PyObject * _resultobj;
8827 wxGrid * _arg0;
8828 PyObject * _argo0 = 0;
8829 char *_kwnames[] = { "self", NULL };
8830
8831 self = self;
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8833 return NULL;
8834 if (_argo0) {
8835 if (_argo0 == Py_None) { _arg0 = NULL; }
8836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8838 return NULL;
8839 }
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 wxGrid_SaveEditControlValue(_arg0);
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) return NULL;
8847 } Py_INCREF(Py_None);
8848 _resultobj = Py_None;
8849 return _resultobj;
8850 }
8851
8852 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8853 wxGridCellCoords rv;
8854 self->XYToCell(x, y, rv);
8855 return new wxGridCellCoords(rv);
8856 }
8857 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject * _resultobj;
8859 wxGridCellCoords * _result;
8860 wxGrid * _arg0;
8861 int _arg1;
8862 int _arg2;
8863 PyObject * _argo0 = 0;
8864 char *_kwnames[] = { "self","x","y", NULL };
8865 char _ptemp[128];
8866
8867 self = self;
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8869 return NULL;
8870 if (_argo0) {
8871 if (_argo0 == Py_None) { _arg0 = NULL; }
8872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8874 return NULL;
8875 }
8876 }
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) return NULL;
8883 } if (_result) {
8884 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8885 _resultobj = Py_BuildValue("s",_ptemp);
8886 } else {
8887 Py_INCREF(Py_None);
8888 _resultobj = Py_None;
8889 }
8890 return _resultobj;
8891 }
8892
8893 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8894 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8895 PyObject * _resultobj;
8896 int _result;
8897 wxGrid * _arg0;
8898 int _arg1;
8899 PyObject * _argo0 = 0;
8900 char *_kwnames[] = { "self","y", NULL };
8901
8902 self = self;
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8904 return NULL;
8905 if (_argo0) {
8906 if (_argo0 == Py_None) { _arg0 = NULL; }
8907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8909 return NULL;
8910 }
8911 }
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
8914 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8915
8916 wxPyEndAllowThreads(__tstate);
8917 if (PyErr_Occurred()) return NULL;
8918 } _resultobj = Py_BuildValue("i",_result);
8919 return _resultobj;
8920 }
8921
8922 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8923 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject * _resultobj;
8925 int _result;
8926 wxGrid * _arg0;
8927 int _arg1;
8928 PyObject * _argo0 = 0;
8929 char *_kwnames[] = { "self","x", NULL };
8930
8931 self = self;
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8933 return NULL;
8934 if (_argo0) {
8935 if (_argo0 == Py_None) { _arg0 = NULL; }
8936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8938 return NULL;
8939 }
8940 }
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) return NULL;
8947 } _resultobj = Py_BuildValue("i",_result);
8948 return _resultobj;
8949 }
8950
8951 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8952 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8953 PyObject * _resultobj;
8954 int _result;
8955 wxGrid * _arg0;
8956 int _arg1;
8957 PyObject * _argo0 = 0;
8958 char *_kwnames[] = { "self","y", NULL };
8959
8960 self = self;
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8962 return NULL;
8963 if (_argo0) {
8964 if (_argo0 == Py_None) { _arg0 = NULL; }
8965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8967 return NULL;
8968 }
8969 }
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) return NULL;
8976 } _resultobj = Py_BuildValue("i",_result);
8977 return _resultobj;
8978 }
8979
8980 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8981 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8982 PyObject * _resultobj;
8983 int _result;
8984 wxGrid * _arg0;
8985 int _arg1;
8986 PyObject * _argo0 = 0;
8987 char *_kwnames[] = { "self","x", NULL };
8988
8989 self = self;
8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8991 return NULL;
8992 if (_argo0) {
8993 if (_argo0 == Py_None) { _arg0 = NULL; }
8994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8996 return NULL;
8997 }
8998 }
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) return NULL;
9005 } _resultobj = Py_BuildValue("i",_result);
9006 return _resultobj;
9007 }
9008
9009 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
9010 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject * _resultobj;
9012 wxRect * _result;
9013 wxGrid * _arg0;
9014 int _arg1;
9015 int _arg2;
9016 PyObject * _argo0 = 0;
9017 char *_kwnames[] = { "self","row","col", NULL };
9018 char _ptemp[128];
9019
9020 self = self;
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
9022 return NULL;
9023 if (_argo0) {
9024 if (_argo0 == Py_None) { _arg0 = NULL; }
9025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
9027 return NULL;
9028 }
9029 }
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) return NULL;
9036 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
9037 _resultobj = Py_BuildValue("s",_ptemp);
9038 return _resultobj;
9039 }
9040
9041 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
9042 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject * _resultobj;
9044 int _result;
9045 wxGrid * _arg0;
9046 PyObject * _argo0 = 0;
9047 char *_kwnames[] = { "self", NULL };
9048
9049 self = self;
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
9051 return NULL;
9052 if (_argo0) {
9053 if (_argo0 == Py_None) { _arg0 = NULL; }
9054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
9056 return NULL;
9057 }
9058 }
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 _result = (int )wxGrid_GetGridCursorRow(_arg0);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) return NULL;
9065 } _resultobj = Py_BuildValue("i",_result);
9066 return _resultobj;
9067 }
9068
9069 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
9070 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject * _resultobj;
9072 int _result;
9073 wxGrid * _arg0;
9074 PyObject * _argo0 = 0;
9075 char *_kwnames[] = { "self", NULL };
9076
9077 self = self;
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
9079 return NULL;
9080 if (_argo0) {
9081 if (_argo0 == Py_None) { _arg0 = NULL; }
9082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
9084 return NULL;
9085 }
9086 }
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 _result = (int )wxGrid_GetGridCursorCol(_arg0);
9090
9091 wxPyEndAllowThreads(__tstate);
9092 if (PyErr_Occurred()) return NULL;
9093 } _resultobj = Py_BuildValue("i",_result);
9094 return _resultobj;
9095 }
9096
9097 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
9098 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject * _resultobj;
9100 bool _result;
9101 wxGrid * _arg0;
9102 int _arg1;
9103 int _arg2;
9104 bool _arg3 = (bool ) TRUE;
9105 PyObject * _argo0 = 0;
9106 int tempbool3 = (int) TRUE;
9107 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
9108
9109 self = self;
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
9111 return NULL;
9112 if (_argo0) {
9113 if (_argo0 == Py_None) { _arg0 = NULL; }
9114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
9116 return NULL;
9117 }
9118 }
9119 _arg3 = (bool ) tempbool3;
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) return NULL;
9126 } _resultobj = Py_BuildValue("i",_result);
9127 return _resultobj;
9128 }
9129
9130 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
9131 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9132 PyObject * _resultobj;
9133 wxGrid * _arg0;
9134 int _arg1;
9135 int _arg2;
9136 PyObject * _argo0 = 0;
9137 char *_kwnames[] = { "self","row","col", NULL };
9138
9139 self = self;
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
9141 return NULL;
9142 if (_argo0) {
9143 if (_argo0 == Py_None) { _arg0 = NULL; }
9144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
9146 return NULL;
9147 }
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) return NULL;
9155 } Py_INCREF(Py_None);
9156 _resultobj = Py_None;
9157 return _resultobj;
9158 }
9159
9160 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
9161 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9162 PyObject * _resultobj;
9163 wxGrid * _arg0;
9164 int _arg1;
9165 int _arg2;
9166 PyObject * _argo0 = 0;
9167 char *_kwnames[] = { "self","row","col", NULL };
9168
9169 self = self;
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
9171 return NULL;
9172 if (_argo0) {
9173 if (_argo0 == Py_None) { _arg0 = NULL; }
9174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
9176 return NULL;
9177 }
9178 }
9179 {
9180 PyThreadState* __tstate = wxPyBeginAllowThreads();
9181 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
9182
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) return NULL;
9185 } Py_INCREF(Py_None);
9186 _resultobj = Py_None;
9187 return _resultobj;
9188 }
9189
9190 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
9191 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject * _resultobj;
9193 bool _result;
9194 wxGrid * _arg0;
9195 bool _arg1;
9196 PyObject * _argo0 = 0;
9197 int tempbool1;
9198 char *_kwnames[] = { "self","expandSelection", NULL };
9199
9200 self = self;
9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
9202 return NULL;
9203 if (_argo0) {
9204 if (_argo0 == Py_None) { _arg0 = NULL; }
9205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
9207 return NULL;
9208 }
9209 }
9210 _arg1 = (bool ) tempbool1;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) return NULL;
9217 } _resultobj = Py_BuildValue("i",_result);
9218 return _resultobj;
9219 }
9220
9221 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
9222 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject * _resultobj;
9224 bool _result;
9225 wxGrid * _arg0;
9226 bool _arg1;
9227 PyObject * _argo0 = 0;
9228 int tempbool1;
9229 char *_kwnames[] = { "self","expandSelection", NULL };
9230
9231 self = self;
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
9233 return NULL;
9234 if (_argo0) {
9235 if (_argo0 == Py_None) { _arg0 = NULL; }
9236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
9238 return NULL;
9239 }
9240 }
9241 _arg1 = (bool ) tempbool1;
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
9245
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) return NULL;
9248 } _resultobj = Py_BuildValue("i",_result);
9249 return _resultobj;
9250 }
9251
9252 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
9253 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9254 PyObject * _resultobj;
9255 bool _result;
9256 wxGrid * _arg0;
9257 bool _arg1;
9258 PyObject * _argo0 = 0;
9259 int tempbool1;
9260 char *_kwnames[] = { "self","expandSelection", NULL };
9261
9262 self = self;
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
9264 return NULL;
9265 if (_argo0) {
9266 if (_argo0 == Py_None) { _arg0 = NULL; }
9267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
9269 return NULL;
9270 }
9271 }
9272 _arg1 = (bool ) tempbool1;
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) return NULL;
9279 } _resultobj = Py_BuildValue("i",_result);
9280 return _resultobj;
9281 }
9282
9283 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
9284 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9285 PyObject * _resultobj;
9286 bool _result;
9287 wxGrid * _arg0;
9288 bool _arg1;
9289 PyObject * _argo0 = 0;
9290 int tempbool1;
9291 char *_kwnames[] = { "self","expandSelection", NULL };
9292
9293 self = self;
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
9295 return NULL;
9296 if (_argo0) {
9297 if (_argo0 == Py_None) { _arg0 = NULL; }
9298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
9300 return NULL;
9301 }
9302 }
9303 _arg1 = (bool ) tempbool1;
9304 {
9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
9306 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
9307
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) return NULL;
9310 } _resultobj = Py_BuildValue("i",_result);
9311 return _resultobj;
9312 }
9313
9314 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
9315 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9316 PyObject * _resultobj;
9317 bool _result;
9318 wxGrid * _arg0;
9319 PyObject * _argo0 = 0;
9320 char *_kwnames[] = { "self", NULL };
9321
9322 self = self;
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
9324 return NULL;
9325 if (_argo0) {
9326 if (_argo0 == Py_None) { _arg0 = NULL; }
9327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
9329 return NULL;
9330 }
9331 }
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 _result = (bool )wxGrid_MovePageDown(_arg0);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) return NULL;
9338 } _resultobj = Py_BuildValue("i",_result);
9339 return _resultobj;
9340 }
9341
9342 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9343 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject * _resultobj;
9345 bool _result;
9346 wxGrid * _arg0;
9347 PyObject * _argo0 = 0;
9348 char *_kwnames[] = { "self", NULL };
9349
9350 self = self;
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
9352 return NULL;
9353 if (_argo0) {
9354 if (_argo0 == Py_None) { _arg0 = NULL; }
9355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
9357 return NULL;
9358 }
9359 }
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 _result = (bool )wxGrid_MovePageUp(_arg0);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) return NULL;
9366 } _resultobj = Py_BuildValue("i",_result);
9367 return _resultobj;
9368 }
9369
9370 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9371 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject * _resultobj;
9373 bool _result;
9374 wxGrid * _arg0;
9375 bool _arg1;
9376 PyObject * _argo0 = 0;
9377 int tempbool1;
9378 char *_kwnames[] = { "self","expandSelection", NULL };
9379
9380 self = self;
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
9382 return NULL;
9383 if (_argo0) {
9384 if (_argo0 == Py_None) { _arg0 = NULL; }
9385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9387 return NULL;
9388 }
9389 }
9390 _arg1 = (bool ) tempbool1;
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) return NULL;
9397 } _resultobj = Py_BuildValue("i",_result);
9398 return _resultobj;
9399 }
9400
9401 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9402 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9403 PyObject * _resultobj;
9404 bool _result;
9405 wxGrid * _arg0;
9406 bool _arg1;
9407 PyObject * _argo0 = 0;
9408 int tempbool1;
9409 char *_kwnames[] = { "self","expandSelection", NULL };
9410
9411 self = self;
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
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_MoveCursorDownBlock. Expected _wxGrid_p.");
9418 return NULL;
9419 }
9420 }
9421 _arg1 = (bool ) tempbool1;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) return NULL;
9428 } _resultobj = Py_BuildValue("i",_result);
9429 return _resultobj;
9430 }
9431
9432 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9433 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject * _resultobj;
9435 bool _result;
9436 wxGrid * _arg0;
9437 bool _arg1;
9438 PyObject * _argo0 = 0;
9439 int tempbool1;
9440 char *_kwnames[] = { "self","expandSelection", NULL };
9441
9442 self = self;
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
9444 return NULL;
9445 if (_argo0) {
9446 if (_argo0 == Py_None) { _arg0 = NULL; }
9447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9449 return NULL;
9450 }
9451 }
9452 _arg1 = (bool ) tempbool1;
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) return NULL;
9459 } _resultobj = Py_BuildValue("i",_result);
9460 return _resultobj;
9461 }
9462
9463 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9464 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject * _resultobj;
9466 bool _result;
9467 wxGrid * _arg0;
9468 bool _arg1;
9469 PyObject * _argo0 = 0;
9470 int tempbool1;
9471 char *_kwnames[] = { "self","expandSelection", NULL };
9472
9473 self = self;
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
9475 return NULL;
9476 if (_argo0) {
9477 if (_argo0 == Py_None) { _arg0 = NULL; }
9478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9480 return NULL;
9481 }
9482 }
9483 _arg1 = (bool ) tempbool1;
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) return NULL;
9490 } _resultobj = Py_BuildValue("i",_result);
9491 return _resultobj;
9492 }
9493
9494 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9495 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject * _resultobj;
9497 int _result;
9498 wxGrid * _arg0;
9499 PyObject * _argo0 = 0;
9500 char *_kwnames[] = { "self", NULL };
9501
9502 self = self;
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
9504 return NULL;
9505 if (_argo0) {
9506 if (_argo0 == Py_None) { _arg0 = NULL; }
9507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9509 return NULL;
9510 }
9511 }
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
9514 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) return NULL;
9518 } _resultobj = Py_BuildValue("i",_result);
9519 return _resultobj;
9520 }
9521
9522 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9523 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9524 PyObject * _resultobj;
9525 int _result;
9526 wxGrid * _arg0;
9527 PyObject * _argo0 = 0;
9528 char *_kwnames[] = { "self", NULL };
9529
9530 self = self;
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
9532 return NULL;
9533 if (_argo0) {
9534 if (_argo0 == Py_None) { _arg0 = NULL; }
9535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9537 return NULL;
9538 }
9539 }
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 _result = (int )wxGrid_GetRowLabelSize(_arg0);
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) return NULL;
9546 } _resultobj = Py_BuildValue("i",_result);
9547 return _resultobj;
9548 }
9549
9550 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9551 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject * _resultobj;
9553 int _result;
9554 wxGrid * _arg0;
9555 PyObject * _argo0 = 0;
9556 char *_kwnames[] = { "self", NULL };
9557
9558 self = self;
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
9560 return NULL;
9561 if (_argo0) {
9562 if (_argo0 == Py_None) { _arg0 = NULL; }
9563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9565 return NULL;
9566 }
9567 }
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) return NULL;
9574 } _resultobj = Py_BuildValue("i",_result);
9575 return _resultobj;
9576 }
9577
9578 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9579 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject * _resultobj;
9581 int _result;
9582 wxGrid * _arg0;
9583 PyObject * _argo0 = 0;
9584 char *_kwnames[] = { "self", NULL };
9585
9586 self = self;
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
9588 return NULL;
9589 if (_argo0) {
9590 if (_argo0 == Py_None) { _arg0 = NULL; }
9591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9593 return NULL;
9594 }
9595 }
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 _result = (int )wxGrid_GetColLabelSize(_arg0);
9599
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) return NULL;
9602 } _resultobj = Py_BuildValue("i",_result);
9603 return _resultobj;
9604 }
9605
9606 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9607 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9608 PyObject * _resultobj;
9609 wxColour * _result;
9610 wxGrid * _arg0;
9611 PyObject * _argo0 = 0;
9612 char *_kwnames[] = { "self", NULL };
9613 char _ptemp[128];
9614
9615 self = self;
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
9617 return NULL;
9618 if (_argo0) {
9619 if (_argo0 == Py_None) { _arg0 = NULL; }
9620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9622 return NULL;
9623 }
9624 }
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) return NULL;
9631 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9632 _resultobj = Py_BuildValue("s",_ptemp);
9633 return _resultobj;
9634 }
9635
9636 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9637 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject * _resultobj;
9639 wxColour * _result;
9640 wxGrid * _arg0;
9641 PyObject * _argo0 = 0;
9642 char *_kwnames[] = { "self", NULL };
9643 char _ptemp[128];
9644
9645 self = self;
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
9647 return NULL;
9648 if (_argo0) {
9649 if (_argo0 == Py_None) { _arg0 = NULL; }
9650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9652 return NULL;
9653 }
9654 }
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) return NULL;
9661 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9662 _resultobj = Py_BuildValue("s",_ptemp);
9663 return _resultobj;
9664 }
9665
9666 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9667 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9668 PyObject * _resultobj;
9669 wxFont * _result;
9670 wxGrid * _arg0;
9671 PyObject * _argo0 = 0;
9672 char *_kwnames[] = { "self", NULL };
9673 char _ptemp[128];
9674
9675 self = self;
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
9677 return NULL;
9678 if (_argo0) {
9679 if (_argo0 == Py_None) { _arg0 = NULL; }
9680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9682 return NULL;
9683 }
9684 }
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
9688
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) return NULL;
9691 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9692 _resultobj = Py_BuildValue("s",_ptemp);
9693 return _resultobj;
9694 }
9695
9696 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9697 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9698 PyObject * _resultobj;
9699 wxGrid * _arg0;
9700 int * _arg1;
9701 int temp;
9702 int * _arg2;
9703 int temp0;
9704 PyObject * _argo0 = 0;
9705 char *_kwnames[] = { "self", NULL };
9706
9707 self = self;
9708 {
9709 _arg1 = &temp;
9710 }
9711 {
9712 _arg2 = &temp0;
9713 }
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9715 return NULL;
9716 if (_argo0) {
9717 if (_argo0 == Py_None) { _arg0 = NULL; }
9718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9720 return NULL;
9721 }
9722 }
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9726
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) return NULL;
9729 } Py_INCREF(Py_None);
9730 _resultobj = Py_None;
9731 {
9732 PyObject *o;
9733 o = PyInt_FromLong((long) (*_arg1));
9734 _resultobj = t_output_helper(_resultobj, o);
9735 }
9736 {
9737 PyObject *o;
9738 o = PyInt_FromLong((long) (*_arg2));
9739 _resultobj = t_output_helper(_resultobj, o);
9740 }
9741 return _resultobj;
9742 }
9743
9744 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9745 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9746 PyObject * _resultobj;
9747 wxGrid * _arg0;
9748 int * _arg1;
9749 int temp;
9750 int * _arg2;
9751 int temp0;
9752 PyObject * _argo0 = 0;
9753 char *_kwnames[] = { "self", NULL };
9754
9755 self = self;
9756 {
9757 _arg1 = &temp;
9758 }
9759 {
9760 _arg2 = &temp0;
9761 }
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9763 return NULL;
9764 if (_argo0) {
9765 if (_argo0 == Py_None) { _arg0 = NULL; }
9766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9768 return NULL;
9769 }
9770 }
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) return NULL;
9777 } Py_INCREF(Py_None);
9778 _resultobj = Py_None;
9779 {
9780 PyObject *o;
9781 o = PyInt_FromLong((long) (*_arg1));
9782 _resultobj = t_output_helper(_resultobj, o);
9783 }
9784 {
9785 PyObject *o;
9786 o = PyInt_FromLong((long) (*_arg2));
9787 _resultobj = t_output_helper(_resultobj, o);
9788 }
9789 return _resultobj;
9790 }
9791
9792 #define wxGrid_GetColLabelTextOrientation(_swigobj) (_swigobj->GetColLabelTextOrientation())
9793 static PyObject *_wrap_wxGrid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9794 PyObject * _resultobj;
9795 int _result;
9796 wxGrid * _arg0;
9797 PyObject * _argo0 = 0;
9798 char *_kwnames[] = { "self", NULL };
9799
9800 self = self;
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelTextOrientation",_kwnames,&_argo0))
9802 return NULL;
9803 if (_argo0) {
9804 if (_argo0 == Py_None) { _arg0 = NULL; }
9805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelTextOrientation. Expected _wxGrid_p.");
9807 return NULL;
9808 }
9809 }
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 _result = (int )wxGrid_GetColLabelTextOrientation(_arg0);
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) return NULL;
9816 } _resultobj = Py_BuildValue("i",_result);
9817 return _resultobj;
9818 }
9819
9820 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9821 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9822 PyObject * _resultobj;
9823 wxString * _result;
9824 wxGrid * _arg0;
9825 int _arg1;
9826 PyObject * _argo0 = 0;
9827 char *_kwnames[] = { "self","row", NULL };
9828
9829 self = self;
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9831 return NULL;
9832 if (_argo0) {
9833 if (_argo0 == Py_None) { _arg0 = NULL; }
9834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9836 return NULL;
9837 }
9838 }
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) return NULL;
9845 }{
9846 #if wxUSE_UNICODE
9847 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9848 #else
9849 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9850 #endif
9851 }
9852 {
9853 delete _result;
9854 }
9855 return _resultobj;
9856 }
9857
9858 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9859 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9860 PyObject * _resultobj;
9861 wxString * _result;
9862 wxGrid * _arg0;
9863 int _arg1;
9864 PyObject * _argo0 = 0;
9865 char *_kwnames[] = { "self","col", NULL };
9866
9867 self = self;
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9869 return NULL;
9870 if (_argo0) {
9871 if (_argo0 == Py_None) { _arg0 = NULL; }
9872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9874 return NULL;
9875 }
9876 }
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9880
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) return NULL;
9883 }{
9884 #if wxUSE_UNICODE
9885 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9886 #else
9887 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9888 #endif
9889 }
9890 {
9891 delete _result;
9892 }
9893 return _resultobj;
9894 }
9895
9896 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9897 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9898 PyObject * _resultobj;
9899 wxColour * _result;
9900 wxGrid * _arg0;
9901 PyObject * _argo0 = 0;
9902 char *_kwnames[] = { "self", NULL };
9903 char _ptemp[128];
9904
9905 self = self;
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9907 return NULL;
9908 if (_argo0) {
9909 if (_argo0 == Py_None) { _arg0 = NULL; }
9910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9912 return NULL;
9913 }
9914 }
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) return NULL;
9921 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9922 _resultobj = Py_BuildValue("s",_ptemp);
9923 return _resultobj;
9924 }
9925
9926 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9927 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9928 PyObject * _resultobj;
9929 wxColour * _result;
9930 wxGrid * _arg0;
9931 PyObject * _argo0 = 0;
9932 char *_kwnames[] = { "self", NULL };
9933 char _ptemp[128];
9934
9935 self = self;
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_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_GetCellHighlightColour. Expected _wxGrid_p.");
9942 return NULL;
9943 }
9944 }
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) return NULL;
9951 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9952 _resultobj = Py_BuildValue("s",_ptemp);
9953 return _resultobj;
9954 }
9955
9956 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9957 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject * _resultobj;
9959 int _result;
9960 wxGrid * _arg0;
9961 PyObject * _argo0 = 0;
9962 char *_kwnames[] = { "self", NULL };
9963
9964 self = self;
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
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_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9971 return NULL;
9972 }
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) return NULL;
9980 } _resultobj = Py_BuildValue("i",_result);
9981 return _resultobj;
9982 }
9983
9984 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9985 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9986 PyObject * _resultobj;
9987 int _result;
9988 wxGrid * _arg0;
9989 PyObject * _argo0 = 0;
9990 char *_kwnames[] = { "self", NULL };
9991
9992 self = self;
9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9994 return NULL;
9995 if (_argo0) {
9996 if (_argo0 == Py_None) { _arg0 = NULL; }
9997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9999 return NULL;
10000 }
10001 }
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
10005
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) return NULL;
10008 } _resultobj = Py_BuildValue("i",_result);
10009 return _resultobj;
10010 }
10011
10012 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
10013 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject * _resultobj;
10015 wxGrid * _arg0;
10016 int _arg1;
10017 PyObject * _argo0 = 0;
10018 char *_kwnames[] = { "self","width", NULL };
10019
10020 self = self;
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
10022 return NULL;
10023 if (_argo0) {
10024 if (_argo0 == Py_None) { _arg0 = NULL; }
10025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
10027 return NULL;
10028 }
10029 }
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 wxGrid_SetRowLabelSize(_arg0,_arg1);
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) return NULL;
10036 } Py_INCREF(Py_None);
10037 _resultobj = Py_None;
10038 return _resultobj;
10039 }
10040
10041 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
10042 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject * _resultobj;
10044 wxGrid * _arg0;
10045 int _arg1;
10046 PyObject * _argo0 = 0;
10047 char *_kwnames[] = { "self","height", NULL };
10048
10049 self = self;
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
10051 return NULL;
10052 if (_argo0) {
10053 if (_argo0 == Py_None) { _arg0 = NULL; }
10054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
10056 return NULL;
10057 }
10058 }
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 wxGrid_SetColLabelSize(_arg0,_arg1);
10062
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) return NULL;
10065 } Py_INCREF(Py_None);
10066 _resultobj = Py_None;
10067 return _resultobj;
10068 }
10069
10070 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
10071 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10072 PyObject * _resultobj;
10073 wxGrid * _arg0;
10074 wxColour * _arg1;
10075 PyObject * _argo0 = 0;
10076 wxColour temp;
10077 PyObject * _obj1 = 0;
10078 char *_kwnames[] = { "self","arg2", NULL };
10079
10080 self = self;
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
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_SetLabelBackgroundColour. Expected _wxGrid_p.");
10087 return NULL;
10088 }
10089 }
10090 {
10091 _arg1 = &temp;
10092 if (! wxColour_helper(_obj1, &_arg1))
10093 return NULL;
10094 }
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) return NULL;
10101 } Py_INCREF(Py_None);
10102 _resultobj = Py_None;
10103 return _resultobj;
10104 }
10105
10106 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
10107 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10108 PyObject * _resultobj;
10109 wxGrid * _arg0;
10110 wxColour * _arg1;
10111 PyObject * _argo0 = 0;
10112 wxColour temp;
10113 PyObject * _obj1 = 0;
10114 char *_kwnames[] = { "self","arg2", NULL };
10115
10116 self = self;
10117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
10118 return NULL;
10119 if (_argo0) {
10120 if (_argo0 == Py_None) { _arg0 = NULL; }
10121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
10123 return NULL;
10124 }
10125 }
10126 {
10127 _arg1 = &temp;
10128 if (! wxColour_helper(_obj1, &_arg1))
10129 return NULL;
10130 }
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 wxGrid_SetLabelTextColour(_arg0,*_arg1);
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) return NULL;
10137 } Py_INCREF(Py_None);
10138 _resultobj = Py_None;
10139 return _resultobj;
10140 }
10141
10142 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
10143 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject * _resultobj;
10145 wxGrid * _arg0;
10146 wxFont * _arg1;
10147 PyObject * _argo0 = 0;
10148 PyObject * _argo1 = 0;
10149 char *_kwnames[] = { "self","arg2", NULL };
10150
10151 self = self;
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
10153 return NULL;
10154 if (_argo0) {
10155 if (_argo0 == Py_None) { _arg0 = NULL; }
10156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
10158 return NULL;
10159 }
10160 }
10161 if (_argo1) {
10162 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10163 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
10164 return NULL;
10165 }
10166 }
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 wxGrid_SetLabelFont(_arg0,*_arg1);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) return NULL;
10173 } Py_INCREF(Py_None);
10174 _resultobj = Py_None;
10175 return _resultobj;
10176 }
10177
10178 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
10179 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject * _resultobj;
10181 wxGrid * _arg0;
10182 int _arg1;
10183 int _arg2;
10184 PyObject * _argo0 = 0;
10185 char *_kwnames[] = { "self","horiz","vert", NULL };
10186
10187 self = self;
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10189 return NULL;
10190 if (_argo0) {
10191 if (_argo0 == Py_None) { _arg0 = NULL; }
10192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
10194 return NULL;
10195 }
10196 }
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
10200
10201 wxPyEndAllowThreads(__tstate);
10202 if (PyErr_Occurred()) return NULL;
10203 } Py_INCREF(Py_None);
10204 _resultobj = Py_None;
10205 return _resultobj;
10206 }
10207
10208 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
10209 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject * _resultobj;
10211 wxGrid * _arg0;
10212 int _arg1;
10213 int _arg2;
10214 PyObject * _argo0 = 0;
10215 char *_kwnames[] = { "self","horiz","vert", NULL };
10216
10217 self = self;
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10219 return NULL;
10220 if (_argo0) {
10221 if (_argo0 == Py_None) { _arg0 = NULL; }
10222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
10224 return NULL;
10225 }
10226 }
10227 {
10228 PyThreadState* __tstate = wxPyBeginAllowThreads();
10229 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
10230
10231 wxPyEndAllowThreads(__tstate);
10232 if (PyErr_Occurred()) return NULL;
10233 } Py_INCREF(Py_None);
10234 _resultobj = Py_None;
10235 return _resultobj;
10236 }
10237
10238 #define wxGrid_SetColLabelTextOrientation(_swigobj,_swigarg0) (_swigobj->SetColLabelTextOrientation(_swigarg0))
10239 static PyObject *_wrap_wxGrid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject * _resultobj;
10241 wxGrid * _arg0;
10242 int _arg1;
10243 PyObject * _argo0 = 0;
10244 char *_kwnames[] = { "self","textOrientation", NULL };
10245
10246 self = self;
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelTextOrientation",_kwnames,&_argo0,&_arg1))
10248 return NULL;
10249 if (_argo0) {
10250 if (_argo0 == Py_None) { _arg0 = NULL; }
10251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelTextOrientation. Expected _wxGrid_p.");
10253 return NULL;
10254 }
10255 }
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 wxGrid_SetColLabelTextOrientation(_arg0,_arg1);
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) return NULL;
10262 } Py_INCREF(Py_None);
10263 _resultobj = Py_None;
10264 return _resultobj;
10265 }
10266
10267 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
10268 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject * _resultobj;
10270 wxGrid * _arg0;
10271 int _arg1;
10272 wxString * _arg2;
10273 PyObject * _argo0 = 0;
10274 PyObject * _obj2 = 0;
10275 char *_kwnames[] = { "self","row","arg3", NULL };
10276
10277 self = self;
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
10279 return NULL;
10280 if (_argo0) {
10281 if (_argo0 == Py_None) { _arg0 = NULL; }
10282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
10284 return NULL;
10285 }
10286 }
10287 {
10288 _arg2 = wxString_in_helper(_obj2);
10289 if (_arg2 == NULL)
10290 return NULL;
10291 }
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) return NULL;
10298 } Py_INCREF(Py_None);
10299 _resultobj = Py_None;
10300 {
10301 if (_obj2)
10302 delete _arg2;
10303 }
10304 return _resultobj;
10305 }
10306
10307 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
10308 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10309 PyObject * _resultobj;
10310 wxGrid * _arg0;
10311 int _arg1;
10312 wxString * _arg2;
10313 PyObject * _argo0 = 0;
10314 PyObject * _obj2 = 0;
10315 char *_kwnames[] = { "self","col","arg3", NULL };
10316
10317 self = self;
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
10319 return NULL;
10320 if (_argo0) {
10321 if (_argo0 == Py_None) { _arg0 = NULL; }
10322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
10324 return NULL;
10325 }
10326 }
10327 {
10328 _arg2 = wxString_in_helper(_obj2);
10329 if (_arg2 == NULL)
10330 return NULL;
10331 }
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) return NULL;
10338 } Py_INCREF(Py_None);
10339 _resultobj = Py_None;
10340 {
10341 if (_obj2)
10342 delete _arg2;
10343 }
10344 return _resultobj;
10345 }
10346
10347 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
10348 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10349 PyObject * _resultobj;
10350 wxGrid * _arg0;
10351 wxColour * _arg1;
10352 PyObject * _argo0 = 0;
10353 wxColour temp;
10354 PyObject * _obj1 = 0;
10355 char *_kwnames[] = { "self","arg2", NULL };
10356
10357 self = self;
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
10359 return NULL;
10360 if (_argo0) {
10361 if (_argo0 == Py_None) { _arg0 = NULL; }
10362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
10364 return NULL;
10365 }
10366 }
10367 {
10368 _arg1 = &temp;
10369 if (! wxColour_helper(_obj1, &_arg1))
10370 return NULL;
10371 }
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 wxGrid_SetGridLineColour(_arg0,*_arg1);
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) return NULL;
10378 } Py_INCREF(Py_None);
10379 _resultobj = Py_None;
10380 return _resultobj;
10381 }
10382
10383 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10384 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10385 PyObject * _resultobj;
10386 wxGrid * _arg0;
10387 wxColour * _arg1;
10388 PyObject * _argo0 = 0;
10389 wxColour temp;
10390 PyObject * _obj1 = 0;
10391 char *_kwnames[] = { "self","arg2", NULL };
10392
10393 self = self;
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
10395 return NULL;
10396 if (_argo0) {
10397 if (_argo0 == Py_None) { _arg0 = NULL; }
10398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10400 return NULL;
10401 }
10402 }
10403 {
10404 _arg1 = &temp;
10405 if (! wxColour_helper(_obj1, &_arg1))
10406 return NULL;
10407 }
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) return NULL;
10414 } Py_INCREF(Py_None);
10415 _resultobj = Py_None;
10416 return _resultobj;
10417 }
10418
10419 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10420 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject * _resultobj;
10422 wxGrid * _arg0;
10423 int _arg1;
10424 PyObject * _argo0 = 0;
10425 char *_kwnames[] = { "self","width", NULL };
10426
10427 self = self;
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
10429 return NULL;
10430 if (_argo0) {
10431 if (_argo0 == Py_None) { _arg0 = NULL; }
10432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10434 return NULL;
10435 }
10436 }
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) return NULL;
10443 } Py_INCREF(Py_None);
10444 _resultobj = Py_None;
10445 return _resultobj;
10446 }
10447
10448 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10449 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10450 PyObject * _resultobj;
10451 wxGrid * _arg0;
10452 int _arg1;
10453 PyObject * _argo0 = 0;
10454 char *_kwnames[] = { "self","width", NULL };
10455
10456 self = self;
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
10458 return NULL;
10459 if (_argo0) {
10460 if (_argo0 == Py_None) { _arg0 = NULL; }
10461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10463 return NULL;
10464 }
10465 }
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) return NULL;
10472 } Py_INCREF(Py_None);
10473 _resultobj = Py_None;
10474 return _resultobj;
10475 }
10476
10477 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10478 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10479 PyObject * _resultobj;
10480 wxGrid * _arg0;
10481 bool _arg1 = (bool ) TRUE;
10482 PyObject * _argo0 = 0;
10483 int tempbool1 = (int) TRUE;
10484 char *_kwnames[] = { "self","enable", NULL };
10485
10486 self = self;
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
10488 return NULL;
10489 if (_argo0) {
10490 if (_argo0 == Py_None) { _arg0 = NULL; }
10491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10493 return NULL;
10494 }
10495 }
10496 _arg1 = (bool ) tempbool1;
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 wxGrid_EnableDragRowSize(_arg0,_arg1);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) return NULL;
10503 } Py_INCREF(Py_None);
10504 _resultobj = Py_None;
10505 return _resultobj;
10506 }
10507
10508 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10509 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10510 PyObject * _resultobj;
10511 wxGrid * _arg0;
10512 PyObject * _argo0 = 0;
10513 char *_kwnames[] = { "self", NULL };
10514
10515 self = self;
10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
10517 return NULL;
10518 if (_argo0) {
10519 if (_argo0 == Py_None) { _arg0 = NULL; }
10520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10522 return NULL;
10523 }
10524 }
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 wxGrid_DisableDragRowSize(_arg0);
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) return NULL;
10531 } Py_INCREF(Py_None);
10532 _resultobj = Py_None;
10533 return _resultobj;
10534 }
10535
10536 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10537 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10538 PyObject * _resultobj;
10539 bool _result;
10540 wxGrid * _arg0;
10541 PyObject * _argo0 = 0;
10542 char *_kwnames[] = { "self", NULL };
10543
10544 self = self;
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
10546 return NULL;
10547 if (_argo0) {
10548 if (_argo0 == Py_None) { _arg0 = NULL; }
10549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10551 return NULL;
10552 }
10553 }
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 _result = (bool )wxGrid_CanDragRowSize(_arg0);
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) return NULL;
10560 } _resultobj = Py_BuildValue("i",_result);
10561 return _resultobj;
10562 }
10563
10564 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10565 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject * _resultobj;
10567 wxGrid * _arg0;
10568 bool _arg1 = (bool ) TRUE;
10569 PyObject * _argo0 = 0;
10570 int tempbool1 = (int) TRUE;
10571 char *_kwnames[] = { "self","enable", NULL };
10572
10573 self = self;
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
10575 return NULL;
10576 if (_argo0) {
10577 if (_argo0 == Py_None) { _arg0 = NULL; }
10578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10580 return NULL;
10581 }
10582 }
10583 _arg1 = (bool ) tempbool1;
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 wxGrid_EnableDragColSize(_arg0,_arg1);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) return NULL;
10590 } Py_INCREF(Py_None);
10591 _resultobj = Py_None;
10592 return _resultobj;
10593 }
10594
10595 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10596 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject * _resultobj;
10598 wxGrid * _arg0;
10599 PyObject * _argo0 = 0;
10600 char *_kwnames[] = { "self", NULL };
10601
10602 self = self;
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
10604 return NULL;
10605 if (_argo0) {
10606 if (_argo0 == Py_None) { _arg0 = NULL; }
10607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10609 return NULL;
10610 }
10611 }
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 wxGrid_DisableDragColSize(_arg0);
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) return NULL;
10618 } Py_INCREF(Py_None);
10619 _resultobj = Py_None;
10620 return _resultobj;
10621 }
10622
10623 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10624 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject * _resultobj;
10626 bool _result;
10627 wxGrid * _arg0;
10628 PyObject * _argo0 = 0;
10629 char *_kwnames[] = { "self", NULL };
10630
10631 self = self;
10632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
10633 return NULL;
10634 if (_argo0) {
10635 if (_argo0 == Py_None) { _arg0 = NULL; }
10636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10638 return NULL;
10639 }
10640 }
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 _result = (bool )wxGrid_CanDragColSize(_arg0);
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) return NULL;
10647 } _resultobj = Py_BuildValue("i",_result);
10648 return _resultobj;
10649 }
10650
10651 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10652 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject * _resultobj;
10654 wxGrid * _arg0;
10655 bool _arg1 = (bool ) TRUE;
10656 PyObject * _argo0 = 0;
10657 int tempbool1 = (int) TRUE;
10658 char *_kwnames[] = { "self","enable", NULL };
10659
10660 self = self;
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
10662 return NULL;
10663 if (_argo0) {
10664 if (_argo0 == Py_None) { _arg0 = NULL; }
10665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10667 return NULL;
10668 }
10669 }
10670 _arg1 = (bool ) tempbool1;
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
10673 wxGrid_EnableDragGridSize(_arg0,_arg1);
10674
10675 wxPyEndAllowThreads(__tstate);
10676 if (PyErr_Occurred()) return NULL;
10677 } Py_INCREF(Py_None);
10678 _resultobj = Py_None;
10679 return _resultobj;
10680 }
10681
10682 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10683 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10684 PyObject * _resultobj;
10685 wxGrid * _arg0;
10686 PyObject * _argo0 = 0;
10687 char *_kwnames[] = { "self", NULL };
10688
10689 self = self;
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
10691 return NULL;
10692 if (_argo0) {
10693 if (_argo0 == Py_None) { _arg0 = NULL; }
10694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10696 return NULL;
10697 }
10698 }
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 wxGrid_DisableDragGridSize(_arg0);
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) return NULL;
10705 } Py_INCREF(Py_None);
10706 _resultobj = Py_None;
10707 return _resultobj;
10708 }
10709
10710 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10711 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10712 PyObject * _resultobj;
10713 bool _result;
10714 wxGrid * _arg0;
10715 PyObject * _argo0 = 0;
10716 char *_kwnames[] = { "self", NULL };
10717
10718 self = self;
10719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
10720 return NULL;
10721 if (_argo0) {
10722 if (_argo0 == Py_None) { _arg0 = NULL; }
10723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10725 return NULL;
10726 }
10727 }
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 _result = (bool )wxGrid_CanDragGridSize(_arg0);
10731
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) return NULL;
10734 } _resultobj = Py_BuildValue("i",_result);
10735 return _resultobj;
10736 }
10737
10738 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10739 static PyObject *_wrap_wxGrid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject * _resultobj;
10741 wxGrid * _arg0;
10742 int _arg1;
10743 int _arg2;
10744 wxGridCellAttr * _arg3;
10745 PyObject * _argo0 = 0;
10746 PyObject * _argo3 = 0;
10747 char *_kwnames[] = { "self","row","col","attr", NULL };
10748
10749 self = self;
10750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10751 return NULL;
10752 if (_argo0) {
10753 if (_argo0 == Py_None) { _arg0 = NULL; }
10754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10756 return NULL;
10757 }
10758 }
10759 if (_argo3) {
10760 if (_argo3 == Py_None) { _arg3 = NULL; }
10761 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellAttr_p")) {
10762 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10763 return NULL;
10764 }
10765 }
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 wxGrid_SetAttr(_arg0,_arg1,_arg2,_arg3);
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) return NULL;
10772 } Py_INCREF(Py_None);
10773 _resultobj = Py_None;
10774 return _resultobj;
10775 }
10776
10777 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10778 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject * _resultobj;
10780 wxGrid * _arg0;
10781 int _arg1;
10782 wxGridCellAttr * _arg2;
10783 PyObject * _argo0 = 0;
10784 PyObject * _argo2 = 0;
10785 char *_kwnames[] = { "self","row","attr", NULL };
10786
10787 self = self;
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10789 return NULL;
10790 if (_argo0) {
10791 if (_argo0 == Py_None) { _arg0 = NULL; }
10792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10794 return NULL;
10795 }
10796 }
10797 if (_argo2) {
10798 if (_argo2 == Py_None) { _arg2 = NULL; }
10799 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10800 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10801 return NULL;
10802 }
10803 }
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) return NULL;
10810 } Py_INCREF(Py_None);
10811 _resultobj = Py_None;
10812 return _resultobj;
10813 }
10814
10815 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10816 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject * _resultobj;
10818 wxGrid * _arg0;
10819 int _arg1;
10820 wxGridCellAttr * _arg2;
10821 PyObject * _argo0 = 0;
10822 PyObject * _argo2 = 0;
10823 char *_kwnames[] = { "self","col","attr", NULL };
10824
10825 self = self;
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10827 return NULL;
10828 if (_argo0) {
10829 if (_argo0 == Py_None) { _arg0 = NULL; }
10830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10832 return NULL;
10833 }
10834 }
10835 if (_argo2) {
10836 if (_argo2 == Py_None) { _arg2 = NULL; }
10837 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10838 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10839 return NULL;
10840 }
10841 }
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) return NULL;
10848 } Py_INCREF(Py_None);
10849 _resultobj = Py_None;
10850 return _resultobj;
10851 }
10852
10853 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10854 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10855 PyObject * _resultobj;
10856 wxGrid * _arg0;
10857 int _arg1;
10858 PyObject * _argo0 = 0;
10859 char *_kwnames[] = { "self","col", NULL };
10860
10861 self = self;
10862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10863 return NULL;
10864 if (_argo0) {
10865 if (_argo0 == Py_None) { _arg0 = NULL; }
10866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10868 return NULL;
10869 }
10870 }
10871 {
10872 PyThreadState* __tstate = wxPyBeginAllowThreads();
10873 wxGrid_SetColFormatBool(_arg0,_arg1);
10874
10875 wxPyEndAllowThreads(__tstate);
10876 if (PyErr_Occurred()) return NULL;
10877 } Py_INCREF(Py_None);
10878 _resultobj = Py_None;
10879 return _resultobj;
10880 }
10881
10882 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10883 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject * _resultobj;
10885 wxGrid * _arg0;
10886 int _arg1;
10887 PyObject * _argo0 = 0;
10888 char *_kwnames[] = { "self","col", NULL };
10889
10890 self = self;
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
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_SetColFormatNumber. Expected _wxGrid_p.");
10897 return NULL;
10898 }
10899 }
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 wxGrid_SetColFormatNumber(_arg0,_arg1);
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_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10912 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject * _resultobj;
10914 wxGrid * _arg0;
10915 int _arg1;
10916 int _arg2 = (int ) -1;
10917 int _arg3 = (int ) -1;
10918 PyObject * _argo0 = 0;
10919 char *_kwnames[] = { "self","col","width","precision", NULL };
10920
10921 self = self;
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
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_SetColFormatFloat. Expected _wxGrid_p.");
10928 return NULL;
10929 }
10930 }
10931 {
10932 PyThreadState* __tstate = wxPyBeginAllowThreads();
10933 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10934
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) return NULL;
10937 } Py_INCREF(Py_None);
10938 _resultobj = Py_None;
10939 return _resultobj;
10940 }
10941
10942 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10943 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10944 PyObject * _resultobj;
10945 wxGrid * _arg0;
10946 int _arg1;
10947 wxString * _arg2;
10948 PyObject * _argo0 = 0;
10949 PyObject * _obj2 = 0;
10950 char *_kwnames[] = { "self","col","typeName", NULL };
10951
10952 self = self;
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10954 return NULL;
10955 if (_argo0) {
10956 if (_argo0 == Py_None) { _arg0 = NULL; }
10957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10959 return NULL;
10960 }
10961 }
10962 {
10963 _arg2 = wxString_in_helper(_obj2);
10964 if (_arg2 == NULL)
10965 return NULL;
10966 }
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) return NULL;
10973 } Py_INCREF(Py_None);
10974 _resultobj = Py_None;
10975 {
10976 if (_obj2)
10977 delete _arg2;
10978 }
10979 return _resultobj;
10980 }
10981
10982 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10983 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject * _resultobj;
10985 wxGrid * _arg0;
10986 bool _arg1 = (bool ) TRUE;
10987 PyObject * _argo0 = 0;
10988 int tempbool1 = (int) TRUE;
10989 char *_kwnames[] = { "self","enable", NULL };
10990
10991 self = self;
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10993 return NULL;
10994 if (_argo0) {
10995 if (_argo0 == Py_None) { _arg0 = NULL; }
10996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10998 return NULL;
10999 }
11000 }
11001 _arg1 = (bool ) tempbool1;
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 wxGrid_EnableGridLines(_arg0,_arg1);
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) return NULL;
11008 } Py_INCREF(Py_None);
11009 _resultobj = Py_None;
11010 return _resultobj;
11011 }
11012
11013 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
11014 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject * _resultobj;
11016 bool _result;
11017 wxGrid * _arg0;
11018 PyObject * _argo0 = 0;
11019 char *_kwnames[] = { "self", NULL };
11020
11021 self = self;
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
11023 return NULL;
11024 if (_argo0) {
11025 if (_argo0 == Py_None) { _arg0 = NULL; }
11026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
11028 return NULL;
11029 }
11030 }
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) return NULL;
11037 } _resultobj = Py_BuildValue("i",_result);
11038 return _resultobj;
11039 }
11040
11041 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
11042 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11043 PyObject * _resultobj;
11044 int _result;
11045 wxGrid * _arg0;
11046 PyObject * _argo0 = 0;
11047 char *_kwnames[] = { "self", NULL };
11048
11049 self = self;
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
11051 return NULL;
11052 if (_argo0) {
11053 if (_argo0 == Py_None) { _arg0 = NULL; }
11054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
11056 return NULL;
11057 }
11058 }
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
11062
11063 wxPyEndAllowThreads(__tstate);
11064 if (PyErr_Occurred()) return NULL;
11065 } _resultobj = Py_BuildValue("i",_result);
11066 return _resultobj;
11067 }
11068
11069 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
11070 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11071 PyObject * _resultobj;
11072 int _result;
11073 wxGrid * _arg0;
11074 int _arg1;
11075 PyObject * _argo0 = 0;
11076 char *_kwnames[] = { "self","row", NULL };
11077
11078 self = self;
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
11080 return NULL;
11081 if (_argo0) {
11082 if (_argo0 == Py_None) { _arg0 = NULL; }
11083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
11085 return NULL;
11086 }
11087 }
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) return NULL;
11094 } _resultobj = Py_BuildValue("i",_result);
11095 return _resultobj;
11096 }
11097
11098 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
11099 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11100 PyObject * _resultobj;
11101 int _result;
11102 wxGrid * _arg0;
11103 PyObject * _argo0 = 0;
11104 char *_kwnames[] = { "self", NULL };
11105
11106 self = self;
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
11108 return NULL;
11109 if (_argo0) {
11110 if (_argo0 == Py_None) { _arg0 = NULL; }
11111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
11113 return NULL;
11114 }
11115 }
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 _result = (int )wxGrid_GetDefaultColSize(_arg0);
11119
11120 wxPyEndAllowThreads(__tstate);
11121 if (PyErr_Occurred()) return NULL;
11122 } _resultobj = Py_BuildValue("i",_result);
11123 return _resultobj;
11124 }
11125
11126 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
11127 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject * _resultobj;
11129 int _result;
11130 wxGrid * _arg0;
11131 int _arg1;
11132 PyObject * _argo0 = 0;
11133 char *_kwnames[] = { "self","col", NULL };
11134
11135 self = self;
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
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_GetColSize. Expected _wxGrid_p.");
11142 return NULL;
11143 }
11144 }
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) return NULL;
11151 } _resultobj = Py_BuildValue("i",_result);
11152 return _resultobj;
11153 }
11154
11155 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
11156 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11157 PyObject * _resultobj;
11158 wxColour * _result;
11159 wxGrid * _arg0;
11160 PyObject * _argo0 = 0;
11161 char *_kwnames[] = { "self", NULL };
11162 char _ptemp[128];
11163
11164 self = self;
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
11166 return NULL;
11167 if (_argo0) {
11168 if (_argo0 == Py_None) { _arg0 = NULL; }
11169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11171 return NULL;
11172 }
11173 }
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) return NULL;
11180 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11181 _resultobj = Py_BuildValue("s",_ptemp);
11182 return _resultobj;
11183 }
11184
11185 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
11186 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject * _resultobj;
11188 wxColour * _result;
11189 wxGrid * _arg0;
11190 int _arg1;
11191 int _arg2;
11192 PyObject * _argo0 = 0;
11193 char *_kwnames[] = { "self","row","col", NULL };
11194 char _ptemp[128];
11195
11196 self = self;
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
11198 return NULL;
11199 if (_argo0) {
11200 if (_argo0 == Py_None) { _arg0 = NULL; }
11201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
11203 return NULL;
11204 }
11205 }
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) return NULL;
11212 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11213 _resultobj = Py_BuildValue("s",_ptemp);
11214 return _resultobj;
11215 }
11216
11217 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
11218 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject * _resultobj;
11220 wxColour * _result;
11221 wxGrid * _arg0;
11222 PyObject * _argo0 = 0;
11223 char *_kwnames[] = { "self", NULL };
11224 char _ptemp[128];
11225
11226 self = self;
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
11228 return NULL;
11229 if (_argo0) {
11230 if (_argo0 == Py_None) { _arg0 = NULL; }
11231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
11233 return NULL;
11234 }
11235 }
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
11239
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) return NULL;
11242 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11243 _resultobj = Py_BuildValue("s",_ptemp);
11244 return _resultobj;
11245 }
11246
11247 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
11248 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11249 PyObject * _resultobj;
11250 wxColour * _result;
11251 wxGrid * _arg0;
11252 int _arg1;
11253 int _arg2;
11254 PyObject * _argo0 = 0;
11255 char *_kwnames[] = { "self","row","col", NULL };
11256 char _ptemp[128];
11257
11258 self = self;
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
11260 return NULL;
11261 if (_argo0) {
11262 if (_argo0 == Py_None) { _arg0 = NULL; }
11263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
11265 return NULL;
11266 }
11267 }
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) return NULL;
11274 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11275 _resultobj = Py_BuildValue("s",_ptemp);
11276 return _resultobj;
11277 }
11278
11279 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
11280 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11281 PyObject * _resultobj;
11282 wxFont * _result;
11283 wxGrid * _arg0;
11284 PyObject * _argo0 = 0;
11285 char *_kwnames[] = { "self", NULL };
11286 char _ptemp[128];
11287
11288 self = self;
11289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
11290 return NULL;
11291 if (_argo0) {
11292 if (_argo0 == Py_None) { _arg0 = NULL; }
11293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
11295 return NULL;
11296 }
11297 }
11298 {
11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
11300 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
11301
11302 wxPyEndAllowThreads(__tstate);
11303 if (PyErr_Occurred()) return NULL;
11304 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11305 _resultobj = Py_BuildValue("s",_ptemp);
11306 return _resultobj;
11307 }
11308
11309 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
11310 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject * _resultobj;
11312 wxFont * _result;
11313 wxGrid * _arg0;
11314 int _arg1;
11315 int _arg2;
11316 PyObject * _argo0 = 0;
11317 char *_kwnames[] = { "self","row","col", NULL };
11318 char _ptemp[128];
11319
11320 self = self;
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
11322 return NULL;
11323 if (_argo0) {
11324 if (_argo0 == Py_None) { _arg0 = NULL; }
11325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
11327 return NULL;
11328 }
11329 }
11330 {
11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
11332 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
11333
11334 wxPyEndAllowThreads(__tstate);
11335 if (PyErr_Occurred()) return NULL;
11336 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11337 _resultobj = Py_BuildValue("s",_ptemp);
11338 return _resultobj;
11339 }
11340
11341 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
11342 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11343 PyObject * _resultobj;
11344 wxGrid * _arg0;
11345 int * _arg1;
11346 int temp;
11347 int * _arg2;
11348 int temp0;
11349 PyObject * _argo0 = 0;
11350 char *_kwnames[] = { "self", NULL };
11351
11352 self = self;
11353 {
11354 _arg1 = &temp;
11355 }
11356 {
11357 _arg2 = &temp0;
11358 }
11359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0))
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_GetDefaultCellAlignment. Expected _wxGrid_p.");
11365 return NULL;
11366 }
11367 }
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) return NULL;
11374 } Py_INCREF(Py_None);
11375 _resultobj = Py_None;
11376 {
11377 PyObject *o;
11378 o = PyInt_FromLong((long) (*_arg1));
11379 _resultobj = t_output_helper(_resultobj, o);
11380 }
11381 {
11382 PyObject *o;
11383 o = PyInt_FromLong((long) (*_arg2));
11384 _resultobj = t_output_helper(_resultobj, o);
11385 }
11386 return _resultobj;
11387 }
11388
11389 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11390 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11391 PyObject * _resultobj;
11392 wxGrid * _arg0;
11393 int _arg1;
11394 int _arg2;
11395 int * _arg3;
11396 int temp;
11397 int * _arg4;
11398 int temp0;
11399 PyObject * _argo0 = 0;
11400 char *_kwnames[] = { "self","row","col", NULL };
11401
11402 self = self;
11403 {
11404 _arg3 = &temp;
11405 }
11406 {
11407 _arg4 = &temp0;
11408 }
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11410 return NULL;
11411 if (_argo0) {
11412 if (_argo0 == Py_None) { _arg0 = NULL; }
11413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11415 return NULL;
11416 }
11417 }
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11421
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) return NULL;
11424 } Py_INCREF(Py_None);
11425 _resultobj = Py_None;
11426 {
11427 PyObject *o;
11428 o = PyInt_FromLong((long) (*_arg3));
11429 _resultobj = t_output_helper(_resultobj, o);
11430 }
11431 {
11432 PyObject *o;
11433 o = PyInt_FromLong((long) (*_arg4));
11434 _resultobj = t_output_helper(_resultobj, o);
11435 }
11436 return _resultobj;
11437 }
11438
11439 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11440 static PyObject *_wrap_wxGrid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject * _resultobj;
11442 bool _result;
11443 wxGrid * _arg0;
11444 PyObject * _argo0 = 0;
11445 char *_kwnames[] = { "self", NULL };
11446
11447 self = self;
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellOverflow",_kwnames,&_argo0))
11449 return NULL;
11450 if (_argo0) {
11451 if (_argo0 == Py_None) { _arg0 = NULL; }
11452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11454 return NULL;
11455 }
11456 }
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 _result = (bool )wxGrid_GetDefaultCellOverflow(_arg0);
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) return NULL;
11463 } _resultobj = Py_BuildValue("i",_result);
11464 return _resultobj;
11465 }
11466
11467 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11468 static PyObject *_wrap_wxGrid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject * _resultobj;
11470 bool _result;
11471 wxGrid * _arg0;
11472 int _arg1;
11473 int _arg2;
11474 PyObject * _argo0 = 0;
11475 char *_kwnames[] = { "self","row","col", NULL };
11476
11477 self = self;
11478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2))
11479 return NULL;
11480 if (_argo0) {
11481 if (_argo0 == Py_None) { _arg0 = NULL; }
11482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11484 return NULL;
11485 }
11486 }
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 _result = (bool )wxGrid_GetCellOverflow(_arg0,_arg1,_arg2);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) return NULL;
11493 } _resultobj = Py_BuildValue("i",_result);
11494 return _resultobj;
11495 }
11496
11497 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11498 static PyObject *_wrap_wxGrid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11499 PyObject * _resultobj;
11500 wxGrid * _arg0;
11501 int _arg1;
11502 int _arg2;
11503 int * _arg3;
11504 int temp;
11505 int * _arg4;
11506 int temp0;
11507 PyObject * _argo0 = 0;
11508 char *_kwnames[] = { "self","row","col", NULL };
11509
11510 self = self;
11511 {
11512 _arg3 = &temp;
11513 }
11514 {
11515 _arg4 = &temp0;
11516 }
11517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellSize",_kwnames,&_argo0,&_arg1,&_arg2))
11518 return NULL;
11519 if (_argo0) {
11520 if (_argo0 == Py_None) { _arg0 = NULL; }
11521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11523 return NULL;
11524 }
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 wxGrid_GetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) return NULL;
11532 } Py_INCREF(Py_None);
11533 _resultobj = Py_None;
11534 {
11535 PyObject *o;
11536 o = PyInt_FromLong((long) (*_arg3));
11537 _resultobj = t_output_helper(_resultobj, o);
11538 }
11539 {
11540 PyObject *o;
11541 o = PyInt_FromLong((long) (*_arg4));
11542 _resultobj = t_output_helper(_resultobj, o);
11543 }
11544 return _resultobj;
11545 }
11546
11547 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11548 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11549 PyObject * _resultobj;
11550 wxGrid * _arg0;
11551 int _arg1;
11552 bool _arg2 = (bool ) FALSE;
11553 PyObject * _argo0 = 0;
11554 int tempbool2 = (int) FALSE;
11555 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
11556
11557 self = self;
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
11559 return NULL;
11560 if (_argo0) {
11561 if (_argo0 == Py_None) { _arg0 = NULL; }
11562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11564 return NULL;
11565 }
11566 }
11567 _arg2 = (bool ) tempbool2;
11568 {
11569 PyThreadState* __tstate = wxPyBeginAllowThreads();
11570 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
11571
11572 wxPyEndAllowThreads(__tstate);
11573 if (PyErr_Occurred()) return NULL;
11574 } Py_INCREF(Py_None);
11575 _resultobj = Py_None;
11576 return _resultobj;
11577 }
11578
11579 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11580 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11581 PyObject * _resultobj;
11582 wxGrid * _arg0;
11583 int _arg1;
11584 int _arg2;
11585 PyObject * _argo0 = 0;
11586 char *_kwnames[] = { "self","row","height", NULL };
11587
11588 self = self;
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
11590 return NULL;
11591 if (_argo0) {
11592 if (_argo0 == Py_None) { _arg0 = NULL; }
11593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11595 return NULL;
11596 }
11597 }
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) return NULL;
11604 } Py_INCREF(Py_None);
11605 _resultobj = Py_None;
11606 return _resultobj;
11607 }
11608
11609 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11610 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11611 PyObject * _resultobj;
11612 wxGrid * _arg0;
11613 int _arg1;
11614 bool _arg2 = (bool ) FALSE;
11615 PyObject * _argo0 = 0;
11616 int tempbool2 = (int) FALSE;
11617 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
11618
11619 self = self;
11620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
11621 return NULL;
11622 if (_argo0) {
11623 if (_argo0 == Py_None) { _arg0 = NULL; }
11624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11626 return NULL;
11627 }
11628 }
11629 _arg2 = (bool ) tempbool2;
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) return NULL;
11636 } Py_INCREF(Py_None);
11637 _resultobj = Py_None;
11638 return _resultobj;
11639 }
11640
11641 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11642 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11643 PyObject * _resultobj;
11644 wxGrid * _arg0;
11645 int _arg1;
11646 int _arg2;
11647 PyObject * _argo0 = 0;
11648 char *_kwnames[] = { "self","col","width", NULL };
11649
11650 self = self;
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
11652 return NULL;
11653 if (_argo0) {
11654 if (_argo0 == Py_None) { _arg0 = NULL; }
11655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11657 return NULL;
11658 }
11659 }
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 wxGrid_SetColSize(_arg0,_arg1,_arg2);
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) return NULL;
11666 } Py_INCREF(Py_None);
11667 _resultobj = Py_None;
11668 return _resultobj;
11669 }
11670
11671 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11672 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject * _resultobj;
11674 wxGrid * _arg0;
11675 int _arg1;
11676 bool _arg2 = (bool ) TRUE;
11677 PyObject * _argo0 = 0;
11678 int tempbool2 = (int) TRUE;
11679 char *_kwnames[] = { "self","col","setAsMin", NULL };
11680
11681 self = self;
11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
11683 return NULL;
11684 if (_argo0) {
11685 if (_argo0 == Py_None) { _arg0 = NULL; }
11686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11688 return NULL;
11689 }
11690 }
11691 _arg2 = (bool ) tempbool2;
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) return NULL;
11698 } Py_INCREF(Py_None);
11699 _resultobj = Py_None;
11700 return _resultobj;
11701 }
11702
11703 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11704 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject * _resultobj;
11706 wxGrid * _arg0;
11707 int _arg1;
11708 bool _arg2 = (bool ) TRUE;
11709 PyObject * _argo0 = 0;
11710 int tempbool2 = (int) TRUE;
11711 char *_kwnames[] = { "self","row","setAsMin", NULL };
11712
11713 self = self;
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11715 return NULL;
11716 if (_argo0) {
11717 if (_argo0 == Py_None) { _arg0 = NULL; }
11718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11720 return NULL;
11721 }
11722 }
11723 _arg2 = (bool ) tempbool2;
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) return NULL;
11730 } Py_INCREF(Py_None);
11731 _resultobj = Py_None;
11732 return _resultobj;
11733 }
11734
11735 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11736 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject * _resultobj;
11738 wxGrid * _arg0;
11739 bool _arg1 = (bool ) TRUE;
11740 PyObject * _argo0 = 0;
11741 int tempbool1 = (int) TRUE;
11742 char *_kwnames[] = { "self","setAsMin", NULL };
11743
11744 self = self;
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
11746 return NULL;
11747 if (_argo0) {
11748 if (_argo0 == Py_None) { _arg0 = NULL; }
11749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11751 return NULL;
11752 }
11753 }
11754 _arg1 = (bool ) tempbool1;
11755 {
11756 PyThreadState* __tstate = wxPyBeginAllowThreads();
11757 wxGrid_AutoSizeColumns(_arg0,_arg1);
11758
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) return NULL;
11761 } Py_INCREF(Py_None);
11762 _resultobj = Py_None;
11763 return _resultobj;
11764 }
11765
11766 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11767 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject * _resultobj;
11769 wxGrid * _arg0;
11770 bool _arg1 = (bool ) TRUE;
11771 PyObject * _argo0 = 0;
11772 int tempbool1 = (int) TRUE;
11773 char *_kwnames[] = { "self","setAsMin", NULL };
11774
11775 self = self;
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
11777 return NULL;
11778 if (_argo0) {
11779 if (_argo0 == Py_None) { _arg0 = NULL; }
11780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11782 return NULL;
11783 }
11784 }
11785 _arg1 = (bool ) tempbool1;
11786 {
11787 PyThreadState* __tstate = wxPyBeginAllowThreads();
11788 wxGrid_AutoSizeRows(_arg0,_arg1);
11789
11790 wxPyEndAllowThreads(__tstate);
11791 if (PyErr_Occurred()) return NULL;
11792 } Py_INCREF(Py_None);
11793 _resultobj = Py_None;
11794 return _resultobj;
11795 }
11796
11797 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11798 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11799 PyObject * _resultobj;
11800 wxGrid * _arg0;
11801 PyObject * _argo0 = 0;
11802 char *_kwnames[] = { "self", NULL };
11803
11804 self = self;
11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
11806 return NULL;
11807 if (_argo0) {
11808 if (_argo0 == Py_None) { _arg0 = NULL; }
11809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11811 return NULL;
11812 }
11813 }
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 wxGrid_AutoSize(_arg0);
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) return NULL;
11820 } Py_INCREF(Py_None);
11821 _resultobj = Py_None;
11822 return _resultobj;
11823 }
11824
11825 #define wxGrid_AutoSizeRowLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeRowLabelSize(_swigarg0))
11826 static PyObject *_wrap_wxGrid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11827 PyObject * _resultobj;
11828 wxGrid * _arg0;
11829 int _arg1;
11830 PyObject * _argo0 = 0;
11831 char *_kwnames[] = { "self","row", NULL };
11832
11833 self = self;
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_AutoSizeRowLabelSize",_kwnames,&_argo0,&_arg1))
11835 return NULL;
11836 if (_argo0) {
11837 if (_argo0 == Py_None) { _arg0 = NULL; }
11838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRowLabelSize. Expected _wxGrid_p.");
11840 return NULL;
11841 }
11842 }
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 wxGrid_AutoSizeRowLabelSize(_arg0,_arg1);
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_AutoSizeColLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeColLabelSize(_swigarg0))
11855 static PyObject *_wrap_wxGrid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11856 PyObject * _resultobj;
11857 wxGrid * _arg0;
11858 int _arg1;
11859 PyObject * _argo0 = 0;
11860 char *_kwnames[] = { "self","col", NULL };
11861
11862 self = self;
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_AutoSizeColLabelSize",_kwnames,&_argo0,&_arg1))
11864 return NULL;
11865 if (_argo0) {
11866 if (_argo0 == Py_None) { _arg0 = NULL; }
11867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColLabelSize. Expected _wxGrid_p.");
11869 return NULL;
11870 }
11871 }
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 wxGrid_AutoSizeColLabelSize(_arg0,_arg1);
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) return NULL;
11878 } Py_INCREF(Py_None);
11879 _resultobj = Py_None;
11880 return _resultobj;
11881 }
11882
11883 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11884 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11885 PyObject * _resultobj;
11886 wxGrid * _arg0;
11887 int _arg1;
11888 int _arg2;
11889 PyObject * _argo0 = 0;
11890 char *_kwnames[] = { "self","col","width", NULL };
11891
11892 self = self;
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
11894 return NULL;
11895 if (_argo0) {
11896 if (_argo0 == Py_None) { _arg0 = NULL; }
11897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11899 return NULL;
11900 }
11901 }
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) return NULL;
11908 } Py_INCREF(Py_None);
11909 _resultobj = Py_None;
11910 return _resultobj;
11911 }
11912
11913 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11914 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11915 PyObject * _resultobj;
11916 wxGrid * _arg0;
11917 int _arg1;
11918 int _arg2;
11919 PyObject * _argo0 = 0;
11920 char *_kwnames[] = { "self","row","width", NULL };
11921
11922 self = self;
11923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
11924 return NULL;
11925 if (_argo0) {
11926 if (_argo0 == Py_None) { _arg0 = NULL; }
11927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11929 return NULL;
11930 }
11931 }
11932 {
11933 PyThreadState* __tstate = wxPyBeginAllowThreads();
11934 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
11935
11936 wxPyEndAllowThreads(__tstate);
11937 if (PyErr_Occurred()) return NULL;
11938 } Py_INCREF(Py_None);
11939 _resultobj = Py_None;
11940 return _resultobj;
11941 }
11942
11943 #define wxGrid_SetColMinimalAcceptableWidth(_swigobj,_swigarg0) (_swigobj->SetColMinimalAcceptableWidth(_swigarg0))
11944 static PyObject *_wrap_wxGrid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11945 PyObject * _resultobj;
11946 wxGrid * _arg0;
11947 int _arg1;
11948 PyObject * _argo0 = 0;
11949 char *_kwnames[] = { "self","width", NULL };
11950
11951 self = self;
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColMinimalAcceptableWidth",_kwnames,&_argo0,&_arg1))
11953 return NULL;
11954 if (_argo0) {
11955 if (_argo0 == Py_None) { _arg0 = NULL; }
11956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalAcceptableWidth. Expected _wxGrid_p.");
11958 return NULL;
11959 }
11960 }
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 wxGrid_SetColMinimalAcceptableWidth(_arg0,_arg1);
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) return NULL;
11967 } Py_INCREF(Py_None);
11968 _resultobj = Py_None;
11969 return _resultobj;
11970 }
11971
11972 #define wxGrid_SetRowMinimalAcceptableHeight(_swigobj,_swigarg0) (_swigobj->SetRowMinimalAcceptableHeight(_swigarg0))
11973 static PyObject *_wrap_wxGrid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject * _resultobj;
11975 wxGrid * _arg0;
11976 int _arg1;
11977 PyObject * _argo0 = 0;
11978 char *_kwnames[] = { "self","width", NULL };
11979
11980 self = self;
11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowMinimalAcceptableHeight",_kwnames,&_argo0,&_arg1))
11982 return NULL;
11983 if (_argo0) {
11984 if (_argo0 == Py_None) { _arg0 = NULL; }
11985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
11987 return NULL;
11988 }
11989 }
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 wxGrid_SetRowMinimalAcceptableHeight(_arg0,_arg1);
11993
11994 wxPyEndAllowThreads(__tstate);
11995 if (PyErr_Occurred()) return NULL;
11996 } Py_INCREF(Py_None);
11997 _resultobj = Py_None;
11998 return _resultobj;
11999 }
12000
12001 #define wxGrid_GetColMinimalAcceptableWidth(_swigobj) (_swigobj->GetColMinimalAcceptableWidth())
12002 static PyObject *_wrap_wxGrid_GetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
12003 PyObject * _resultobj;
12004 int _result;
12005 wxGrid * _arg0;
12006 PyObject * _argo0 = 0;
12007 char *_kwnames[] = { "self", NULL };
12008
12009 self = self;
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColMinimalAcceptableWidth",_kwnames,&_argo0))
12011 return NULL;
12012 if (_argo0) {
12013 if (_argo0 == Py_None) { _arg0 = NULL; }
12014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColMinimalAcceptableWidth. Expected _wxGrid_p.");
12016 return NULL;
12017 }
12018 }
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 _result = (int )wxGrid_GetColMinimalAcceptableWidth(_arg0);
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) return NULL;
12025 } _resultobj = Py_BuildValue("i",_result);
12026 return _resultobj;
12027 }
12028
12029 #define wxGrid_GetRowMinimalAcceptableHeight(_swigobj) (_swigobj->GetRowMinimalAcceptableHeight())
12030 static PyObject *_wrap_wxGrid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject * _resultobj;
12032 int _result;
12033 wxGrid * _arg0;
12034 PyObject * _argo0 = 0;
12035 char *_kwnames[] = { "self", NULL };
12036
12037 self = self;
12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowMinimalAcceptableHeight",_kwnames,&_argo0))
12039 return NULL;
12040 if (_argo0) {
12041 if (_argo0 == Py_None) { _arg0 = NULL; }
12042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
12044 return NULL;
12045 }
12046 }
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 _result = (int )wxGrid_GetRowMinimalAcceptableHeight(_arg0);
12050
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) return NULL;
12053 } _resultobj = Py_BuildValue("i",_result);
12054 return _resultobj;
12055 }
12056
12057 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
12058 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject * _resultobj;
12060 wxGrid * _arg0;
12061 wxColour * _arg1;
12062 PyObject * _argo0 = 0;
12063 wxColour temp;
12064 PyObject * _obj1 = 0;
12065 char *_kwnames[] = { "self","arg2", NULL };
12066
12067 self = self;
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
12069 return NULL;
12070 if (_argo0) {
12071 if (_argo0 == Py_None) { _arg0 = NULL; }
12072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
12074 return NULL;
12075 }
12076 }
12077 {
12078 _arg1 = &temp;
12079 if (! wxColour_helper(_obj1, &_arg1))
12080 return NULL;
12081 }
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
12085
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) return NULL;
12088 } Py_INCREF(Py_None);
12089 _resultobj = Py_None;
12090 return _resultobj;
12091 }
12092
12093 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
12094 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12095 PyObject * _resultobj;
12096 wxGrid * _arg0;
12097 int _arg1;
12098 int _arg2;
12099 wxColour * _arg3;
12100 PyObject * _argo0 = 0;
12101 wxColour temp;
12102 PyObject * _obj3 = 0;
12103 char *_kwnames[] = { "self","row","col","arg4", NULL };
12104
12105 self = self;
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
12107 return NULL;
12108 if (_argo0) {
12109 if (_argo0 == Py_None) { _arg0 = NULL; }
12110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
12112 return NULL;
12113 }
12114 }
12115 {
12116 _arg3 = &temp;
12117 if (! wxColour_helper(_obj3, &_arg3))
12118 return NULL;
12119 }
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) return NULL;
12126 } Py_INCREF(Py_None);
12127 _resultobj = Py_None;
12128 return _resultobj;
12129 }
12130
12131 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
12132 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12133 PyObject * _resultobj;
12134 wxGrid * _arg0;
12135 wxColour * _arg1;
12136 PyObject * _argo0 = 0;
12137 wxColour temp;
12138 PyObject * _obj1 = 0;
12139 char *_kwnames[] = { "self","arg2", NULL };
12140
12141 self = self;
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
12143 return NULL;
12144 if (_argo0) {
12145 if (_argo0 == Py_None) { _arg0 = NULL; }
12146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
12148 return NULL;
12149 }
12150 }
12151 {
12152 _arg1 = &temp;
12153 if (! wxColour_helper(_obj1, &_arg1))
12154 return NULL;
12155 }
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) return NULL;
12162 } Py_INCREF(Py_None);
12163 _resultobj = Py_None;
12164 return _resultobj;
12165 }
12166
12167 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
12168 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12169 PyObject * _resultobj;
12170 wxGrid * _arg0;
12171 int _arg1;
12172 int _arg2;
12173 wxColour * _arg3;
12174 PyObject * _argo0 = 0;
12175 wxColour temp;
12176 PyObject * _obj3 = 0;
12177 char *_kwnames[] = { "self","row","col","arg4", NULL };
12178
12179 self = self;
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
12181 return NULL;
12182 if (_argo0) {
12183 if (_argo0 == Py_None) { _arg0 = NULL; }
12184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
12186 return NULL;
12187 }
12188 }
12189 {
12190 _arg3 = &temp;
12191 if (! wxColour_helper(_obj3, &_arg3))
12192 return NULL;
12193 }
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
12197
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) return NULL;
12200 } Py_INCREF(Py_None);
12201 _resultobj = Py_None;
12202 return _resultobj;
12203 }
12204
12205 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
12206 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12207 PyObject * _resultobj;
12208 wxGrid * _arg0;
12209 wxFont * _arg1;
12210 PyObject * _argo0 = 0;
12211 PyObject * _argo1 = 0;
12212 char *_kwnames[] = { "self","arg2", NULL };
12213
12214 self = self;
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
12216 return NULL;
12217 if (_argo0) {
12218 if (_argo0 == Py_None) { _arg0 = NULL; }
12219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
12221 return NULL;
12222 }
12223 }
12224 if (_argo1) {
12225 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
12226 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
12227 return NULL;
12228 }
12229 }
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) return NULL;
12236 } Py_INCREF(Py_None);
12237 _resultobj = Py_None;
12238 return _resultobj;
12239 }
12240
12241 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
12242 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12243 PyObject * _resultobj;
12244 wxGrid * _arg0;
12245 int _arg1;
12246 int _arg2;
12247 wxFont * _arg3;
12248 PyObject * _argo0 = 0;
12249 PyObject * _argo3 = 0;
12250 char *_kwnames[] = { "self","row","col","arg4", NULL };
12251
12252 self = self;
12253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
12254 return NULL;
12255 if (_argo0) {
12256 if (_argo0 == Py_None) { _arg0 = NULL; }
12257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
12259 return NULL;
12260 }
12261 }
12262 if (_argo3) {
12263 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
12264 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
12265 return NULL;
12266 }
12267 }
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) return NULL;
12274 } Py_INCREF(Py_None);
12275 _resultobj = Py_None;
12276 return _resultobj;
12277 }
12278
12279 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
12280 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12281 PyObject * _resultobj;
12282 wxGrid * _arg0;
12283 int _arg1;
12284 int _arg2;
12285 PyObject * _argo0 = 0;
12286 char *_kwnames[] = { "self","horiz","vert", NULL };
12287
12288 self = self;
12289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
12290 return NULL;
12291 if (_argo0) {
12292 if (_argo0 == Py_None) { _arg0 = NULL; }
12293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
12295 return NULL;
12296 }
12297 }
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) return NULL;
12304 } Py_INCREF(Py_None);
12305 _resultobj = Py_None;
12306 return _resultobj;
12307 }
12308
12309 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12310 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject * _resultobj;
12312 wxGrid * _arg0;
12313 int _arg1;
12314 int _arg2;
12315 int _arg3;
12316 int _arg4;
12317 PyObject * _argo0 = 0;
12318 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
12319
12320 self = self;
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12322 return NULL;
12323 if (_argo0) {
12324 if (_argo0 == Py_None) { _arg0 = NULL; }
12325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
12327 return NULL;
12328 }
12329 }
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) return NULL;
12336 } Py_INCREF(Py_None);
12337 _resultobj = Py_None;
12338 return _resultobj;
12339 }
12340
12341 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
12342 static PyObject *_wrap_wxGrid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12343 PyObject * _resultobj;
12344 wxGrid * _arg0;
12345 bool _arg1;
12346 PyObject * _argo0 = 0;
12347 int tempbool1;
12348 char *_kwnames[] = { "self","allow", NULL };
12349
12350 self = self;
12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames,&_argo0,&tempbool1))
12352 return NULL;
12353 if (_argo0) {
12354 if (_argo0 == Py_None) { _arg0 = NULL; }
12355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
12357 return NULL;
12358 }
12359 }
12360 _arg1 = (bool ) tempbool1;
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 wxGrid_SetDefaultCellOverflow(_arg0,_arg1);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) return NULL;
12367 } Py_INCREF(Py_None);
12368 _resultobj = Py_None;
12369 return _resultobj;
12370 }
12371
12372 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
12373 static PyObject *_wrap_wxGrid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject * _resultobj;
12375 wxGrid * _arg0;
12376 int _arg1;
12377 int _arg2;
12378 bool _arg3;
12379 PyObject * _argo0 = 0;
12380 int tempbool3;
12381 char *_kwnames[] = { "self","row","col","allow", NULL };
12382
12383 self = self;
12384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
12385 return NULL;
12386 if (_argo0) {
12387 if (_argo0 == Py_None) { _arg0 = NULL; }
12388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
12390 return NULL;
12391 }
12392 }
12393 _arg3 = (bool ) tempbool3;
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 wxGrid_SetCellOverflow(_arg0,_arg1,_arg2,_arg3);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) return NULL;
12400 } Py_INCREF(Py_None);
12401 _resultobj = Py_None;
12402 return _resultobj;
12403 }
12404
12405 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12406 static PyObject *_wrap_wxGrid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12407 PyObject * _resultobj;
12408 wxGrid * _arg0;
12409 int _arg1;
12410 int _arg2;
12411 int _arg3;
12412 int _arg4;
12413 PyObject * _argo0 = 0;
12414 char *_kwnames[] = { "self","row","col","num_rows","num_cols", NULL };
12415
12416 self = self;
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12418 return NULL;
12419 if (_argo0) {
12420 if (_argo0 == Py_None) { _arg0 = NULL; }
12421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
12423 return NULL;
12424 }
12425 }
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 wxGrid_SetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4);
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) return NULL;
12432 } Py_INCREF(Py_None);
12433 _resultobj = Py_None;
12434 return _resultobj;
12435 }
12436
12437 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
12438 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject * _resultobj;
12440 wxGrid * _arg0;
12441 wxGridCellRenderer * _arg1;
12442 PyObject * _argo0 = 0;
12443 PyObject * _argo1 = 0;
12444 char *_kwnames[] = { "self","renderer", NULL };
12445
12446 self = self;
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
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_SetDefaultRenderer. Expected _wxGrid_p.");
12453 return NULL;
12454 }
12455 }
12456 if (_argo1) {
12457 if (_argo1 == Py_None) { _arg1 = NULL; }
12458 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
12459 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
12460 return NULL;
12461 }
12462 }
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 wxGrid_SetDefaultRenderer(_arg0,_arg1);
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) return NULL;
12469 } Py_INCREF(Py_None);
12470 _resultobj = Py_None;
12471 return _resultobj;
12472 }
12473
12474 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
12475 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12476 PyObject * _resultobj;
12477 wxGrid * _arg0;
12478 int _arg1;
12479 int _arg2;
12480 wxGridCellRenderer * _arg3;
12481 PyObject * _argo0 = 0;
12482 PyObject * _argo3 = 0;
12483 char *_kwnames[] = { "self","row","col","renderer", NULL };
12484
12485 self = self;
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
12487 return NULL;
12488 if (_argo0) {
12489 if (_argo0 == Py_None) { _arg0 = NULL; }
12490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
12492 return NULL;
12493 }
12494 }
12495 if (_argo3) {
12496 if (_argo3 == Py_None) { _arg3 = NULL; }
12497 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
12498 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
12499 return NULL;
12500 }
12501 }
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) return NULL;
12508 } Py_INCREF(Py_None);
12509 _resultobj = Py_None;
12510 return _resultobj;
12511 }
12512
12513 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
12514 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12515 PyObject * _resultobj;
12516 wxGridCellRenderer * _result;
12517 wxGrid * _arg0;
12518 PyObject * _argo0 = 0;
12519 char *_kwnames[] = { "self", NULL };
12520
12521 self = self;
12522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
12523 return NULL;
12524 if (_argo0) {
12525 if (_argo0 == Py_None) { _arg0 = NULL; }
12526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
12528 return NULL;
12529 }
12530 }
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) return NULL;
12537 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12538 return _resultobj;
12539 }
12540
12541 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
12542 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12543 PyObject * _resultobj;
12544 wxGridCellRenderer * _result;
12545 wxGrid * _arg0;
12546 int _arg1;
12547 int _arg2;
12548 PyObject * _argo0 = 0;
12549 char *_kwnames[] = { "self","row","col", NULL };
12550
12551 self = self;
12552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
12553 return NULL;
12554 if (_argo0) {
12555 if (_argo0 == Py_None) { _arg0 = NULL; }
12556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12558 return NULL;
12559 }
12560 }
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) return NULL;
12567 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12568 return _resultobj;
12569 }
12570
12571 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12572 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12573 PyObject * _resultobj;
12574 wxGrid * _arg0;
12575 wxGridCellEditor * _arg1;
12576 PyObject * _argo0 = 0;
12577 PyObject * _argo1 = 0;
12578 char *_kwnames[] = { "self","editor", NULL };
12579
12580 self = self;
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
12582 return NULL;
12583 if (_argo0) {
12584 if (_argo0 == Py_None) { _arg0 = NULL; }
12585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12587 return NULL;
12588 }
12589 }
12590 if (_argo1) {
12591 if (_argo1 == Py_None) { _arg1 = NULL; }
12592 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
12593 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12594 return NULL;
12595 }
12596 }
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 wxGrid_SetDefaultEditor(_arg0,_arg1);
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) return NULL;
12603 } Py_INCREF(Py_None);
12604 _resultobj = Py_None;
12605 return _resultobj;
12606 }
12607
12608 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12609 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12610 PyObject * _resultobj;
12611 wxGrid * _arg0;
12612 int _arg1;
12613 int _arg2;
12614 wxGridCellEditor * _arg3;
12615 PyObject * _argo0 = 0;
12616 PyObject * _argo3 = 0;
12617 char *_kwnames[] = { "self","row","col","editor", NULL };
12618
12619 self = self;
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
12621 return NULL;
12622 if (_argo0) {
12623 if (_argo0 == Py_None) { _arg0 = NULL; }
12624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
12626 return NULL;
12627 }
12628 }
12629 if (_argo3) {
12630 if (_argo3 == Py_None) { _arg3 = NULL; }
12631 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12632 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12633 return NULL;
12634 }
12635 }
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) return NULL;
12642 } Py_INCREF(Py_None);
12643 _resultobj = Py_None;
12644 return _resultobj;
12645 }
12646
12647 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12648 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12649 PyObject * _resultobj;
12650 wxGridCellEditor * _result;
12651 wxGrid * _arg0;
12652 PyObject * _argo0 = 0;
12653 char *_kwnames[] = { "self", NULL };
12654
12655 self = self;
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
12657 return NULL;
12658 if (_argo0) {
12659 if (_argo0 == Py_None) { _arg0 = NULL; }
12660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12662 return NULL;
12663 }
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) return NULL;
12671 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12672 return _resultobj;
12673 }
12674
12675 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12676 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12677 PyObject * _resultobj;
12678 wxGridCellEditor * _result;
12679 wxGrid * _arg0;
12680 int _arg1;
12681 int _arg2;
12682 PyObject * _argo0 = 0;
12683 char *_kwnames[] = { "self","row","col", NULL };
12684
12685 self = self;
12686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
12687 return NULL;
12688 if (_argo0) {
12689 if (_argo0 == Py_None) { _arg0 = NULL; }
12690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12692 return NULL;
12693 }
12694 }
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) return NULL;
12701 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12702 return _resultobj;
12703 }
12704
12705 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12706 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12707 PyObject * _resultobj;
12708 wxString * _result;
12709 wxGrid * _arg0;
12710 int _arg1;
12711 int _arg2;
12712 PyObject * _argo0 = 0;
12713 char *_kwnames[] = { "self","row","col", NULL };
12714
12715 self = self;
12716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
12717 return NULL;
12718 if (_argo0) {
12719 if (_argo0 == Py_None) { _arg0 = NULL; }
12720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12722 return NULL;
12723 }
12724 }
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
12728
12729 wxPyEndAllowThreads(__tstate);
12730 if (PyErr_Occurred()) return NULL;
12731 }{
12732 #if wxUSE_UNICODE
12733 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
12734 #else
12735 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
12736 #endif
12737 }
12738 {
12739 delete _result;
12740 }
12741 return _resultobj;
12742 }
12743
12744 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12745 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12746 PyObject * _resultobj;
12747 wxGrid * _arg0;
12748 int _arg1;
12749 int _arg2;
12750 wxString * _arg3;
12751 PyObject * _argo0 = 0;
12752 PyObject * _obj3 = 0;
12753 char *_kwnames[] = { "self","row","col","s", NULL };
12754
12755 self = self;
12756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
12757 return NULL;
12758 if (_argo0) {
12759 if (_argo0 == Py_None) { _arg0 = NULL; }
12760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12762 return NULL;
12763 }
12764 }
12765 {
12766 _arg3 = wxString_in_helper(_obj3);
12767 if (_arg3 == NULL)
12768 return NULL;
12769 }
12770 {
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) return NULL;
12776 } Py_INCREF(Py_None);
12777 _resultobj = Py_None;
12778 {
12779 if (_obj3)
12780 delete _arg3;
12781 }
12782 return _resultobj;
12783 }
12784
12785 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12786 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
12787 PyObject * _resultobj;
12788 bool _result;
12789 wxGrid * _arg0;
12790 int _arg1;
12791 int _arg2;
12792 PyObject * _argo0 = 0;
12793 char *_kwnames[] = { "self","row","col", NULL };
12794
12795 self = self;
12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
12797 return NULL;
12798 if (_argo0) {
12799 if (_argo0 == Py_None) { _arg0 = NULL; }
12800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12802 return NULL;
12803 }
12804 }
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
12808
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) return NULL;
12811 } _resultobj = Py_BuildValue("i",_result);
12812 return _resultobj;
12813 }
12814
12815 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12816 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
12817 PyObject * _resultobj;
12818 wxGrid * _arg0;
12819 int _arg1;
12820 int _arg2;
12821 bool _arg3 = (bool ) TRUE;
12822 PyObject * _argo0 = 0;
12823 int tempbool3 = (int) TRUE;
12824 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
12825
12826 self = self;
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
12828 return NULL;
12829 if (_argo0) {
12830 if (_argo0 == Py_None) { _arg0 = NULL; }
12831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12833 return NULL;
12834 }
12835 }
12836 _arg3 = (bool ) tempbool3;
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) return NULL;
12843 } Py_INCREF(Py_None);
12844 _resultobj = Py_None;
12845 return _resultobj;
12846 }
12847
12848 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12849 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12850 PyObject * _resultobj;
12851 wxGrid * _arg0;
12852 int _arg1;
12853 bool _arg2 = (bool ) FALSE;
12854 PyObject * _argo0 = 0;
12855 int tempbool2 = (int) FALSE;
12856 char *_kwnames[] = { "self","row","addToSelected", NULL };
12857
12858 self = self;
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
12860 return NULL;
12861 if (_argo0) {
12862 if (_argo0 == Py_None) { _arg0 = NULL; }
12863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12865 return NULL;
12866 }
12867 }
12868 _arg2 = (bool ) tempbool2;
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 wxGrid_SelectRow(_arg0,_arg1,_arg2);
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) return NULL;
12875 } Py_INCREF(Py_None);
12876 _resultobj = Py_None;
12877 return _resultobj;
12878 }
12879
12880 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12881 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject * _resultobj;
12883 wxGrid * _arg0;
12884 int _arg1;
12885 bool _arg2 = (bool ) FALSE;
12886 PyObject * _argo0 = 0;
12887 int tempbool2 = (int) FALSE;
12888 char *_kwnames[] = { "self","col","addToSelected", NULL };
12889
12890 self = self;
12891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
12892 return NULL;
12893 if (_argo0) {
12894 if (_argo0 == Py_None) { _arg0 = NULL; }
12895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12897 return NULL;
12898 }
12899 }
12900 _arg2 = (bool ) tempbool2;
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 wxGrid_SelectCol(_arg0,_arg1,_arg2);
12904
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) return NULL;
12907 } Py_INCREF(Py_None);
12908 _resultobj = Py_None;
12909 return _resultobj;
12910 }
12911
12912 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12913 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject * _resultobj;
12915 wxGrid * _arg0;
12916 int _arg1;
12917 int _arg2;
12918 int _arg3;
12919 int _arg4;
12920 bool _arg5 = (bool ) FALSE;
12921 PyObject * _argo0 = 0;
12922 int tempbool5 = (int) FALSE;
12923 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
12924
12925 self = self;
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
12927 return NULL;
12928 if (_argo0) {
12929 if (_argo0 == Py_None) { _arg0 = NULL; }
12930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12932 return NULL;
12933 }
12934 }
12935 _arg5 = (bool ) tempbool5;
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) return NULL;
12942 } Py_INCREF(Py_None);
12943 _resultobj = Py_None;
12944 return _resultobj;
12945 }
12946
12947 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12948 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
12949 PyObject * _resultobj;
12950 wxGrid * _arg0;
12951 PyObject * _argo0 = 0;
12952 char *_kwnames[] = { "self", NULL };
12953
12954 self = self;
12955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
12956 return NULL;
12957 if (_argo0) {
12958 if (_argo0 == Py_None) { _arg0 = NULL; }
12959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12961 return NULL;
12962 }
12963 }
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 wxGrid_SelectAll(_arg0);
12967
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) return NULL;
12970 } Py_INCREF(Py_None);
12971 _resultobj = Py_None;
12972 return _resultobj;
12973 }
12974
12975 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12976 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12977 PyObject * _resultobj;
12978 bool _result;
12979 wxGrid * _arg0;
12980 PyObject * _argo0 = 0;
12981 char *_kwnames[] = { "self", NULL };
12982
12983 self = self;
12984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
12985 return NULL;
12986 if (_argo0) {
12987 if (_argo0 == Py_None) { _arg0 = NULL; }
12988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12990 return NULL;
12991 }
12992 }
12993 {
12994 PyThreadState* __tstate = wxPyBeginAllowThreads();
12995 _result = (bool )wxGrid_IsSelection(_arg0);
12996
12997 wxPyEndAllowThreads(__tstate);
12998 if (PyErr_Occurred()) return NULL;
12999 } _resultobj = Py_BuildValue("i",_result);
13000 return _resultobj;
13001 }
13002
13003 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
13004 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13005 PyObject * _resultobj;
13006 wxGrid * _arg0;
13007 PyObject * _argo0 = 0;
13008 char *_kwnames[] = { "self", NULL };
13009
13010 self = self;
13011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
13012 return NULL;
13013 if (_argo0) {
13014 if (_argo0 == Py_None) { _arg0 = NULL; }
13015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
13017 return NULL;
13018 }
13019 }
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 wxGrid_ClearSelection(_arg0);
13023
13024 wxPyEndAllowThreads(__tstate);
13025 if (PyErr_Occurred()) return NULL;
13026 } Py_INCREF(Py_None);
13027 _resultobj = Py_None;
13028 return _resultobj;
13029 }
13030
13031 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
13032 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13033 PyObject * _resultobj;
13034 bool _result;
13035 wxGrid * _arg0;
13036 int _arg1;
13037 int _arg2;
13038 PyObject * _argo0 = 0;
13039 char *_kwnames[] = { "self","row","col", NULL };
13040
13041 self = self;
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
13043 return NULL;
13044 if (_argo0) {
13045 if (_argo0 == Py_None) { _arg0 = NULL; }
13046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
13048 return NULL;
13049 }
13050 }
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
13053 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
13054
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) return NULL;
13057 } _resultobj = Py_BuildValue("i",_result);
13058 return _resultobj;
13059 }
13060
13061 #define wxGrid_GetSelectedCells(_swigobj) (_swigobj->GetSelectedCells())
13062 static PyObject *_wrap_wxGrid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13063 PyObject * _resultobj;
13064 wxGridCellCoordsArray * _result;
13065 wxGrid * _arg0;
13066 PyObject * _argo0 = 0;
13067 char *_kwnames[] = { "self", NULL };
13068
13069 self = self;
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedCells",_kwnames,&_argo0))
13071 return NULL;
13072 if (_argo0) {
13073 if (_argo0 == Py_None) { _arg0 = NULL; }
13074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedCells. Expected _wxGrid_p.");
13076 return NULL;
13077 }
13078 }
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 _result = new wxGridCellCoordsArray (wxGrid_GetSelectedCells(_arg0));
13082
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) return NULL;
13085 }{
13086 _resultobj = wxGridCellCoordsArray_helper(_result);
13087 }
13088 {
13089 delete _result;
13090 }
13091 return _resultobj;
13092 }
13093
13094 #define wxGrid_GetSelectionBlockTopLeft(_swigobj) (_swigobj->GetSelectionBlockTopLeft())
13095 static PyObject *_wrap_wxGrid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13096 PyObject * _resultobj;
13097 wxGridCellCoordsArray * _result;
13098 wxGrid * _arg0;
13099 PyObject * _argo0 = 0;
13100 char *_kwnames[] = { "self", NULL };
13101
13102 self = self;
13103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBlockTopLeft",_kwnames,&_argo0))
13104 return NULL;
13105 if (_argo0) {
13106 if (_argo0 == Py_None) { _arg0 = NULL; }
13107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBlockTopLeft. Expected _wxGrid_p.");
13109 return NULL;
13110 }
13111 }
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 _result = new wxGridCellCoordsArray (wxGrid_GetSelectionBlockTopLeft(_arg0));
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) return NULL;
13118 }{
13119 _resultobj = wxGridCellCoordsArray_helper(_result);
13120 }
13121 {
13122 delete _result;
13123 }
13124 return _resultobj;
13125 }
13126
13127 #define wxGrid_GetSelectionBlockBottomRight(_swigobj) (_swigobj->GetSelectionBlockBottomRight())
13128 static PyObject *_wrap_wxGrid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13129 PyObject * _resultobj;
13130 wxGridCellCoordsArray * _result;
13131 wxGrid * _arg0;
13132 PyObject * _argo0 = 0;
13133 char *_kwnames[] = { "self", NULL };
13134
13135 self = self;
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBlockBottomRight",_kwnames,&_argo0))
13137 return NULL;
13138 if (_argo0) {
13139 if (_argo0 == Py_None) { _arg0 = NULL; }
13140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBlockBottomRight. Expected _wxGrid_p.");
13142 return NULL;
13143 }
13144 }
13145 {
13146 PyThreadState* __tstate = wxPyBeginAllowThreads();
13147 _result = new wxGridCellCoordsArray (wxGrid_GetSelectionBlockBottomRight(_arg0));
13148
13149 wxPyEndAllowThreads(__tstate);
13150 if (PyErr_Occurred()) return NULL;
13151 }{
13152 _resultobj = wxGridCellCoordsArray_helper(_result);
13153 }
13154 {
13155 delete _result;
13156 }
13157 return _resultobj;
13158 }
13159
13160 #define wxGrid_GetSelectedRows(_swigobj) (_swigobj->GetSelectedRows())
13161 static PyObject *_wrap_wxGrid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject * _resultobj;
13163 wxArrayInt * _result;
13164 wxGrid * _arg0;
13165 PyObject * _argo0 = 0;
13166 char *_kwnames[] = { "self", NULL };
13167
13168 self = self;
13169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedRows",_kwnames,&_argo0))
13170 return NULL;
13171 if (_argo0) {
13172 if (_argo0 == Py_None) { _arg0 = NULL; }
13173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedRows. Expected _wxGrid_p.");
13175 return NULL;
13176 }
13177 }
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 _result = new wxArrayInt (wxGrid_GetSelectedRows(_arg0));
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) return NULL;
13184 }{
13185 _resultobj = PyList_New(0);
13186 size_t idx;
13187 for (idx = 0; idx < _result->GetCount(); idx += 1) {
13188 PyObject* val = PyInt_FromLong(_result->Item(idx));
13189 PyList_Append(_resultobj, val);
13190 Py_DECREF(val);
13191 }
13192 delete _result;
13193 }
13194 return _resultobj;
13195 }
13196
13197 #define wxGrid_GetSelectedCols(_swigobj) (_swigobj->GetSelectedCols())
13198 static PyObject *_wrap_wxGrid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13199 PyObject * _resultobj;
13200 wxArrayInt * _result;
13201 wxGrid * _arg0;
13202 PyObject * _argo0 = 0;
13203 char *_kwnames[] = { "self", NULL };
13204
13205 self = self;
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedCols",_kwnames,&_argo0))
13207 return NULL;
13208 if (_argo0) {
13209 if (_argo0 == Py_None) { _arg0 = NULL; }
13210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedCols. Expected _wxGrid_p.");
13212 return NULL;
13213 }
13214 }
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 _result = new wxArrayInt (wxGrid_GetSelectedCols(_arg0));
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) return NULL;
13221 }{
13222 _resultobj = PyList_New(0);
13223 size_t idx;
13224 for (idx = 0; idx < _result->GetCount(); idx += 1) {
13225 PyObject* val = PyInt_FromLong(_result->Item(idx));
13226 PyList_Append(_resultobj, val);
13227 Py_DECREF(val);
13228 }
13229 delete _result;
13230 }
13231 return _resultobj;
13232 }
13233
13234 #define wxGrid_DeselectRow(_swigobj,_swigarg0) (_swigobj->DeselectRow(_swigarg0))
13235 static PyObject *_wrap_wxGrid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13236 PyObject * _resultobj;
13237 wxGrid * _arg0;
13238 int _arg1;
13239 PyObject * _argo0 = 0;
13240 char *_kwnames[] = { "self","row", NULL };
13241
13242 self = self;
13243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_DeselectRow",_kwnames,&_argo0,&_arg1))
13244 return NULL;
13245 if (_argo0) {
13246 if (_argo0 == Py_None) { _arg0 = NULL; }
13247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectRow. Expected _wxGrid_p.");
13249 return NULL;
13250 }
13251 }
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 wxGrid_DeselectRow(_arg0,_arg1);
13255
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) return NULL;
13258 } Py_INCREF(Py_None);
13259 _resultobj = Py_None;
13260 return _resultobj;
13261 }
13262
13263 #define wxGrid_DeselectCol(_swigobj,_swigarg0) (_swigobj->DeselectCol(_swigarg0))
13264 static PyObject *_wrap_wxGrid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13265 PyObject * _resultobj;
13266 wxGrid * _arg0;
13267 int _arg1;
13268 PyObject * _argo0 = 0;
13269 char *_kwnames[] = { "self","col", NULL };
13270
13271 self = self;
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_DeselectCol",_kwnames,&_argo0,&_arg1))
13273 return NULL;
13274 if (_argo0) {
13275 if (_argo0 == Py_None) { _arg0 = NULL; }
13276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectCol. Expected _wxGrid_p.");
13278 return NULL;
13279 }
13280 }
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 wxGrid_DeselectCol(_arg0,_arg1);
13284
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) return NULL;
13287 } Py_INCREF(Py_None);
13288 _resultobj = Py_None;
13289 return _resultobj;
13290 }
13291
13292 #define wxGrid_DeselectCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeselectCell(_swigarg0,_swigarg1))
13293 static PyObject *_wrap_wxGrid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13294 PyObject * _resultobj;
13295 wxGrid * _arg0;
13296 int _arg1;
13297 int _arg2;
13298 PyObject * _argo0 = 0;
13299 char *_kwnames[] = { "self","row","col", NULL };
13300
13301 self = self;
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_DeselectCell",_kwnames,&_argo0,&_arg1,&_arg2))
13303 return NULL;
13304 if (_argo0) {
13305 if (_argo0 == Py_None) { _arg0 = NULL; }
13306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectCell. Expected _wxGrid_p.");
13308 return NULL;
13309 }
13310 }
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 wxGrid_DeselectCell(_arg0,_arg1,_arg2);
13314
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) return NULL;
13317 } Py_INCREF(Py_None);
13318 _resultobj = Py_None;
13319 return _resultobj;
13320 }
13321
13322 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
13323 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13324 PyObject * _resultobj;
13325 wxRect * _result;
13326 wxGrid * _arg0;
13327 wxGridCellCoords * _arg1;
13328 wxGridCellCoords * _arg2;
13329 PyObject * _argo0 = 0;
13330 wxGridCellCoords temp;
13331 PyObject * _obj1 = 0;
13332 wxGridCellCoords temp0;
13333 PyObject * _obj2 = 0;
13334 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
13335 char _ptemp[128];
13336
13337 self = self;
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
13339 return NULL;
13340 if (_argo0) {
13341 if (_argo0 == Py_None) { _arg0 = NULL; }
13342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
13344 return NULL;
13345 }
13346 }
13347 {
13348 _arg1 = &temp;
13349 if (! wxGridCellCoords_helper(_obj1, &_arg1))
13350 return NULL;
13351 }
13352 {
13353 _arg2 = &temp0;
13354 if (! wxGridCellCoords_helper(_obj2, &_arg2))
13355 return NULL;
13356 }
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) return NULL;
13363 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
13364 _resultobj = Py_BuildValue("s",_ptemp);
13365 return _resultobj;
13366 }
13367
13368 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
13369 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13370 PyObject * _resultobj;
13371 wxColour * _result;
13372 wxGrid * _arg0;
13373 PyObject * _argo0 = 0;
13374 char *_kwnames[] = { "self", NULL };
13375 char _ptemp[128];
13376
13377 self = self;
13378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
13379 return NULL;
13380 if (_argo0) {
13381 if (_argo0 == Py_None) { _arg0 = NULL; }
13382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
13384 return NULL;
13385 }
13386 }
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) return NULL;
13393 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
13394 _resultobj = Py_BuildValue("s",_ptemp);
13395 return _resultobj;
13396 }
13397
13398 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
13399 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13400 PyObject * _resultobj;
13401 wxColour * _result;
13402 wxGrid * _arg0;
13403 PyObject * _argo0 = 0;
13404 char *_kwnames[] = { "self", NULL };
13405 char _ptemp[128];
13406
13407 self = self;
13408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
13409 return NULL;
13410 if (_argo0) {
13411 if (_argo0 == Py_None) { _arg0 = NULL; }
13412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
13414 return NULL;
13415 }
13416 }
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
13419 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
13420
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) return NULL;
13423 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
13424 _resultobj = Py_BuildValue("s",_ptemp);
13425 return _resultobj;
13426 }
13427
13428 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
13429 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13430 PyObject * _resultobj;
13431 wxGrid * _arg0;
13432 wxColour * _arg1;
13433 PyObject * _argo0 = 0;
13434 wxColour temp;
13435 PyObject * _obj1 = 0;
13436 char *_kwnames[] = { "self","c", NULL };
13437
13438 self = self;
13439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
13440 return NULL;
13441 if (_argo0) {
13442 if (_argo0 == Py_None) { _arg0 = NULL; }
13443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
13445 return NULL;
13446 }
13447 }
13448 {
13449 _arg1 = &temp;
13450 if (! wxColour_helper(_obj1, &_arg1))
13451 return NULL;
13452 }
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
13455 wxGrid_SetSelectionBackground(_arg0,*_arg1);
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) return NULL;
13459 } Py_INCREF(Py_None);
13460 _resultobj = Py_None;
13461 return _resultobj;
13462 }
13463
13464 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
13465 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13466 PyObject * _resultobj;
13467 wxGrid * _arg0;
13468 wxColour * _arg1;
13469 PyObject * _argo0 = 0;
13470 wxColour temp;
13471 PyObject * _obj1 = 0;
13472 char *_kwnames[] = { "self","c", NULL };
13473
13474 self = self;
13475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
13476 return NULL;
13477 if (_argo0) {
13478 if (_argo0 == Py_None) { _arg0 = NULL; }
13479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
13481 return NULL;
13482 }
13483 }
13484 {
13485 _arg1 = &temp;
13486 if (! wxColour_helper(_obj1, &_arg1))
13487 return NULL;
13488 }
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 wxGrid_SetSelectionForeground(_arg0,*_arg1);
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) return NULL;
13495 } Py_INCREF(Py_None);
13496 _resultobj = Py_None;
13497 return _resultobj;
13498 }
13499
13500 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
13501 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
13502 PyObject * _resultobj;
13503 wxGrid * _arg0;
13504 wxString * _arg1;
13505 wxGridCellRenderer * _arg2;
13506 wxGridCellEditor * _arg3;
13507 PyObject * _argo0 = 0;
13508 PyObject * _obj1 = 0;
13509 PyObject * _argo2 = 0;
13510 PyObject * _argo3 = 0;
13511 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
13512
13513 self = self;
13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
13515 return NULL;
13516 if (_argo0) {
13517 if (_argo0 == Py_None) { _arg0 = NULL; }
13518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
13520 return NULL;
13521 }
13522 }
13523 {
13524 _arg1 = wxString_in_helper(_obj1);
13525 if (_arg1 == NULL)
13526 return NULL;
13527 }
13528 if (_argo2) {
13529 if (_argo2 == Py_None) { _arg2 = NULL; }
13530 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
13531 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
13532 return NULL;
13533 }
13534 }
13535 if (_argo3) {
13536 if (_argo3 == Py_None) { _arg3 = NULL; }
13537 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
13538 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
13539 return NULL;
13540 }
13541 }
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) return NULL;
13548 } Py_INCREF(Py_None);
13549 _resultobj = Py_None;
13550 {
13551 if (_obj1)
13552 delete _arg1;
13553 }
13554 return _resultobj;
13555 }
13556
13557 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
13558 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13559 PyObject * _resultobj;
13560 wxGridCellEditor * _result;
13561 wxGrid * _arg0;
13562 int _arg1;
13563 int _arg2;
13564 PyObject * _argo0 = 0;
13565 char *_kwnames[] = { "self","row","col", NULL };
13566
13567 self = self;
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
13569 return NULL;
13570 if (_argo0) {
13571 if (_argo0 == Py_None) { _arg0 = NULL; }
13572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
13574 return NULL;
13575 }
13576 }
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
13580
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) return NULL;
13583 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
13584 return _resultobj;
13585 }
13586
13587 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
13588 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13589 PyObject * _resultobj;
13590 wxGridCellRenderer * _result;
13591 wxGrid * _arg0;
13592 int _arg1;
13593 int _arg2;
13594 PyObject * _argo0 = 0;
13595 char *_kwnames[] = { "self","row","col", NULL };
13596
13597 self = self;
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
13599 return NULL;
13600 if (_argo0) {
13601 if (_argo0 == Py_None) { _arg0 = NULL; }
13602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
13604 return NULL;
13605 }
13606 }
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
13610
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) return NULL;
13613 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
13614 return _resultobj;
13615 }
13616
13617 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
13618 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13619 PyObject * _resultobj;
13620 wxGridCellEditor * _result;
13621 wxGrid * _arg0;
13622 wxString * _arg1;
13623 PyObject * _argo0 = 0;
13624 PyObject * _obj1 = 0;
13625 char *_kwnames[] = { "self","typeName", NULL };
13626
13627 self = self;
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
13629 return NULL;
13630 if (_argo0) {
13631 if (_argo0 == Py_None) { _arg0 = NULL; }
13632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
13634 return NULL;
13635 }
13636 }
13637 {
13638 _arg1 = wxString_in_helper(_obj1);
13639 if (_arg1 == NULL)
13640 return NULL;
13641 }
13642 {
13643 PyThreadState* __tstate = wxPyBeginAllowThreads();
13644 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
13645
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) return NULL;
13648 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
13649 {
13650 if (_obj1)
13651 delete _arg1;
13652 }
13653 return _resultobj;
13654 }
13655
13656 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
13657 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject * _resultobj;
13659 wxGridCellRenderer * _result;
13660 wxGrid * _arg0;
13661 wxString * _arg1;
13662 PyObject * _argo0 = 0;
13663 PyObject * _obj1 = 0;
13664 char *_kwnames[] = { "self","typeName", NULL };
13665
13666 self = self;
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
13668 return NULL;
13669 if (_argo0) {
13670 if (_argo0 == Py_None) { _arg0 = NULL; }
13671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
13673 return NULL;
13674 }
13675 }
13676 {
13677 _arg1 = wxString_in_helper(_obj1);
13678 if (_arg1 == NULL)
13679 return NULL;
13680 }
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) return NULL;
13687 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
13688 {
13689 if (_obj1)
13690 delete _arg1;
13691 }
13692 return _resultobj;
13693 }
13694
13695 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
13696 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
13697 PyObject * _resultobj;
13698 wxGrid * _arg0;
13699 int _arg1;
13700 int _arg2;
13701 PyObject * _argo0 = 0;
13702 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
13703
13704 self = self;
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
13706 return NULL;
13707 if (_argo0) {
13708 if (_argo0 == Py_None) { _arg0 = NULL; }
13709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
13711 return NULL;
13712 }
13713 }
13714 {
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 wxGrid_SetMargins(_arg0,_arg1,_arg2);
13717
13718 wxPyEndAllowThreads(__tstate);
13719 if (PyErr_Occurred()) return NULL;
13720 } Py_INCREF(Py_None);
13721 _resultobj = Py_None;
13722 return _resultobj;
13723 }
13724
13725 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
13726 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13727 PyObject * _resultobj;
13728 wxWindow * _result;
13729 wxGrid * _arg0;
13730 PyObject * _argo0 = 0;
13731 char *_kwnames[] = { "self", NULL };
13732
13733 self = self;
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
13735 return NULL;
13736 if (_argo0) {
13737 if (_argo0 == Py_None) { _arg0 = NULL; }
13738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
13740 return NULL;
13741 }
13742 }
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) return NULL;
13749 }{ _resultobj = wxPyMake_wxObject(_result); }
13750 return _resultobj;
13751 }
13752
13753 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
13754 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13755 PyObject * _resultobj;
13756 wxWindow * _result;
13757 wxGrid * _arg0;
13758 PyObject * _argo0 = 0;
13759 char *_kwnames[] = { "self", NULL };
13760
13761 self = self;
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
13763 return NULL;
13764 if (_argo0) {
13765 if (_argo0 == Py_None) { _arg0 = NULL; }
13766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
13768 return NULL;
13769 }
13770 }
13771 {
13772 PyThreadState* __tstate = wxPyBeginAllowThreads();
13773 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
13774
13775 wxPyEndAllowThreads(__tstate);
13776 if (PyErr_Occurred()) return NULL;
13777 }{ _resultobj = wxPyMake_wxObject(_result); }
13778 return _resultobj;
13779 }
13780
13781 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
13782 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13783 PyObject * _resultobj;
13784 wxWindow * _result;
13785 wxGrid * _arg0;
13786 PyObject * _argo0 = 0;
13787 char *_kwnames[] = { "self", NULL };
13788
13789 self = self;
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
13791 return NULL;
13792 if (_argo0) {
13793 if (_argo0 == Py_None) { _arg0 = NULL; }
13794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
13796 return NULL;
13797 }
13798 }
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) return NULL;
13805 }{ _resultobj = wxPyMake_wxObject(_result); }
13806 return _resultobj;
13807 }
13808
13809 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
13810 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13811 PyObject * _resultobj;
13812 wxWindow * _result;
13813 wxGrid * _arg0;
13814 PyObject * _argo0 = 0;
13815 char *_kwnames[] = { "self", NULL };
13816
13817 self = self;
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
13819 return NULL;
13820 if (_argo0) {
13821 if (_argo0 == Py_None) { _arg0 = NULL; }
13822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13824 return NULL;
13825 }
13826 }
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) return NULL;
13833 }{ _resultobj = wxPyMake_wxObject(_result); }
13834 return _resultobj;
13835 }
13836
13837 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
13838 wxGridEvent *src;
13839 wxNotifyEvent *dest;
13840 src = (wxGridEvent *) ptr;
13841 dest = (wxNotifyEvent *) src;
13842 return (void *) dest;
13843 }
13844
13845 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
13846 wxGridEvent *src;
13847 wxCommandEvent *dest;
13848 src = (wxGridEvent *) ptr;
13849 dest = (wxCommandEvent *) src;
13850 return (void *) dest;
13851 }
13852
13853 static void *SwigwxGridEventTowxEvent(void *ptr) {
13854 wxGridEvent *src;
13855 wxEvent *dest;
13856 src = (wxGridEvent *) ptr;
13857 dest = (wxEvent *) src;
13858 return (void *) dest;
13859 }
13860
13861 static void *SwigwxGridEventTowxObject(void *ptr) {
13862 wxGridEvent *src;
13863 wxObject *dest;
13864 src = (wxGridEvent *) ptr;
13865 dest = (wxObject *) src;
13866 return (void *) dest;
13867 }
13868
13869 #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))
13870 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13871 PyObject * _resultobj;
13872 wxGridEvent * _result;
13873 int _arg0;
13874 wxEventType _arg1;
13875 wxGrid * _arg2;
13876 int _arg3 = (int ) -1;
13877 int _arg4 = (int ) -1;
13878 int _arg5 = (int ) -1;
13879 int _arg6 = (int ) -1;
13880 bool _arg7 = (bool ) TRUE;
13881 bool _arg8 = (bool ) FALSE;
13882 bool _arg9 = (bool ) FALSE;
13883 bool _arg10 = (bool ) FALSE;
13884 bool _arg11 = (bool ) FALSE;
13885 PyObject * _argo2 = 0;
13886 int tempbool7 = (int) TRUE;
13887 int tempbool8 = (int) FALSE;
13888 int tempbool9 = (int) FALSE;
13889 int tempbool10 = (int) FALSE;
13890 int tempbool11 = (int) FALSE;
13891 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
13892 char _ptemp[128];
13893
13894 self = self;
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
13896 return NULL;
13897 if (_argo2) {
13898 if (_argo2 == Py_None) { _arg2 = NULL; }
13899 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13900 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13901 return NULL;
13902 }
13903 }
13904 _arg7 = (bool ) tempbool7;
13905 _arg8 = (bool ) tempbool8;
13906 _arg9 = (bool ) tempbool9;
13907 _arg10 = (bool ) tempbool10;
13908 _arg11 = (bool ) tempbool11;
13909 {
13910 PyThreadState* __tstate = wxPyBeginAllowThreads();
13911 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
13912
13913 wxPyEndAllowThreads(__tstate);
13914 if (PyErr_Occurred()) return NULL;
13915 } if (_result) {
13916 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
13917 _resultobj = Py_BuildValue("s",_ptemp);
13918 } else {
13919 Py_INCREF(Py_None);
13920 _resultobj = Py_None;
13921 }
13922 return _resultobj;
13923 }
13924
13925 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13926 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13927 PyObject * _resultobj;
13928 int _result;
13929 wxGridEvent * _arg0;
13930 PyObject * _argo0 = 0;
13931 char *_kwnames[] = { "self", NULL };
13932
13933 self = self;
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
13935 return NULL;
13936 if (_argo0) {
13937 if (_argo0 == Py_None) { _arg0 = NULL; }
13938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
13940 return NULL;
13941 }
13942 }
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 _result = (int )wxGridEvent_GetRow(_arg0);
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) return NULL;
13949 } _resultobj = Py_BuildValue("i",_result);
13950 return _resultobj;
13951 }
13952
13953 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13954 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject * _resultobj;
13956 int _result;
13957 wxGridEvent * _arg0;
13958 PyObject * _argo0 = 0;
13959 char *_kwnames[] = { "self", NULL };
13960
13961 self = self;
13962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
13963 return NULL;
13964 if (_argo0) {
13965 if (_argo0 == Py_None) { _arg0 = NULL; }
13966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13968 return NULL;
13969 }
13970 }
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 _result = (int )wxGridEvent_GetCol(_arg0);
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) return NULL;
13977 } _resultobj = Py_BuildValue("i",_result);
13978 return _resultobj;
13979 }
13980
13981 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13982 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13983 PyObject * _resultobj;
13984 wxPoint * _result;
13985 wxGridEvent * _arg0;
13986 PyObject * _argo0 = 0;
13987 char *_kwnames[] = { "self", NULL };
13988 char _ptemp[128];
13989
13990 self = self;
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
13992 return NULL;
13993 if (_argo0) {
13994 if (_argo0 == Py_None) { _arg0 = NULL; }
13995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
13997 return NULL;
13998 }
13999 }
14000 {
14001 PyThreadState* __tstate = wxPyBeginAllowThreads();
14002 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
14003
14004 wxPyEndAllowThreads(__tstate);
14005 if (PyErr_Occurred()) return NULL;
14006 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
14007 _resultobj = Py_BuildValue("s",_ptemp);
14008 return _resultobj;
14009 }
14010
14011 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
14012 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14013 PyObject * _resultobj;
14014 bool _result;
14015 wxGridEvent * _arg0;
14016 PyObject * _argo0 = 0;
14017 char *_kwnames[] = { "self", NULL };
14018
14019 self = self;
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
14021 return NULL;
14022 if (_argo0) {
14023 if (_argo0 == Py_None) { _arg0 = NULL; }
14024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
14025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
14026 return NULL;
14027 }
14028 }
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 _result = (bool )wxGridEvent_Selecting(_arg0);
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) return NULL;
14035 } _resultobj = Py_BuildValue("i",_result);
14036 return _resultobj;
14037 }
14038
14039 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14040 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject * _resultobj;
14042 bool _result;
14043 wxGridEvent * _arg0;
14044 PyObject * _argo0 = 0;
14045 char *_kwnames[] = { "self", NULL };
14046
14047 self = self;
14048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
14049 return NULL;
14050 if (_argo0) {
14051 if (_argo0 == Py_None) { _arg0 = NULL; }
14052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
14053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
14054 return NULL;
14055 }
14056 }
14057 {
14058 PyThreadState* __tstate = wxPyBeginAllowThreads();
14059 _result = (bool )wxGridEvent_ControlDown(_arg0);
14060
14061 wxPyEndAllowThreads(__tstate);
14062 if (PyErr_Occurred()) return NULL;
14063 } _resultobj = Py_BuildValue("i",_result);
14064 return _resultobj;
14065 }
14066
14067 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14068 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject * _resultobj;
14070 bool _result;
14071 wxGridEvent * _arg0;
14072 PyObject * _argo0 = 0;
14073 char *_kwnames[] = { "self", NULL };
14074
14075 self = self;
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
14077 return NULL;
14078 if (_argo0) {
14079 if (_argo0 == Py_None) { _arg0 = NULL; }
14080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
14081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
14082 return NULL;
14083 }
14084 }
14085 {
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 _result = (bool )wxGridEvent_MetaDown(_arg0);
14088
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) return NULL;
14091 } _resultobj = Py_BuildValue("i",_result);
14092 return _resultobj;
14093 }
14094
14095 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14096 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject * _resultobj;
14098 bool _result;
14099 wxGridEvent * _arg0;
14100 PyObject * _argo0 = 0;
14101 char *_kwnames[] = { "self", NULL };
14102
14103 self = self;
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
14105 return NULL;
14106 if (_argo0) {
14107 if (_argo0 == Py_None) { _arg0 = NULL; }
14108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
14109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
14110 return NULL;
14111 }
14112 }
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 _result = (bool )wxGridEvent_ShiftDown(_arg0);
14116
14117 wxPyEndAllowThreads(__tstate);
14118 if (PyErr_Occurred()) return NULL;
14119 } _resultobj = Py_BuildValue("i",_result);
14120 return _resultobj;
14121 }
14122
14123 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
14124 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14125 PyObject * _resultobj;
14126 bool _result;
14127 wxGridEvent * _arg0;
14128 PyObject * _argo0 = 0;
14129 char *_kwnames[] = { "self", NULL };
14130
14131 self = self;
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
14133 return NULL;
14134 if (_argo0) {
14135 if (_argo0 == Py_None) { _arg0 = NULL; }
14136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
14137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
14138 return NULL;
14139 }
14140 }
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 _result = (bool )wxGridEvent_AltDown(_arg0);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) return NULL;
14147 } _resultobj = Py_BuildValue("i",_result);
14148 return _resultobj;
14149 }
14150
14151 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
14152 wxGridSizeEvent *src;
14153 wxNotifyEvent *dest;
14154 src = (wxGridSizeEvent *) ptr;
14155 dest = (wxNotifyEvent *) src;
14156 return (void *) dest;
14157 }
14158
14159 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
14160 wxGridSizeEvent *src;
14161 wxCommandEvent *dest;
14162 src = (wxGridSizeEvent *) ptr;
14163 dest = (wxCommandEvent *) src;
14164 return (void *) dest;
14165 }
14166
14167 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
14168 wxGridSizeEvent *src;
14169 wxEvent *dest;
14170 src = (wxGridSizeEvent *) ptr;
14171 dest = (wxEvent *) src;
14172 return (void *) dest;
14173 }
14174
14175 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
14176 wxGridSizeEvent *src;
14177 wxObject *dest;
14178 src = (wxGridSizeEvent *) ptr;
14179 dest = (wxObject *) src;
14180 return (void *) dest;
14181 }
14182
14183 #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))
14184 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14185 PyObject * _resultobj;
14186 wxGridSizeEvent * _result;
14187 int _arg0;
14188 wxEventType _arg1;
14189 wxGrid * _arg2;
14190 int _arg3 = (int ) -1;
14191 int _arg4 = (int ) -1;
14192 int _arg5 = (int ) -1;
14193 bool _arg6 = (bool ) FALSE;
14194 bool _arg7 = (bool ) FALSE;
14195 bool _arg8 = (bool ) FALSE;
14196 bool _arg9 = (bool ) FALSE;
14197 PyObject * _argo2 = 0;
14198 int tempbool6 = (int) FALSE;
14199 int tempbool7 = (int) FALSE;
14200 int tempbool8 = (int) FALSE;
14201 int tempbool9 = (int) FALSE;
14202 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
14203 char _ptemp[128];
14204
14205 self = self;
14206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
14207 return NULL;
14208 if (_argo2) {
14209 if (_argo2 == Py_None) { _arg2 = NULL; }
14210 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
14211 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
14212 return NULL;
14213 }
14214 }
14215 _arg6 = (bool ) tempbool6;
14216 _arg7 = (bool ) tempbool7;
14217 _arg8 = (bool ) tempbool8;
14218 _arg9 = (bool ) tempbool9;
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) return NULL;
14225 } if (_result) {
14226 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
14227 _resultobj = Py_BuildValue("s",_ptemp);
14228 } else {
14229 Py_INCREF(Py_None);
14230 _resultobj = Py_None;
14231 }
14232 return _resultobj;
14233 }
14234
14235 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
14236 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject * _resultobj;
14238 int _result;
14239 wxGridSizeEvent * _arg0;
14240 PyObject * _argo0 = 0;
14241 char *_kwnames[] = { "self", NULL };
14242
14243 self = self;
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
14245 return NULL;
14246 if (_argo0) {
14247 if (_argo0 == Py_None) { _arg0 = NULL; }
14248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
14250 return NULL;
14251 }
14252 }
14253 {
14254 PyThreadState* __tstate = wxPyBeginAllowThreads();
14255 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
14256
14257 wxPyEndAllowThreads(__tstate);
14258 if (PyErr_Occurred()) return NULL;
14259 } _resultobj = Py_BuildValue("i",_result);
14260 return _resultobj;
14261 }
14262
14263 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
14264 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14265 PyObject * _resultobj;
14266 wxPoint * _result;
14267 wxGridSizeEvent * _arg0;
14268 PyObject * _argo0 = 0;
14269 char *_kwnames[] = { "self", NULL };
14270 char _ptemp[128];
14271
14272 self = self;
14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
14274 return NULL;
14275 if (_argo0) {
14276 if (_argo0 == Py_None) { _arg0 = NULL; }
14277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
14279 return NULL;
14280 }
14281 }
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) return NULL;
14288 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
14289 _resultobj = Py_BuildValue("s",_ptemp);
14290 return _resultobj;
14291 }
14292
14293 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14294 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14295 PyObject * _resultobj;
14296 bool _result;
14297 wxGridSizeEvent * _arg0;
14298 PyObject * _argo0 = 0;
14299 char *_kwnames[] = { "self", NULL };
14300
14301 self = self;
14302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
14303 return NULL;
14304 if (_argo0) {
14305 if (_argo0 == Py_None) { _arg0 = NULL; }
14306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
14308 return NULL;
14309 }
14310 }
14311 {
14312 PyThreadState* __tstate = wxPyBeginAllowThreads();
14313 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
14314
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) return NULL;
14317 } _resultobj = Py_BuildValue("i",_result);
14318 return _resultobj;
14319 }
14320
14321 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14322 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject * _resultobj;
14324 bool _result;
14325 wxGridSizeEvent * _arg0;
14326 PyObject * _argo0 = 0;
14327 char *_kwnames[] = { "self", NULL };
14328
14329 self = self;
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
14331 return NULL;
14332 if (_argo0) {
14333 if (_argo0 == Py_None) { _arg0 = NULL; }
14334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
14336 return NULL;
14337 }
14338 }
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) return NULL;
14345 } _resultobj = Py_BuildValue("i",_result);
14346 return _resultobj;
14347 }
14348
14349 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14350 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14351 PyObject * _resultobj;
14352 bool _result;
14353 wxGridSizeEvent * _arg0;
14354 PyObject * _argo0 = 0;
14355 char *_kwnames[] = { "self", NULL };
14356
14357 self = self;
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
14359 return NULL;
14360 if (_argo0) {
14361 if (_argo0 == Py_None) { _arg0 = NULL; }
14362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
14364 return NULL;
14365 }
14366 }
14367 {
14368 PyThreadState* __tstate = wxPyBeginAllowThreads();
14369 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
14370
14371 wxPyEndAllowThreads(__tstate);
14372 if (PyErr_Occurred()) return NULL;
14373 } _resultobj = Py_BuildValue("i",_result);
14374 return _resultobj;
14375 }
14376
14377 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
14378 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14379 PyObject * _resultobj;
14380 bool _result;
14381 wxGridSizeEvent * _arg0;
14382 PyObject * _argo0 = 0;
14383 char *_kwnames[] = { "self", NULL };
14384
14385 self = self;
14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
14387 return NULL;
14388 if (_argo0) {
14389 if (_argo0 == Py_None) { _arg0 = NULL; }
14390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
14392 return NULL;
14393 }
14394 }
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) return NULL;
14401 } _resultobj = Py_BuildValue("i",_result);
14402 return _resultobj;
14403 }
14404
14405 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
14406 wxGridRangeSelectEvent *src;
14407 wxNotifyEvent *dest;
14408 src = (wxGridRangeSelectEvent *) ptr;
14409 dest = (wxNotifyEvent *) src;
14410 return (void *) dest;
14411 }
14412
14413 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
14414 wxGridRangeSelectEvent *src;
14415 wxCommandEvent *dest;
14416 src = (wxGridRangeSelectEvent *) ptr;
14417 dest = (wxCommandEvent *) src;
14418 return (void *) dest;
14419 }
14420
14421 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
14422 wxGridRangeSelectEvent *src;
14423 wxEvent *dest;
14424 src = (wxGridRangeSelectEvent *) ptr;
14425 dest = (wxEvent *) src;
14426 return (void *) dest;
14427 }
14428
14429 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
14430 wxGridRangeSelectEvent *src;
14431 wxObject *dest;
14432 src = (wxGridRangeSelectEvent *) ptr;
14433 dest = (wxObject *) src;
14434 return (void *) dest;
14435 }
14436
14437 #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))
14438 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14439 PyObject * _resultobj;
14440 wxGridRangeSelectEvent * _result;
14441 int _arg0;
14442 wxEventType _arg1;
14443 wxGrid * _arg2;
14444 wxGridCellCoords * _arg3;
14445 wxGridCellCoords * _arg4;
14446 bool _arg5 = (bool ) TRUE;
14447 bool _arg6 = (bool ) FALSE;
14448 bool _arg7 = (bool ) FALSE;
14449 bool _arg8 = (bool ) FALSE;
14450 bool _arg9 = (bool ) FALSE;
14451 PyObject * _argo2 = 0;
14452 wxGridCellCoords temp;
14453 PyObject * _obj3 = 0;
14454 wxGridCellCoords temp0;
14455 PyObject * _obj4 = 0;
14456 int tempbool5 = (int) TRUE;
14457 int tempbool6 = (int) FALSE;
14458 int tempbool7 = (int) FALSE;
14459 int tempbool8 = (int) FALSE;
14460 int tempbool9 = (int) FALSE;
14461 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
14462 char _ptemp[128];
14463
14464 self = self;
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
14466 return NULL;
14467 if (_argo2) {
14468 if (_argo2 == Py_None) { _arg2 = NULL; }
14469 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
14470 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
14471 return NULL;
14472 }
14473 }
14474 {
14475 _arg3 = &temp;
14476 if (! wxGridCellCoords_helper(_obj3, &_arg3))
14477 return NULL;
14478 }
14479 {
14480 _arg4 = &temp0;
14481 if (! wxGridCellCoords_helper(_obj4, &_arg4))
14482 return NULL;
14483 }
14484 _arg5 = (bool ) tempbool5;
14485 _arg6 = (bool ) tempbool6;
14486 _arg7 = (bool ) tempbool7;
14487 _arg8 = (bool ) tempbool8;
14488 _arg9 = (bool ) tempbool9;
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
14492
14493 wxPyEndAllowThreads(__tstate);
14494 if (PyErr_Occurred()) return NULL;
14495 } if (_result) {
14496 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
14497 _resultobj = Py_BuildValue("s",_ptemp);
14498 } else {
14499 Py_INCREF(Py_None);
14500 _resultobj = Py_None;
14501 }
14502 return _resultobj;
14503 }
14504
14505 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
14506 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject * _resultobj;
14508 wxGridCellCoords * _result;
14509 wxGridRangeSelectEvent * _arg0;
14510 PyObject * _argo0 = 0;
14511 char *_kwnames[] = { "self", NULL };
14512 char _ptemp[128];
14513
14514 self = self;
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
14516 return NULL;
14517 if (_argo0) {
14518 if (_argo0 == Py_None) { _arg0 = NULL; }
14519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
14521 return NULL;
14522 }
14523 }
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
14527
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) return NULL;
14530 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
14531 _resultobj = Py_BuildValue("s",_ptemp);
14532 return _resultobj;
14533 }
14534
14535 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
14536 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14537 PyObject * _resultobj;
14538 wxGridCellCoords * _result;
14539 wxGridRangeSelectEvent * _arg0;
14540 PyObject * _argo0 = 0;
14541 char *_kwnames[] = { "self", NULL };
14542 char _ptemp[128];
14543
14544 self = self;
14545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
14546 return NULL;
14547 if (_argo0) {
14548 if (_argo0 == Py_None) { _arg0 = NULL; }
14549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
14551 return NULL;
14552 }
14553 }
14554 {
14555 PyThreadState* __tstate = wxPyBeginAllowThreads();
14556 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
14557
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) return NULL;
14560 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
14561 _resultobj = Py_BuildValue("s",_ptemp);
14562 return _resultobj;
14563 }
14564
14565 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
14566 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14567 PyObject * _resultobj;
14568 int _result;
14569 wxGridRangeSelectEvent * _arg0;
14570 PyObject * _argo0 = 0;
14571 char *_kwnames[] = { "self", NULL };
14572
14573 self = self;
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
14575 return NULL;
14576 if (_argo0) {
14577 if (_argo0 == Py_None) { _arg0 = NULL; }
14578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
14580 return NULL;
14581 }
14582 }
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) return NULL;
14589 } _resultobj = Py_BuildValue("i",_result);
14590 return _resultobj;
14591 }
14592
14593 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
14594 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14595 PyObject * _resultobj;
14596 int _result;
14597 wxGridRangeSelectEvent * _arg0;
14598 PyObject * _argo0 = 0;
14599 char *_kwnames[] = { "self", NULL };
14600
14601 self = self;
14602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
14603 return NULL;
14604 if (_argo0) {
14605 if (_argo0 == Py_None) { _arg0 = NULL; }
14606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
14608 return NULL;
14609 }
14610 }
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
14614
14615 wxPyEndAllowThreads(__tstate);
14616 if (PyErr_Occurred()) return NULL;
14617 } _resultobj = Py_BuildValue("i",_result);
14618 return _resultobj;
14619 }
14620
14621 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
14622 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14623 PyObject * _resultobj;
14624 int _result;
14625 wxGridRangeSelectEvent * _arg0;
14626 PyObject * _argo0 = 0;
14627 char *_kwnames[] = { "self", NULL };
14628
14629 self = self;
14630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
14631 return NULL;
14632 if (_argo0) {
14633 if (_argo0 == Py_None) { _arg0 = NULL; }
14634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
14636 return NULL;
14637 }
14638 }
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
14642
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) return NULL;
14645 } _resultobj = Py_BuildValue("i",_result);
14646 return _resultobj;
14647 }
14648
14649 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
14650 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14651 PyObject * _resultobj;
14652 int _result;
14653 wxGridRangeSelectEvent * _arg0;
14654 PyObject * _argo0 = 0;
14655 char *_kwnames[] = { "self", NULL };
14656
14657 self = self;
14658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
14659 return NULL;
14660 if (_argo0) {
14661 if (_argo0 == Py_None) { _arg0 = NULL; }
14662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
14664 return NULL;
14665 }
14666 }
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
14670
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) return NULL;
14673 } _resultobj = Py_BuildValue("i",_result);
14674 return _resultobj;
14675 }
14676
14677 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
14678 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14679 PyObject * _resultobj;
14680 bool _result;
14681 wxGridRangeSelectEvent * _arg0;
14682 PyObject * _argo0 = 0;
14683 char *_kwnames[] = { "self", NULL };
14684
14685 self = self;
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
14687 return NULL;
14688 if (_argo0) {
14689 if (_argo0 == Py_None) { _arg0 = NULL; }
14690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
14692 return NULL;
14693 }
14694 }
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
14698
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) return NULL;
14701 } _resultobj = Py_BuildValue("i",_result);
14702 return _resultobj;
14703 }
14704
14705 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14706 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14707 PyObject * _resultobj;
14708 bool _result;
14709 wxGridRangeSelectEvent * _arg0;
14710 PyObject * _argo0 = 0;
14711 char *_kwnames[] = { "self", NULL };
14712
14713 self = self;
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
14715 return NULL;
14716 if (_argo0) {
14717 if (_argo0 == Py_None) { _arg0 = NULL; }
14718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
14720 return NULL;
14721 }
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) return NULL;
14729 } _resultobj = Py_BuildValue("i",_result);
14730 return _resultobj;
14731 }
14732
14733 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14734 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14735 PyObject * _resultobj;
14736 bool _result;
14737 wxGridRangeSelectEvent * _arg0;
14738 PyObject * _argo0 = 0;
14739 char *_kwnames[] = { "self", NULL };
14740
14741 self = self;
14742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
14743 return NULL;
14744 if (_argo0) {
14745 if (_argo0 == Py_None) { _arg0 = NULL; }
14746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
14748 return NULL;
14749 }
14750 }
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
14754
14755 wxPyEndAllowThreads(__tstate);
14756 if (PyErr_Occurred()) return NULL;
14757 } _resultobj = Py_BuildValue("i",_result);
14758 return _resultobj;
14759 }
14760
14761 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14762 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14763 PyObject * _resultobj;
14764 bool _result;
14765 wxGridRangeSelectEvent * _arg0;
14766 PyObject * _argo0 = 0;
14767 char *_kwnames[] = { "self", NULL };
14768
14769 self = self;
14770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
14771 return NULL;
14772 if (_argo0) {
14773 if (_argo0 == Py_None) { _arg0 = NULL; }
14774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
14776 return NULL;
14777 }
14778 }
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
14782
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) return NULL;
14785 } _resultobj = Py_BuildValue("i",_result);
14786 return _resultobj;
14787 }
14788
14789 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
14790 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14791 PyObject * _resultobj;
14792 bool _result;
14793 wxGridRangeSelectEvent * _arg0;
14794 PyObject * _argo0 = 0;
14795 char *_kwnames[] = { "self", NULL };
14796
14797 self = self;
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
14799 return NULL;
14800 if (_argo0) {
14801 if (_argo0 == Py_None) { _arg0 = NULL; }
14802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
14804 return NULL;
14805 }
14806 }
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
14810
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) return NULL;
14813 } _resultobj = Py_BuildValue("i",_result);
14814 return _resultobj;
14815 }
14816
14817 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
14818 wxGridEditorCreatedEvent *src;
14819 wxCommandEvent *dest;
14820 src = (wxGridEditorCreatedEvent *) ptr;
14821 dest = (wxCommandEvent *) src;
14822 return (void *) dest;
14823 }
14824
14825 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
14826 wxGridEditorCreatedEvent *src;
14827 wxEvent *dest;
14828 src = (wxGridEditorCreatedEvent *) ptr;
14829 dest = (wxEvent *) src;
14830 return (void *) dest;
14831 }
14832
14833 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
14834 wxGridEditorCreatedEvent *src;
14835 wxObject *dest;
14836 src = (wxGridEditorCreatedEvent *) ptr;
14837 dest = (wxObject *) src;
14838 return (void *) dest;
14839 }
14840
14841 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14842 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14843 PyObject * _resultobj;
14844 wxGridEditorCreatedEvent * _result;
14845 int _arg0;
14846 wxEventType _arg1;
14847 wxObject * _arg2;
14848 int _arg3;
14849 int _arg4;
14850 wxControl * _arg5;
14851 PyObject * _argo2 = 0;
14852 PyObject * _argo5 = 0;
14853 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
14854 char _ptemp[128];
14855
14856 self = self;
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
14858 return NULL;
14859 if (_argo2) {
14860 if (_argo2 == Py_None) { _arg2 = NULL; }
14861 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
14862 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14863 return NULL;
14864 }
14865 }
14866 if (_argo5) {
14867 if (_argo5 == Py_None) { _arg5 = NULL; }
14868 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
14869 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14870 return NULL;
14871 }
14872 }
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) return NULL;
14879 } if (_result) {
14880 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
14881 _resultobj = Py_BuildValue("s",_ptemp);
14882 } else {
14883 Py_INCREF(Py_None);
14884 _resultobj = Py_None;
14885 }
14886 return _resultobj;
14887 }
14888
14889 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14890 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14891 PyObject * _resultobj;
14892 int _result;
14893 wxGridEditorCreatedEvent * _arg0;
14894 PyObject * _argo0 = 0;
14895 char *_kwnames[] = { "self", NULL };
14896
14897 self = self;
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
14899 return NULL;
14900 if (_argo0) {
14901 if (_argo0 == Py_None) { _arg0 = NULL; }
14902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14904 return NULL;
14905 }
14906 }
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) return NULL;
14913 } _resultobj = Py_BuildValue("i",_result);
14914 return _resultobj;
14915 }
14916
14917 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14918 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14919 PyObject * _resultobj;
14920 int _result;
14921 wxGridEditorCreatedEvent * _arg0;
14922 PyObject * _argo0 = 0;
14923 char *_kwnames[] = { "self", NULL };
14924
14925 self = self;
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
14927 return NULL;
14928 if (_argo0) {
14929 if (_argo0 == Py_None) { _arg0 = NULL; }
14930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14932 return NULL;
14933 }
14934 }
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) return NULL;
14941 } _resultobj = Py_BuildValue("i",_result);
14942 return _resultobj;
14943 }
14944
14945 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14946 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14947 PyObject * _resultobj;
14948 wxControl * _result;
14949 wxGridEditorCreatedEvent * _arg0;
14950 PyObject * _argo0 = 0;
14951 char *_kwnames[] = { "self", NULL };
14952
14953 self = self;
14954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
14955 return NULL;
14956 if (_argo0) {
14957 if (_argo0 == Py_None) { _arg0 = NULL; }
14958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14960 return NULL;
14961 }
14962 }
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) return NULL;
14969 }{ _resultobj = wxPyMake_wxObject(_result); }
14970 return _resultobj;
14971 }
14972
14973 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
14974 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14975 PyObject * _resultobj;
14976 wxGridEditorCreatedEvent * _arg0;
14977 int _arg1;
14978 PyObject * _argo0 = 0;
14979 char *_kwnames[] = { "self","row", NULL };
14980
14981 self = self;
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
14983 return NULL;
14984 if (_argo0) {
14985 if (_argo0 == Py_None) { _arg0 = NULL; }
14986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
14988 return NULL;
14989 }
14990 }
14991 {
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
14994
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) return NULL;
14997 } Py_INCREF(Py_None);
14998 _resultobj = Py_None;
14999 return _resultobj;
15000 }
15001
15002 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
15003 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15004 PyObject * _resultobj;
15005 wxGridEditorCreatedEvent * _arg0;
15006 int _arg1;
15007 PyObject * _argo0 = 0;
15008 char *_kwnames[] = { "self","col", NULL };
15009
15010 self = self;
15011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
15012 return NULL;
15013 if (_argo0) {
15014 if (_argo0 == Py_None) { _arg0 = NULL; }
15015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
15016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
15017 return NULL;
15018 }
15019 }
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) return NULL;
15026 } Py_INCREF(Py_None);
15027 _resultobj = Py_None;
15028 return _resultobj;
15029 }
15030
15031 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
15032 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15033 PyObject * _resultobj;
15034 wxGridEditorCreatedEvent * _arg0;
15035 wxControl * _arg1;
15036 PyObject * _argo0 = 0;
15037 PyObject * _argo1 = 0;
15038 char *_kwnames[] = { "self","ctrl", NULL };
15039
15040 self = self;
15041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
15042 return NULL;
15043 if (_argo0) {
15044 if (_argo0 == Py_None) { _arg0 = NULL; }
15045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
15046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
15047 return NULL;
15048 }
15049 }
15050 if (_argo1) {
15051 if (_argo1 == Py_None) { _arg1 = NULL; }
15052 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
15053 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
15054 return NULL;
15055 }
15056 }
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) return NULL;
15063 } Py_INCREF(Py_None);
15064 _resultobj = Py_None;
15065 return _resultobj;
15066 }
15067
15068 static PyMethodDef gridcMethods[] = {
15069 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
15070 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
15071 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
15072 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
15073 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15074 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15075 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
15076 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15077 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15078 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15079 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15080 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15081 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
15082 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
15083 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
15084 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
15085 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
15086 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
15087 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
15088 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15089 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15090 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15091 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15092 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15093 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
15094 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
15095 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15096 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15097 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15098 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15099 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15100 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15101 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15102 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15103 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
15104 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
15105 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
15106 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
15107 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
15108 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
15109 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
15110 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
15111 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
15112 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
15113 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
15114 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15115 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15116 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15117 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15118 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
15119 { "wxGrid_DeselectCell", (PyCFunction) _wrap_wxGrid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
15120 { "wxGrid_DeselectCol", (PyCFunction) _wrap_wxGrid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
15121 { "wxGrid_DeselectRow", (PyCFunction) _wrap_wxGrid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
15122 { "wxGrid_GetSelectedCols", (PyCFunction) _wrap_wxGrid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
15123 { "wxGrid_GetSelectedRows", (PyCFunction) _wrap_wxGrid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
15124 { "wxGrid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_wxGrid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
15125 { "wxGrid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_wxGrid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
15126 { "wxGrid_GetSelectedCells", (PyCFunction) _wrap_wxGrid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
15127 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
15128 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
15129 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
15130 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
15131 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
15132 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
15133 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
15134 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15135 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15136 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15137 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15138 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15139 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15140 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15141 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15142 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15143 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15144 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15145 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15146 { "wxGrid_SetCellSize", (PyCFunction) _wrap_wxGrid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15147 { "wxGrid_SetCellOverflow", (PyCFunction) _wrap_wxGrid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15148 { "wxGrid_SetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15149 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15150 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15151 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15152 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15153 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15154 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15155 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15156 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15157 { "wxGrid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_wxGrid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15158 { "wxGrid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_wxGrid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15159 { "wxGrid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15160 { "wxGrid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15161 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15162 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15163 { "wxGrid_AutoSizeColLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15164 { "wxGrid_AutoSizeRowLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15165 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15166 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15167 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15168 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15169 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15170 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15171 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15172 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15173 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15174 { "wxGrid_GetCellSize", (PyCFunction) _wrap_wxGrid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15175 { "wxGrid_GetCellOverflow", (PyCFunction) _wrap_wxGrid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15176 { "wxGrid_GetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15177 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15178 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15179 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15180 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15181 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15182 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15183 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15184 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15185 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15186 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15187 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15188 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15189 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15190 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15191 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15192 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15193 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15194 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15195 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15196 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15197 { "wxGrid_SetAttr", (PyCFunction) _wrap_wxGrid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15198 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15199 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15200 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15201 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15202 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15203 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15204 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15205 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15206 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15207 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15208 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15209 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15210 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15211 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15212 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15213 { "wxGrid_SetColLabelTextOrientation", (PyCFunction) _wrap_wxGrid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15214 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15215 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15216 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15217 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15218 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15219 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15220 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15221 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15222 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15223 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15224 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15225 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15226 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15227 { "wxGrid_GetColLabelTextOrientation", (PyCFunction) _wrap_wxGrid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15228 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15229 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15230 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15231 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15232 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15233 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15234 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15235 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15236 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15237 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15238 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15239 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15240 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15241 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15242 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15243 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15244 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15245 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15246 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15247 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15248 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15249 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15250 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15251 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15252 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15253 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15254 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15255 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
15256 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
15257 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15258 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15259 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15260 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15261 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15262 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15263 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15264 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15265 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15266 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15267 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15268 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15269 { "wxGrid_Refresh", (PyCFunction) _wrap_wxGrid_Refresh, METH_VARARGS | METH_KEYWORDS },
15270 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
15271 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15272 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15273 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15274 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15275 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15276 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15277 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15278 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15279 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15280 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15281 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15282 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15283 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15284 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
15285 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
15286 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15287 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15288 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15289 { "wxGrid_GetSelectionMode", (PyCFunction) _wrap_wxGrid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15290 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15291 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15292 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
15293 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
15294 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
15295 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15296 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15297 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15298 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15299 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15300 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
15301 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
15302 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15303 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15304 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15305 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15306 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15307 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15308 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15309 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15310 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
15311 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
15312 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
15313 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15314 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15315 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15316 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15317 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15318 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15319 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15320 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15321 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15322 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15323 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15324 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15325 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15326 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15327 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15328 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15329 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15330 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15331 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15332 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15333 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15334 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15335 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15336 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15337 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15338 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15339 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15340 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15341 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15342 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15343 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15344 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15345 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15346 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15347 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15348 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15349 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15350 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15351 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15352 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15353 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15354 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15355 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15356 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15357 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15358 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15359 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15360 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15361 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15362 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15363 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15364 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15365 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15366 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15367 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15368 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15369 { "wxGridTableBase__setOORInfo", (PyCFunction) _wrap_wxGridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15370 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15371 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15372 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15373 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15374 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15375 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15376 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15377 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15378 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15379 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15380 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15381 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15382 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_wxGridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15383 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15384 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15385 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15386 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15387 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15388 { "wxGridCellAttr_GetOverflow", (PyCFunction) _wrap_wxGridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15389 { "wxGridCellAttr_GetSize", (PyCFunction) _wrap_wxGridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15390 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15391 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15392 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15393 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15394 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15395 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15396 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15397 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15398 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15399 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15400 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15401 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15402 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15403 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15404 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15405 { "wxGridCellAttr_SetOverflow", (PyCFunction) _wrap_wxGridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15406 { "wxGridCellAttr_SetSize", (PyCFunction) _wrap_wxGridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15407 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15408 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15409 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15410 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15411 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15412 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15413 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15414 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15415 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
15416 { "wxGridCellAttr__setOORInfo", (PyCFunction) _wrap_wxGridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15417 { "wxGridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_wxGridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15418 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15419 { "wxGridCellEnumEditor_GetValue", (PyCFunction) _wrap_wxGridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15420 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15421 { "wxGridCellChoiceEditor_GetValue", (PyCFunction) _wrap_wxGridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15422 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15423 { "wxGridCellBoolEditor_GetValue", (PyCFunction) _wrap_wxGridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15424 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15425 { "wxGridCellFloatEditor_GetValue", (PyCFunction) _wrap_wxGridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15426 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15427 { "wxGridCellNumberEditor_GetValue", (PyCFunction) _wrap_wxGridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15428 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15429 { "wxGridCellTextEditor_GetValue", (PyCFunction) _wrap_wxGridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15430 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15431 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15432 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15433 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15434 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15435 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15436 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15437 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15438 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15439 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15440 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15441 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15442 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15443 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15444 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15445 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15446 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15447 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15448 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15449 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15450 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15451 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15452 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15453 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15454 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15455 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15456 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15457 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15458 { "wxGridCellEditor_SetCellAttr", (PyCFunction) _wrap_wxGridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15459 { "wxGridCellEditor_GetCellAttr", (PyCFunction) _wrap_wxGridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15460 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15461 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15462 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15463 { "wxGridCellEditor__setOORInfo", (PyCFunction) _wrap_wxGridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15464 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15465 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15466 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15467 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15468 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15469 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15470 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15471 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15472 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15473 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15474 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15475 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15476 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15477 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15478 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15479 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15480 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15481 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15482 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15483 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15484 { "wxGridCellRenderer__setOORInfo", (PyCFunction) _wrap_wxGridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15485 { NULL, NULL }
15486 };
15487 #ifdef __cplusplus
15488 }
15489 #endif
15490 /*
15491 * This table is used by the pointer type-checker
15492 */
15493 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
15494 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
15495 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
15496 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
15497 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
15498 { "_signed_long","_long",0},
15499 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
15500 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
15501 { "_wxPrintQuality","_wxCoord",0},
15502 { "_wxPrintQuality","_int",0},
15503 { "_wxPrintQuality","_signed_int",0},
15504 { "_wxPrintQuality","_unsigned_int",0},
15505 { "_wxPrintQuality","_wxWindowID",0},
15506 { "_wxPrintQuality","_uint",0},
15507 { "_wxPrintQuality","_EBool",0},
15508 { "_wxPrintQuality","_size_t",0},
15509 { "_wxPrintQuality","_time_t",0},
15510 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
15511 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
15512 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
15513 { "_byte","_unsigned_char",0},
15514 { "_long","_unsigned_long",0},
15515 { "_long","_signed_long",0},
15516 { "_size_t","_WXGRIDSELECTIONMODES",0},
15517 { "_size_t","_wxCoord",0},
15518 { "_size_t","_wxPrintQuality",0},
15519 { "_size_t","_time_t",0},
15520 { "_size_t","_unsigned_int",0},
15521 { "_size_t","_int",0},
15522 { "_size_t","_wxWindowID",0},
15523 { "_size_t","_uint",0},
15524 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
15525 { "_uint","_WXGRIDSELECTIONMODES",0},
15526 { "_uint","_wxCoord",0},
15527 { "_uint","_wxPrintQuality",0},
15528 { "_uint","_time_t",0},
15529 { "_uint","_size_t",0},
15530 { "_uint","_unsigned_int",0},
15531 { "_uint","_int",0},
15532 { "_uint","_wxWindowID",0},
15533 { "_wxChar","_char",0},
15534 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
15535 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
15536 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
15537 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
15538 { "_char","_wxChar",0},
15539 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
15540 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
15541 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
15542 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
15543 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
15544 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
15545 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
15546 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
15547 { "_EBool","_WXGRIDSELECTIONMODES",0},
15548 { "_EBool","_wxCoord",0},
15549 { "_EBool","_wxPrintQuality",0},
15550 { "_EBool","_signed_int",0},
15551 { "_EBool","_int",0},
15552 { "_EBool","_wxWindowID",0},
15553 { "_unsigned_long","_long",0},
15554 { "_WXGRIDSELECTIONMODES","_int",0},
15555 { "_WXGRIDSELECTIONMODES","_signed_int",0},
15556 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
15557 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
15558 { "_WXGRIDSELECTIONMODES","_uint",0},
15559 { "_WXGRIDSELECTIONMODES","_EBool",0},
15560 { "_WXGRIDSELECTIONMODES","_size_t",0},
15561 { "_WXGRIDSELECTIONMODES","_time_t",0},
15562 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
15563 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
15564 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
15565 { "_signed_int","_WXGRIDSELECTIONMODES",0},
15566 { "_signed_int","_wxCoord",0},
15567 { "_signed_int","_wxPrintQuality",0},
15568 { "_signed_int","_EBool",0},
15569 { "_signed_int","_wxWindowID",0},
15570 { "_signed_int","_int",0},
15571 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
15572 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
15573 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
15574 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
15575 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
15576 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
15577 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
15578 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
15579 { "_WXTYPE","_short",0},
15580 { "_WXTYPE","_signed_short",0},
15581 { "_WXTYPE","_unsigned_short",0},
15582 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
15583 { "_unsigned_short","_WXTYPE",0},
15584 { "_unsigned_short","_short",0},
15585 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
15586 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
15587 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
15588 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
15589 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
15590 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
15591 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
15592 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
15593 { "_signed_short","_WXTYPE",0},
15594 { "_signed_short","_short",0},
15595 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
15596 { "_unsigned_char","_byte",0},
15597 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
15598 { "_unsigned_int","_wxCoord",0},
15599 { "_unsigned_int","_wxPrintQuality",0},
15600 { "_unsigned_int","_time_t",0},
15601 { "_unsigned_int","_size_t",0},
15602 { "_unsigned_int","_uint",0},
15603 { "_unsigned_int","_wxWindowID",0},
15604 { "_unsigned_int","_int",0},
15605 { "_short","_WXTYPE",0},
15606 { "_short","_unsigned_short",0},
15607 { "_short","_signed_short",0},
15608 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
15609 { "_wxWindowID","_wxCoord",0},
15610 { "_wxWindowID","_wxPrintQuality",0},
15611 { "_wxWindowID","_time_t",0},
15612 { "_wxWindowID","_size_t",0},
15613 { "_wxWindowID","_EBool",0},
15614 { "_wxWindowID","_uint",0},
15615 { "_wxWindowID","_int",0},
15616 { "_wxWindowID","_signed_int",0},
15617 { "_wxWindowID","_unsigned_int",0},
15618 { "_int","_WXGRIDSELECTIONMODES",0},
15619 { "_int","_wxCoord",0},
15620 { "_int","_wxPrintQuality",0},
15621 { "_int","_time_t",0},
15622 { "_int","_size_t",0},
15623 { "_int","_EBool",0},
15624 { "_int","_uint",0},
15625 { "_int","_wxWindowID",0},
15626 { "_int","_unsigned_int",0},
15627 { "_int","_signed_int",0},
15628 { "_time_t","_WXGRIDSELECTIONMODES",0},
15629 { "_time_t","_wxCoord",0},
15630 { "_time_t","_wxPrintQuality",0},
15631 { "_time_t","_unsigned_int",0},
15632 { "_time_t","_int",0},
15633 { "_time_t","_wxWindowID",0},
15634 { "_time_t","_uint",0},
15635 { "_time_t","_size_t",0},
15636 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
15637 { "_wxCoord","_int",0},
15638 { "_wxCoord","_signed_int",0},
15639 { "_wxCoord","_unsigned_int",0},
15640 { "_wxCoord","_wxWindowID",0},
15641 { "_wxCoord","_uint",0},
15642 { "_wxCoord","_EBool",0},
15643 { "_wxCoord","_size_t",0},
15644 { "_wxCoord","_time_t",0},
15645 { "_wxCoord","_wxPrintQuality",0},
15646 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
15647 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
15648 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
15649 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
15650 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
15651 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
15652 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
15653 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
15654 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
15655 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
15656 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
15657 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
15658 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
15659 {0,0,0}};
15660
15661 static PyObject *SWIG_globals;
15662 #ifdef __cplusplus
15663 extern "C"
15664 #endif
15665 SWIGEXPORT(void) initgridc() {
15666 PyObject *m, *d;
15667 SWIG_globals = SWIG_newvarlink();
15668 m = Py_InitModule("gridc", gridcMethods);
15669 d = PyModule_GetDict(m);
15670 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
15671 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
15672 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
15673 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
15674 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
15675 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
15676 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
15677 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
15678 PyDict_SetItemString(d,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
15679 PyDict_SetItemString(d,"cvar", SWIG_globals);
15680 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
15681 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
15682 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
15683 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
15684 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
15685 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
15686 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
15687 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
15688 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
15689 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
15690 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
15691 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
15692 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
15693 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
15694 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
15695 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
15696 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
15697 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
15698 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
15699 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
15700 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
15701 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
15702 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
15703 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
15704 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
15705 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
15706
15707 wxClassInfo::CleanUpClasses();
15708 wxClassInfo::InitializeClasses();
15709 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
15710 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
15711 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
15712 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
15713 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
15714 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
15715 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
15716 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
15717 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
15718 {
15719 int i;
15720 for (i = 0; _swig_mapping[i].n1; i++)
15721 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
15722 }
15723 }