]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.cpp
reSWIGged
[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 = (bool ) TRUE;
3859 PyObject * _argo0 = 0;
3860 int tempbool1 = (int) TRUE;
3861 char *_kwnames[] = { "self","allow", NULL };
3862
3863 self = self;
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i: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_HasOverflowMode(_swigobj) (_swigobj->HasOverflowMode())
4216 static PyObject *_wrap_wxGridCellAttr_HasOverflowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject * _resultobj;
4218 bool _result;
4219 wxGridCellAttr * _arg0;
4220 PyObject * _argo0 = 0;
4221 char *_kwnames[] = { "self", NULL };
4222
4223 self = self;
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasOverflowMode",_kwnames,&_argo0))
4225 return NULL;
4226 if (_argo0) {
4227 if (_argo0 == Py_None) { _arg0 = NULL; }
4228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasOverflowMode. Expected _wxGridCellAttr_p.");
4230 return NULL;
4231 }
4232 }
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 _result = (bool )wxGridCellAttr_HasOverflowMode(_arg0);
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) return NULL;
4239 } _resultobj = Py_BuildValue("i",_result);
4240 return _resultobj;
4241 }
4242
4243 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4244 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4245 PyObject * _resultobj;
4246 wxColour * _result;
4247 wxGridCellAttr * _arg0;
4248 PyObject * _argo0 = 0;
4249 char *_kwnames[] = { "self", NULL };
4250 char _ptemp[128];
4251
4252 self = self;
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
4254 return NULL;
4255 if (_argo0) {
4256 if (_argo0 == Py_None) { _arg0 = NULL; }
4257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
4259 return NULL;
4260 }
4261 }
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) return NULL;
4268 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4269 _resultobj = Py_BuildValue("s",_ptemp);
4270 return _resultobj;
4271 }
4272
4273 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
4274 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4275 PyObject * _resultobj;
4276 wxColour * _result;
4277 wxGridCellAttr * _arg0;
4278 PyObject * _argo0 = 0;
4279 char *_kwnames[] = { "self", NULL };
4280 char _ptemp[128];
4281
4282 self = self;
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
4284 return NULL;
4285 if (_argo0) {
4286 if (_argo0 == Py_None) { _arg0 = NULL; }
4287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
4289 return NULL;
4290 }
4291 }
4292 {
4293 PyThreadState* __tstate = wxPyBeginAllowThreads();
4294 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
4295
4296 wxPyEndAllowThreads(__tstate);
4297 if (PyErr_Occurred()) return NULL;
4298 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4299 _resultobj = Py_BuildValue("s",_ptemp);
4300 return _resultobj;
4301 }
4302
4303 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
4304 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject * _resultobj;
4306 wxFont * _result;
4307 wxGridCellAttr * _arg0;
4308 PyObject * _argo0 = 0;
4309 char *_kwnames[] = { "self", NULL };
4310 char _ptemp[128];
4311
4312 self = self;
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
4314 return NULL;
4315 if (_argo0) {
4316 if (_argo0 == Py_None) { _arg0 = NULL; }
4317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
4319 return NULL;
4320 }
4321 }
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
4325
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) return NULL;
4328 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
4329 _resultobj = Py_BuildValue("s",_ptemp);
4330 return _resultobj;
4331 }
4332
4333 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
4334 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject * _resultobj;
4336 wxGridCellAttr * _arg0;
4337 int * _arg1;
4338 int temp;
4339 int * _arg2;
4340 int temp0;
4341 PyObject * _argo0 = 0;
4342 char *_kwnames[] = { "self", NULL };
4343
4344 self = self;
4345 {
4346 _arg1 = &temp;
4347 }
4348 {
4349 _arg2 = &temp0;
4350 }
4351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
4352 return NULL;
4353 if (_argo0) {
4354 if (_argo0 == Py_None) { _arg0 = NULL; }
4355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
4357 return NULL;
4358 }
4359 }
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) return NULL;
4366 } Py_INCREF(Py_None);
4367 _resultobj = Py_None;
4368 {
4369 PyObject *o;
4370 o = PyInt_FromLong((long) (*_arg1));
4371 _resultobj = t_output_helper(_resultobj, o);
4372 }
4373 {
4374 PyObject *o;
4375 o = PyInt_FromLong((long) (*_arg2));
4376 _resultobj = t_output_helper(_resultobj, o);
4377 }
4378 return _resultobj;
4379 }
4380
4381 #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4382 static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject * _resultobj;
4384 wxGridCellAttr * _arg0;
4385 int * _arg1;
4386 int temp;
4387 int * _arg2;
4388 int temp0;
4389 PyObject * _argo0 = 0;
4390 char *_kwnames[] = { "self", NULL };
4391
4392 self = self;
4393 {
4394 _arg1 = &temp;
4395 }
4396 {
4397 _arg2 = &temp0;
4398 }
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetSize",_kwnames,&_argo0))
4400 return NULL;
4401 if (_argo0) {
4402 if (_argo0 == Py_None) { _arg0 = NULL; }
4403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4405 return NULL;
4406 }
4407 }
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 wxGridCellAttr_GetSize(_arg0,_arg1,_arg2);
4411
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) return NULL;
4414 } Py_INCREF(Py_None);
4415 _resultobj = Py_None;
4416 {
4417 PyObject *o;
4418 o = PyInt_FromLong((long) (*_arg1));
4419 _resultobj = t_output_helper(_resultobj, o);
4420 }
4421 {
4422 PyObject *o;
4423 o = PyInt_FromLong((long) (*_arg2));
4424 _resultobj = t_output_helper(_resultobj, o);
4425 }
4426 return _resultobj;
4427 }
4428
4429 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4430 static PyObject *_wrap_wxGridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject * _resultobj;
4432 bool _result;
4433 wxGridCellAttr * _arg0;
4434 PyObject * _argo0 = 0;
4435 char *_kwnames[] = { "self", NULL };
4436
4437 self = self;
4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetOverflow",_kwnames,&_argo0))
4439 return NULL;
4440 if (_argo0) {
4441 if (_argo0 == Py_None) { _arg0 = NULL; }
4442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4444 return NULL;
4445 }
4446 }
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 _result = (bool )wxGridCellAttr_GetOverflow(_arg0);
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) return NULL;
4453 } _resultobj = Py_BuildValue("i",_result);
4454 return _resultobj;
4455 }
4456
4457 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4458 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4459 PyObject * _resultobj;
4460 wxGridCellRenderer * _result;
4461 wxGridCellAttr * _arg0;
4462 wxGrid * _arg1;
4463 int _arg2;
4464 int _arg3;
4465 PyObject * _argo0 = 0;
4466 PyObject * _argo1 = 0;
4467 char *_kwnames[] = { "self","grid","row","col", NULL };
4468
4469 self = self;
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4471 return NULL;
4472 if (_argo0) {
4473 if (_argo0 == Py_None) { _arg0 = NULL; }
4474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4476 return NULL;
4477 }
4478 }
4479 if (_argo1) {
4480 if (_argo1 == Py_None) { _arg1 = NULL; }
4481 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4482 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4483 return NULL;
4484 }
4485 }
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) return NULL;
4492 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
4493 return _resultobj;
4494 }
4495
4496 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4497 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4498 PyObject * _resultobj;
4499 wxGridCellEditor * _result;
4500 wxGridCellAttr * _arg0;
4501 wxGrid * _arg1;
4502 int _arg2;
4503 int _arg3;
4504 PyObject * _argo0 = 0;
4505 PyObject * _argo1 = 0;
4506 char *_kwnames[] = { "self","grid","row","col", NULL };
4507
4508 self = self;
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4510 return NULL;
4511 if (_argo0) {
4512 if (_argo0 == Py_None) { _arg0 = NULL; }
4513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4515 return NULL;
4516 }
4517 }
4518 if (_argo1) {
4519 if (_argo1 == Py_None) { _arg1 = NULL; }
4520 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4521 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4522 return NULL;
4523 }
4524 }
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) return NULL;
4531 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
4532 return _resultobj;
4533 }
4534
4535 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4536 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4537 PyObject * _resultobj;
4538 bool _result;
4539 wxGridCellAttr * _arg0;
4540 PyObject * _argo0 = 0;
4541 char *_kwnames[] = { "self", NULL };
4542
4543 self = self;
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
4545 return NULL;
4546 if (_argo0) {
4547 if (_argo0 == Py_None) { _arg0 = NULL; }
4548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4550 return NULL;
4551 }
4552 }
4553 {
4554 PyThreadState* __tstate = wxPyBeginAllowThreads();
4555 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
4556
4557 wxPyEndAllowThreads(__tstate);
4558 if (PyErr_Occurred()) return NULL;
4559 } _resultobj = Py_BuildValue("i",_result);
4560 return _resultobj;
4561 }
4562
4563 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4564 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject * _resultobj;
4566 wxGridCellAttr * _arg0;
4567 wxGridCellAttr * _arg1;
4568 PyObject * _argo0 = 0;
4569 PyObject * _argo1 = 0;
4570 char *_kwnames[] = { "self","defAttr", NULL };
4571
4572 self = self;
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
4574 return NULL;
4575 if (_argo0) {
4576 if (_argo0 == Py_None) { _arg0 = NULL; }
4577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4579 return NULL;
4580 }
4581 }
4582 if (_argo1) {
4583 if (_argo1 == Py_None) { _arg1 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4586 return NULL;
4587 }
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) return NULL;
4595 } Py_INCREF(Py_None);
4596 _resultobj = Py_None;
4597 return _resultobj;
4598 }
4599
4600 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4601 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject * _resultobj;
4603 wxGridCellAttrProvider * _result;
4604 char *_kwnames[] = { NULL };
4605 char _ptemp[128];
4606
4607 self = self;
4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
4609 return NULL;
4610 {
4611 PyThreadState* __tstate = wxPyBeginAllowThreads();
4612 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
4613
4614 wxPyEndAllowThreads(__tstate);
4615 if (PyErr_Occurred()) return NULL;
4616 } if (_result) {
4617 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4618 _resultobj = Py_BuildValue("s",_ptemp);
4619 } else {
4620 Py_INCREF(Py_None);
4621 _resultobj = Py_None;
4622 }
4623 return _resultobj;
4624 }
4625
4626 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject * _self) {
4627 self->SetClientObject(new wxPyOORClientData(_self));
4628 }
4629 static PyObject *_wrap_wxGridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4630 PyObject * _resultobj;
4631 wxGridCellAttrProvider * _arg0;
4632 PyObject * _arg1;
4633 PyObject * _argo0 = 0;
4634 PyObject * _obj1 = 0;
4635 char *_kwnames[] = { "self","_self", NULL };
4636
4637 self = self;
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames,&_argo0,&_obj1))
4639 return NULL;
4640 if (_argo0) {
4641 if (_argo0 == Py_None) { _arg0 = NULL; }
4642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4644 return NULL;
4645 }
4646 }
4647 {
4648 _arg1 = _obj1;
4649 }
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 wxGridCellAttrProvider__setOORInfo(_arg0,_arg1);
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) return NULL;
4656 } Py_INCREF(Py_None);
4657 _resultobj = Py_None;
4658 return _resultobj;
4659 }
4660
4661 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4662 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject * _resultobj;
4664 wxGridCellAttr * _result;
4665 wxGridCellAttrProvider * _arg0;
4666 int _arg1;
4667 int _arg2;
4668 wxGridCellAttr::wxAttrKind _arg3;
4669 PyObject * _argo0 = 0;
4670 char *_kwnames[] = { "self","row","col","kind", NULL };
4671
4672 self = self;
4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4674 return NULL;
4675 if (_argo0) {
4676 if (_argo0 == Py_None) { _arg0 = NULL; }
4677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4679 return NULL;
4680 }
4681 }
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4685
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) return NULL;
4688 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4689 return _resultobj;
4690 }
4691
4692 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4693 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4694 PyObject * _resultobj;
4695 wxGridCellAttrProvider * _arg0;
4696 wxGridCellAttr * _arg1;
4697 int _arg2;
4698 int _arg3;
4699 PyObject * _argo0 = 0;
4700 PyObject * _argo1 = 0;
4701 char *_kwnames[] = { "self","attr","row","col", NULL };
4702
4703 self = self;
4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4705 return NULL;
4706 if (_argo0) {
4707 if (_argo0 == Py_None) { _arg0 = NULL; }
4708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4710 return NULL;
4711 }
4712 }
4713 if (_argo1) {
4714 if (_argo1 == Py_None) { _arg1 = NULL; }
4715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4717 return NULL;
4718 }
4719 }
4720 {
4721 PyThreadState* __tstate = wxPyBeginAllowThreads();
4722 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4723
4724 wxPyEndAllowThreads(__tstate);
4725 if (PyErr_Occurred()) return NULL;
4726 } Py_INCREF(Py_None);
4727 _resultobj = Py_None;
4728 return _resultobj;
4729 }
4730
4731 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4732 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject * _resultobj;
4734 wxGridCellAttrProvider * _arg0;
4735 wxGridCellAttr * _arg1;
4736 int _arg2;
4737 PyObject * _argo0 = 0;
4738 PyObject * _argo1 = 0;
4739 char *_kwnames[] = { "self","attr","row", NULL };
4740
4741 self = self;
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4743 return NULL;
4744 if (_argo0) {
4745 if (_argo0 == Py_None) { _arg0 = NULL; }
4746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4748 return NULL;
4749 }
4750 }
4751 if (_argo1) {
4752 if (_argo1 == Py_None) { _arg1 = NULL; }
4753 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4754 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4755 return NULL;
4756 }
4757 }
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4761
4762 wxPyEndAllowThreads(__tstate);
4763 if (PyErr_Occurred()) return NULL;
4764 } Py_INCREF(Py_None);
4765 _resultobj = Py_None;
4766 return _resultobj;
4767 }
4768
4769 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4770 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject * _resultobj;
4772 wxGridCellAttrProvider * _arg0;
4773 wxGridCellAttr * _arg1;
4774 int _arg2;
4775 PyObject * _argo0 = 0;
4776 PyObject * _argo1 = 0;
4777 char *_kwnames[] = { "self","attr","col", NULL };
4778
4779 self = self;
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4781 return NULL;
4782 if (_argo0) {
4783 if (_argo0 == Py_None) { _arg0 = NULL; }
4784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4786 return NULL;
4787 }
4788 }
4789 if (_argo1) {
4790 if (_argo1 == Py_None) { _arg1 = NULL; }
4791 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4792 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4793 return NULL;
4794 }
4795 }
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4799
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) return NULL;
4802 } Py_INCREF(Py_None);
4803 _resultobj = Py_None;
4804 return _resultobj;
4805 }
4806
4807 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4808 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject * _resultobj;
4810 wxGridCellAttrProvider * _arg0;
4811 size_t _arg1;
4812 int _arg2;
4813 PyObject * _argo0 = 0;
4814 char *_kwnames[] = { "self","pos","numRows", NULL };
4815
4816 self = self;
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4818 return NULL;
4819 if (_argo0) {
4820 if (_argo0 == Py_None) { _arg0 = NULL; }
4821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4823 return NULL;
4824 }
4825 }
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) return NULL;
4832 } Py_INCREF(Py_None);
4833 _resultobj = Py_None;
4834 return _resultobj;
4835 }
4836
4837 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4838 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4839 PyObject * _resultobj;
4840 wxGridCellAttrProvider * _arg0;
4841 size_t _arg1;
4842 int _arg2;
4843 PyObject * _argo0 = 0;
4844 char *_kwnames[] = { "self","pos","numCols", NULL };
4845
4846 self = self;
4847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4848 return NULL;
4849 if (_argo0) {
4850 if (_argo0 == Py_None) { _arg0 = NULL; }
4851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4853 return NULL;
4854 }
4855 }
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) return NULL;
4862 } Py_INCREF(Py_None);
4863 _resultobj = Py_None;
4864 return _resultobj;
4865 }
4866
4867 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4868 wxPyGridCellAttrProvider *src;
4869 wxGridCellAttrProvider *dest;
4870 src = (wxPyGridCellAttrProvider *) ptr;
4871 dest = (wxGridCellAttrProvider *) src;
4872 return (void *) dest;
4873 }
4874
4875 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4876 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4877 PyObject * _resultobj;
4878 wxPyGridCellAttrProvider * _result;
4879 char *_kwnames[] = { NULL };
4880 char _ptemp[128];
4881
4882 self = self;
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4884 return NULL;
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) return NULL;
4891 } if (_result) {
4892 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4893 _resultobj = Py_BuildValue("s",_ptemp);
4894 } else {
4895 Py_INCREF(Py_None);
4896 _resultobj = Py_None;
4897 }
4898 return _resultobj;
4899 }
4900
4901 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4902 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject * _resultobj;
4904 wxPyGridCellAttrProvider * _arg0;
4905 PyObject * _arg1;
4906 PyObject * _arg2;
4907 PyObject * _argo0 = 0;
4908 PyObject * _obj1 = 0;
4909 PyObject * _obj2 = 0;
4910 char *_kwnames[] = { "self","self","_class", NULL };
4911
4912 self = self;
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4914 return NULL;
4915 if (_argo0) {
4916 if (_argo0 == Py_None) { _arg0 = NULL; }
4917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4919 return NULL;
4920 }
4921 }
4922 {
4923 _arg1 = _obj1;
4924 }
4925 {
4926 _arg2 = _obj2;
4927 }
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) return NULL;
4934 } Py_INCREF(Py_None);
4935 _resultobj = Py_None;
4936 return _resultobj;
4937 }
4938
4939 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4940 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4941 PyObject * _resultobj;
4942 wxGridCellAttr * _result;
4943 wxPyGridCellAttrProvider * _arg0;
4944 int _arg1;
4945 int _arg2;
4946 wxGridCellAttr::wxAttrKind _arg3;
4947 PyObject * _argo0 = 0;
4948 char *_kwnames[] = { "self","row","col","kind", NULL };
4949
4950 self = self;
4951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4952 return NULL;
4953 if (_argo0) {
4954 if (_argo0 == Py_None) { _arg0 = NULL; }
4955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4957 return NULL;
4958 }
4959 }
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) return NULL;
4966 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4967 return _resultobj;
4968 }
4969
4970 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4971 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4972 PyObject * _resultobj;
4973 wxPyGridCellAttrProvider * _arg0;
4974 wxGridCellAttr * _arg1;
4975 int _arg2;
4976 int _arg3;
4977 PyObject * _argo0 = 0;
4978 PyObject * _argo1 = 0;
4979 char *_kwnames[] = { "self","attr","row","col", NULL };
4980
4981 self = self;
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4983 return NULL;
4984 if (_argo0) {
4985 if (_argo0 == Py_None) { _arg0 = NULL; }
4986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4988 return NULL;
4989 }
4990 }
4991 if (_argo1) {
4992 if (_argo1 == Py_None) { _arg1 = NULL; }
4993 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4994 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4995 return NULL;
4996 }
4997 }
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) return NULL;
5004 } Py_INCREF(Py_None);
5005 _resultobj = Py_None;
5006 return _resultobj;
5007 }
5008
5009 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5010 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5011 PyObject * _resultobj;
5012 wxPyGridCellAttrProvider * _arg0;
5013 wxGridCellAttr * _arg1;
5014 int _arg2;
5015 PyObject * _argo0 = 0;
5016 PyObject * _argo1 = 0;
5017 char *_kwnames[] = { "self","attr","row", NULL };
5018
5019 self = self;
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5021 return NULL;
5022 if (_argo0) {
5023 if (_argo0 == Py_None) { _arg0 = NULL; }
5024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
5025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
5026 return NULL;
5027 }
5028 }
5029 if (_argo1) {
5030 if (_argo1 == Py_None) { _arg1 = NULL; }
5031 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5032 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5033 return NULL;
5034 }
5035 }
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) return NULL;
5042 } Py_INCREF(Py_None);
5043 _resultobj = Py_None;
5044 return _resultobj;
5045 }
5046
5047 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5048 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject * _resultobj;
5050 wxPyGridCellAttrProvider * _arg0;
5051 wxGridCellAttr * _arg1;
5052 int _arg2;
5053 PyObject * _argo0 = 0;
5054 PyObject * _argo1 = 0;
5055 char *_kwnames[] = { "self","attr","col", NULL };
5056
5057 self = self;
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5059 return NULL;
5060 if (_argo0) {
5061 if (_argo0 == Py_None) { _arg0 = NULL; }
5062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
5063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
5064 return NULL;
5065 }
5066 }
5067 if (_argo1) {
5068 if (_argo1 == Py_None) { _arg1 = NULL; }
5069 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5070 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
5071 return NULL;
5072 }
5073 }
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) return NULL;
5080 } Py_INCREF(Py_None);
5081 _resultobj = Py_None;
5082 return _resultobj;
5083 }
5084
5085 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
5086 wxGridTableBase *src;
5087 wxObject *dest;
5088 src = (wxGridTableBase *) ptr;
5089 dest = (wxObject *) src;
5090 return (void *) dest;
5091 }
5092
5093 static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject * _self) {
5094 self->SetClientObject(new wxPyOORClientData(_self));
5095 }
5096 static PyObject *_wrap_wxGridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5097 PyObject * _resultobj;
5098 wxGridTableBase * _arg0;
5099 PyObject * _arg1;
5100 PyObject * _argo0 = 0;
5101 PyObject * _obj1 = 0;
5102 char *_kwnames[] = { "self","_self", NULL };
5103
5104 self = self;
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase__setOORInfo",_kwnames,&_argo0,&_obj1))
5106 return NULL;
5107 if (_argo0) {
5108 if (_argo0 == Py_None) { _arg0 = NULL; }
5109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
5111 return NULL;
5112 }
5113 }
5114 {
5115 _arg1 = _obj1;
5116 }
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 wxGridTableBase__setOORInfo(_arg0,_arg1);
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) return NULL;
5123 } Py_INCREF(Py_None);
5124 _resultobj = Py_None;
5125 return _resultobj;
5126 }
5127
5128 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
5129 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5130 PyObject * _resultobj;
5131 wxGridTableBase * _arg0;
5132 wxGridCellAttrProvider * _arg1;
5133 PyObject * _argo0 = 0;
5134 PyObject * _argo1 = 0;
5135 char *_kwnames[] = { "self","attrProvider", NULL };
5136
5137 self = self;
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
5139 return NULL;
5140 if (_argo0) {
5141 if (_argo0 == Py_None) { _arg0 = NULL; }
5142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
5144 return NULL;
5145 }
5146 }
5147 if (_argo1) {
5148 if (_argo1 == Py_None) { _arg1 = NULL; }
5149 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
5150 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
5151 return NULL;
5152 }
5153 }
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) return NULL;
5160 } Py_INCREF(Py_None);
5161 _resultobj = Py_None;
5162 return _resultobj;
5163 }
5164
5165 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
5166 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5167 PyObject * _resultobj;
5168 wxGridCellAttrProvider * _result;
5169 wxGridTableBase * _arg0;
5170 PyObject * _argo0 = 0;
5171 char *_kwnames[] = { "self", NULL };
5172
5173 self = self;
5174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
5175 return NULL;
5176 if (_argo0) {
5177 if (_argo0 == Py_None) { _arg0 = NULL; }
5178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
5180 return NULL;
5181 }
5182 }
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) return NULL;
5189 }{ _resultobj = wxPyMake_wxGridCellAttrProvider(_result); }
5190 return _resultobj;
5191 }
5192
5193 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
5194 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject * _resultobj;
5196 wxGridTableBase * _arg0;
5197 wxGrid * _arg1;
5198 PyObject * _argo0 = 0;
5199 PyObject * _argo1 = 0;
5200 char *_kwnames[] = { "self","grid", NULL };
5201
5202 self = self;
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
5204 return NULL;
5205 if (_argo0) {
5206 if (_argo0 == Py_None) { _arg0 = NULL; }
5207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
5209 return NULL;
5210 }
5211 }
5212 if (_argo1) {
5213 if (_argo1 == Py_None) { _arg1 = NULL; }
5214 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
5215 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
5216 return NULL;
5217 }
5218 }
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 wxGridTableBase_SetView(_arg0,_arg1);
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) return NULL;
5225 } Py_INCREF(Py_None);
5226 _resultobj = Py_None;
5227 return _resultobj;
5228 }
5229
5230 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
5231 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject * _resultobj;
5233 wxGrid * _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_GetView",_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_GetView. Expected _wxGridTableBase_p.");
5245 return NULL;
5246 }
5247 }
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) return NULL;
5254 }{ _resultobj = wxPyMake_wxObject(_result); }
5255 return _resultobj;
5256 }
5257
5258 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
5259 static PyObject *_wrap_wxGridTableBase_GetNumberRows(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_GetNumberRows",_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_GetNumberRows. Expected _wxGridTableBase_p.");
5273 return NULL;
5274 }
5275 }
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 _result = (int )wxGridTableBase_GetNumberRows(_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_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
5287 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject * _resultobj;
5289 int _result;
5290 wxGridTableBase * _arg0;
5291 PyObject * _argo0 = 0;
5292 char *_kwnames[] = { "self", NULL };
5293
5294 self = self;
5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
5296 return NULL;
5297 if (_argo0) {
5298 if (_argo0 == Py_None) { _arg0 = NULL; }
5299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
5301 return NULL;
5302 }
5303 }
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) return NULL;
5310 } _resultobj = Py_BuildValue("i",_result);
5311 return _resultobj;
5312 }
5313
5314 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
5315 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5316 PyObject * _resultobj;
5317 bool _result;
5318 wxGridTableBase * _arg0;
5319 int _arg1;
5320 int _arg2;
5321 PyObject * _argo0 = 0;
5322 char *_kwnames[] = { "self","row","col", NULL };
5323
5324 self = self;
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
5326 return NULL;
5327 if (_argo0) {
5328 if (_argo0 == Py_None) { _arg0 = NULL; }
5329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
5331 return NULL;
5332 }
5333 }
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) return NULL;
5340 } _resultobj = Py_BuildValue("i",_result);
5341 return _resultobj;
5342 }
5343
5344 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
5345 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject * _resultobj;
5347 wxString * _result;
5348 wxGridTableBase * _arg0;
5349 int _arg1;
5350 int _arg2;
5351 PyObject * _argo0 = 0;
5352 char *_kwnames[] = { "self","row","col", NULL };
5353
5354 self = self;
5355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
5356 return NULL;
5357 if (_argo0) {
5358 if (_argo0 == Py_None) { _arg0 = NULL; }
5359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5361 return NULL;
5362 }
5363 }
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) return NULL;
5370 }{
5371 #if wxUSE_UNICODE
5372 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5373 #else
5374 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5375 #endif
5376 }
5377 {
5378 delete _result;
5379 }
5380 return _resultobj;
5381 }
5382
5383 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5384 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject * _resultobj;
5386 wxGridTableBase * _arg0;
5387 int _arg1;
5388 int _arg2;
5389 wxString * _arg3;
5390 PyObject * _argo0 = 0;
5391 PyObject * _obj3 = 0;
5392 char *_kwnames[] = { "self","row","col","value", NULL };
5393
5394 self = self;
5395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5396 return NULL;
5397 if (_argo0) {
5398 if (_argo0 == Py_None) { _arg0 = NULL; }
5399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5401 return NULL;
5402 }
5403 }
5404 {
5405 _arg3 = wxString_in_helper(_obj3);
5406 if (_arg3 == NULL)
5407 return NULL;
5408 }
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) return NULL;
5415 } Py_INCREF(Py_None);
5416 _resultobj = Py_None;
5417 {
5418 if (_obj3)
5419 delete _arg3;
5420 }
5421 return _resultobj;
5422 }
5423
5424 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5425 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject * _resultobj;
5427 wxString * _result;
5428 wxGridTableBase * _arg0;
5429 int _arg1;
5430 int _arg2;
5431 PyObject * _argo0 = 0;
5432 char *_kwnames[] = { "self","row","col", NULL };
5433
5434 self = self;
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5436 return NULL;
5437 if (_argo0) {
5438 if (_argo0 == Py_None) { _arg0 = NULL; }
5439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5441 return NULL;
5442 }
5443 }
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) return NULL;
5450 }{
5451 #if wxUSE_UNICODE
5452 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5453 #else
5454 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5455 #endif
5456 }
5457 {
5458 delete _result;
5459 }
5460 return _resultobj;
5461 }
5462
5463 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5464 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5465 PyObject * _resultobj;
5466 bool _result;
5467 wxGridTableBase * _arg0;
5468 int _arg1;
5469 int _arg2;
5470 wxString * _arg3;
5471 PyObject * _argo0 = 0;
5472 PyObject * _obj3 = 0;
5473 char *_kwnames[] = { "self","row","col","typeName", NULL };
5474
5475 self = self;
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5477 return NULL;
5478 if (_argo0) {
5479 if (_argo0 == Py_None) { _arg0 = NULL; }
5480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5482 return NULL;
5483 }
5484 }
5485 {
5486 _arg3 = wxString_in_helper(_obj3);
5487 if (_arg3 == NULL)
5488 return NULL;
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) return NULL;
5496 } _resultobj = Py_BuildValue("i",_result);
5497 {
5498 if (_obj3)
5499 delete _arg3;
5500 }
5501 return _resultobj;
5502 }
5503
5504 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5505 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject * _resultobj;
5507 bool _result;
5508 wxGridTableBase * _arg0;
5509 int _arg1;
5510 int _arg2;
5511 wxString * _arg3;
5512 PyObject * _argo0 = 0;
5513 PyObject * _obj3 = 0;
5514 char *_kwnames[] = { "self","row","col","typeName", NULL };
5515
5516 self = self;
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5518 return NULL;
5519 if (_argo0) {
5520 if (_argo0 == Py_None) { _arg0 = NULL; }
5521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5523 return NULL;
5524 }
5525 }
5526 {
5527 _arg3 = wxString_in_helper(_obj3);
5528 if (_arg3 == NULL)
5529 return NULL;
5530 }
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) return NULL;
5537 } _resultobj = Py_BuildValue("i",_result);
5538 {
5539 if (_obj3)
5540 delete _arg3;
5541 }
5542 return _resultobj;
5543 }
5544
5545 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5546 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5547 PyObject * _resultobj;
5548 long _result;
5549 wxGridTableBase * _arg0;
5550 int _arg1;
5551 int _arg2;
5552 PyObject * _argo0 = 0;
5553 char *_kwnames[] = { "self","row","col", NULL };
5554
5555 self = self;
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
5557 return NULL;
5558 if (_argo0) {
5559 if (_argo0 == Py_None) { _arg0 = NULL; }
5560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5562 return NULL;
5563 }
5564 }
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) return NULL;
5571 } _resultobj = Py_BuildValue("l",_result);
5572 return _resultobj;
5573 }
5574
5575 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5576 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5577 PyObject * _resultobj;
5578 double _result;
5579 wxGridTableBase * _arg0;
5580 int _arg1;
5581 int _arg2;
5582 PyObject * _argo0 = 0;
5583 char *_kwnames[] = { "self","row","col", NULL };
5584
5585 self = self;
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
5587 return NULL;
5588 if (_argo0) {
5589 if (_argo0 == Py_None) { _arg0 = NULL; }
5590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5592 return NULL;
5593 }
5594 }
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) return NULL;
5601 } _resultobj = Py_BuildValue("d",_result);
5602 return _resultobj;
5603 }
5604
5605 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5606 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject * _resultobj;
5608 bool _result;
5609 wxGridTableBase * _arg0;
5610 int _arg1;
5611 int _arg2;
5612 PyObject * _argo0 = 0;
5613 char *_kwnames[] = { "self","row","col", NULL };
5614
5615 self = self;
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
5617 return NULL;
5618 if (_argo0) {
5619 if (_argo0 == Py_None) { _arg0 = NULL; }
5620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5622 return NULL;
5623 }
5624 }
5625 {
5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
5627 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) return NULL;
5631 } _resultobj = Py_BuildValue("i",_result);
5632 return _resultobj;
5633 }
5634
5635 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5636 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5637 PyObject * _resultobj;
5638 wxGridTableBase * _arg0;
5639 int _arg1;
5640 int _arg2;
5641 long _arg3;
5642 PyObject * _argo0 = 0;
5643 char *_kwnames[] = { "self","row","col","value", NULL };
5644
5645 self = self;
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5647 return NULL;
5648 if (_argo0) {
5649 if (_argo0 == Py_None) { _arg0 = NULL; }
5650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5652 return NULL;
5653 }
5654 }
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
5658
5659 wxPyEndAllowThreads(__tstate);
5660 if (PyErr_Occurred()) return NULL;
5661 } Py_INCREF(Py_None);
5662 _resultobj = Py_None;
5663 return _resultobj;
5664 }
5665
5666 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5667 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject * _resultobj;
5669 wxGridTableBase * _arg0;
5670 int _arg1;
5671 int _arg2;
5672 double _arg3;
5673 PyObject * _argo0 = 0;
5674 char *_kwnames[] = { "self","row","col","value", NULL };
5675
5676 self = self;
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5678 return NULL;
5679 if (_argo0) {
5680 if (_argo0 == Py_None) { _arg0 = NULL; }
5681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5683 return NULL;
5684 }
5685 }
5686 {
5687 PyThreadState* __tstate = wxPyBeginAllowThreads();
5688 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5689
5690 wxPyEndAllowThreads(__tstate);
5691 if (PyErr_Occurred()) return NULL;
5692 } Py_INCREF(Py_None);
5693 _resultobj = Py_None;
5694 return _resultobj;
5695 }
5696
5697 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5698 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject * _resultobj;
5700 wxGridTableBase * _arg0;
5701 int _arg1;
5702 int _arg2;
5703 bool _arg3;
5704 PyObject * _argo0 = 0;
5705 int tempbool3;
5706 char *_kwnames[] = { "self","row","col","value", NULL };
5707
5708 self = self;
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5710 return NULL;
5711 if (_argo0) {
5712 if (_argo0 == Py_None) { _arg0 = NULL; }
5713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5715 return NULL;
5716 }
5717 }
5718 _arg3 = (bool ) tempbool3;
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
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_Clear(_swigobj) (_swigobj->Clear())
5731 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject * _resultobj;
5733 wxGridTableBase * _arg0;
5734 PyObject * _argo0 = 0;
5735 char *_kwnames[] = { "self", NULL };
5736
5737 self = self;
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5739 return NULL;
5740 if (_argo0) {
5741 if (_argo0 == Py_None) { _arg0 = NULL; }
5742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5744 return NULL;
5745 }
5746 }
5747 {
5748 PyThreadState* __tstate = wxPyBeginAllowThreads();
5749 wxGridTableBase_Clear(_arg0);
5750
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) return NULL;
5753 } Py_INCREF(Py_None);
5754 _resultobj = Py_None;
5755 return _resultobj;
5756 }
5757
5758 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5759 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject * _resultobj;
5761 bool _result;
5762 wxGridTableBase * _arg0;
5763 size_t _arg1 = (size_t ) 0;
5764 size_t _arg2 = (size_t ) 1;
5765 PyObject * _argo0 = 0;
5766 char *_kwnames[] = { "self","pos","numRows", NULL };
5767
5768 self = self;
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5770 return NULL;
5771 if (_argo0) {
5772 if (_argo0 == Py_None) { _arg0 = NULL; }
5773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5775 return NULL;
5776 }
5777 }
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5781
5782 wxPyEndAllowThreads(__tstate);
5783 if (PyErr_Occurred()) return NULL;
5784 } _resultobj = Py_BuildValue("i",_result);
5785 return _resultobj;
5786 }
5787
5788 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5789 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5790 PyObject * _resultobj;
5791 bool _result;
5792 wxGridTableBase * _arg0;
5793 size_t _arg1 = (size_t ) 1;
5794 PyObject * _argo0 = 0;
5795 char *_kwnames[] = { "self","numRows", NULL };
5796
5797 self = self;
5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5799 return NULL;
5800 if (_argo0) {
5801 if (_argo0 == Py_None) { _arg0 = NULL; }
5802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5804 return NULL;
5805 }
5806 }
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) return NULL;
5813 } _resultobj = Py_BuildValue("i",_result);
5814 return _resultobj;
5815 }
5816
5817 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5818 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject * _resultobj;
5820 bool _result;
5821 wxGridTableBase * _arg0;
5822 size_t _arg1 = (size_t ) 0;
5823 size_t _arg2 = (size_t ) 1;
5824 PyObject * _argo0 = 0;
5825 char *_kwnames[] = { "self","pos","numRows", NULL };
5826
5827 self = self;
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5829 return NULL;
5830 if (_argo0) {
5831 if (_argo0 == Py_None) { _arg0 = NULL; }
5832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5834 return NULL;
5835 }
5836 }
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) return NULL;
5843 } _resultobj = Py_BuildValue("i",_result);
5844 return _resultobj;
5845 }
5846
5847 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5848 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5849 PyObject * _resultobj;
5850 bool _result;
5851 wxGridTableBase * _arg0;
5852 size_t _arg1 = (size_t ) 0;
5853 size_t _arg2 = (size_t ) 1;
5854 PyObject * _argo0 = 0;
5855 char *_kwnames[] = { "self","pos","numCols", NULL };
5856
5857 self = self;
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5859 return NULL;
5860 if (_argo0) {
5861 if (_argo0 == Py_None) { _arg0 = NULL; }
5862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5864 return NULL;
5865 }
5866 }
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) return NULL;
5873 } _resultobj = Py_BuildValue("i",_result);
5874 return _resultobj;
5875 }
5876
5877 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5878 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject * _resultobj;
5880 bool _result;
5881 wxGridTableBase * _arg0;
5882 size_t _arg1 = (size_t ) 1;
5883 PyObject * _argo0 = 0;
5884 char *_kwnames[] = { "self","numCols", NULL };
5885
5886 self = self;
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5888 return NULL;
5889 if (_argo0) {
5890 if (_argo0 == Py_None) { _arg0 = NULL; }
5891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5893 return NULL;
5894 }
5895 }
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) return NULL;
5902 } _resultobj = Py_BuildValue("i",_result);
5903 return _resultobj;
5904 }
5905
5906 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5907 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject * _resultobj;
5909 bool _result;
5910 wxGridTableBase * _arg0;
5911 size_t _arg1 = (size_t ) 0;
5912 size_t _arg2 = (size_t ) 1;
5913 PyObject * _argo0 = 0;
5914 char *_kwnames[] = { "self","pos","numCols", NULL };
5915
5916 self = self;
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5918 return NULL;
5919 if (_argo0) {
5920 if (_argo0 == Py_None) { _arg0 = NULL; }
5921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5923 return NULL;
5924 }
5925 }
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) return NULL;
5932 } _resultobj = Py_BuildValue("i",_result);
5933 return _resultobj;
5934 }
5935
5936 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5937 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject * _resultobj;
5939 wxString * _result;
5940 wxGridTableBase * _arg0;
5941 int _arg1;
5942 PyObject * _argo0 = 0;
5943 char *_kwnames[] = { "self","row", NULL };
5944
5945 self = self;
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5947 return NULL;
5948 if (_argo0) {
5949 if (_argo0 == Py_None) { _arg0 = NULL; }
5950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5952 return NULL;
5953 }
5954 }
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) return NULL;
5961 }{
5962 #if wxUSE_UNICODE
5963 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5964 #else
5965 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5966 #endif
5967 }
5968 {
5969 delete _result;
5970 }
5971 return _resultobj;
5972 }
5973
5974 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5975 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5976 PyObject * _resultobj;
5977 wxString * _result;
5978 wxGridTableBase * _arg0;
5979 int _arg1;
5980 PyObject * _argo0 = 0;
5981 char *_kwnames[] = { "self","col", NULL };
5982
5983 self = self;
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5985 return NULL;
5986 if (_argo0) {
5987 if (_argo0 == Py_None) { _arg0 = NULL; }
5988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5990 return NULL;
5991 }
5992 }
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) return NULL;
5999 }{
6000 #if wxUSE_UNICODE
6001 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6002 #else
6003 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6004 #endif
6005 }
6006 {
6007 delete _result;
6008 }
6009 return _resultobj;
6010 }
6011
6012 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
6013 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject * _resultobj;
6015 wxGridTableBase * _arg0;
6016 int _arg1;
6017 wxString * _arg2;
6018 PyObject * _argo0 = 0;
6019 PyObject * _obj2 = 0;
6020 char *_kwnames[] = { "self","row","value", NULL };
6021
6022 self = self;
6023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6024 return NULL;
6025 if (_argo0) {
6026 if (_argo0 == Py_None) { _arg0 = NULL; }
6027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
6029 return NULL;
6030 }
6031 }
6032 {
6033 _arg2 = wxString_in_helper(_obj2);
6034 if (_arg2 == NULL)
6035 return NULL;
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) return NULL;
6043 } Py_INCREF(Py_None);
6044 _resultobj = Py_None;
6045 {
6046 if (_obj2)
6047 delete _arg2;
6048 }
6049 return _resultobj;
6050 }
6051
6052 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
6053 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject * _resultobj;
6055 wxGridTableBase * _arg0;
6056 int _arg1;
6057 wxString * _arg2;
6058 PyObject * _argo0 = 0;
6059 PyObject * _obj2 = 0;
6060 char *_kwnames[] = { "self","col","value", NULL };
6061
6062 self = self;
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6064 return NULL;
6065 if (_argo0) {
6066 if (_argo0 == Py_None) { _arg0 = NULL; }
6067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
6069 return NULL;
6070 }
6071 }
6072 {
6073 _arg2 = wxString_in_helper(_obj2);
6074 if (_arg2 == NULL)
6075 return NULL;
6076 }
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) return NULL;
6083 } Py_INCREF(Py_None);
6084 _resultobj = Py_None;
6085 {
6086 if (_obj2)
6087 delete _arg2;
6088 }
6089 return _resultobj;
6090 }
6091
6092 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
6093 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject * _resultobj;
6095 bool _result;
6096 wxGridTableBase * _arg0;
6097 PyObject * _argo0 = 0;
6098 char *_kwnames[] = { "self", NULL };
6099
6100 self = self;
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
6102 return NULL;
6103 if (_argo0) {
6104 if (_argo0 == Py_None) { _arg0 = NULL; }
6105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
6107 return NULL;
6108 }
6109 }
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) return NULL;
6116 } _resultobj = Py_BuildValue("i",_result);
6117 return _resultobj;
6118 }
6119
6120 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
6121 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject * _resultobj;
6123 wxGridCellAttr * _result;
6124 wxGridTableBase * _arg0;
6125 int _arg1;
6126 int _arg2;
6127 wxGridCellAttr::wxAttrKind _arg3;
6128 PyObject * _argo0 = 0;
6129 char *_kwnames[] = { "self","row","col","kind", NULL };
6130
6131 self = self;
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6133 return NULL;
6134 if (_argo0) {
6135 if (_argo0 == Py_None) { _arg0 = NULL; }
6136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
6138 return NULL;
6139 }
6140 }
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) return NULL;
6147 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
6148 return _resultobj;
6149 }
6150
6151 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
6152 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject * _resultobj;
6154 wxGridTableBase * _arg0;
6155 wxGridCellAttr * _arg1;
6156 int _arg2;
6157 int _arg3;
6158 PyObject * _argo0 = 0;
6159 PyObject * _argo1 = 0;
6160 char *_kwnames[] = { "self","attr","row","col", NULL };
6161
6162 self = self;
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6164 return NULL;
6165 if (_argo0) {
6166 if (_argo0 == Py_None) { _arg0 = NULL; }
6167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
6169 return NULL;
6170 }
6171 }
6172 if (_argo1) {
6173 if (_argo1 == Py_None) { _arg1 = NULL; }
6174 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6175 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
6176 return NULL;
6177 }
6178 }
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) return NULL;
6185 } Py_INCREF(Py_None);
6186 _resultobj = Py_None;
6187 return _resultobj;
6188 }
6189
6190 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
6191 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6192 PyObject * _resultobj;
6193 wxGridTableBase * _arg0;
6194 wxGridCellAttr * _arg1;
6195 int _arg2;
6196 PyObject * _argo0 = 0;
6197 PyObject * _argo1 = 0;
6198 char *_kwnames[] = { "self","attr","row", NULL };
6199
6200 self = self;
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6202 return NULL;
6203 if (_argo0) {
6204 if (_argo0 == Py_None) { _arg0 = NULL; }
6205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
6207 return NULL;
6208 }
6209 }
6210 if (_argo1) {
6211 if (_argo1 == Py_None) { _arg1 = NULL; }
6212 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6213 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
6214 return NULL;
6215 }
6216 }
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) return NULL;
6223 } Py_INCREF(Py_None);
6224 _resultobj = Py_None;
6225 return _resultobj;
6226 }
6227
6228 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
6229 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6230 PyObject * _resultobj;
6231 wxGridTableBase * _arg0;
6232 wxGridCellAttr * _arg1;
6233 int _arg2;
6234 PyObject * _argo0 = 0;
6235 PyObject * _argo1 = 0;
6236 char *_kwnames[] = { "self","attr","col", NULL };
6237
6238 self = self;
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6240 return NULL;
6241 if (_argo0) {
6242 if (_argo0 == Py_None) { _arg0 = NULL; }
6243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
6245 return NULL;
6246 }
6247 }
6248 if (_argo1) {
6249 if (_argo1 == Py_None) { _arg1 = NULL; }
6250 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
6252 return NULL;
6253 }
6254 }
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) return NULL;
6261 } Py_INCREF(Py_None);
6262 _resultobj = Py_None;
6263 return _resultobj;
6264 }
6265
6266 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
6267 wxPyGridTableBase *src;
6268 wxGridTableBase *dest;
6269 src = (wxPyGridTableBase *) ptr;
6270 dest = (wxGridTableBase *) src;
6271 return (void *) dest;
6272 }
6273
6274 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
6275 wxPyGridTableBase *src;
6276 wxObject *dest;
6277 src = (wxPyGridTableBase *) ptr;
6278 dest = (wxObject *) src;
6279 return (void *) dest;
6280 }
6281
6282 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
6283 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject * _resultobj;
6285 wxPyGridTableBase * _result;
6286 char *_kwnames[] = { NULL };
6287 char _ptemp[128];
6288
6289 self = self;
6290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
6291 return NULL;
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
6295
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) return NULL;
6298 } if (_result) {
6299 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
6300 _resultobj = Py_BuildValue("s",_ptemp);
6301 } else {
6302 Py_INCREF(Py_None);
6303 _resultobj = Py_None;
6304 }
6305 return _resultobj;
6306 }
6307
6308 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6309 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6310 PyObject * _resultobj;
6311 wxPyGridTableBase * _arg0;
6312 PyObject * _arg1;
6313 PyObject * _arg2;
6314 PyObject * _argo0 = 0;
6315 PyObject * _obj1 = 0;
6316 PyObject * _obj2 = 0;
6317 char *_kwnames[] = { "self","self","_class", NULL };
6318
6319 self = self;
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
6321 return NULL;
6322 if (_argo0) {
6323 if (_argo0 == Py_None) { _arg0 = NULL; }
6324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
6326 return NULL;
6327 }
6328 }
6329 {
6330 _arg1 = _obj1;
6331 }
6332 {
6333 _arg2 = _obj2;
6334 }
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
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 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
6347 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject * _resultobj;
6349 wxPyGridTableBase * _arg0;
6350 PyObject * _argo0 = 0;
6351 char *_kwnames[] = { "self", NULL };
6352
6353 self = self;
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
6355 return NULL;
6356 if (_argo0) {
6357 if (_argo0 == Py_None) { _arg0 = NULL; }
6358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6360 return NULL;
6361 }
6362 }
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 wxPyGridTableBase_Destroy(_arg0);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) return NULL;
6369 } Py_INCREF(Py_None);
6370 _resultobj = Py_None;
6371 return _resultobj;
6372 }
6373
6374 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6375 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6376 PyObject * _resultobj;
6377 wxString * _result;
6378 wxPyGridTableBase * _arg0;
6379 int _arg1;
6380 int _arg2;
6381 PyObject * _argo0 = 0;
6382 char *_kwnames[] = { "self","row","col", NULL };
6383
6384 self = self;
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
6386 return NULL;
6387 if (_argo0) {
6388 if (_argo0 == Py_None) { _arg0 = NULL; }
6389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6391 return NULL;
6392 }
6393 }
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) return NULL;
6400 }{
6401 #if wxUSE_UNICODE
6402 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6403 #else
6404 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6405 #endif
6406 }
6407 {
6408 delete _result;
6409 }
6410 return _resultobj;
6411 }
6412
6413 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6414 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject * _resultobj;
6416 bool _result;
6417 wxPyGridTableBase * _arg0;
6418 int _arg1;
6419 int _arg2;
6420 wxString * _arg3;
6421 PyObject * _argo0 = 0;
6422 PyObject * _obj3 = 0;
6423 char *_kwnames[] = { "self","row","col","typeName", NULL };
6424
6425 self = self;
6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6427 return NULL;
6428 if (_argo0) {
6429 if (_argo0 == Py_None) { _arg0 = NULL; }
6430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6432 return NULL;
6433 }
6434 }
6435 {
6436 _arg3 = wxString_in_helper(_obj3);
6437 if (_arg3 == NULL)
6438 return NULL;
6439 }
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) return NULL;
6446 } _resultobj = Py_BuildValue("i",_result);
6447 {
6448 if (_obj3)
6449 delete _arg3;
6450 }
6451 return _resultobj;
6452 }
6453
6454 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6455 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6456 PyObject * _resultobj;
6457 bool _result;
6458 wxPyGridTableBase * _arg0;
6459 int _arg1;
6460 int _arg2;
6461 wxString * _arg3;
6462 PyObject * _argo0 = 0;
6463 PyObject * _obj3 = 0;
6464 char *_kwnames[] = { "self","row","col","typeName", NULL };
6465
6466 self = self;
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6468 return NULL;
6469 if (_argo0) {
6470 if (_argo0 == Py_None) { _arg0 = NULL; }
6471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6473 return NULL;
6474 }
6475 }
6476 {
6477 _arg3 = wxString_in_helper(_obj3);
6478 if (_arg3 == NULL)
6479 return NULL;
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) return NULL;
6487 } _resultobj = Py_BuildValue("i",_result);
6488 {
6489 if (_obj3)
6490 delete _arg3;
6491 }
6492 return _resultobj;
6493 }
6494
6495 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6496 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6497 PyObject * _resultobj;
6498 wxPyGridTableBase * _arg0;
6499 PyObject * _argo0 = 0;
6500 char *_kwnames[] = { "self", NULL };
6501
6502 self = self;
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
6504 return NULL;
6505 if (_argo0) {
6506 if (_argo0 == Py_None) { _arg0 = NULL; }
6507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6509 return NULL;
6510 }
6511 }
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 wxPyGridTableBase_base_Clear(_arg0);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) return NULL;
6518 } Py_INCREF(Py_None);
6519 _resultobj = Py_None;
6520 return _resultobj;
6521 }
6522
6523 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6524 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6525 PyObject * _resultobj;
6526 bool _result;
6527 wxPyGridTableBase * _arg0;
6528 size_t _arg1 = (size_t ) 0;
6529 size_t _arg2 = (size_t ) 1;
6530 PyObject * _argo0 = 0;
6531 char *_kwnames[] = { "self","pos","numRows", NULL };
6532
6533 self = self;
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
6535 return NULL;
6536 if (_argo0) {
6537 if (_argo0 == Py_None) { _arg0 = NULL; }
6538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6540 return NULL;
6541 }
6542 }
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) return NULL;
6549 } _resultobj = Py_BuildValue("i",_result);
6550 return _resultobj;
6551 }
6552
6553 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6554 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject * _resultobj;
6556 bool _result;
6557 wxPyGridTableBase * _arg0;
6558 size_t _arg1 = (size_t ) 1;
6559 PyObject * _argo0 = 0;
6560 char *_kwnames[] = { "self","numRows", NULL };
6561
6562 self = self;
6563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
6564 return NULL;
6565 if (_argo0) {
6566 if (_argo0 == Py_None) { _arg0 = NULL; }
6567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6569 return NULL;
6570 }
6571 }
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) return NULL;
6578 } _resultobj = Py_BuildValue("i",_result);
6579 return _resultobj;
6580 }
6581
6582 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6583 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6584 PyObject * _resultobj;
6585 bool _result;
6586 wxPyGridTableBase * _arg0;
6587 size_t _arg1 = (size_t ) 0;
6588 size_t _arg2 = (size_t ) 1;
6589 PyObject * _argo0 = 0;
6590 char *_kwnames[] = { "self","pos","numRows", NULL };
6591
6592 self = self;
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
6594 return NULL;
6595 if (_argo0) {
6596 if (_argo0 == Py_None) { _arg0 = NULL; }
6597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6599 return NULL;
6600 }
6601 }
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) return NULL;
6608 } _resultobj = Py_BuildValue("i",_result);
6609 return _resultobj;
6610 }
6611
6612 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6613 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject * _resultobj;
6615 bool _result;
6616 wxPyGridTableBase * _arg0;
6617 size_t _arg1 = (size_t ) 0;
6618 size_t _arg2 = (size_t ) 1;
6619 PyObject * _argo0 = 0;
6620 char *_kwnames[] = { "self","pos","numCols", NULL };
6621
6622 self = self;
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
6624 return NULL;
6625 if (_argo0) {
6626 if (_argo0 == Py_None) { _arg0 = NULL; }
6627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6629 return NULL;
6630 }
6631 }
6632 {
6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
6634 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
6635
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) return NULL;
6638 } _resultobj = Py_BuildValue("i",_result);
6639 return _resultobj;
6640 }
6641
6642 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6643 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6644 PyObject * _resultobj;
6645 bool _result;
6646 wxPyGridTableBase * _arg0;
6647 size_t _arg1 = (size_t ) 1;
6648 PyObject * _argo0 = 0;
6649 char *_kwnames[] = { "self","numCols", NULL };
6650
6651 self = self;
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
6653 return NULL;
6654 if (_argo0) {
6655 if (_argo0 == Py_None) { _arg0 = NULL; }
6656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6658 return NULL;
6659 }
6660 }
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) return NULL;
6667 } _resultobj = Py_BuildValue("i",_result);
6668 return _resultobj;
6669 }
6670
6671 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6672 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject * _resultobj;
6674 bool _result;
6675 wxPyGridTableBase * _arg0;
6676 size_t _arg1 = (size_t ) 0;
6677 size_t _arg2 = (size_t ) 1;
6678 PyObject * _argo0 = 0;
6679 char *_kwnames[] = { "self","pos","numCols", NULL };
6680
6681 self = self;
6682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6683 return NULL;
6684 if (_argo0) {
6685 if (_argo0 == Py_None) { _arg0 = NULL; }
6686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6688 return NULL;
6689 }
6690 }
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) return NULL;
6697 } _resultobj = Py_BuildValue("i",_result);
6698 return _resultobj;
6699 }
6700
6701 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6702 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject * _resultobj;
6704 wxString * _result;
6705 wxPyGridTableBase * _arg0;
6706 int _arg1;
6707 PyObject * _argo0 = 0;
6708 char *_kwnames[] = { "self","row", NULL };
6709
6710 self = self;
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6712 return NULL;
6713 if (_argo0) {
6714 if (_argo0 == Py_None) { _arg0 = NULL; }
6715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6717 return NULL;
6718 }
6719 }
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) return NULL;
6726 }{
6727 #if wxUSE_UNICODE
6728 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6729 #else
6730 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6731 #endif
6732 }
6733 {
6734 delete _result;
6735 }
6736 return _resultobj;
6737 }
6738
6739 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6740 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6741 PyObject * _resultobj;
6742 wxString * _result;
6743 wxPyGridTableBase * _arg0;
6744 int _arg1;
6745 PyObject * _argo0 = 0;
6746 char *_kwnames[] = { "self","col", NULL };
6747
6748 self = self;
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6750 return NULL;
6751 if (_argo0) {
6752 if (_argo0 == Py_None) { _arg0 = NULL; }
6753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6755 return NULL;
6756 }
6757 }
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) return NULL;
6764 }{
6765 #if wxUSE_UNICODE
6766 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6767 #else
6768 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6769 #endif
6770 }
6771 {
6772 delete _result;
6773 }
6774 return _resultobj;
6775 }
6776
6777 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6778 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6779 PyObject * _resultobj;
6780 wxPyGridTableBase * _arg0;
6781 int _arg1;
6782 wxString * _arg2;
6783 PyObject * _argo0 = 0;
6784 PyObject * _obj2 = 0;
6785 char *_kwnames[] = { "self","row","value", NULL };
6786
6787 self = self;
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6789 return NULL;
6790 if (_argo0) {
6791 if (_argo0 == Py_None) { _arg0 = NULL; }
6792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6794 return NULL;
6795 }
6796 }
6797 {
6798 _arg2 = wxString_in_helper(_obj2);
6799 if (_arg2 == NULL)
6800 return NULL;
6801 }
6802 {
6803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6804 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6805
6806 wxPyEndAllowThreads(__tstate);
6807 if (PyErr_Occurred()) return NULL;
6808 } Py_INCREF(Py_None);
6809 _resultobj = Py_None;
6810 {
6811 if (_obj2)
6812 delete _arg2;
6813 }
6814 return _resultobj;
6815 }
6816
6817 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6818 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject * _resultobj;
6820 wxPyGridTableBase * _arg0;
6821 int _arg1;
6822 wxString * _arg2;
6823 PyObject * _argo0 = 0;
6824 PyObject * _obj2 = 0;
6825 char *_kwnames[] = { "self","col","value", NULL };
6826
6827 self = self;
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6829 return NULL;
6830 if (_argo0) {
6831 if (_argo0 == Py_None) { _arg0 = NULL; }
6832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6834 return NULL;
6835 }
6836 }
6837 {
6838 _arg2 = wxString_in_helper(_obj2);
6839 if (_arg2 == NULL)
6840 return NULL;
6841 }
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6845
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) return NULL;
6848 } Py_INCREF(Py_None);
6849 _resultobj = Py_None;
6850 {
6851 if (_obj2)
6852 delete _arg2;
6853 }
6854 return _resultobj;
6855 }
6856
6857 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6858 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject * _resultobj;
6860 bool _result;
6861 wxPyGridTableBase * _arg0;
6862 PyObject * _argo0 = 0;
6863 char *_kwnames[] = { "self", NULL };
6864
6865 self = self;
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6867 return NULL;
6868 if (_argo0) {
6869 if (_argo0 == Py_None) { _arg0 = NULL; }
6870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6872 return NULL;
6873 }
6874 }
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) return NULL;
6881 } _resultobj = Py_BuildValue("i",_result);
6882 return _resultobj;
6883 }
6884
6885 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6886 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6887 PyObject * _resultobj;
6888 wxGridCellAttr * _result;
6889 wxPyGridTableBase * _arg0;
6890 int _arg1;
6891 int _arg2;
6892 wxGridCellAttr::wxAttrKind _arg3;
6893 PyObject * _argo0 = 0;
6894 char *_kwnames[] = { "self","row","col","kind", NULL };
6895
6896 self = self;
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6898 return NULL;
6899 if (_argo0) {
6900 if (_argo0 == Py_None) { _arg0 = NULL; }
6901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6903 return NULL;
6904 }
6905 }
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) return NULL;
6912 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
6913 return _resultobj;
6914 }
6915
6916 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6917 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject * _resultobj;
6919 wxPyGridTableBase * _arg0;
6920 wxGridCellAttr * _arg1;
6921 int _arg2;
6922 int _arg3;
6923 PyObject * _argo0 = 0;
6924 PyObject * _argo1 = 0;
6925 char *_kwnames[] = { "self","attr","row","col", NULL };
6926
6927 self = self;
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6929 return NULL;
6930 if (_argo0) {
6931 if (_argo0 == Py_None) { _arg0 = NULL; }
6932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6934 return NULL;
6935 }
6936 }
6937 if (_argo1) {
6938 if (_argo1 == Py_None) { _arg1 = NULL; }
6939 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6940 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6941 return NULL;
6942 }
6943 }
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) return NULL;
6950 } Py_INCREF(Py_None);
6951 _resultobj = Py_None;
6952 return _resultobj;
6953 }
6954
6955 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6956 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6957 PyObject * _resultobj;
6958 wxPyGridTableBase * _arg0;
6959 wxGridCellAttr * _arg1;
6960 int _arg2;
6961 PyObject * _argo0 = 0;
6962 PyObject * _argo1 = 0;
6963 char *_kwnames[] = { "self","attr","row", NULL };
6964
6965 self = self;
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6967 return NULL;
6968 if (_argo0) {
6969 if (_argo0 == Py_None) { _arg0 = NULL; }
6970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6972 return NULL;
6973 }
6974 }
6975 if (_argo1) {
6976 if (_argo1 == Py_None) { _arg1 = NULL; }
6977 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6978 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6979 return NULL;
6980 }
6981 }
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) return NULL;
6988 } Py_INCREF(Py_None);
6989 _resultobj = Py_None;
6990 return _resultobj;
6991 }
6992
6993 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6994 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject * _resultobj;
6996 wxPyGridTableBase * _arg0;
6997 wxGridCellAttr * _arg1;
6998 int _arg2;
6999 PyObject * _argo0 = 0;
7000 PyObject * _argo1 = 0;
7001 char *_kwnames[] = { "self","attr","col", NULL };
7002
7003 self = self;
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
7005 return NULL;
7006 if (_argo0) {
7007 if (_argo0 == Py_None) { _arg0 = NULL; }
7008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
7009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
7010 return NULL;
7011 }
7012 }
7013 if (_argo1) {
7014 if (_argo1 == Py_None) { _arg1 = NULL; }
7015 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
7016 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
7017 return NULL;
7018 }
7019 }
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) return NULL;
7026 } Py_INCREF(Py_None);
7027 _resultobj = Py_None;
7028 return _resultobj;
7029 }
7030
7031 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
7032 wxGridStringTable *src;
7033 wxGridTableBase *dest;
7034 src = (wxGridStringTable *) ptr;
7035 dest = (wxGridTableBase *) src;
7036 return (void *) dest;
7037 }
7038
7039 static void *SwigwxGridStringTableTowxObject(void *ptr) {
7040 wxGridStringTable *src;
7041 wxObject *dest;
7042 src = (wxGridStringTable *) ptr;
7043 dest = (wxObject *) src;
7044 return (void *) dest;
7045 }
7046
7047 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
7048 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject * _resultobj;
7050 wxGridStringTable * _result;
7051 int _arg0 = (int ) 0;
7052 int _arg1 = (int ) 0;
7053 char *_kwnames[] = { "numRows","numCols", NULL };
7054 char _ptemp[128];
7055
7056 self = self;
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
7058 return NULL;
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) return NULL;
7065 } if (_result) {
7066 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
7067 _resultobj = Py_BuildValue("s",_ptemp);
7068 } else {
7069 Py_INCREF(Py_None);
7070 _resultobj = Py_None;
7071 }
7072 return _resultobj;
7073 }
7074
7075 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7076 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7077 PyObject * _resultobj;
7078 wxGridTableMessage * _result;
7079 wxGridTableBase * _arg0;
7080 int _arg1;
7081 int _arg2 = (int ) -1;
7082 int _arg3 = (int ) -1;
7083 PyObject * _argo0 = 0;
7084 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
7085 char _ptemp[128];
7086
7087 self = self;
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7089 return NULL;
7090 if (_argo0) {
7091 if (_argo0 == Py_None) { _arg0 = NULL; }
7092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
7094 return NULL;
7095 }
7096 }
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) return NULL;
7103 } if (_result) {
7104 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
7105 _resultobj = Py_BuildValue("s",_ptemp);
7106 } else {
7107 Py_INCREF(Py_None);
7108 _resultobj = Py_None;
7109 }
7110 return _resultobj;
7111 }
7112
7113 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
7114 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject * _resultobj;
7116 wxGridTableMessage * _arg0;
7117 PyObject * _argo0 = 0;
7118 char *_kwnames[] = { "self", NULL };
7119
7120 self = self;
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
7122 return NULL;
7123 if (_argo0) {
7124 if (_argo0 == Py_None) { _arg0 = NULL; }
7125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
7127 return NULL;
7128 }
7129 }
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 delete_wxGridTableMessage(_arg0);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) return NULL;
7136 } Py_INCREF(Py_None);
7137 _resultobj = Py_None;
7138 return _resultobj;
7139 }
7140
7141 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
7142 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject * _resultobj;
7144 wxGridTableMessage * _arg0;
7145 wxGridTableBase * _arg1;
7146 PyObject * _argo0 = 0;
7147 PyObject * _argo1 = 0;
7148 char *_kwnames[] = { "self","table", NULL };
7149
7150 self = self;
7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
7152 return NULL;
7153 if (_argo0) {
7154 if (_argo0 == Py_None) { _arg0 = NULL; }
7155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
7157 return NULL;
7158 }
7159 }
7160 if (_argo1) {
7161 if (_argo1 == Py_None) { _arg1 = NULL; }
7162 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7163 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
7164 return NULL;
7165 }
7166 }
7167 {
7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
7169 wxGridTableMessage_SetTableObject(_arg0,_arg1);
7170
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) return NULL;
7173 } Py_INCREF(Py_None);
7174 _resultobj = Py_None;
7175 return _resultobj;
7176 }
7177
7178 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
7179 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
7180 PyObject * _resultobj;
7181 wxGridTableBase * _result;
7182 wxGridTableMessage * _arg0;
7183 PyObject * _argo0 = 0;
7184 char *_kwnames[] = { "self", NULL };
7185
7186 self = self;
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
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_GetTableObject. Expected _wxGridTableMessage_p.");
7193 return NULL;
7194 }
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) return NULL;
7202 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
7203 return _resultobj;
7204 }
7205
7206 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7207 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject * _resultobj;
7209 wxGridTableMessage * _arg0;
7210 int _arg1;
7211 PyObject * _argo0 = 0;
7212 char *_kwnames[] = { "self","id", NULL };
7213
7214 self = self;
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
7216 return NULL;
7217 if (_argo0) {
7218 if (_argo0 == Py_None) { _arg0 = NULL; }
7219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
7221 return NULL;
7222 }
7223 }
7224 {
7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
7226 wxGridTableMessage_SetId(_arg0,_arg1);
7227
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) return NULL;
7230 } Py_INCREF(Py_None);
7231 _resultobj = Py_None;
7232 return _resultobj;
7233 }
7234
7235 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
7236 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject * _resultobj;
7238 int _result;
7239 wxGridTableMessage * _arg0;
7240 PyObject * _argo0 = 0;
7241 char *_kwnames[] = { "self", NULL };
7242
7243 self = self;
7244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
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_GetId. Expected _wxGridTableMessage_p.");
7250 return NULL;
7251 }
7252 }
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 _result = (int )wxGridTableMessage_GetId(_arg0);
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) return NULL;
7259 } _resultobj = Py_BuildValue("i",_result);
7260 return _resultobj;
7261 }
7262
7263 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
7264 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7265 PyObject * _resultobj;
7266 wxGridTableMessage * _arg0;
7267 int _arg1;
7268 PyObject * _argo0 = 0;
7269 char *_kwnames[] = { "self","comInt1", NULL };
7270
7271 self = self;
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
7273 return NULL;
7274 if (_argo0) {
7275 if (_argo0 == Py_None) { _arg0 = NULL; }
7276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
7278 return NULL;
7279 }
7280 }
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) return NULL;
7287 } Py_INCREF(Py_None);
7288 _resultobj = Py_None;
7289 return _resultobj;
7290 }
7291
7292 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
7293 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject * _resultobj;
7295 int _result;
7296 wxGridTableMessage * _arg0;
7297 PyObject * _argo0 = 0;
7298 char *_kwnames[] = { "self", NULL };
7299
7300 self = self;
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
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_GetCommandInt. Expected _wxGridTableMessage_p.");
7307 return NULL;
7308 }
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) return NULL;
7316 } _resultobj = Py_BuildValue("i",_result);
7317 return _resultobj;
7318 }
7319
7320 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
7321 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7322 PyObject * _resultobj;
7323 wxGridTableMessage * _arg0;
7324 int _arg1;
7325 PyObject * _argo0 = 0;
7326 char *_kwnames[] = { "self","comInt2", NULL };
7327
7328 self = self;
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
7330 return NULL;
7331 if (_argo0) {
7332 if (_argo0 == Py_None) { _arg0 = NULL; }
7333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
7335 return NULL;
7336 }
7337 }
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
7341
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) return NULL;
7344 } Py_INCREF(Py_None);
7345 _resultobj = Py_None;
7346 return _resultobj;
7347 }
7348
7349 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
7350 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7351 PyObject * _resultobj;
7352 int _result;
7353 wxGridTableMessage * _arg0;
7354 PyObject * _argo0 = 0;
7355 char *_kwnames[] = { "self", NULL };
7356
7357 self = self;
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
7359 return NULL;
7360 if (_argo0) {
7361 if (_argo0 == Py_None) { _arg0 = NULL; }
7362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7364 return NULL;
7365 }
7366 }
7367 {
7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
7369 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
7370
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) return NULL;
7373 } _resultobj = Py_BuildValue("i",_result);
7374 return _resultobj;
7375 }
7376
7377 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7378 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7379 PyObject * _resultobj;
7380 wxGridCellCoords * _result;
7381 int _arg0 = (int ) -1;
7382 int _arg1 = (int ) -1;
7383 char *_kwnames[] = { "r","c", NULL };
7384 char _ptemp[128];
7385
7386 self = self;
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
7388 return NULL;
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) return NULL;
7395 } if (_result) {
7396 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7397 _resultobj = Py_BuildValue("s",_ptemp);
7398 } else {
7399 Py_INCREF(Py_None);
7400 _resultobj = Py_None;
7401 }
7402 return _resultobj;
7403 }
7404
7405 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7406 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7407 PyObject * _resultobj;
7408 wxGridCellCoords * _arg0;
7409 PyObject * _argo0 = 0;
7410 char *_kwnames[] = { "self", NULL };
7411
7412 self = self;
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
7414 return NULL;
7415 if (_argo0) {
7416 if (_argo0 == Py_None) { _arg0 = NULL; }
7417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7419 return NULL;
7420 }
7421 }
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 delete_wxGridCellCoords(_arg0);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) return NULL;
7428 } Py_INCREF(Py_None);
7429 _resultobj = Py_None;
7430 return _resultobj;
7431 }
7432
7433 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7434 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7435 PyObject * _resultobj;
7436 int _result;
7437 wxGridCellCoords * _arg0;
7438 PyObject * _argo0 = 0;
7439 char *_kwnames[] = { "self", NULL };
7440
7441 self = self;
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
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_GetRow. Expected _wxGridCellCoords_p.");
7448 return NULL;
7449 }
7450 }
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 _result = (int )wxGridCellCoords_GetRow(_arg0);
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) return NULL;
7457 } _resultobj = Py_BuildValue("i",_result);
7458 return _resultobj;
7459 }
7460
7461 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7462 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject * _resultobj;
7464 wxGridCellCoords * _arg0;
7465 int _arg1;
7466 PyObject * _argo0 = 0;
7467 char *_kwnames[] = { "self","n", NULL };
7468
7469 self = self;
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
7471 return NULL;
7472 if (_argo0) {
7473 if (_argo0 == Py_None) { _arg0 = NULL; }
7474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7476 return NULL;
7477 }
7478 }
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 wxGridCellCoords_SetRow(_arg0,_arg1);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) return NULL;
7485 } Py_INCREF(Py_None);
7486 _resultobj = Py_None;
7487 return _resultobj;
7488 }
7489
7490 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7491 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject * _resultobj;
7493 int _result;
7494 wxGridCellCoords * _arg0;
7495 PyObject * _argo0 = 0;
7496 char *_kwnames[] = { "self", NULL };
7497
7498 self = self;
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
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_GetCol. Expected _wxGridCellCoords_p.");
7505 return NULL;
7506 }
7507 }
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 _result = (int )wxGridCellCoords_GetCol(_arg0);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) return NULL;
7514 } _resultobj = Py_BuildValue("i",_result);
7515 return _resultobj;
7516 }
7517
7518 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7519 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject * _resultobj;
7521 wxGridCellCoords * _arg0;
7522 int _arg1;
7523 PyObject * _argo0 = 0;
7524 char *_kwnames[] = { "self","n", NULL };
7525
7526 self = self;
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
7528 return NULL;
7529 if (_argo0) {
7530 if (_argo0 == Py_None) { _arg0 = NULL; }
7531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7533 return NULL;
7534 }
7535 }
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 wxGridCellCoords_SetCol(_arg0,_arg1);
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) return NULL;
7542 } Py_INCREF(Py_None);
7543 _resultobj = Py_None;
7544 return _resultobj;
7545 }
7546
7547 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7548 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7549 PyObject * _resultobj;
7550 wxGridCellCoords * _arg0;
7551 int _arg1;
7552 int _arg2;
7553 PyObject * _argo0 = 0;
7554 char *_kwnames[] = { "self","row","col", NULL };
7555
7556 self = self;
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
7558 return NULL;
7559 if (_argo0) {
7560 if (_argo0 == Py_None) { _arg0 = NULL; }
7561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7563 return NULL;
7564 }
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) return NULL;
7572 } Py_INCREF(Py_None);
7573 _resultobj = Py_None;
7574 return _resultobj;
7575 }
7576
7577 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
7578 PyObject* tup = PyTuple_New(2);
7579 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
7580 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
7581 return tup;
7582 }
7583 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7584 PyObject * _resultobj;
7585 PyObject * _result;
7586 wxGridCellCoords * _arg0;
7587 PyObject * _argo0 = 0;
7588 char *_kwnames[] = { "self", NULL };
7589
7590 self = self;
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
7592 return NULL;
7593 if (_argo0) {
7594 if (_argo0 == Py_None) { _arg0 = NULL; }
7595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7597 return NULL;
7598 }
7599 }
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) return NULL;
7606 }{
7607 _resultobj = _result;
7608 }
7609 return _resultobj;
7610 }
7611
7612 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
7613 return *self != other;
7614 }
7615 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
7616 PyObject * _resultobj;
7617 int _result;
7618 wxGridCellCoords * _arg0;
7619 wxGridCellCoords * _arg1;
7620 PyObject * _argo0 = 0;
7621 PyObject * _argo1 = 0;
7622 char *_kwnames[] = { "self","other", NULL };
7623
7624 self = self;
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
7626 return NULL;
7627 if (_argo0) {
7628 if (_argo0 == Py_None) { _arg0 = NULL; }
7629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7631 return NULL;
7632 }
7633 }
7634 if (_argo1) {
7635 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
7636 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7637 return NULL;
7638 }
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) return NULL;
7646 } _resultobj = Py_BuildValue("i",_result);
7647 return _resultobj;
7648 }
7649
7650 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
7651 wxGrid *src;
7652 wxScrolledWindow *dest;
7653 src = (wxGrid *) ptr;
7654 dest = (wxScrolledWindow *) src;
7655 return (void *) dest;
7656 }
7657
7658 static void *SwigwxGridTowxPanel(void *ptr) {
7659 wxGrid *src;
7660 wxPanel *dest;
7661 src = (wxGrid *) ptr;
7662 dest = (wxPanel *) src;
7663 return (void *) dest;
7664 }
7665
7666 static void *SwigwxGridTowxWindow(void *ptr) {
7667 wxGrid *src;
7668 wxWindow *dest;
7669 src = (wxGrid *) ptr;
7670 dest = (wxWindow *) src;
7671 return (void *) dest;
7672 }
7673
7674 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7675 wxGrid *src;
7676 wxEvtHandler *dest;
7677 src = (wxGrid *) ptr;
7678 dest = (wxEvtHandler *) src;
7679 return (void *) dest;
7680 }
7681
7682 static void *SwigwxGridTowxObject(void *ptr) {
7683 wxGrid *src;
7684 wxObject *dest;
7685 src = (wxGrid *) ptr;
7686 dest = (wxObject *) src;
7687 return (void *) dest;
7688 }
7689
7690 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7691 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject * _resultobj;
7693 wxGrid * _result;
7694 wxWindow * _arg0;
7695 wxWindowID _arg1;
7696 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7697 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7698 long _arg4 = (long ) wxWANTS_CHARS;
7699 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
7700 PyObject * _argo0 = 0;
7701 wxPoint temp;
7702 PyObject * _obj2 = 0;
7703 wxSize temp0;
7704 PyObject * _obj3 = 0;
7705 PyObject * _obj5 = 0;
7706 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7707 char _ptemp[128];
7708
7709 self = self;
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
7711 return NULL;
7712 if (_argo0) {
7713 if (_argo0 == Py_None) { _arg0 = NULL; }
7714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7716 return NULL;
7717 }
7718 }
7719 if (_obj2)
7720 {
7721 _arg2 = &temp;
7722 if (! wxPoint_helper(_obj2, &_arg2))
7723 return NULL;
7724 }
7725 if (_obj3)
7726 {
7727 _arg3 = &temp0;
7728 if (! wxSize_helper(_obj3, &_arg3))
7729 return NULL;
7730 }
7731 if (_obj5)
7732 {
7733 _arg5 = wxString_in_helper(_obj5);
7734 if (_arg5 == NULL)
7735 return NULL;
7736 }
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) return NULL;
7743 } if (_result) {
7744 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7745 _resultobj = Py_BuildValue("s",_ptemp);
7746 } else {
7747 Py_INCREF(Py_None);
7748 _resultobj = Py_None;
7749 }
7750 {
7751 if (_obj5)
7752 delete _arg5;
7753 }
7754 return _resultobj;
7755 }
7756
7757 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7758 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject * _resultobj;
7760 bool _result;
7761 wxGrid * _arg0;
7762 int _arg1;
7763 int _arg2;
7764 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7765 PyObject * _argo0 = 0;
7766 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7767
7768 self = self;
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
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_CreateGrid. Expected _wxGrid_p.");
7775 return NULL;
7776 }
7777 }
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7781
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) return NULL;
7784 } _resultobj = Py_BuildValue("i",_result);
7785 return _resultobj;
7786 }
7787
7788 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7789 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7790 PyObject * _resultobj;
7791 wxGrid * _arg0;
7792 WXGRIDSELECTIONMODES _arg1;
7793 PyObject * _argo0 = 0;
7794 char *_kwnames[] = { "self","selmode", NULL };
7795
7796 self = self;
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7798 return NULL;
7799 if (_argo0) {
7800 if (_argo0 == Py_None) { _arg0 = NULL; }
7801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7803 return NULL;
7804 }
7805 }
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 wxGrid_SetSelectionMode(_arg0,_arg1);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) return NULL;
7812 } Py_INCREF(Py_None);
7813 _resultobj = Py_None;
7814 return _resultobj;
7815 }
7816
7817 #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7818 static PyObject *_wrap_wxGrid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7819 PyObject * _resultobj;
7820 WXGRIDSELECTIONMODES _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_GetSelectionMode",_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_GetSelectionMode. Expected _wxGrid_p.");
7832 return NULL;
7833 }
7834 }
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 _result = (WXGRIDSELECTIONMODES )wxGrid_GetSelectionMode(_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_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7846 static PyObject *_wrap_wxGrid_GetNumberRows(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_GetNumberRows",_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_GetNumberRows. Expected _wxGrid_p.");
7860 return NULL;
7861 }
7862 }
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 _result = (int )wxGrid_GetNumberRows(_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_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7874 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7875 PyObject * _resultobj;
7876 int _result;
7877 wxGrid * _arg0;
7878 PyObject * _argo0 = 0;
7879 char *_kwnames[] = { "self", NULL };
7880
7881 self = self;
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7883 return NULL;
7884 if (_argo0) {
7885 if (_argo0 == Py_None) { _arg0 = NULL; }
7886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7888 return NULL;
7889 }
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 _result = (int )wxGrid_GetNumberCols(_arg0);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) return NULL;
7897 } _resultobj = Py_BuildValue("i",_result);
7898 return _resultobj;
7899 }
7900
7901 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7902 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject * _resultobj;
7904 bool _result;
7905 wxGrid * _arg0;
7906 wxGridTableMessage * _arg1;
7907 PyObject * _argo0 = 0;
7908 PyObject * _argo1 = 0;
7909 char *_kwnames[] = { "self","arg2", NULL };
7910
7911 self = self;
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7913 return NULL;
7914 if (_argo0) {
7915 if (_argo0 == Py_None) { _arg0 = NULL; }
7916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7918 return NULL;
7919 }
7920 }
7921 if (_argo1) {
7922 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7924 return NULL;
7925 }
7926 }
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) return NULL;
7933 } _resultobj = Py_BuildValue("i",_result);
7934 return _resultobj;
7935 }
7936
7937 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7938 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7939 PyObject * _resultobj;
7940 wxGridTableBase * _result;
7941 wxGrid * _arg0;
7942 PyObject * _argo0 = 0;
7943 char *_kwnames[] = { "self", NULL };
7944
7945 self = self;
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7947 return NULL;
7948 if (_argo0) {
7949 if (_argo0 == Py_None) { _arg0 = NULL; }
7950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7952 return NULL;
7953 }
7954 }
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) return NULL;
7961 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
7962 return _resultobj;
7963 }
7964
7965 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7966 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7967 PyObject * _resultobj;
7968 bool _result;
7969 wxGrid * _arg0;
7970 wxGridTableBase * _arg1;
7971 bool _arg2 = (bool ) FALSE;
7972 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7973 PyObject * _argo0 = 0;
7974 PyObject * _argo1 = 0;
7975 int tempbool2 = (int) FALSE;
7976 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7977
7978 self = self;
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7980 return NULL;
7981 if (_argo0) {
7982 if (_argo0 == Py_None) { _arg0 = NULL; }
7983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7985 return NULL;
7986 }
7987 }
7988 if (_argo1) {
7989 if (_argo1 == Py_None) { _arg1 = NULL; }
7990 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7991 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7992 return NULL;
7993 }
7994 }
7995 _arg2 = (bool ) tempbool2;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) return NULL;
8002 } _resultobj = Py_BuildValue("i",_result);
8003 return _resultobj;
8004 }
8005
8006 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
8007 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject * _resultobj;
8009 wxGrid * _arg0;
8010 PyObject * _argo0 = 0;
8011 char *_kwnames[] = { "self", NULL };
8012
8013 self = self;
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
8015 return NULL;
8016 if (_argo0) {
8017 if (_argo0 == Py_None) { _arg0 = NULL; }
8018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
8020 return NULL;
8021 }
8022 }
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 wxGrid_ClearGrid(_arg0);
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) return NULL;
8029 } Py_INCREF(Py_None);
8030 _resultobj = Py_None;
8031 return _resultobj;
8032 }
8033
8034 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
8035 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject * _resultobj;
8037 bool _result;
8038 wxGrid * _arg0;
8039 int _arg1 = (int ) 0;
8040 int _arg2 = (int ) 1;
8041 bool _arg3 = (bool ) TRUE;
8042 PyObject * _argo0 = 0;
8043 int tempbool3 = (int) TRUE;
8044 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
8045
8046 self = self;
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8048 return NULL;
8049 if (_argo0) {
8050 if (_argo0 == Py_None) { _arg0 = NULL; }
8051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
8053 return NULL;
8054 }
8055 }
8056 _arg3 = (bool ) tempbool3;
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) return NULL;
8063 } _resultobj = Py_BuildValue("i",_result);
8064 return _resultobj;
8065 }
8066
8067 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
8068 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject * _resultobj;
8070 bool _result;
8071 wxGrid * _arg0;
8072 int _arg1 = (int ) 1;
8073 bool _arg2 = (bool ) TRUE;
8074 PyObject * _argo0 = 0;
8075 int tempbool2 = (int) TRUE;
8076 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
8077
8078 self = self;
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
8080 return NULL;
8081 if (_argo0) {
8082 if (_argo0 == Py_None) { _arg0 = NULL; }
8083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
8085 return NULL;
8086 }
8087 }
8088 _arg2 = (bool ) tempbool2;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) return NULL;
8095 } _resultobj = Py_BuildValue("i",_result);
8096 return _resultobj;
8097 }
8098
8099 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
8100 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
8101 PyObject * _resultobj;
8102 bool _result;
8103 wxGrid * _arg0;
8104 int _arg1 = (int ) 0;
8105 int _arg2 = (int ) 1;
8106 bool _arg3 = (bool ) TRUE;
8107 PyObject * _argo0 = 0;
8108 int tempbool3 = (int) TRUE;
8109 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
8110
8111 self = self;
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8113 return NULL;
8114 if (_argo0) {
8115 if (_argo0 == Py_None) { _arg0 = NULL; }
8116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
8118 return NULL;
8119 }
8120 }
8121 _arg3 = (bool ) tempbool3;
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) return NULL;
8128 } _resultobj = Py_BuildValue("i",_result);
8129 return _resultobj;
8130 }
8131
8132 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
8133 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject * _resultobj;
8135 bool _result;
8136 wxGrid * _arg0;
8137 int _arg1 = (int ) 0;
8138 int _arg2 = (int ) 1;
8139 bool _arg3 = (bool ) TRUE;
8140 PyObject * _argo0 = 0;
8141 int tempbool3 = (int) TRUE;
8142 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
8143
8144 self = self;
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8146 return NULL;
8147 if (_argo0) {
8148 if (_argo0 == Py_None) { _arg0 = NULL; }
8149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
8151 return NULL;
8152 }
8153 }
8154 _arg3 = (bool ) tempbool3;
8155 {
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
8158
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) return NULL;
8161 } _resultobj = Py_BuildValue("i",_result);
8162 return _resultobj;
8163 }
8164
8165 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
8166 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8167 PyObject * _resultobj;
8168 bool _result;
8169 wxGrid * _arg0;
8170 int _arg1 = (int ) 1;
8171 bool _arg2 = (bool ) TRUE;
8172 PyObject * _argo0 = 0;
8173 int tempbool2 = (int) TRUE;
8174 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
8175
8176 self = self;
8177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
8178 return NULL;
8179 if (_argo0) {
8180 if (_argo0 == Py_None) { _arg0 = NULL; }
8181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
8183 return NULL;
8184 }
8185 }
8186 _arg2 = (bool ) tempbool2;
8187 {
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) return NULL;
8193 } _resultobj = Py_BuildValue("i",_result);
8194 return _resultobj;
8195 }
8196
8197 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
8198 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
8199 PyObject * _resultobj;
8200 bool _result;
8201 wxGrid * _arg0;
8202 int _arg1 = (int ) 0;
8203 int _arg2 = (int ) 1;
8204 bool _arg3 = (bool ) TRUE;
8205 PyObject * _argo0 = 0;
8206 int tempbool3 = (int) TRUE;
8207 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
8208
8209 self = self;
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8211 return NULL;
8212 if (_argo0) {
8213 if (_argo0 == Py_None) { _arg0 = NULL; }
8214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
8216 return NULL;
8217 }
8218 }
8219 _arg3 = (bool ) tempbool3;
8220 {
8221 PyThreadState* __tstate = wxPyBeginAllowThreads();
8222 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
8223
8224 wxPyEndAllowThreads(__tstate);
8225 if (PyErr_Occurred()) return NULL;
8226 } _resultobj = Py_BuildValue("i",_result);
8227 return _resultobj;
8228 }
8229
8230 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
8231 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject * _resultobj;
8233 wxGrid * _arg0;
8234 wxDC * _arg1;
8235 wxGridCellAttr * _arg2;
8236 PyObject * _argo0 = 0;
8237 PyObject * _argo1 = 0;
8238 PyObject * _argo2 = 0;
8239 char *_kwnames[] = { "self","dc","attr", NULL };
8240
8241 self = self;
8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
8243 return NULL;
8244 if (_argo0) {
8245 if (_argo0 == Py_None) { _arg0 = NULL; }
8246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
8248 return NULL;
8249 }
8250 }
8251 if (_argo1) {
8252 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8253 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
8254 return NULL;
8255 }
8256 }
8257 if (_argo2) {
8258 if (_argo2 == Py_None) { _arg2 = NULL; }
8259 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
8260 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
8261 return NULL;
8262 }
8263 }
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) return NULL;
8270 } Py_INCREF(Py_None);
8271 _resultobj = Py_None;
8272 return _resultobj;
8273 }
8274
8275 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8276 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject * _resultobj;
8278 wxGrid * _arg0;
8279 wxDC * _arg1;
8280 wxString * _arg2;
8281 wxRect * _arg3;
8282 int _arg4 = (int ) wxLEFT;
8283 int _arg5 = (int ) wxTOP;
8284 int _arg6 = (int ) wxHORIZONTAL;
8285 PyObject * _argo0 = 0;
8286 PyObject * _argo1 = 0;
8287 PyObject * _obj2 = 0;
8288 wxRect temp;
8289 PyObject * _obj3 = 0;
8290 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment","textOrientation", NULL };
8291
8292 self = self;
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5,&_arg6))
8294 return NULL;
8295 if (_argo0) {
8296 if (_argo0 == Py_None) { _arg0 = NULL; }
8297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
8299 return NULL;
8300 }
8301 }
8302 if (_argo1) {
8303 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
8305 return NULL;
8306 }
8307 }
8308 {
8309 _arg2 = wxString_in_helper(_obj2);
8310 if (_arg2 == NULL)
8311 return NULL;
8312 }
8313 {
8314 _arg3 = &temp;
8315 if (! wxRect_helper(_obj3, &_arg3))
8316 return NULL;
8317 }
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6);
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) return NULL;
8324 } Py_INCREF(Py_None);
8325 _resultobj = Py_None;
8326 {
8327 if (_obj2)
8328 delete _arg2;
8329 }
8330 return _resultobj;
8331 }
8332
8333 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8334 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8335 PyObject * _resultobj;
8336 wxGrid * _arg0;
8337 wxDC * _arg1;
8338 wxArrayString * _arg2;
8339 long * _arg3;
8340 long temp;
8341 long * _arg4;
8342 long temp0;
8343 PyObject * _argo0 = 0;
8344 PyObject * _argo1 = 0;
8345 PyObject * _obj2 = 0;
8346 char *_kwnames[] = { "self","dc","lines", NULL };
8347
8348 self = self;
8349 {
8350 _arg3 = &temp;
8351 }
8352 {
8353 _arg4 = &temp0;
8354 }
8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
8356 return NULL;
8357 if (_argo0) {
8358 if (_argo0 == Py_None) { _arg0 = NULL; }
8359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8361 return NULL;
8362 }
8363 }
8364 if (_argo1) {
8365 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8366 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8367 return NULL;
8368 }
8369 }
8370 {
8371 if (! PySequence_Check(_obj2)) {
8372 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8373 return NULL;
8374 }
8375 _arg2 = new wxArrayString;
8376 int i, len=PySequence_Length(_obj2);
8377 for (i=0; i<len; i++) {
8378 PyObject* item = PySequence_GetItem(_obj2, i);
8379 #if wxUSE_UNICODE
8380 PyObject* str = PyObject_Unicode(item);
8381 #else
8382 PyObject* str = PyObject_Str(item);
8383 #endif
8384 _arg2->Add(Py2wxString(str));
8385 Py_DECREF(item);
8386 Py_DECREF(str);
8387 }
8388 }
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) return NULL;
8395 } Py_INCREF(Py_None);
8396 _resultobj = Py_None;
8397 {
8398 PyObject *o;
8399 o = PyInt_FromLong((long) (*_arg3));
8400 _resultobj = t_output_helper(_resultobj, o);
8401 }
8402 {
8403 PyObject *o;
8404 o = PyInt_FromLong((long) (*_arg4));
8405 _resultobj = t_output_helper(_resultobj, o);
8406 }
8407 {
8408 if (_obj2)
8409 delete _arg2;
8410 }
8411 return _resultobj;
8412 }
8413
8414 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8415 static PyObject *_wrap_wxGrid_BeginBatch(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_BeginBatch",_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_BeginBatch. Expected _wxGrid_p.");
8428 return NULL;
8429 }
8430 }
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 wxGrid_BeginBatch(_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_EndBatch(_swigobj) (_swigobj->EndBatch())
8443 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8444 PyObject * _resultobj;
8445 wxGrid * _arg0;
8446 PyObject * _argo0 = 0;
8447 char *_kwnames[] = { "self", NULL };
8448
8449 self = self;
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
8451 return NULL;
8452 if (_argo0) {
8453 if (_argo0 == Py_None) { _arg0 = NULL; }
8454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8456 return NULL;
8457 }
8458 }
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 wxGrid_EndBatch(_arg0);
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) return NULL;
8465 } Py_INCREF(Py_None);
8466 _resultobj = Py_None;
8467 return _resultobj;
8468 }
8469
8470 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8471 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject * _resultobj;
8473 int _result;
8474 wxGrid * _arg0;
8475 PyObject * _argo0 = 0;
8476 char *_kwnames[] = { "self", NULL };
8477
8478 self = self;
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
8480 return NULL;
8481 if (_argo0) {
8482 if (_argo0 == Py_None) { _arg0 = NULL; }
8483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8485 return NULL;
8486 }
8487 }
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 _result = (int )wxGrid_GetBatchCount(_arg0);
8491
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) return NULL;
8494 } _resultobj = Py_BuildValue("i",_result);
8495 return _resultobj;
8496 }
8497
8498 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8499 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8500 PyObject * _resultobj;
8501 wxGrid * _arg0;
8502 PyObject * _argo0 = 0;
8503 char *_kwnames[] = { "self", NULL };
8504
8505 self = self;
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
8507 return NULL;
8508 if (_argo0) {
8509 if (_argo0 == Py_None) { _arg0 = NULL; }
8510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8512 return NULL;
8513 }
8514 }
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 wxGrid_ForceRefresh(_arg0);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) return NULL;
8521 } Py_INCREF(Py_None);
8522 _resultobj = Py_None;
8523 return _resultobj;
8524 }
8525
8526 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8527 static PyObject *_wrap_wxGrid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8528 PyObject * _resultobj;
8529 wxGrid * _arg0;
8530 bool _arg1 = (bool ) TRUE;
8531 wxRect * _arg2 = (wxRect *) NULL;
8532 PyObject * _argo0 = 0;
8533 int tempbool1 = (int) TRUE;
8534 wxRect temp;
8535 PyObject * _obj2 = 0;
8536 char *_kwnames[] = { "self","eraseb","rect", NULL };
8537
8538 self = self;
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxGrid_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8540 return NULL;
8541 if (_argo0) {
8542 if (_argo0 == Py_None) { _arg0 = NULL; }
8543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8545 return NULL;
8546 }
8547 }
8548 _arg1 = (bool ) tempbool1;
8549 if (_obj2)
8550 {
8551 _arg2 = &temp;
8552 if (! wxRect_helper(_obj2, &_arg2))
8553 return NULL;
8554 }
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 wxGrid_Refresh(_arg0,_arg1,_arg2);
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) return NULL;
8561 } Py_INCREF(Py_None);
8562 _resultobj = Py_None;
8563 return _resultobj;
8564 }
8565
8566 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8567 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8568 PyObject * _resultobj;
8569 bool _result;
8570 wxGrid * _arg0;
8571 PyObject * _argo0 = 0;
8572 char *_kwnames[] = { "self", NULL };
8573
8574 self = self;
8575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
8576 return NULL;
8577 if (_argo0) {
8578 if (_argo0 == Py_None) { _arg0 = NULL; }
8579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8581 return NULL;
8582 }
8583 }
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 _result = (bool )wxGrid_IsEditable(_arg0);
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) return NULL;
8590 } _resultobj = Py_BuildValue("i",_result);
8591 return _resultobj;
8592 }
8593
8594 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8595 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8596 PyObject * _resultobj;
8597 wxGrid * _arg0;
8598 bool _arg1;
8599 PyObject * _argo0 = 0;
8600 int tempbool1;
8601 char *_kwnames[] = { "self","edit", NULL };
8602
8603 self = self;
8604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
8605 return NULL;
8606 if (_argo0) {
8607 if (_argo0 == Py_None) { _arg0 = NULL; }
8608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8610 return NULL;
8611 }
8612 }
8613 _arg1 = (bool ) tempbool1;
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 wxGrid_EnableEditing(_arg0,_arg1);
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) return NULL;
8620 } Py_INCREF(Py_None);
8621 _resultobj = Py_None;
8622 return _resultobj;
8623 }
8624
8625 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8626 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject * _resultobj;
8628 wxGrid * _arg0;
8629 bool _arg1 = (bool ) TRUE;
8630 PyObject * _argo0 = 0;
8631 int tempbool1 = (int) TRUE;
8632 char *_kwnames[] = { "self","enable", NULL };
8633
8634 self = self;
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
8636 return NULL;
8637 if (_argo0) {
8638 if (_argo0 == Py_None) { _arg0 = NULL; }
8639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8641 return NULL;
8642 }
8643 }
8644 _arg1 = (bool ) tempbool1;
8645 {
8646 PyThreadState* __tstate = wxPyBeginAllowThreads();
8647 wxGrid_EnableCellEditControl(_arg0,_arg1);
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_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8657 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8658 PyObject * _resultobj;
8659 wxGrid * _arg0;
8660 PyObject * _argo0 = 0;
8661 char *_kwnames[] = { "self", NULL };
8662
8663 self = self;
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
8665 return NULL;
8666 if (_argo0) {
8667 if (_argo0 == Py_None) { _arg0 = NULL; }
8668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8670 return NULL;
8671 }
8672 }
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 wxGrid_DisableCellEditControl(_arg0);
8676
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) return NULL;
8679 } Py_INCREF(Py_None);
8680 _resultobj = Py_None;
8681 return _resultobj;
8682 }
8683
8684 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8685 static PyObject *_wrap_wxGrid_CanEnableCellControl(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_CanEnableCellControl",_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_CanEnableCellControl. Expected _wxGrid_p.");
8699 return NULL;
8700 }
8701 }
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 _result = (bool )wxGrid_CanEnableCellControl(_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_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8713 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(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_IsCellEditControlEnabled",_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_IsCellEditControlEnabled. Expected _wxGrid_p.");
8727 return NULL;
8728 }
8729 }
8730 {
8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
8732 _result = (bool )wxGrid_IsCellEditControlEnabled(_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_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8741 static PyObject *_wrap_wxGrid_IsCellEditControlShown(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_IsCellEditControlShown",_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_IsCellEditControlShown. Expected _wxGrid_p.");
8755 return NULL;
8756 }
8757 }
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 _result = (bool )wxGrid_IsCellEditControlShown(_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_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8769 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8770 PyObject * _resultobj;
8771 bool _result;
8772 wxGrid * _arg0;
8773 PyObject * _argo0 = 0;
8774 char *_kwnames[] = { "self", NULL };
8775
8776 self = self;
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8778 return NULL;
8779 if (_argo0) {
8780 if (_argo0 == Py_None) { _arg0 = NULL; }
8781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8783 return NULL;
8784 }
8785 }
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) return NULL;
8792 } _resultobj = Py_BuildValue("i",_result);
8793 return _resultobj;
8794 }
8795
8796 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8797 static PyObject *_wrap_wxGrid_ShowCellEditControl(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_ShowCellEditControl",_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_ShowCellEditControl. Expected _wxGrid_p.");
8810 return NULL;
8811 }
8812 }
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 wxGrid_ShowCellEditControl(_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_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8825 static PyObject *_wrap_wxGrid_HideCellEditControl(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_HideCellEditControl",_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_HideCellEditControl. Expected _wxGrid_p.");
8838 return NULL;
8839 }
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 wxGrid_HideCellEditControl(_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 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8853 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject * _resultobj;
8855 wxGrid * _arg0;
8856 PyObject * _argo0 = 0;
8857 char *_kwnames[] = { "self", NULL };
8858
8859 self = self;
8860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8861 return NULL;
8862 if (_argo0) {
8863 if (_argo0 == Py_None) { _arg0 = NULL; }
8864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8866 return NULL;
8867 }
8868 }
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 wxGrid_SaveEditControlValue(_arg0);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) return NULL;
8875 } Py_INCREF(Py_None);
8876 _resultobj = Py_None;
8877 return _resultobj;
8878 }
8879
8880 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8881 wxGridCellCoords rv;
8882 self->XYToCell(x, y, rv);
8883 return new wxGridCellCoords(rv);
8884 }
8885 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject * _resultobj;
8887 wxGridCellCoords * _result;
8888 wxGrid * _arg0;
8889 int _arg1;
8890 int _arg2;
8891 PyObject * _argo0 = 0;
8892 char *_kwnames[] = { "self","x","y", NULL };
8893 char _ptemp[128];
8894
8895 self = self;
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8897 return NULL;
8898 if (_argo0) {
8899 if (_argo0 == Py_None) { _arg0 = NULL; }
8900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8902 return NULL;
8903 }
8904 }
8905 {
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) return NULL;
8911 } if (_result) {
8912 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8913 _resultobj = Py_BuildValue("s",_ptemp);
8914 } else {
8915 Py_INCREF(Py_None);
8916 _resultobj = Py_None;
8917 }
8918 return _resultobj;
8919 }
8920
8921 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8922 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject * _resultobj;
8924 int _result;
8925 wxGrid * _arg0;
8926 int _arg1;
8927 PyObject * _argo0 = 0;
8928 char *_kwnames[] = { "self","y", NULL };
8929
8930 self = self;
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8932 return NULL;
8933 if (_argo0) {
8934 if (_argo0 == Py_None) { _arg0 = NULL; }
8935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8937 return NULL;
8938 }
8939 }
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8943
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) return NULL;
8946 } _resultobj = Py_BuildValue("i",_result);
8947 return _resultobj;
8948 }
8949
8950 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8951 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject * _resultobj;
8953 int _result;
8954 wxGrid * _arg0;
8955 int _arg1;
8956 PyObject * _argo0 = 0;
8957 char *_kwnames[] = { "self","x", NULL };
8958
8959 self = self;
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8961 return NULL;
8962 if (_argo0) {
8963 if (_argo0 == Py_None) { _arg0 = NULL; }
8964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8966 return NULL;
8967 }
8968 }
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) return NULL;
8975 } _resultobj = Py_BuildValue("i",_result);
8976 return _resultobj;
8977 }
8978
8979 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8980 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8981 PyObject * _resultobj;
8982 int _result;
8983 wxGrid * _arg0;
8984 int _arg1;
8985 PyObject * _argo0 = 0;
8986 char *_kwnames[] = { "self","y", NULL };
8987
8988 self = self;
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8990 return NULL;
8991 if (_argo0) {
8992 if (_argo0 == Py_None) { _arg0 = NULL; }
8993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8995 return NULL;
8996 }
8997 }
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) return NULL;
9004 } _resultobj = Py_BuildValue("i",_result);
9005 return _resultobj;
9006 }
9007
9008 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
9009 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject * _resultobj;
9011 int _result;
9012 wxGrid * _arg0;
9013 int _arg1;
9014 PyObject * _argo0 = 0;
9015 char *_kwnames[] = { "self","x", NULL };
9016
9017 self = self;
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
9019 return NULL;
9020 if (_argo0) {
9021 if (_argo0 == Py_None) { _arg0 = NULL; }
9022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
9024 return NULL;
9025 }
9026 }
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) return NULL;
9033 } _resultobj = Py_BuildValue("i",_result);
9034 return _resultobj;
9035 }
9036
9037 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
9038 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9039 PyObject * _resultobj;
9040 wxRect * _result;
9041 wxGrid * _arg0;
9042 int _arg1;
9043 int _arg2;
9044 PyObject * _argo0 = 0;
9045 char *_kwnames[] = { "self","row","col", NULL };
9046 char _ptemp[128];
9047
9048 self = self;
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
9050 return NULL;
9051 if (_argo0) {
9052 if (_argo0 == Py_None) { _arg0 = NULL; }
9053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
9055 return NULL;
9056 }
9057 }
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) return NULL;
9064 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
9065 _resultobj = Py_BuildValue("s",_ptemp);
9066 return _resultobj;
9067 }
9068
9069 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
9070 static PyObject *_wrap_wxGrid_GetGridCursorRow(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_GetGridCursorRow",_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_GetGridCursorRow. Expected _wxGrid_p.");
9084 return NULL;
9085 }
9086 }
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 _result = (int )wxGrid_GetGridCursorRow(_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_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
9098 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject * _resultobj;
9100 int _result;
9101 wxGrid * _arg0;
9102 PyObject * _argo0 = 0;
9103 char *_kwnames[] = { "self", NULL };
9104
9105 self = self;
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
9107 return NULL;
9108 if (_argo0) {
9109 if (_argo0 == Py_None) { _arg0 = NULL; }
9110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
9112 return NULL;
9113 }
9114 }
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 _result = (int )wxGrid_GetGridCursorCol(_arg0);
9118
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) return NULL;
9121 } _resultobj = Py_BuildValue("i",_result);
9122 return _resultobj;
9123 }
9124
9125 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
9126 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject * _resultobj;
9128 bool _result;
9129 wxGrid * _arg0;
9130 int _arg1;
9131 int _arg2;
9132 bool _arg3 = (bool ) TRUE;
9133 PyObject * _argo0 = 0;
9134 int tempbool3 = (int) TRUE;
9135 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
9136
9137 self = self;
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
9139 return NULL;
9140 if (_argo0) {
9141 if (_argo0 == Py_None) { _arg0 = NULL; }
9142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
9144 return NULL;
9145 }
9146 }
9147 _arg3 = (bool ) tempbool3;
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
9151
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) return NULL;
9154 } _resultobj = Py_BuildValue("i",_result);
9155 return _resultobj;
9156 }
9157
9158 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
9159 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9160 PyObject * _resultobj;
9161 wxGrid * _arg0;
9162 int _arg1;
9163 int _arg2;
9164 PyObject * _argo0 = 0;
9165 char *_kwnames[] = { "self","row","col", NULL };
9166
9167 self = self;
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
9169 return NULL;
9170 if (_argo0) {
9171 if (_argo0 == Py_None) { _arg0 = NULL; }
9172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
9174 return NULL;
9175 }
9176 }
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) return NULL;
9183 } Py_INCREF(Py_None);
9184 _resultobj = Py_None;
9185 return _resultobj;
9186 }
9187
9188 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
9189 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9190 PyObject * _resultobj;
9191 wxGrid * _arg0;
9192 int _arg1;
9193 int _arg2;
9194 PyObject * _argo0 = 0;
9195 char *_kwnames[] = { "self","row","col", NULL };
9196
9197 self = self;
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
9199 return NULL;
9200 if (_argo0) {
9201 if (_argo0 == Py_None) { _arg0 = NULL; }
9202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
9204 return NULL;
9205 }
9206 }
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) return NULL;
9213 } Py_INCREF(Py_None);
9214 _resultobj = Py_None;
9215 return _resultobj;
9216 }
9217
9218 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
9219 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9220 PyObject * _resultobj;
9221 bool _result;
9222 wxGrid * _arg0;
9223 bool _arg1;
9224 PyObject * _argo0 = 0;
9225 int tempbool1;
9226 char *_kwnames[] = { "self","expandSelection", NULL };
9227
9228 self = self;
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
9230 return NULL;
9231 if (_argo0) {
9232 if (_argo0 == Py_None) { _arg0 = NULL; }
9233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
9235 return NULL;
9236 }
9237 }
9238 _arg1 = (bool ) tempbool1;
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) return NULL;
9245 } _resultobj = Py_BuildValue("i",_result);
9246 return _resultobj;
9247 }
9248
9249 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
9250 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject * _resultobj;
9252 bool _result;
9253 wxGrid * _arg0;
9254 bool _arg1;
9255 PyObject * _argo0 = 0;
9256 int tempbool1;
9257 char *_kwnames[] = { "self","expandSelection", NULL };
9258
9259 self = self;
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
9261 return NULL;
9262 if (_argo0) {
9263 if (_argo0 == Py_None) { _arg0 = NULL; }
9264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
9266 return NULL;
9267 }
9268 }
9269 _arg1 = (bool ) tempbool1;
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) return NULL;
9276 } _resultobj = Py_BuildValue("i",_result);
9277 return _resultobj;
9278 }
9279
9280 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
9281 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9282 PyObject * _resultobj;
9283 bool _result;
9284 wxGrid * _arg0;
9285 bool _arg1;
9286 PyObject * _argo0 = 0;
9287 int tempbool1;
9288 char *_kwnames[] = { "self","expandSelection", NULL };
9289
9290 self = self;
9291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
9292 return NULL;
9293 if (_argo0) {
9294 if (_argo0 == Py_None) { _arg0 = NULL; }
9295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
9297 return NULL;
9298 }
9299 }
9300 _arg1 = (bool ) tempbool1;
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) return NULL;
9307 } _resultobj = Py_BuildValue("i",_result);
9308 return _resultobj;
9309 }
9310
9311 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
9312 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9313 PyObject * _resultobj;
9314 bool _result;
9315 wxGrid * _arg0;
9316 bool _arg1;
9317 PyObject * _argo0 = 0;
9318 int tempbool1;
9319 char *_kwnames[] = { "self","expandSelection", NULL };
9320
9321 self = self;
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
9323 return NULL;
9324 if (_argo0) {
9325 if (_argo0 == Py_None) { _arg0 = NULL; }
9326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
9328 return NULL;
9329 }
9330 }
9331 _arg1 = (bool ) tempbool1;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) return NULL;
9338 } _resultobj = Py_BuildValue("i",_result);
9339 return _resultobj;
9340 }
9341
9342 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
9343 static PyObject *_wrap_wxGrid_MovePageDown(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_MovePageDown",_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_MovePageDown. Expected _wxGrid_p.");
9357 return NULL;
9358 }
9359 }
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 _result = (bool )wxGrid_MovePageDown(_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_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9371 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject * _resultobj;
9373 bool _result;
9374 wxGrid * _arg0;
9375 PyObject * _argo0 = 0;
9376 char *_kwnames[] = { "self", NULL };
9377
9378 self = self;
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
9380 return NULL;
9381 if (_argo0) {
9382 if (_argo0 == Py_None) { _arg0 = NULL; }
9383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
9385 return NULL;
9386 }
9387 }
9388 {
9389 PyThreadState* __tstate = wxPyBeginAllowThreads();
9390 _result = (bool )wxGrid_MovePageUp(_arg0);
9391
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) return NULL;
9394 } _resultobj = Py_BuildValue("i",_result);
9395 return _resultobj;
9396 }
9397
9398 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9399 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9400 PyObject * _resultobj;
9401 bool _result;
9402 wxGrid * _arg0;
9403 bool _arg1;
9404 PyObject * _argo0 = 0;
9405 int tempbool1;
9406 char *_kwnames[] = { "self","expandSelection", NULL };
9407
9408 self = self;
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
9410 return NULL;
9411 if (_argo0) {
9412 if (_argo0 == Py_None) { _arg0 = NULL; }
9413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9415 return NULL;
9416 }
9417 }
9418 _arg1 = (bool ) tempbool1;
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) return NULL;
9425 } _resultobj = Py_BuildValue("i",_result);
9426 return _resultobj;
9427 }
9428
9429 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9430 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9431 PyObject * _resultobj;
9432 bool _result;
9433 wxGrid * _arg0;
9434 bool _arg1;
9435 PyObject * _argo0 = 0;
9436 int tempbool1;
9437 char *_kwnames[] = { "self","expandSelection", NULL };
9438
9439 self = self;
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
9441 return NULL;
9442 if (_argo0) {
9443 if (_argo0 == Py_None) { _arg0 = NULL; }
9444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9446 return NULL;
9447 }
9448 }
9449 _arg1 = (bool ) tempbool1;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) return NULL;
9456 } _resultobj = Py_BuildValue("i",_result);
9457 return _resultobj;
9458 }
9459
9460 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9461 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject * _resultobj;
9463 bool _result;
9464 wxGrid * _arg0;
9465 bool _arg1;
9466 PyObject * _argo0 = 0;
9467 int tempbool1;
9468 char *_kwnames[] = { "self","expandSelection", NULL };
9469
9470 self = self;
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
9472 return NULL;
9473 if (_argo0) {
9474 if (_argo0 == Py_None) { _arg0 = NULL; }
9475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9477 return NULL;
9478 }
9479 }
9480 _arg1 = (bool ) tempbool1;
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
9484
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) return NULL;
9487 } _resultobj = Py_BuildValue("i",_result);
9488 return _resultobj;
9489 }
9490
9491 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9492 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9493 PyObject * _resultobj;
9494 bool _result;
9495 wxGrid * _arg0;
9496 bool _arg1;
9497 PyObject * _argo0 = 0;
9498 int tempbool1;
9499 char *_kwnames[] = { "self","expandSelection", NULL };
9500
9501 self = self;
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
9503 return NULL;
9504 if (_argo0) {
9505 if (_argo0 == Py_None) { _arg0 = NULL; }
9506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9508 return NULL;
9509 }
9510 }
9511 _arg1 = (bool ) tempbool1;
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
9514 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) return NULL;
9518 } _resultobj = Py_BuildValue("i",_result);
9519 return _resultobj;
9520 }
9521
9522 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9523 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(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_GetDefaultRowLabelSize",_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_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9537 return NULL;
9538 }
9539 }
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 _result = (int )wxGrid_GetDefaultRowLabelSize(_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_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9551 static PyObject *_wrap_wxGrid_GetRowLabelSize(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_GetRowLabelSize",_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_GetRowLabelSize. Expected _wxGrid_p.");
9565 return NULL;
9566 }
9567 }
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 _result = (int )wxGrid_GetRowLabelSize(_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_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9579 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(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_GetDefaultColLabelSize",_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_GetDefaultColLabelSize. Expected _wxGrid_p.");
9593 return NULL;
9594 }
9595 }
9596 {
9597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9598 _result = (int )wxGrid_GetDefaultColLabelSize(_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_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9607 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9608 PyObject * _resultobj;
9609 int _result;
9610 wxGrid * _arg0;
9611 PyObject * _argo0 = 0;
9612 char *_kwnames[] = { "self", NULL };
9613
9614 self = self;
9615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
9616 return NULL;
9617 if (_argo0) {
9618 if (_argo0 == Py_None) { _arg0 = NULL; }
9619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9621 return NULL;
9622 }
9623 }
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 _result = (int )wxGrid_GetColLabelSize(_arg0);
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) return NULL;
9630 } _resultobj = Py_BuildValue("i",_result);
9631 return _resultobj;
9632 }
9633
9634 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9635 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9636 PyObject * _resultobj;
9637 wxColour * _result;
9638 wxGrid * _arg0;
9639 PyObject * _argo0 = 0;
9640 char *_kwnames[] = { "self", NULL };
9641 char _ptemp[128];
9642
9643 self = self;
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
9645 return NULL;
9646 if (_argo0) {
9647 if (_argo0 == Py_None) { _arg0 = NULL; }
9648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9650 return NULL;
9651 }
9652 }
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
9656
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) return NULL;
9659 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9660 _resultobj = Py_BuildValue("s",_ptemp);
9661 return _resultobj;
9662 }
9663
9664 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9665 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject * _resultobj;
9667 wxColour * _result;
9668 wxGrid * _arg0;
9669 PyObject * _argo0 = 0;
9670 char *_kwnames[] = { "self", NULL };
9671 char _ptemp[128];
9672
9673 self = self;
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
9675 return NULL;
9676 if (_argo0) {
9677 if (_argo0 == Py_None) { _arg0 = NULL; }
9678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9680 return NULL;
9681 }
9682 }
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) return NULL;
9689 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9690 _resultobj = Py_BuildValue("s",_ptemp);
9691 return _resultobj;
9692 }
9693
9694 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9695 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject * _resultobj;
9697 wxFont * _result;
9698 wxGrid * _arg0;
9699 PyObject * _argo0 = 0;
9700 char *_kwnames[] = { "self", NULL };
9701 char _ptemp[128];
9702
9703 self = self;
9704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
9705 return NULL;
9706 if (_argo0) {
9707 if (_argo0 == Py_None) { _arg0 = NULL; }
9708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9710 return NULL;
9711 }
9712 }
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) return NULL;
9719 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9720 _resultobj = Py_BuildValue("s",_ptemp);
9721 return _resultobj;
9722 }
9723
9724 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9725 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9726 PyObject * _resultobj;
9727 wxGrid * _arg0;
9728 int * _arg1;
9729 int temp;
9730 int * _arg2;
9731 int temp0;
9732 PyObject * _argo0 = 0;
9733 char *_kwnames[] = { "self", NULL };
9734
9735 self = self;
9736 {
9737 _arg1 = &temp;
9738 }
9739 {
9740 _arg2 = &temp0;
9741 }
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9743 return NULL;
9744 if (_argo0) {
9745 if (_argo0 == Py_None) { _arg0 = NULL; }
9746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9748 return NULL;
9749 }
9750 }
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9754
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) return NULL;
9757 } Py_INCREF(Py_None);
9758 _resultobj = Py_None;
9759 {
9760 PyObject *o;
9761 o = PyInt_FromLong((long) (*_arg1));
9762 _resultobj = t_output_helper(_resultobj, o);
9763 }
9764 {
9765 PyObject *o;
9766 o = PyInt_FromLong((long) (*_arg2));
9767 _resultobj = t_output_helper(_resultobj, o);
9768 }
9769 return _resultobj;
9770 }
9771
9772 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9773 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject * _resultobj;
9775 wxGrid * _arg0;
9776 int * _arg1;
9777 int temp;
9778 int * _arg2;
9779 int temp0;
9780 PyObject * _argo0 = 0;
9781 char *_kwnames[] = { "self", NULL };
9782
9783 self = self;
9784 {
9785 _arg1 = &temp;
9786 }
9787 {
9788 _arg2 = &temp0;
9789 }
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9791 return NULL;
9792 if (_argo0) {
9793 if (_argo0 == Py_None) { _arg0 = NULL; }
9794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9796 return NULL;
9797 }
9798 }
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9802
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) return NULL;
9805 } Py_INCREF(Py_None);
9806 _resultobj = Py_None;
9807 {
9808 PyObject *o;
9809 o = PyInt_FromLong((long) (*_arg1));
9810 _resultobj = t_output_helper(_resultobj, o);
9811 }
9812 {
9813 PyObject *o;
9814 o = PyInt_FromLong((long) (*_arg2));
9815 _resultobj = t_output_helper(_resultobj, o);
9816 }
9817 return _resultobj;
9818 }
9819
9820 #define wxGrid_GetColLabelTextOrientation(_swigobj) (_swigobj->GetColLabelTextOrientation())
9821 static PyObject *_wrap_wxGrid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9822 PyObject * _resultobj;
9823 int _result;
9824 wxGrid * _arg0;
9825 PyObject * _argo0 = 0;
9826 char *_kwnames[] = { "self", NULL };
9827
9828 self = self;
9829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelTextOrientation",_kwnames,&_argo0))
9830 return NULL;
9831 if (_argo0) {
9832 if (_argo0 == Py_None) { _arg0 = NULL; }
9833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelTextOrientation. Expected _wxGrid_p.");
9835 return NULL;
9836 }
9837 }
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 _result = (int )wxGrid_GetColLabelTextOrientation(_arg0);
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) return NULL;
9844 } _resultobj = Py_BuildValue("i",_result);
9845 return _resultobj;
9846 }
9847
9848 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9849 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject * _resultobj;
9851 wxString * _result;
9852 wxGrid * _arg0;
9853 int _arg1;
9854 PyObject * _argo0 = 0;
9855 char *_kwnames[] = { "self","row", NULL };
9856
9857 self = self;
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9859 return NULL;
9860 if (_argo0) {
9861 if (_argo0 == Py_None) { _arg0 = NULL; }
9862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9864 return NULL;
9865 }
9866 }
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) return NULL;
9873 }{
9874 #if wxUSE_UNICODE
9875 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9876 #else
9877 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9878 #endif
9879 }
9880 {
9881 delete _result;
9882 }
9883 return _resultobj;
9884 }
9885
9886 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9887 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9888 PyObject * _resultobj;
9889 wxString * _result;
9890 wxGrid * _arg0;
9891 int _arg1;
9892 PyObject * _argo0 = 0;
9893 char *_kwnames[] = { "self","col", NULL };
9894
9895 self = self;
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9897 return NULL;
9898 if (_argo0) {
9899 if (_argo0 == Py_None) { _arg0 = NULL; }
9900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9902 return NULL;
9903 }
9904 }
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) return NULL;
9911 }{
9912 #if wxUSE_UNICODE
9913 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9914 #else
9915 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9916 #endif
9917 }
9918 {
9919 delete _result;
9920 }
9921 return _resultobj;
9922 }
9923
9924 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9925 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9926 PyObject * _resultobj;
9927 wxColour * _result;
9928 wxGrid * _arg0;
9929 PyObject * _argo0 = 0;
9930 char *_kwnames[] = { "self", NULL };
9931 char _ptemp[128];
9932
9933 self = self;
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9935 return NULL;
9936 if (_argo0) {
9937 if (_argo0 == Py_None) { _arg0 = NULL; }
9938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9940 return NULL;
9941 }
9942 }
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9946
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) return NULL;
9949 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9950 _resultobj = Py_BuildValue("s",_ptemp);
9951 return _resultobj;
9952 }
9953
9954 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9955 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject * _resultobj;
9957 wxColour * _result;
9958 wxGrid * _arg0;
9959 PyObject * _argo0 = 0;
9960 char *_kwnames[] = { "self", NULL };
9961 char _ptemp[128];
9962
9963 self = self;
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9965 return NULL;
9966 if (_argo0) {
9967 if (_argo0 == Py_None) { _arg0 = NULL; }
9968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9970 return NULL;
9971 }
9972 }
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9976
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) return NULL;
9979 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9980 _resultobj = Py_BuildValue("s",_ptemp);
9981 return _resultobj;
9982 }
9983
9984 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9985 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(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_GetCellHighlightPenWidth",_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_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9999 return NULL;
10000 }
10001 }
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 _result = (int )wxGrid_GetCellHighlightPenWidth(_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_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
10013 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject * _resultobj;
10015 int _result;
10016 wxGrid * _arg0;
10017 PyObject * _argo0 = 0;
10018 char *_kwnames[] = { "self", NULL };
10019
10020 self = self;
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
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_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
10027 return NULL;
10028 }
10029 }
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) return NULL;
10036 } _resultobj = Py_BuildValue("i",_result);
10037 return _resultobj;
10038 }
10039
10040 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
10041 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10042 PyObject * _resultobj;
10043 wxGrid * _arg0;
10044 int _arg1;
10045 PyObject * _argo0 = 0;
10046 char *_kwnames[] = { "self","width", NULL };
10047
10048 self = self;
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
10050 return NULL;
10051 if (_argo0) {
10052 if (_argo0 == Py_None) { _arg0 = NULL; }
10053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
10055 return NULL;
10056 }
10057 }
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 wxGrid_SetRowLabelSize(_arg0,_arg1);
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) return NULL;
10064 } Py_INCREF(Py_None);
10065 _resultobj = Py_None;
10066 return _resultobj;
10067 }
10068
10069 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
10070 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10071 PyObject * _resultobj;
10072 wxGrid * _arg0;
10073 int _arg1;
10074 PyObject * _argo0 = 0;
10075 char *_kwnames[] = { "self","height", NULL };
10076
10077 self = self;
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
10079 return NULL;
10080 if (_argo0) {
10081 if (_argo0 == Py_None) { _arg0 = NULL; }
10082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
10084 return NULL;
10085 }
10086 }
10087 {
10088 PyThreadState* __tstate = wxPyBeginAllowThreads();
10089 wxGrid_SetColLabelSize(_arg0,_arg1);
10090
10091 wxPyEndAllowThreads(__tstate);
10092 if (PyErr_Occurred()) return NULL;
10093 } Py_INCREF(Py_None);
10094 _resultobj = Py_None;
10095 return _resultobj;
10096 }
10097
10098 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
10099 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10100 PyObject * _resultobj;
10101 wxGrid * _arg0;
10102 wxColour * _arg1;
10103 PyObject * _argo0 = 0;
10104 wxColour temp;
10105 PyObject * _obj1 = 0;
10106 char *_kwnames[] = { "self","arg2", NULL };
10107
10108 self = self;
10109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
10110 return NULL;
10111 if (_argo0) {
10112 if (_argo0 == Py_None) { _arg0 = NULL; }
10113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
10115 return NULL;
10116 }
10117 }
10118 {
10119 _arg1 = &temp;
10120 if (! wxColour_helper(_obj1, &_arg1))
10121 return NULL;
10122 }
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
10126
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) return NULL;
10129 } Py_INCREF(Py_None);
10130 _resultobj = Py_None;
10131 return _resultobj;
10132 }
10133
10134 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
10135 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject * _resultobj;
10137 wxGrid * _arg0;
10138 wxColour * _arg1;
10139 PyObject * _argo0 = 0;
10140 wxColour temp;
10141 PyObject * _obj1 = 0;
10142 char *_kwnames[] = { "self","arg2", NULL };
10143
10144 self = self;
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
10146 return NULL;
10147 if (_argo0) {
10148 if (_argo0 == Py_None) { _arg0 = NULL; }
10149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
10151 return NULL;
10152 }
10153 }
10154 {
10155 _arg1 = &temp;
10156 if (! wxColour_helper(_obj1, &_arg1))
10157 return NULL;
10158 }
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 wxGrid_SetLabelTextColour(_arg0,*_arg1);
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) return NULL;
10165 } Py_INCREF(Py_None);
10166 _resultobj = Py_None;
10167 return _resultobj;
10168 }
10169
10170 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
10171 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10172 PyObject * _resultobj;
10173 wxGrid * _arg0;
10174 wxFont * _arg1;
10175 PyObject * _argo0 = 0;
10176 PyObject * _argo1 = 0;
10177 char *_kwnames[] = { "self","arg2", NULL };
10178
10179 self = self;
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
10181 return NULL;
10182 if (_argo0) {
10183 if (_argo0 == Py_None) { _arg0 = NULL; }
10184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
10186 return NULL;
10187 }
10188 }
10189 if (_argo1) {
10190 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
10192 return NULL;
10193 }
10194 }
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 wxGrid_SetLabelFont(_arg0,*_arg1);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) return NULL;
10201 } Py_INCREF(Py_None);
10202 _resultobj = Py_None;
10203 return _resultobj;
10204 }
10205
10206 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
10207 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject * _resultobj;
10209 wxGrid * _arg0;
10210 int _arg1;
10211 int _arg2;
10212 PyObject * _argo0 = 0;
10213 char *_kwnames[] = { "self","horiz","vert", NULL };
10214
10215 self = self;
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10217 return NULL;
10218 if (_argo0) {
10219 if (_argo0 == Py_None) { _arg0 = NULL; }
10220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
10222 return NULL;
10223 }
10224 }
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) return NULL;
10231 } Py_INCREF(Py_None);
10232 _resultobj = Py_None;
10233 return _resultobj;
10234 }
10235
10236 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
10237 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10238 PyObject * _resultobj;
10239 wxGrid * _arg0;
10240 int _arg1;
10241 int _arg2;
10242 PyObject * _argo0 = 0;
10243 char *_kwnames[] = { "self","horiz","vert", NULL };
10244
10245 self = self;
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10247 return NULL;
10248 if (_argo0) {
10249 if (_argo0 == Py_None) { _arg0 = NULL; }
10250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
10252 return NULL;
10253 }
10254 }
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) return NULL;
10261 } Py_INCREF(Py_None);
10262 _resultobj = Py_None;
10263 return _resultobj;
10264 }
10265
10266 #define wxGrid_SetColLabelTextOrientation(_swigobj,_swigarg0) (_swigobj->SetColLabelTextOrientation(_swigarg0))
10267 static PyObject *_wrap_wxGrid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject * _resultobj;
10269 wxGrid * _arg0;
10270 int _arg1;
10271 PyObject * _argo0 = 0;
10272 char *_kwnames[] = { "self","textOrientation", NULL };
10273
10274 self = self;
10275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelTextOrientation",_kwnames,&_argo0,&_arg1))
10276 return NULL;
10277 if (_argo0) {
10278 if (_argo0 == Py_None) { _arg0 = NULL; }
10279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelTextOrientation. Expected _wxGrid_p.");
10281 return NULL;
10282 }
10283 }
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 wxGrid_SetColLabelTextOrientation(_arg0,_arg1);
10287
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) return NULL;
10290 } Py_INCREF(Py_None);
10291 _resultobj = Py_None;
10292 return _resultobj;
10293 }
10294
10295 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
10296 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject * _resultobj;
10298 wxGrid * _arg0;
10299 int _arg1;
10300 wxString * _arg2;
10301 PyObject * _argo0 = 0;
10302 PyObject * _obj2 = 0;
10303 char *_kwnames[] = { "self","row","arg3", NULL };
10304
10305 self = self;
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
10307 return NULL;
10308 if (_argo0) {
10309 if (_argo0 == Py_None) { _arg0 = NULL; }
10310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
10312 return NULL;
10313 }
10314 }
10315 {
10316 _arg2 = wxString_in_helper(_obj2);
10317 if (_arg2 == NULL)
10318 return NULL;
10319 }
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) return NULL;
10326 } Py_INCREF(Py_None);
10327 _resultobj = Py_None;
10328 {
10329 if (_obj2)
10330 delete _arg2;
10331 }
10332 return _resultobj;
10333 }
10334
10335 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
10336 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject * _resultobj;
10338 wxGrid * _arg0;
10339 int _arg1;
10340 wxString * _arg2;
10341 PyObject * _argo0 = 0;
10342 PyObject * _obj2 = 0;
10343 char *_kwnames[] = { "self","col","arg3", NULL };
10344
10345 self = self;
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
10347 return NULL;
10348 if (_argo0) {
10349 if (_argo0 == Py_None) { _arg0 = NULL; }
10350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
10352 return NULL;
10353 }
10354 }
10355 {
10356 _arg2 = wxString_in_helper(_obj2);
10357 if (_arg2 == NULL)
10358 return NULL;
10359 }
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) return NULL;
10366 } Py_INCREF(Py_None);
10367 _resultobj = Py_None;
10368 {
10369 if (_obj2)
10370 delete _arg2;
10371 }
10372 return _resultobj;
10373 }
10374
10375 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
10376 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject * _resultobj;
10378 wxGrid * _arg0;
10379 wxColour * _arg1;
10380 PyObject * _argo0 = 0;
10381 wxColour temp;
10382 PyObject * _obj1 = 0;
10383 char *_kwnames[] = { "self","arg2", NULL };
10384
10385 self = self;
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
10387 return NULL;
10388 if (_argo0) {
10389 if (_argo0 == Py_None) { _arg0 = NULL; }
10390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
10392 return NULL;
10393 }
10394 }
10395 {
10396 _arg1 = &temp;
10397 if (! wxColour_helper(_obj1, &_arg1))
10398 return NULL;
10399 }
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 wxGrid_SetGridLineColour(_arg0,*_arg1);
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) return NULL;
10406 } Py_INCREF(Py_None);
10407 _resultobj = Py_None;
10408 return _resultobj;
10409 }
10410
10411 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10412 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10413 PyObject * _resultobj;
10414 wxGrid * _arg0;
10415 wxColour * _arg1;
10416 PyObject * _argo0 = 0;
10417 wxColour temp;
10418 PyObject * _obj1 = 0;
10419 char *_kwnames[] = { "self","arg2", NULL };
10420
10421 self = self;
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
10423 return NULL;
10424 if (_argo0) {
10425 if (_argo0 == Py_None) { _arg0 = NULL; }
10426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10428 return NULL;
10429 }
10430 }
10431 {
10432 _arg1 = &temp;
10433 if (! wxColour_helper(_obj1, &_arg1))
10434 return NULL;
10435 }
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) return NULL;
10442 } Py_INCREF(Py_None);
10443 _resultobj = Py_None;
10444 return _resultobj;
10445 }
10446
10447 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10448 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10449 PyObject * _resultobj;
10450 wxGrid * _arg0;
10451 int _arg1;
10452 PyObject * _argo0 = 0;
10453 char *_kwnames[] = { "self","width", NULL };
10454
10455 self = self;
10456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
10457 return NULL;
10458 if (_argo0) {
10459 if (_argo0 == Py_None) { _arg0 = NULL; }
10460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10462 return NULL;
10463 }
10464 }
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) return NULL;
10471 } Py_INCREF(Py_None);
10472 _resultobj = Py_None;
10473 return _resultobj;
10474 }
10475
10476 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10477 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject * _resultobj;
10479 wxGrid * _arg0;
10480 int _arg1;
10481 PyObject * _argo0 = 0;
10482 char *_kwnames[] = { "self","width", NULL };
10483
10484 self = self;
10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
10486 return NULL;
10487 if (_argo0) {
10488 if (_argo0 == Py_None) { _arg0 = NULL; }
10489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10491 return NULL;
10492 }
10493 }
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) return NULL;
10500 } Py_INCREF(Py_None);
10501 _resultobj = Py_None;
10502 return _resultobj;
10503 }
10504
10505 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10506 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10507 PyObject * _resultobj;
10508 wxGrid * _arg0;
10509 bool _arg1 = (bool ) TRUE;
10510 PyObject * _argo0 = 0;
10511 int tempbool1 = (int) TRUE;
10512 char *_kwnames[] = { "self","enable", NULL };
10513
10514 self = self;
10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
10516 return NULL;
10517 if (_argo0) {
10518 if (_argo0 == Py_None) { _arg0 = NULL; }
10519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10521 return NULL;
10522 }
10523 }
10524 _arg1 = (bool ) tempbool1;
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 wxGrid_EnableDragRowSize(_arg0,_arg1);
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_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10537 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10538 PyObject * _resultobj;
10539 wxGrid * _arg0;
10540 PyObject * _argo0 = 0;
10541 char *_kwnames[] = { "self", NULL };
10542
10543 self = self;
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
10545 return NULL;
10546 if (_argo0) {
10547 if (_argo0 == Py_None) { _arg0 = NULL; }
10548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10550 return NULL;
10551 }
10552 }
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 wxGrid_DisableDragRowSize(_arg0);
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) return NULL;
10559 } Py_INCREF(Py_None);
10560 _resultobj = Py_None;
10561 return _resultobj;
10562 }
10563
10564 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10565 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject * _resultobj;
10567 bool _result;
10568 wxGrid * _arg0;
10569 PyObject * _argo0 = 0;
10570 char *_kwnames[] = { "self", NULL };
10571
10572 self = self;
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
10574 return NULL;
10575 if (_argo0) {
10576 if (_argo0 == Py_None) { _arg0 = NULL; }
10577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10579 return NULL;
10580 }
10581 }
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 _result = (bool )wxGrid_CanDragRowSize(_arg0);
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) return NULL;
10588 } _resultobj = Py_BuildValue("i",_result);
10589 return _resultobj;
10590 }
10591
10592 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10593 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject * _resultobj;
10595 wxGrid * _arg0;
10596 bool _arg1 = (bool ) TRUE;
10597 PyObject * _argo0 = 0;
10598 int tempbool1 = (int) TRUE;
10599 char *_kwnames[] = { "self","enable", NULL };
10600
10601 self = self;
10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
10603 return NULL;
10604 if (_argo0) {
10605 if (_argo0 == Py_None) { _arg0 = NULL; }
10606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10608 return NULL;
10609 }
10610 }
10611 _arg1 = (bool ) tempbool1;
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 wxGrid_EnableDragColSize(_arg0,_arg1);
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_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10624 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject * _resultobj;
10626 wxGrid * _arg0;
10627 PyObject * _argo0 = 0;
10628 char *_kwnames[] = { "self", NULL };
10629
10630 self = self;
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
10632 return NULL;
10633 if (_argo0) {
10634 if (_argo0 == Py_None) { _arg0 = NULL; }
10635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10637 return NULL;
10638 }
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 wxGrid_DisableDragColSize(_arg0);
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) return NULL;
10646 } Py_INCREF(Py_None);
10647 _resultobj = Py_None;
10648 return _resultobj;
10649 }
10650
10651 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10652 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject * _resultobj;
10654 bool _result;
10655 wxGrid * _arg0;
10656 PyObject * _argo0 = 0;
10657 char *_kwnames[] = { "self", NULL };
10658
10659 self = self;
10660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
10661 return NULL;
10662 if (_argo0) {
10663 if (_argo0 == Py_None) { _arg0 = NULL; }
10664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10666 return NULL;
10667 }
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 _result = (bool )wxGrid_CanDragColSize(_arg0);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) return NULL;
10675 } _resultobj = Py_BuildValue("i",_result);
10676 return _resultobj;
10677 }
10678
10679 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10680 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject * _resultobj;
10682 wxGrid * _arg0;
10683 bool _arg1 = (bool ) TRUE;
10684 PyObject * _argo0 = 0;
10685 int tempbool1 = (int) TRUE;
10686 char *_kwnames[] = { "self","enable", NULL };
10687
10688 self = self;
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
10690 return NULL;
10691 if (_argo0) {
10692 if (_argo0 == Py_None) { _arg0 = NULL; }
10693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10695 return NULL;
10696 }
10697 }
10698 _arg1 = (bool ) tempbool1;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 wxGrid_EnableDragGridSize(_arg0,_arg1);
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_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10711 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10712 PyObject * _resultobj;
10713 wxGrid * _arg0;
10714 PyObject * _argo0 = 0;
10715 char *_kwnames[] = { "self", NULL };
10716
10717 self = self;
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
10719 return NULL;
10720 if (_argo0) {
10721 if (_argo0 == Py_None) { _arg0 = NULL; }
10722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10724 return NULL;
10725 }
10726 }
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 wxGrid_DisableDragGridSize(_arg0);
10730
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) return NULL;
10733 } Py_INCREF(Py_None);
10734 _resultobj = Py_None;
10735 return _resultobj;
10736 }
10737
10738 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10739 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject * _resultobj;
10741 bool _result;
10742 wxGrid * _arg0;
10743 PyObject * _argo0 = 0;
10744 char *_kwnames[] = { "self", NULL };
10745
10746 self = self;
10747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
10748 return NULL;
10749 if (_argo0) {
10750 if (_argo0 == Py_None) { _arg0 = NULL; }
10751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10753 return NULL;
10754 }
10755 }
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 _result = (bool )wxGrid_CanDragGridSize(_arg0);
10759
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) return NULL;
10762 } _resultobj = Py_BuildValue("i",_result);
10763 return _resultobj;
10764 }
10765
10766 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10767 static PyObject *_wrap_wxGrid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10768 PyObject * _resultobj;
10769 wxGrid * _arg0;
10770 int _arg1;
10771 int _arg2;
10772 wxGridCellAttr * _arg3;
10773 PyObject * _argo0 = 0;
10774 PyObject * _argo3 = 0;
10775 char *_kwnames[] = { "self","row","col","attr", NULL };
10776
10777 self = self;
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10779 return NULL;
10780 if (_argo0) {
10781 if (_argo0 == Py_None) { _arg0 = NULL; }
10782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10784 return NULL;
10785 }
10786 }
10787 if (_argo3) {
10788 if (_argo3 == Py_None) { _arg3 = NULL; }
10789 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellAttr_p")) {
10790 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10791 return NULL;
10792 }
10793 }
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 wxGrid_SetAttr(_arg0,_arg1,_arg2,_arg3);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) return NULL;
10800 } Py_INCREF(Py_None);
10801 _resultobj = Py_None;
10802 return _resultobj;
10803 }
10804
10805 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10806 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10807 PyObject * _resultobj;
10808 wxGrid * _arg0;
10809 int _arg1;
10810 wxGridCellAttr * _arg2;
10811 PyObject * _argo0 = 0;
10812 PyObject * _argo2 = 0;
10813 char *_kwnames[] = { "self","row","attr", NULL };
10814
10815 self = self;
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10817 return NULL;
10818 if (_argo0) {
10819 if (_argo0 == Py_None) { _arg0 = NULL; }
10820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10822 return NULL;
10823 }
10824 }
10825 if (_argo2) {
10826 if (_argo2 == Py_None) { _arg2 = NULL; }
10827 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10828 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10829 return NULL;
10830 }
10831 }
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) return NULL;
10838 } Py_INCREF(Py_None);
10839 _resultobj = Py_None;
10840 return _resultobj;
10841 }
10842
10843 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10844 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject * _resultobj;
10846 wxGrid * _arg0;
10847 int _arg1;
10848 wxGridCellAttr * _arg2;
10849 PyObject * _argo0 = 0;
10850 PyObject * _argo2 = 0;
10851 char *_kwnames[] = { "self","col","attr", NULL };
10852
10853 self = self;
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10855 return NULL;
10856 if (_argo0) {
10857 if (_argo0 == Py_None) { _arg0 = NULL; }
10858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10860 return NULL;
10861 }
10862 }
10863 if (_argo2) {
10864 if (_argo2 == Py_None) { _arg2 = NULL; }
10865 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10866 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10867 return NULL;
10868 }
10869 }
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) return NULL;
10876 } Py_INCREF(Py_None);
10877 _resultobj = Py_None;
10878 return _resultobj;
10879 }
10880
10881 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10882 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject * _resultobj;
10884 wxGrid * _arg0;
10885 int _arg1;
10886 PyObject * _argo0 = 0;
10887 char *_kwnames[] = { "self","col", NULL };
10888
10889 self = self;
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10891 return NULL;
10892 if (_argo0) {
10893 if (_argo0 == Py_None) { _arg0 = NULL; }
10894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10896 return NULL;
10897 }
10898 }
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 wxGrid_SetColFormatBool(_arg0,_arg1);
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) return NULL;
10905 } Py_INCREF(Py_None);
10906 _resultobj = Py_None;
10907 return _resultobj;
10908 }
10909
10910 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10911 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject * _resultobj;
10913 wxGrid * _arg0;
10914 int _arg1;
10915 PyObject * _argo0 = 0;
10916 char *_kwnames[] = { "self","col", NULL };
10917
10918 self = self;
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10920 return NULL;
10921 if (_argo0) {
10922 if (_argo0 == Py_None) { _arg0 = NULL; }
10923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10925 return NULL;
10926 }
10927 }
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 wxGrid_SetColFormatNumber(_arg0,_arg1);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) return NULL;
10934 } Py_INCREF(Py_None);
10935 _resultobj = Py_None;
10936 return _resultobj;
10937 }
10938
10939 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10940 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10941 PyObject * _resultobj;
10942 wxGrid * _arg0;
10943 int _arg1;
10944 int _arg2 = (int ) -1;
10945 int _arg3 = (int ) -1;
10946 PyObject * _argo0 = 0;
10947 char *_kwnames[] = { "self","col","width","precision", NULL };
10948
10949 self = self;
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10951 return NULL;
10952 if (_argo0) {
10953 if (_argo0 == Py_None) { _arg0 = NULL; }
10954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10956 return NULL;
10957 }
10958 }
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) return NULL;
10965 } Py_INCREF(Py_None);
10966 _resultobj = Py_None;
10967 return _resultobj;
10968 }
10969
10970 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10971 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject * _resultobj;
10973 wxGrid * _arg0;
10974 int _arg1;
10975 wxString * _arg2;
10976 PyObject * _argo0 = 0;
10977 PyObject * _obj2 = 0;
10978 char *_kwnames[] = { "self","col","typeName", NULL };
10979
10980 self = self;
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10982 return NULL;
10983 if (_argo0) {
10984 if (_argo0 == Py_None) { _arg0 = NULL; }
10985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10987 return NULL;
10988 }
10989 }
10990 {
10991 _arg2 = wxString_in_helper(_obj2);
10992 if (_arg2 == NULL)
10993 return NULL;
10994 }
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) return NULL;
11001 } Py_INCREF(Py_None);
11002 _resultobj = Py_None;
11003 {
11004 if (_obj2)
11005 delete _arg2;
11006 }
11007 return _resultobj;
11008 }
11009
11010 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
11011 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
11012 PyObject * _resultobj;
11013 wxGrid * _arg0;
11014 bool _arg1 = (bool ) TRUE;
11015 PyObject * _argo0 = 0;
11016 int tempbool1 = (int) TRUE;
11017 char *_kwnames[] = { "self","enable", NULL };
11018
11019 self = self;
11020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
11021 return NULL;
11022 if (_argo0) {
11023 if (_argo0 == Py_None) { _arg0 = NULL; }
11024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
11026 return NULL;
11027 }
11028 }
11029 _arg1 = (bool ) tempbool1;
11030 {
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 wxGrid_EnableGridLines(_arg0,_arg1);
11033
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) return NULL;
11036 } Py_INCREF(Py_None);
11037 _resultobj = Py_None;
11038 return _resultobj;
11039 }
11040
11041 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
11042 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11043 PyObject * _resultobj;
11044 bool _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_GridLinesEnabled",_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_GridLinesEnabled. Expected _wxGrid_p.");
11056 return NULL;
11057 }
11058 }
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 _result = (bool )wxGrid_GridLinesEnabled(_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_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
11070 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11071 PyObject * _resultobj;
11072 int _result;
11073 wxGrid * _arg0;
11074 PyObject * _argo0 = 0;
11075 char *_kwnames[] = { "self", NULL };
11076
11077 self = self;
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
11079 return NULL;
11080 if (_argo0) {
11081 if (_argo0 == Py_None) { _arg0 = NULL; }
11082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
11084 return NULL;
11085 }
11086 }
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) return NULL;
11093 } _resultobj = Py_BuildValue("i",_result);
11094 return _resultobj;
11095 }
11096
11097 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
11098 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11099 PyObject * _resultobj;
11100 int _result;
11101 wxGrid * _arg0;
11102 int _arg1;
11103 PyObject * _argo0 = 0;
11104 char *_kwnames[] = { "self","row", NULL };
11105
11106 self = self;
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
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_GetRowSize. Expected _wxGrid_p.");
11113 return NULL;
11114 }
11115 }
11116 {
11117 PyThreadState* __tstate = wxPyBeginAllowThreads();
11118 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
11119
11120 wxPyEndAllowThreads(__tstate);
11121 if (PyErr_Occurred()) return NULL;
11122 } _resultobj = Py_BuildValue("i",_result);
11123 return _resultobj;
11124 }
11125
11126 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
11127 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject * _resultobj;
11129 int _result;
11130 wxGrid * _arg0;
11131 PyObject * _argo0 = 0;
11132 char *_kwnames[] = { "self", NULL };
11133
11134 self = self;
11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
11136 return NULL;
11137 if (_argo0) {
11138 if (_argo0 == Py_None) { _arg0 = NULL; }
11139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
11141 return NULL;
11142 }
11143 }
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 _result = (int )wxGrid_GetDefaultColSize(_arg0);
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) return NULL;
11150 } _resultobj = Py_BuildValue("i",_result);
11151 return _resultobj;
11152 }
11153
11154 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
11155 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject * _resultobj;
11157 int _result;
11158 wxGrid * _arg0;
11159 int _arg1;
11160 PyObject * _argo0 = 0;
11161 char *_kwnames[] = { "self","col", NULL };
11162
11163 self = self;
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
11165 return NULL;
11166 if (_argo0) {
11167 if (_argo0 == Py_None) { _arg0 = NULL; }
11168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
11170 return NULL;
11171 }
11172 }
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) return NULL;
11179 } _resultobj = Py_BuildValue("i",_result);
11180 return _resultobj;
11181 }
11182
11183 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
11184 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11185 PyObject * _resultobj;
11186 wxColour * _result;
11187 wxGrid * _arg0;
11188 PyObject * _argo0 = 0;
11189 char *_kwnames[] = { "self", NULL };
11190 char _ptemp[128];
11191
11192 self = self;
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
11194 return NULL;
11195 if (_argo0) {
11196 if (_argo0 == Py_None) { _arg0 = NULL; }
11197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11199 return NULL;
11200 }
11201 }
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) return NULL;
11208 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11209 _resultobj = Py_BuildValue("s",_ptemp);
11210 return _resultobj;
11211 }
11212
11213 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
11214 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject * _resultobj;
11216 wxColour * _result;
11217 wxGrid * _arg0;
11218 int _arg1;
11219 int _arg2;
11220 PyObject * _argo0 = 0;
11221 char *_kwnames[] = { "self","row","col", NULL };
11222 char _ptemp[128];
11223
11224 self = self;
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
11226 return NULL;
11227 if (_argo0) {
11228 if (_argo0 == Py_None) { _arg0 = NULL; }
11229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
11231 return NULL;
11232 }
11233 }
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) return NULL;
11240 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11241 _resultobj = Py_BuildValue("s",_ptemp);
11242 return _resultobj;
11243 }
11244
11245 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
11246 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11247 PyObject * _resultobj;
11248 wxColour * _result;
11249 wxGrid * _arg0;
11250 PyObject * _argo0 = 0;
11251 char *_kwnames[] = { "self", NULL };
11252 char _ptemp[128];
11253
11254 self = self;
11255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
11256 return NULL;
11257 if (_argo0) {
11258 if (_argo0 == Py_None) { _arg0 = NULL; }
11259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
11261 return NULL;
11262 }
11263 }
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) return NULL;
11270 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11271 _resultobj = Py_BuildValue("s",_ptemp);
11272 return _resultobj;
11273 }
11274
11275 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
11276 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11277 PyObject * _resultobj;
11278 wxColour * _result;
11279 wxGrid * _arg0;
11280 int _arg1;
11281 int _arg2;
11282 PyObject * _argo0 = 0;
11283 char *_kwnames[] = { "self","row","col", NULL };
11284 char _ptemp[128];
11285
11286 self = self;
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
11288 return NULL;
11289 if (_argo0) {
11290 if (_argo0 == Py_None) { _arg0 = NULL; }
11291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
11293 return NULL;
11294 }
11295 }
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) return NULL;
11302 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11303 _resultobj = Py_BuildValue("s",_ptemp);
11304 return _resultobj;
11305 }
11306
11307 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
11308 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11309 PyObject * _resultobj;
11310 wxFont * _result;
11311 wxGrid * _arg0;
11312 PyObject * _argo0 = 0;
11313 char *_kwnames[] = { "self", NULL };
11314 char _ptemp[128];
11315
11316 self = self;
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
11318 return NULL;
11319 if (_argo0) {
11320 if (_argo0 == Py_None) { _arg0 = NULL; }
11321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
11323 return NULL;
11324 }
11325 }
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) return NULL;
11332 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11333 _resultobj = Py_BuildValue("s",_ptemp);
11334 return _resultobj;
11335 }
11336
11337 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
11338 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject * _resultobj;
11340 wxFont * _result;
11341 wxGrid * _arg0;
11342 int _arg1;
11343 int _arg2;
11344 PyObject * _argo0 = 0;
11345 char *_kwnames[] = { "self","row","col", NULL };
11346 char _ptemp[128];
11347
11348 self = self;
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
11350 return NULL;
11351 if (_argo0) {
11352 if (_argo0 == Py_None) { _arg0 = NULL; }
11353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
11355 return NULL;
11356 }
11357 }
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) return NULL;
11364 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11365 _resultobj = Py_BuildValue("s",_ptemp);
11366 return _resultobj;
11367 }
11368
11369 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
11370 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11371 PyObject * _resultobj;
11372 wxGrid * _arg0;
11373 int * _arg1;
11374 int temp;
11375 int * _arg2;
11376 int temp0;
11377 PyObject * _argo0 = 0;
11378 char *_kwnames[] = { "self", NULL };
11379
11380 self = self;
11381 {
11382 _arg1 = &temp;
11383 }
11384 {
11385 _arg2 = &temp0;
11386 }
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0))
11388 return NULL;
11389 if (_argo0) {
11390 if (_argo0 == Py_None) { _arg0 = NULL; }
11391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
11393 return NULL;
11394 }
11395 }
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) return NULL;
11402 } Py_INCREF(Py_None);
11403 _resultobj = Py_None;
11404 {
11405 PyObject *o;
11406 o = PyInt_FromLong((long) (*_arg1));
11407 _resultobj = t_output_helper(_resultobj, o);
11408 }
11409 {
11410 PyObject *o;
11411 o = PyInt_FromLong((long) (*_arg2));
11412 _resultobj = t_output_helper(_resultobj, o);
11413 }
11414 return _resultobj;
11415 }
11416
11417 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11418 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject * _resultobj;
11420 wxGrid * _arg0;
11421 int _arg1;
11422 int _arg2;
11423 int * _arg3;
11424 int temp;
11425 int * _arg4;
11426 int temp0;
11427 PyObject * _argo0 = 0;
11428 char *_kwnames[] = { "self","row","col", NULL };
11429
11430 self = self;
11431 {
11432 _arg3 = &temp;
11433 }
11434 {
11435 _arg4 = &temp0;
11436 }
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11438 return NULL;
11439 if (_argo0) {
11440 if (_argo0 == Py_None) { _arg0 = NULL; }
11441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11443 return NULL;
11444 }
11445 }
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) return NULL;
11452 } Py_INCREF(Py_None);
11453 _resultobj = Py_None;
11454 {
11455 PyObject *o;
11456 o = PyInt_FromLong((long) (*_arg3));
11457 _resultobj = t_output_helper(_resultobj, o);
11458 }
11459 {
11460 PyObject *o;
11461 o = PyInt_FromLong((long) (*_arg4));
11462 _resultobj = t_output_helper(_resultobj, o);
11463 }
11464 return _resultobj;
11465 }
11466
11467 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11468 static PyObject *_wrap_wxGrid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject * _resultobj;
11470 bool _result;
11471 wxGrid * _arg0;
11472 PyObject * _argo0 = 0;
11473 char *_kwnames[] = { "self", NULL };
11474
11475 self = self;
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellOverflow",_kwnames,&_argo0))
11477 return NULL;
11478 if (_argo0) {
11479 if (_argo0 == Py_None) { _arg0 = NULL; }
11480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11482 return NULL;
11483 }
11484 }
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 _result = (bool )wxGrid_GetDefaultCellOverflow(_arg0);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) return NULL;
11491 } _resultobj = Py_BuildValue("i",_result);
11492 return _resultobj;
11493 }
11494
11495 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11496 static PyObject *_wrap_wxGrid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject * _resultobj;
11498 bool _result;
11499 wxGrid * _arg0;
11500 int _arg1;
11501 int _arg2;
11502 PyObject * _argo0 = 0;
11503 char *_kwnames[] = { "self","row","col", NULL };
11504
11505 self = self;
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2))
11507 return NULL;
11508 if (_argo0) {
11509 if (_argo0 == Py_None) { _arg0 = NULL; }
11510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11512 return NULL;
11513 }
11514 }
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 _result = (bool )wxGrid_GetCellOverflow(_arg0,_arg1,_arg2);
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) return NULL;
11521 } _resultobj = Py_BuildValue("i",_result);
11522 return _resultobj;
11523 }
11524
11525 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11526 static PyObject *_wrap_wxGrid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11527 PyObject * _resultobj;
11528 wxGrid * _arg0;
11529 int _arg1;
11530 int _arg2;
11531 int * _arg3;
11532 int temp;
11533 int * _arg4;
11534 int temp0;
11535 PyObject * _argo0 = 0;
11536 char *_kwnames[] = { "self","row","col", NULL };
11537
11538 self = self;
11539 {
11540 _arg3 = &temp;
11541 }
11542 {
11543 _arg4 = &temp0;
11544 }
11545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellSize",_kwnames,&_argo0,&_arg1,&_arg2))
11546 return NULL;
11547 if (_argo0) {
11548 if (_argo0 == Py_None) { _arg0 = NULL; }
11549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11551 return NULL;
11552 }
11553 }
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 wxGrid_GetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4);
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) return NULL;
11560 } Py_INCREF(Py_None);
11561 _resultobj = Py_None;
11562 {
11563 PyObject *o;
11564 o = PyInt_FromLong((long) (*_arg3));
11565 _resultobj = t_output_helper(_resultobj, o);
11566 }
11567 {
11568 PyObject *o;
11569 o = PyInt_FromLong((long) (*_arg4));
11570 _resultobj = t_output_helper(_resultobj, o);
11571 }
11572 return _resultobj;
11573 }
11574
11575 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11576 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11577 PyObject * _resultobj;
11578 wxGrid * _arg0;
11579 int _arg1;
11580 bool _arg2 = (bool ) FALSE;
11581 PyObject * _argo0 = 0;
11582 int tempbool2 = (int) FALSE;
11583 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
11584
11585 self = self;
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
11587 return NULL;
11588 if (_argo0) {
11589 if (_argo0 == Py_None) { _arg0 = NULL; }
11590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11592 return NULL;
11593 }
11594 }
11595 _arg2 = (bool ) tempbool2;
11596 {
11597 PyThreadState* __tstate = wxPyBeginAllowThreads();
11598 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
11599
11600 wxPyEndAllowThreads(__tstate);
11601 if (PyErr_Occurred()) return NULL;
11602 } Py_INCREF(Py_None);
11603 _resultobj = Py_None;
11604 return _resultobj;
11605 }
11606
11607 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11608 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11609 PyObject * _resultobj;
11610 wxGrid * _arg0;
11611 int _arg1;
11612 int _arg2;
11613 PyObject * _argo0 = 0;
11614 char *_kwnames[] = { "self","row","height", NULL };
11615
11616 self = self;
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
11618 return NULL;
11619 if (_argo0) {
11620 if (_argo0 == Py_None) { _arg0 = NULL; }
11621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11623 return NULL;
11624 }
11625 }
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) return NULL;
11632 } Py_INCREF(Py_None);
11633 _resultobj = Py_None;
11634 return _resultobj;
11635 }
11636
11637 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11638 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11639 PyObject * _resultobj;
11640 wxGrid * _arg0;
11641 int _arg1;
11642 bool _arg2 = (bool ) FALSE;
11643 PyObject * _argo0 = 0;
11644 int tempbool2 = (int) FALSE;
11645 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
11646
11647 self = self;
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
11649 return NULL;
11650 if (_argo0) {
11651 if (_argo0 == Py_None) { _arg0 = NULL; }
11652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11654 return NULL;
11655 }
11656 }
11657 _arg2 = (bool ) tempbool2;
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
11661
11662 wxPyEndAllowThreads(__tstate);
11663 if (PyErr_Occurred()) return NULL;
11664 } Py_INCREF(Py_None);
11665 _resultobj = Py_None;
11666 return _resultobj;
11667 }
11668
11669 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11670 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11671 PyObject * _resultobj;
11672 wxGrid * _arg0;
11673 int _arg1;
11674 int _arg2;
11675 PyObject * _argo0 = 0;
11676 char *_kwnames[] = { "self","col","width", NULL };
11677
11678 self = self;
11679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
11680 return NULL;
11681 if (_argo0) {
11682 if (_argo0 == Py_None) { _arg0 = NULL; }
11683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11685 return NULL;
11686 }
11687 }
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 wxGrid_SetColSize(_arg0,_arg1,_arg2);
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) return NULL;
11694 } Py_INCREF(Py_None);
11695 _resultobj = Py_None;
11696 return _resultobj;
11697 }
11698
11699 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11700 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
11701 PyObject * _resultobj;
11702 wxGrid * _arg0;
11703 int _arg1;
11704 bool _arg2 = (bool ) TRUE;
11705 PyObject * _argo0 = 0;
11706 int tempbool2 = (int) TRUE;
11707 char *_kwnames[] = { "self","col","setAsMin", NULL };
11708
11709 self = self;
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
11711 return NULL;
11712 if (_argo0) {
11713 if (_argo0 == Py_None) { _arg0 = NULL; }
11714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11716 return NULL;
11717 }
11718 }
11719 _arg2 = (bool ) tempbool2;
11720 {
11721 PyThreadState* __tstate = wxPyBeginAllowThreads();
11722 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
11723
11724 wxPyEndAllowThreads(__tstate);
11725 if (PyErr_Occurred()) return NULL;
11726 } Py_INCREF(Py_None);
11727 _resultobj = Py_None;
11728 return _resultobj;
11729 }
11730
11731 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11732 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11733 PyObject * _resultobj;
11734 wxGrid * _arg0;
11735 int _arg1;
11736 bool _arg2 = (bool ) TRUE;
11737 PyObject * _argo0 = 0;
11738 int tempbool2 = (int) TRUE;
11739 char *_kwnames[] = { "self","row","setAsMin", NULL };
11740
11741 self = self;
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11743 return NULL;
11744 if (_argo0) {
11745 if (_argo0 == Py_None) { _arg0 = NULL; }
11746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11748 return NULL;
11749 }
11750 }
11751 _arg2 = (bool ) tempbool2;
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) return NULL;
11758 } Py_INCREF(Py_None);
11759 _resultobj = Py_None;
11760 return _resultobj;
11761 }
11762
11763 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11764 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
11765 PyObject * _resultobj;
11766 wxGrid * _arg0;
11767 bool _arg1 = (bool ) TRUE;
11768 PyObject * _argo0 = 0;
11769 int tempbool1 = (int) TRUE;
11770 char *_kwnames[] = { "self","setAsMin", NULL };
11771
11772 self = self;
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
11774 return NULL;
11775 if (_argo0) {
11776 if (_argo0 == Py_None) { _arg0 = NULL; }
11777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11779 return NULL;
11780 }
11781 }
11782 _arg1 = (bool ) tempbool1;
11783 {
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 wxGrid_AutoSizeColumns(_arg0,_arg1);
11786
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) return NULL;
11789 } Py_INCREF(Py_None);
11790 _resultobj = Py_None;
11791 return _resultobj;
11792 }
11793
11794 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11795 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject * _resultobj;
11797 wxGrid * _arg0;
11798 bool _arg1 = (bool ) TRUE;
11799 PyObject * _argo0 = 0;
11800 int tempbool1 = (int) TRUE;
11801 char *_kwnames[] = { "self","setAsMin", NULL };
11802
11803 self = self;
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
11805 return NULL;
11806 if (_argo0) {
11807 if (_argo0 == Py_None) { _arg0 = NULL; }
11808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11810 return NULL;
11811 }
11812 }
11813 _arg1 = (bool ) tempbool1;
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 wxGrid_AutoSizeRows(_arg0,_arg1);
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_AutoSize(_swigobj) (_swigobj->AutoSize())
11826 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11827 PyObject * _resultobj;
11828 wxGrid * _arg0;
11829 PyObject * _argo0 = 0;
11830 char *_kwnames[] = { "self", NULL };
11831
11832 self = self;
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
11834 return NULL;
11835 if (_argo0) {
11836 if (_argo0 == Py_None) { _arg0 = NULL; }
11837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11839 return NULL;
11840 }
11841 }
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 wxGrid_AutoSize(_arg0);
11845
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) return NULL;
11848 } Py_INCREF(Py_None);
11849 _resultobj = Py_None;
11850 return _resultobj;
11851 }
11852
11853 #define wxGrid_AutoSizeRowLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeRowLabelSize(_swigarg0))
11854 static PyObject *_wrap_wxGrid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11855 PyObject * _resultobj;
11856 wxGrid * _arg0;
11857 int _arg1;
11858 PyObject * _argo0 = 0;
11859 char *_kwnames[] = { "self","row", NULL };
11860
11861 self = self;
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_AutoSizeRowLabelSize",_kwnames,&_argo0,&_arg1))
11863 return NULL;
11864 if (_argo0) {
11865 if (_argo0 == Py_None) { _arg0 = NULL; }
11866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRowLabelSize. Expected _wxGrid_p.");
11868 return NULL;
11869 }
11870 }
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 wxGrid_AutoSizeRowLabelSize(_arg0,_arg1);
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) return NULL;
11877 } Py_INCREF(Py_None);
11878 _resultobj = Py_None;
11879 return _resultobj;
11880 }
11881
11882 #define wxGrid_AutoSizeColLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeColLabelSize(_swigarg0))
11883 static PyObject *_wrap_wxGrid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject * _resultobj;
11885 wxGrid * _arg0;
11886 int _arg1;
11887 PyObject * _argo0 = 0;
11888 char *_kwnames[] = { "self","col", NULL };
11889
11890 self = self;
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_AutoSizeColLabelSize",_kwnames,&_argo0,&_arg1))
11892 return NULL;
11893 if (_argo0) {
11894 if (_argo0 == Py_None) { _arg0 = NULL; }
11895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColLabelSize. Expected _wxGrid_p.");
11897 return NULL;
11898 }
11899 }
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 wxGrid_AutoSizeColLabelSize(_arg0,_arg1);
11903
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) return NULL;
11906 } Py_INCREF(Py_None);
11907 _resultobj = Py_None;
11908 return _resultobj;
11909 }
11910
11911 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11912 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11913 PyObject * _resultobj;
11914 wxGrid * _arg0;
11915 int _arg1;
11916 int _arg2;
11917 PyObject * _argo0 = 0;
11918 char *_kwnames[] = { "self","col","width", NULL };
11919
11920 self = self;
11921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
11922 return NULL;
11923 if (_argo0) {
11924 if (_argo0 == Py_None) { _arg0 = NULL; }
11925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11927 return NULL;
11928 }
11929 }
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) return NULL;
11936 } Py_INCREF(Py_None);
11937 _resultobj = Py_None;
11938 return _resultobj;
11939 }
11940
11941 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11942 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11943 PyObject * _resultobj;
11944 wxGrid * _arg0;
11945 int _arg1;
11946 int _arg2;
11947 PyObject * _argo0 = 0;
11948 char *_kwnames[] = { "self","row","width", NULL };
11949
11950 self = self;
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
11952 return NULL;
11953 if (_argo0) {
11954 if (_argo0 == Py_None) { _arg0 = NULL; }
11955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11957 return NULL;
11958 }
11959 }
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) return NULL;
11966 } Py_INCREF(Py_None);
11967 _resultobj = Py_None;
11968 return _resultobj;
11969 }
11970
11971 #define wxGrid_SetColMinimalAcceptableWidth(_swigobj,_swigarg0) (_swigobj->SetColMinimalAcceptableWidth(_swigarg0))
11972 static PyObject *_wrap_wxGrid_SetColMinimalAcceptableWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11973 PyObject * _resultobj;
11974 wxGrid * _arg0;
11975 int _arg1;
11976 PyObject * _argo0 = 0;
11977 char *_kwnames[] = { "self","width", NULL };
11978
11979 self = self;
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColMinimalAcceptableWidth",_kwnames,&_argo0,&_arg1))
11981 return NULL;
11982 if (_argo0) {
11983 if (_argo0 == Py_None) { _arg0 = NULL; }
11984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalAcceptableWidth. Expected _wxGrid_p.");
11986 return NULL;
11987 }
11988 }
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 wxGrid_SetColMinimalAcceptableWidth(_arg0,_arg1);
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) return NULL;
11995 } Py_INCREF(Py_None);
11996 _resultobj = Py_None;
11997 return _resultobj;
11998 }
11999
12000 #define wxGrid_SetRowMinimalAcceptableHeight(_swigobj,_swigarg0) (_swigobj->SetRowMinimalAcceptableHeight(_swigarg0))
12001 static PyObject *_wrap_wxGrid_SetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12002 PyObject * _resultobj;
12003 wxGrid * _arg0;
12004 int _arg1;
12005 PyObject * _argo0 = 0;
12006 char *_kwnames[] = { "self","width", NULL };
12007
12008 self = self;
12009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowMinimalAcceptableHeight",_kwnames,&_argo0,&_arg1))
12010 return NULL;
12011 if (_argo0) {
12012 if (_argo0 == Py_None) { _arg0 = NULL; }
12013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
12015 return NULL;
12016 }
12017 }
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 wxGrid_SetRowMinimalAcceptableHeight(_arg0,_arg1);
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) return NULL;
12024 } Py_INCREF(Py_None);
12025 _resultobj = Py_None;
12026 return _resultobj;
12027 }
12028
12029 #define wxGrid_GetColMinimalAcceptableWidth(_swigobj) (_swigobj->GetColMinimalAcceptableWidth())
12030 static PyObject *_wrap_wxGrid_GetColMinimalAcceptableWidth(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_GetColMinimalAcceptableWidth",_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_GetColMinimalAcceptableWidth. Expected _wxGrid_p.");
12044 return NULL;
12045 }
12046 }
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 _result = (int )wxGrid_GetColMinimalAcceptableWidth(_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_GetRowMinimalAcceptableHeight(_swigobj) (_swigobj->GetRowMinimalAcceptableHeight())
12058 static PyObject *_wrap_wxGrid_GetRowMinimalAcceptableHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject * _resultobj;
12060 int _result;
12061 wxGrid * _arg0;
12062 PyObject * _argo0 = 0;
12063 char *_kwnames[] = { "self", NULL };
12064
12065 self = self;
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowMinimalAcceptableHeight",_kwnames,&_argo0))
12067 return NULL;
12068 if (_argo0) {
12069 if (_argo0 == Py_None) { _arg0 = NULL; }
12070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
12072 return NULL;
12073 }
12074 }
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 _result = (int )wxGrid_GetRowMinimalAcceptableHeight(_arg0);
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) return NULL;
12081 } _resultobj = Py_BuildValue("i",_result);
12082 return _resultobj;
12083 }
12084
12085 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
12086 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12087 PyObject * _resultobj;
12088 wxGrid * _arg0;
12089 wxColour * _arg1;
12090 PyObject * _argo0 = 0;
12091 wxColour temp;
12092 PyObject * _obj1 = 0;
12093 char *_kwnames[] = { "self","arg2", NULL };
12094
12095 self = self;
12096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
12097 return NULL;
12098 if (_argo0) {
12099 if (_argo0 == Py_None) { _arg0 = NULL; }
12100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
12102 return NULL;
12103 }
12104 }
12105 {
12106 _arg1 = &temp;
12107 if (! wxColour_helper(_obj1, &_arg1))
12108 return NULL;
12109 }
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) return NULL;
12116 } Py_INCREF(Py_None);
12117 _resultobj = Py_None;
12118 return _resultobj;
12119 }
12120
12121 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
12122 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12123 PyObject * _resultobj;
12124 wxGrid * _arg0;
12125 int _arg1;
12126 int _arg2;
12127 wxColour * _arg3;
12128 PyObject * _argo0 = 0;
12129 wxColour temp;
12130 PyObject * _obj3 = 0;
12131 char *_kwnames[] = { "self","row","col","arg4", NULL };
12132
12133 self = self;
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
12135 return NULL;
12136 if (_argo0) {
12137 if (_argo0 == Py_None) { _arg0 = NULL; }
12138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
12140 return NULL;
12141 }
12142 }
12143 {
12144 _arg3 = &temp;
12145 if (! wxColour_helper(_obj3, &_arg3))
12146 return NULL;
12147 }
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) return NULL;
12154 } Py_INCREF(Py_None);
12155 _resultobj = Py_None;
12156 return _resultobj;
12157 }
12158
12159 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
12160 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12161 PyObject * _resultobj;
12162 wxGrid * _arg0;
12163 wxColour * _arg1;
12164 PyObject * _argo0 = 0;
12165 wxColour temp;
12166 PyObject * _obj1 = 0;
12167 char *_kwnames[] = { "self","arg2", NULL };
12168
12169 self = self;
12170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
12171 return NULL;
12172 if (_argo0) {
12173 if (_argo0 == Py_None) { _arg0 = NULL; }
12174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
12176 return NULL;
12177 }
12178 }
12179 {
12180 _arg1 = &temp;
12181 if (! wxColour_helper(_obj1, &_arg1))
12182 return NULL;
12183 }
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
12187
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) return NULL;
12190 } Py_INCREF(Py_None);
12191 _resultobj = Py_None;
12192 return _resultobj;
12193 }
12194
12195 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
12196 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject * _resultobj;
12198 wxGrid * _arg0;
12199 int _arg1;
12200 int _arg2;
12201 wxColour * _arg3;
12202 PyObject * _argo0 = 0;
12203 wxColour temp;
12204 PyObject * _obj3 = 0;
12205 char *_kwnames[] = { "self","row","col","arg4", NULL };
12206
12207 self = self;
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
12209 return NULL;
12210 if (_argo0) {
12211 if (_argo0 == Py_None) { _arg0 = NULL; }
12212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
12214 return NULL;
12215 }
12216 }
12217 {
12218 _arg3 = &temp;
12219 if (! wxColour_helper(_obj3, &_arg3))
12220 return NULL;
12221 }
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) return NULL;
12228 } Py_INCREF(Py_None);
12229 _resultobj = Py_None;
12230 return _resultobj;
12231 }
12232
12233 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
12234 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12235 PyObject * _resultobj;
12236 wxGrid * _arg0;
12237 wxFont * _arg1;
12238 PyObject * _argo0 = 0;
12239 PyObject * _argo1 = 0;
12240 char *_kwnames[] = { "self","arg2", NULL };
12241
12242 self = self;
12243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
12244 return NULL;
12245 if (_argo0) {
12246 if (_argo0 == Py_None) { _arg0 = NULL; }
12247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
12249 return NULL;
12250 }
12251 }
12252 if (_argo1) {
12253 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
12254 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
12255 return NULL;
12256 }
12257 }
12258 {
12259 PyThreadState* __tstate = wxPyBeginAllowThreads();
12260 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
12261
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) return NULL;
12264 } Py_INCREF(Py_None);
12265 _resultobj = Py_None;
12266 return _resultobj;
12267 }
12268
12269 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
12270 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12271 PyObject * _resultobj;
12272 wxGrid * _arg0;
12273 int _arg1;
12274 int _arg2;
12275 wxFont * _arg3;
12276 PyObject * _argo0 = 0;
12277 PyObject * _argo3 = 0;
12278 char *_kwnames[] = { "self","row","col","arg4", NULL };
12279
12280 self = self;
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
12282 return NULL;
12283 if (_argo0) {
12284 if (_argo0 == Py_None) { _arg0 = NULL; }
12285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
12287 return NULL;
12288 }
12289 }
12290 if (_argo3) {
12291 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
12292 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
12293 return NULL;
12294 }
12295 }
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) return NULL;
12302 } Py_INCREF(Py_None);
12303 _resultobj = Py_None;
12304 return _resultobj;
12305 }
12306
12307 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
12308 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject * _resultobj;
12310 wxGrid * _arg0;
12311 int _arg1;
12312 int _arg2;
12313 PyObject * _argo0 = 0;
12314 char *_kwnames[] = { "self","horiz","vert", NULL };
12315
12316 self = self;
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
12318 return NULL;
12319 if (_argo0) {
12320 if (_argo0 == Py_None) { _arg0 = NULL; }
12321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
12323 return NULL;
12324 }
12325 }
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) return NULL;
12332 } Py_INCREF(Py_None);
12333 _resultobj = Py_None;
12334 return _resultobj;
12335 }
12336
12337 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12338 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12339 PyObject * _resultobj;
12340 wxGrid * _arg0;
12341 int _arg1;
12342 int _arg2;
12343 int _arg3;
12344 int _arg4;
12345 PyObject * _argo0 = 0;
12346 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
12347
12348 self = self;
12349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12350 return NULL;
12351 if (_argo0) {
12352 if (_argo0 == Py_None) { _arg0 = NULL; }
12353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
12355 return NULL;
12356 }
12357 }
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
12360 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) return NULL;
12364 } Py_INCREF(Py_None);
12365 _resultobj = Py_None;
12366 return _resultobj;
12367 }
12368
12369 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
12370 static PyObject *_wrap_wxGrid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12371 PyObject * _resultobj;
12372 wxGrid * _arg0;
12373 bool _arg1;
12374 PyObject * _argo0 = 0;
12375 int tempbool1;
12376 char *_kwnames[] = { "self","allow", NULL };
12377
12378 self = self;
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames,&_argo0,&tempbool1))
12380 return NULL;
12381 if (_argo0) {
12382 if (_argo0 == Py_None) { _arg0 = NULL; }
12383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
12385 return NULL;
12386 }
12387 }
12388 _arg1 = (bool ) tempbool1;
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 wxGrid_SetDefaultCellOverflow(_arg0,_arg1);
12392
12393 wxPyEndAllowThreads(__tstate);
12394 if (PyErr_Occurred()) return NULL;
12395 } Py_INCREF(Py_None);
12396 _resultobj = Py_None;
12397 return _resultobj;
12398 }
12399
12400 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
12401 static PyObject *_wrap_wxGrid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject * _resultobj;
12403 wxGrid * _arg0;
12404 int _arg1;
12405 int _arg2;
12406 bool _arg3;
12407 PyObject * _argo0 = 0;
12408 int tempbool3;
12409 char *_kwnames[] = { "self","row","col","allow", NULL };
12410
12411 self = self;
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
12413 return NULL;
12414 if (_argo0) {
12415 if (_argo0 == Py_None) { _arg0 = NULL; }
12416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
12418 return NULL;
12419 }
12420 }
12421 _arg3 = (bool ) tempbool3;
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 wxGrid_SetCellOverflow(_arg0,_arg1,_arg2,_arg3);
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) return NULL;
12428 } Py_INCREF(Py_None);
12429 _resultobj = Py_None;
12430 return _resultobj;
12431 }
12432
12433 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12434 static PyObject *_wrap_wxGrid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12435 PyObject * _resultobj;
12436 wxGrid * _arg0;
12437 int _arg1;
12438 int _arg2;
12439 int _arg3;
12440 int _arg4;
12441 PyObject * _argo0 = 0;
12442 char *_kwnames[] = { "self","row","col","num_rows","num_cols", NULL };
12443
12444 self = self;
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12446 return NULL;
12447 if (_argo0) {
12448 if (_argo0 == Py_None) { _arg0 = NULL; }
12449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
12451 return NULL;
12452 }
12453 }
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 wxGrid_SetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) return NULL;
12460 } Py_INCREF(Py_None);
12461 _resultobj = Py_None;
12462 return _resultobj;
12463 }
12464
12465 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
12466 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12467 PyObject * _resultobj;
12468 wxGrid * _arg0;
12469 wxGridCellRenderer * _arg1;
12470 PyObject * _argo0 = 0;
12471 PyObject * _argo1 = 0;
12472 char *_kwnames[] = { "self","renderer", NULL };
12473
12474 self = self;
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
12476 return NULL;
12477 if (_argo0) {
12478 if (_argo0 == Py_None) { _arg0 = NULL; }
12479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
12481 return NULL;
12482 }
12483 }
12484 if (_argo1) {
12485 if (_argo1 == Py_None) { _arg1 = NULL; }
12486 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
12487 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
12488 return NULL;
12489 }
12490 }
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 wxGrid_SetDefaultRenderer(_arg0,_arg1);
12494
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) return NULL;
12497 } Py_INCREF(Py_None);
12498 _resultobj = Py_None;
12499 return _resultobj;
12500 }
12501
12502 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
12503 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12504 PyObject * _resultobj;
12505 wxGrid * _arg0;
12506 int _arg1;
12507 int _arg2;
12508 wxGridCellRenderer * _arg3;
12509 PyObject * _argo0 = 0;
12510 PyObject * _argo3 = 0;
12511 char *_kwnames[] = { "self","row","col","renderer", NULL };
12512
12513 self = self;
12514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
12515 return NULL;
12516 if (_argo0) {
12517 if (_argo0 == Py_None) { _arg0 = NULL; }
12518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
12520 return NULL;
12521 }
12522 }
12523 if (_argo3) {
12524 if (_argo3 == Py_None) { _arg3 = NULL; }
12525 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
12526 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
12527 return NULL;
12528 }
12529 }
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
12533
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) return NULL;
12536 } Py_INCREF(Py_None);
12537 _resultobj = Py_None;
12538 return _resultobj;
12539 }
12540
12541 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
12542 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12543 PyObject * _resultobj;
12544 wxGridCellRenderer * _result;
12545 wxGrid * _arg0;
12546 PyObject * _argo0 = 0;
12547 char *_kwnames[] = { "self", NULL };
12548
12549 self = self;
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
12551 return NULL;
12552 if (_argo0) {
12553 if (_argo0 == Py_None) { _arg0 = NULL; }
12554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
12556 return NULL;
12557 }
12558 }
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
12562
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) return NULL;
12565 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12566 return _resultobj;
12567 }
12568
12569 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
12570 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12571 PyObject * _resultobj;
12572 wxGridCellRenderer * _result;
12573 wxGrid * _arg0;
12574 int _arg1;
12575 int _arg2;
12576 PyObject * _argo0 = 0;
12577 char *_kwnames[] = { "self","row","col", NULL };
12578
12579 self = self;
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
12581 return NULL;
12582 if (_argo0) {
12583 if (_argo0 == Py_None) { _arg0 = NULL; }
12584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12586 return NULL;
12587 }
12588 }
12589 {
12590 PyThreadState* __tstate = wxPyBeginAllowThreads();
12591 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
12592
12593 wxPyEndAllowThreads(__tstate);
12594 if (PyErr_Occurred()) return NULL;
12595 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12596 return _resultobj;
12597 }
12598
12599 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12600 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12601 PyObject * _resultobj;
12602 wxGrid * _arg0;
12603 wxGridCellEditor * _arg1;
12604 PyObject * _argo0 = 0;
12605 PyObject * _argo1 = 0;
12606 char *_kwnames[] = { "self","editor", NULL };
12607
12608 self = self;
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
12610 return NULL;
12611 if (_argo0) {
12612 if (_argo0 == Py_None) { _arg0 = NULL; }
12613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12615 return NULL;
12616 }
12617 }
12618 if (_argo1) {
12619 if (_argo1 == Py_None) { _arg1 = NULL; }
12620 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
12621 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12622 return NULL;
12623 }
12624 }
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 wxGrid_SetDefaultEditor(_arg0,_arg1);
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) return NULL;
12631 } Py_INCREF(Py_None);
12632 _resultobj = Py_None;
12633 return _resultobj;
12634 }
12635
12636 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12637 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12638 PyObject * _resultobj;
12639 wxGrid * _arg0;
12640 int _arg1;
12641 int _arg2;
12642 wxGridCellEditor * _arg3;
12643 PyObject * _argo0 = 0;
12644 PyObject * _argo3 = 0;
12645 char *_kwnames[] = { "self","row","col","editor", NULL };
12646
12647 self = self;
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
12649 return NULL;
12650 if (_argo0) {
12651 if (_argo0 == Py_None) { _arg0 = NULL; }
12652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
12654 return NULL;
12655 }
12656 }
12657 if (_argo3) {
12658 if (_argo3 == Py_None) { _arg3 = NULL; }
12659 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12660 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12661 return NULL;
12662 }
12663 }
12664 {
12665 PyThreadState* __tstate = wxPyBeginAllowThreads();
12666 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
12667
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) return NULL;
12670 } Py_INCREF(Py_None);
12671 _resultobj = Py_None;
12672 return _resultobj;
12673 }
12674
12675 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12676 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12677 PyObject * _resultobj;
12678 wxGridCellEditor * _result;
12679 wxGrid * _arg0;
12680 PyObject * _argo0 = 0;
12681 char *_kwnames[] = { "self", NULL };
12682
12683 self = self;
12684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
12685 return NULL;
12686 if (_argo0) {
12687 if (_argo0 == Py_None) { _arg0 = NULL; }
12688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12690 return NULL;
12691 }
12692 }
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) return NULL;
12699 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12700 return _resultobj;
12701 }
12702
12703 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12704 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12705 PyObject * _resultobj;
12706 wxGridCellEditor * _result;
12707 wxGrid * _arg0;
12708 int _arg1;
12709 int _arg2;
12710 PyObject * _argo0 = 0;
12711 char *_kwnames[] = { "self","row","col", NULL };
12712
12713 self = self;
12714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
12715 return NULL;
12716 if (_argo0) {
12717 if (_argo0 == Py_None) { _arg0 = NULL; }
12718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12720 return NULL;
12721 }
12722 }
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) return NULL;
12729 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12730 return _resultobj;
12731 }
12732
12733 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12734 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12735 PyObject * _resultobj;
12736 wxString * _result;
12737 wxGrid * _arg0;
12738 int _arg1;
12739 int _arg2;
12740 PyObject * _argo0 = 0;
12741 char *_kwnames[] = { "self","row","col", NULL };
12742
12743 self = self;
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
12745 return NULL;
12746 if (_argo0) {
12747 if (_argo0 == Py_None) { _arg0 = NULL; }
12748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12750 return NULL;
12751 }
12752 }
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) return NULL;
12759 }{
12760 #if wxUSE_UNICODE
12761 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
12762 #else
12763 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
12764 #endif
12765 }
12766 {
12767 delete _result;
12768 }
12769 return _resultobj;
12770 }
12771
12772 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12773 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12774 PyObject * _resultobj;
12775 wxGrid * _arg0;
12776 int _arg1;
12777 int _arg2;
12778 wxString * _arg3;
12779 PyObject * _argo0 = 0;
12780 PyObject * _obj3 = 0;
12781 char *_kwnames[] = { "self","row","col","s", NULL };
12782
12783 self = self;
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
12785 return NULL;
12786 if (_argo0) {
12787 if (_argo0 == Py_None) { _arg0 = NULL; }
12788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12790 return NULL;
12791 }
12792 }
12793 {
12794 _arg3 = wxString_in_helper(_obj3);
12795 if (_arg3 == NULL)
12796 return NULL;
12797 }
12798 {
12799 PyThreadState* __tstate = wxPyBeginAllowThreads();
12800 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
12801
12802 wxPyEndAllowThreads(__tstate);
12803 if (PyErr_Occurred()) return NULL;
12804 } Py_INCREF(Py_None);
12805 _resultobj = Py_None;
12806 {
12807 if (_obj3)
12808 delete _arg3;
12809 }
12810 return _resultobj;
12811 }
12812
12813 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12814 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
12815 PyObject * _resultobj;
12816 bool _result;
12817 wxGrid * _arg0;
12818 int _arg1;
12819 int _arg2;
12820 PyObject * _argo0 = 0;
12821 char *_kwnames[] = { "self","row","col", NULL };
12822
12823 self = self;
12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
12825 return NULL;
12826 if (_argo0) {
12827 if (_argo0 == Py_None) { _arg0 = NULL; }
12828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12830 return NULL;
12831 }
12832 }
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
12836
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) return NULL;
12839 } _resultobj = Py_BuildValue("i",_result);
12840 return _resultobj;
12841 }
12842
12843 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12844 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
12845 PyObject * _resultobj;
12846 wxGrid * _arg0;
12847 int _arg1;
12848 int _arg2;
12849 bool _arg3 = (bool ) TRUE;
12850 PyObject * _argo0 = 0;
12851 int tempbool3 = (int) TRUE;
12852 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
12853
12854 self = self;
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
12856 return NULL;
12857 if (_argo0) {
12858 if (_argo0 == Py_None) { _arg0 = NULL; }
12859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12861 return NULL;
12862 }
12863 }
12864 _arg3 = (bool ) tempbool3;
12865 {
12866 PyThreadState* __tstate = wxPyBeginAllowThreads();
12867 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
12868
12869 wxPyEndAllowThreads(__tstate);
12870 if (PyErr_Occurred()) return NULL;
12871 } Py_INCREF(Py_None);
12872 _resultobj = Py_None;
12873 return _resultobj;
12874 }
12875
12876 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12877 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12878 PyObject * _resultobj;
12879 wxGrid * _arg0;
12880 int _arg1;
12881 bool _arg2 = (bool ) FALSE;
12882 PyObject * _argo0 = 0;
12883 int tempbool2 = (int) FALSE;
12884 char *_kwnames[] = { "self","row","addToSelected", NULL };
12885
12886 self = self;
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
12888 return NULL;
12889 if (_argo0) {
12890 if (_argo0 == Py_None) { _arg0 = NULL; }
12891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12893 return NULL;
12894 }
12895 }
12896 _arg2 = (bool ) tempbool2;
12897 {
12898 PyThreadState* __tstate = wxPyBeginAllowThreads();
12899 wxGrid_SelectRow(_arg0,_arg1,_arg2);
12900
12901 wxPyEndAllowThreads(__tstate);
12902 if (PyErr_Occurred()) return NULL;
12903 } Py_INCREF(Py_None);
12904 _resultobj = Py_None;
12905 return _resultobj;
12906 }
12907
12908 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12909 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject * _resultobj;
12911 wxGrid * _arg0;
12912 int _arg1;
12913 bool _arg2 = (bool ) FALSE;
12914 PyObject * _argo0 = 0;
12915 int tempbool2 = (int) FALSE;
12916 char *_kwnames[] = { "self","col","addToSelected", NULL };
12917
12918 self = self;
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
12920 return NULL;
12921 if (_argo0) {
12922 if (_argo0 == Py_None) { _arg0 = NULL; }
12923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12925 return NULL;
12926 }
12927 }
12928 _arg2 = (bool ) tempbool2;
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 wxGrid_SelectCol(_arg0,_arg1,_arg2);
12932
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) return NULL;
12935 } Py_INCREF(Py_None);
12936 _resultobj = Py_None;
12937 return _resultobj;
12938 }
12939
12940 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12941 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject * _resultobj;
12943 wxGrid * _arg0;
12944 int _arg1;
12945 int _arg2;
12946 int _arg3;
12947 int _arg4;
12948 bool _arg5 = (bool ) FALSE;
12949 PyObject * _argo0 = 0;
12950 int tempbool5 = (int) FALSE;
12951 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
12952
12953 self = self;
12954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
12955 return NULL;
12956 if (_argo0) {
12957 if (_argo0 == Py_None) { _arg0 = NULL; }
12958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12960 return NULL;
12961 }
12962 }
12963 _arg5 = (bool ) tempbool5;
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
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_SelectAll(_swigobj) (_swigobj->SelectAll())
12976 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
12977 PyObject * _resultobj;
12978 wxGrid * _arg0;
12979 PyObject * _argo0 = 0;
12980 char *_kwnames[] = { "self", NULL };
12981
12982 self = self;
12983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
12984 return NULL;
12985 if (_argo0) {
12986 if (_argo0 == Py_None) { _arg0 = NULL; }
12987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12989 return NULL;
12990 }
12991 }
12992 {
12993 PyThreadState* __tstate = wxPyBeginAllowThreads();
12994 wxGrid_SelectAll(_arg0);
12995
12996 wxPyEndAllowThreads(__tstate);
12997 if (PyErr_Occurred()) return NULL;
12998 } Py_INCREF(Py_None);
12999 _resultobj = Py_None;
13000 return _resultobj;
13001 }
13002
13003 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
13004 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13005 PyObject * _resultobj;
13006 bool _result;
13007 wxGrid * _arg0;
13008 PyObject * _argo0 = 0;
13009 char *_kwnames[] = { "self", NULL };
13010
13011 self = self;
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
13013 return NULL;
13014 if (_argo0) {
13015 if (_argo0 == Py_None) { _arg0 = NULL; }
13016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
13018 return NULL;
13019 }
13020 }
13021 {
13022 PyThreadState* __tstate = wxPyBeginAllowThreads();
13023 _result = (bool )wxGrid_IsSelection(_arg0);
13024
13025 wxPyEndAllowThreads(__tstate);
13026 if (PyErr_Occurred()) return NULL;
13027 } _resultobj = Py_BuildValue("i",_result);
13028 return _resultobj;
13029 }
13030
13031 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
13032 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13033 PyObject * _resultobj;
13034 wxGrid * _arg0;
13035 PyObject * _argo0 = 0;
13036 char *_kwnames[] = { "self", NULL };
13037
13038 self = self;
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
13040 return NULL;
13041 if (_argo0) {
13042 if (_argo0 == Py_None) { _arg0 = NULL; }
13043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
13045 return NULL;
13046 }
13047 }
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 wxGrid_ClearSelection(_arg0);
13051
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) return NULL;
13054 } Py_INCREF(Py_None);
13055 _resultobj = Py_None;
13056 return _resultobj;
13057 }
13058
13059 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
13060 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject * _resultobj;
13062 bool _result;
13063 wxGrid * _arg0;
13064 int _arg1;
13065 int _arg2;
13066 PyObject * _argo0 = 0;
13067 char *_kwnames[] = { "self","row","col", NULL };
13068
13069 self = self;
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
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_IsInSelection. Expected _wxGrid_p.");
13076 return NULL;
13077 }
13078 }
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
13082
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) return NULL;
13085 } _resultobj = Py_BuildValue("i",_result);
13086 return _resultobj;
13087 }
13088
13089 #define wxGrid_GetSelectedCells(_swigobj) (_swigobj->GetSelectedCells())
13090 static PyObject *_wrap_wxGrid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
13091 PyObject * _resultobj;
13092 wxGridCellCoordsArray * _result;
13093 wxGrid * _arg0;
13094 PyObject * _argo0 = 0;
13095 char *_kwnames[] = { "self", NULL };
13096
13097 self = self;
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedCells",_kwnames,&_argo0))
13099 return NULL;
13100 if (_argo0) {
13101 if (_argo0 == Py_None) { _arg0 = NULL; }
13102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedCells. Expected _wxGrid_p.");
13104 return NULL;
13105 }
13106 }
13107 {
13108 PyThreadState* __tstate = wxPyBeginAllowThreads();
13109 _result = new wxGridCellCoordsArray (wxGrid_GetSelectedCells(_arg0));
13110
13111 wxPyEndAllowThreads(__tstate);
13112 if (PyErr_Occurred()) return NULL;
13113 }{
13114 _resultobj = wxGridCellCoordsArray_helper(_result);
13115 }
13116 {
13117 delete _result;
13118 }
13119 return _resultobj;
13120 }
13121
13122 #define wxGrid_GetSelectionBlockTopLeft(_swigobj) (_swigobj->GetSelectionBlockTopLeft())
13123 static PyObject *_wrap_wxGrid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
13124 PyObject * _resultobj;
13125 wxGridCellCoordsArray * _result;
13126 wxGrid * _arg0;
13127 PyObject * _argo0 = 0;
13128 char *_kwnames[] = { "self", NULL };
13129
13130 self = self;
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBlockTopLeft",_kwnames,&_argo0))
13132 return NULL;
13133 if (_argo0) {
13134 if (_argo0 == Py_None) { _arg0 = NULL; }
13135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBlockTopLeft. Expected _wxGrid_p.");
13137 return NULL;
13138 }
13139 }
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 _result = new wxGridCellCoordsArray (wxGrid_GetSelectionBlockTopLeft(_arg0));
13143
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) return NULL;
13146 }{
13147 _resultobj = wxGridCellCoordsArray_helper(_result);
13148 }
13149 {
13150 delete _result;
13151 }
13152 return _resultobj;
13153 }
13154
13155 #define wxGrid_GetSelectionBlockBottomRight(_swigobj) (_swigobj->GetSelectionBlockBottomRight())
13156 static PyObject *_wrap_wxGrid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject * _resultobj;
13158 wxGridCellCoordsArray * _result;
13159 wxGrid * _arg0;
13160 PyObject * _argo0 = 0;
13161 char *_kwnames[] = { "self", NULL };
13162
13163 self = self;
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBlockBottomRight",_kwnames,&_argo0))
13165 return NULL;
13166 if (_argo0) {
13167 if (_argo0 == Py_None) { _arg0 = NULL; }
13168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBlockBottomRight. Expected _wxGrid_p.");
13170 return NULL;
13171 }
13172 }
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 _result = new wxGridCellCoordsArray (wxGrid_GetSelectionBlockBottomRight(_arg0));
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) return NULL;
13179 }{
13180 _resultobj = wxGridCellCoordsArray_helper(_result);
13181 }
13182 {
13183 delete _result;
13184 }
13185 return _resultobj;
13186 }
13187
13188 #define wxGrid_GetSelectedRows(_swigobj) (_swigobj->GetSelectedRows())
13189 static PyObject *_wrap_wxGrid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
13190 PyObject * _resultobj;
13191 wxArrayInt * _result;
13192 wxGrid * _arg0;
13193 PyObject * _argo0 = 0;
13194 char *_kwnames[] = { "self", NULL };
13195
13196 self = self;
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedRows",_kwnames,&_argo0))
13198 return NULL;
13199 if (_argo0) {
13200 if (_argo0 == Py_None) { _arg0 = NULL; }
13201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedRows. Expected _wxGrid_p.");
13203 return NULL;
13204 }
13205 }
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 _result = new wxArrayInt (wxGrid_GetSelectedRows(_arg0));
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) return NULL;
13212 }{
13213 _resultobj = PyList_New(0);
13214 size_t idx;
13215 for (idx = 0; idx < _result->GetCount(); idx += 1) {
13216 PyObject* val = PyInt_FromLong(_result->Item(idx));
13217 PyList_Append(_resultobj, val);
13218 Py_DECREF(val);
13219 }
13220 delete _result;
13221 }
13222 return _resultobj;
13223 }
13224
13225 #define wxGrid_GetSelectedCols(_swigobj) (_swigobj->GetSelectedCols())
13226 static PyObject *_wrap_wxGrid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject * _resultobj;
13228 wxArrayInt * _result;
13229 wxGrid * _arg0;
13230 PyObject * _argo0 = 0;
13231 char *_kwnames[] = { "self", NULL };
13232
13233 self = self;
13234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedCols",_kwnames,&_argo0))
13235 return NULL;
13236 if (_argo0) {
13237 if (_argo0 == Py_None) { _arg0 = NULL; }
13238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedCols. Expected _wxGrid_p.");
13240 return NULL;
13241 }
13242 }
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 _result = new wxArrayInt (wxGrid_GetSelectedCols(_arg0));
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) return NULL;
13249 }{
13250 _resultobj = PyList_New(0);
13251 size_t idx;
13252 for (idx = 0; idx < _result->GetCount(); idx += 1) {
13253 PyObject* val = PyInt_FromLong(_result->Item(idx));
13254 PyList_Append(_resultobj, val);
13255 Py_DECREF(val);
13256 }
13257 delete _result;
13258 }
13259 return _resultobj;
13260 }
13261
13262 #define wxGrid_DeselectRow(_swigobj,_swigarg0) (_swigobj->DeselectRow(_swigarg0))
13263 static PyObject *_wrap_wxGrid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13264 PyObject * _resultobj;
13265 wxGrid * _arg0;
13266 int _arg1;
13267 PyObject * _argo0 = 0;
13268 char *_kwnames[] = { "self","row", NULL };
13269
13270 self = self;
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_DeselectRow",_kwnames,&_argo0,&_arg1))
13272 return NULL;
13273 if (_argo0) {
13274 if (_argo0 == Py_None) { _arg0 = NULL; }
13275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectRow. Expected _wxGrid_p.");
13277 return NULL;
13278 }
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 wxGrid_DeselectRow(_arg0,_arg1);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) return NULL;
13286 } Py_INCREF(Py_None);
13287 _resultobj = Py_None;
13288 return _resultobj;
13289 }
13290
13291 #define wxGrid_DeselectCol(_swigobj,_swigarg0) (_swigobj->DeselectCol(_swigarg0))
13292 static PyObject *_wrap_wxGrid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13293 PyObject * _resultobj;
13294 wxGrid * _arg0;
13295 int _arg1;
13296 PyObject * _argo0 = 0;
13297 char *_kwnames[] = { "self","col", NULL };
13298
13299 self = self;
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_DeselectCol",_kwnames,&_argo0,&_arg1))
13301 return NULL;
13302 if (_argo0) {
13303 if (_argo0 == Py_None) { _arg0 = NULL; }
13304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectCol. Expected _wxGrid_p.");
13306 return NULL;
13307 }
13308 }
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 wxGrid_DeselectCol(_arg0,_arg1);
13312
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) return NULL;
13315 } Py_INCREF(Py_None);
13316 _resultobj = Py_None;
13317 return _resultobj;
13318 }
13319
13320 #define wxGrid_DeselectCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeselectCell(_swigarg0,_swigarg1))
13321 static PyObject *_wrap_wxGrid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13322 PyObject * _resultobj;
13323 wxGrid * _arg0;
13324 int _arg1;
13325 int _arg2;
13326 PyObject * _argo0 = 0;
13327 char *_kwnames[] = { "self","row","col", NULL };
13328
13329 self = self;
13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_DeselectCell",_kwnames,&_argo0,&_arg1,&_arg2))
13331 return NULL;
13332 if (_argo0) {
13333 if (_argo0 == Py_None) { _arg0 = NULL; }
13334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectCell. Expected _wxGrid_p.");
13336 return NULL;
13337 }
13338 }
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 wxGrid_DeselectCell(_arg0,_arg1,_arg2);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) return NULL;
13345 } Py_INCREF(Py_None);
13346 _resultobj = Py_None;
13347 return _resultobj;
13348 }
13349
13350 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
13351 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13352 PyObject * _resultobj;
13353 wxRect * _result;
13354 wxGrid * _arg0;
13355 wxGridCellCoords * _arg1;
13356 wxGridCellCoords * _arg2;
13357 PyObject * _argo0 = 0;
13358 wxGridCellCoords temp;
13359 PyObject * _obj1 = 0;
13360 wxGridCellCoords temp0;
13361 PyObject * _obj2 = 0;
13362 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
13363 char _ptemp[128];
13364
13365 self = self;
13366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
13367 return NULL;
13368 if (_argo0) {
13369 if (_argo0 == Py_None) { _arg0 = NULL; }
13370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
13372 return NULL;
13373 }
13374 }
13375 {
13376 _arg1 = &temp;
13377 if (! wxGridCellCoords_helper(_obj1, &_arg1))
13378 return NULL;
13379 }
13380 {
13381 _arg2 = &temp0;
13382 if (! wxGridCellCoords_helper(_obj2, &_arg2))
13383 return NULL;
13384 }
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) return NULL;
13391 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
13392 _resultobj = Py_BuildValue("s",_ptemp);
13393 return _resultobj;
13394 }
13395
13396 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
13397 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13398 PyObject * _resultobj;
13399 wxColour * _result;
13400 wxGrid * _arg0;
13401 PyObject * _argo0 = 0;
13402 char *_kwnames[] = { "self", NULL };
13403 char _ptemp[128];
13404
13405 self = self;
13406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
13407 return NULL;
13408 if (_argo0) {
13409 if (_argo0 == Py_None) { _arg0 = NULL; }
13410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
13412 return NULL;
13413 }
13414 }
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) return NULL;
13421 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
13422 _resultobj = Py_BuildValue("s",_ptemp);
13423 return _resultobj;
13424 }
13425
13426 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
13427 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13428 PyObject * _resultobj;
13429 wxColour * _result;
13430 wxGrid * _arg0;
13431 PyObject * _argo0 = 0;
13432 char *_kwnames[] = { "self", NULL };
13433 char _ptemp[128];
13434
13435 self = self;
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
13437 return NULL;
13438 if (_argo0) {
13439 if (_argo0 == Py_None) { _arg0 = NULL; }
13440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
13442 return NULL;
13443 }
13444 }
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) return NULL;
13451 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
13452 _resultobj = Py_BuildValue("s",_ptemp);
13453 return _resultobj;
13454 }
13455
13456 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
13457 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13458 PyObject * _resultobj;
13459 wxGrid * _arg0;
13460 wxColour * _arg1;
13461 PyObject * _argo0 = 0;
13462 wxColour temp;
13463 PyObject * _obj1 = 0;
13464 char *_kwnames[] = { "self","c", NULL };
13465
13466 self = self;
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
13468 return NULL;
13469 if (_argo0) {
13470 if (_argo0 == Py_None) { _arg0 = NULL; }
13471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
13473 return NULL;
13474 }
13475 }
13476 {
13477 _arg1 = &temp;
13478 if (! wxColour_helper(_obj1, &_arg1))
13479 return NULL;
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 wxGrid_SetSelectionBackground(_arg0,*_arg1);
13484
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) return NULL;
13487 } Py_INCREF(Py_None);
13488 _resultobj = Py_None;
13489 return _resultobj;
13490 }
13491
13492 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
13493 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13494 PyObject * _resultobj;
13495 wxGrid * _arg0;
13496 wxColour * _arg1;
13497 PyObject * _argo0 = 0;
13498 wxColour temp;
13499 PyObject * _obj1 = 0;
13500 char *_kwnames[] = { "self","c", NULL };
13501
13502 self = self;
13503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
13504 return NULL;
13505 if (_argo0) {
13506 if (_argo0 == Py_None) { _arg0 = NULL; }
13507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
13509 return NULL;
13510 }
13511 }
13512 {
13513 _arg1 = &temp;
13514 if (! wxColour_helper(_obj1, &_arg1))
13515 return NULL;
13516 }
13517 {
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 wxGrid_SetSelectionForeground(_arg0,*_arg1);
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) return NULL;
13523 } Py_INCREF(Py_None);
13524 _resultobj = Py_None;
13525 return _resultobj;
13526 }
13527
13528 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
13529 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
13530 PyObject * _resultobj;
13531 wxGrid * _arg0;
13532 wxString * _arg1;
13533 wxGridCellRenderer * _arg2;
13534 wxGridCellEditor * _arg3;
13535 PyObject * _argo0 = 0;
13536 PyObject * _obj1 = 0;
13537 PyObject * _argo2 = 0;
13538 PyObject * _argo3 = 0;
13539 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
13540
13541 self = self;
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
13543 return NULL;
13544 if (_argo0) {
13545 if (_argo0 == Py_None) { _arg0 = NULL; }
13546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
13548 return NULL;
13549 }
13550 }
13551 {
13552 _arg1 = wxString_in_helper(_obj1);
13553 if (_arg1 == NULL)
13554 return NULL;
13555 }
13556 if (_argo2) {
13557 if (_argo2 == Py_None) { _arg2 = NULL; }
13558 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
13559 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
13560 return NULL;
13561 }
13562 }
13563 if (_argo3) {
13564 if (_argo3 == Py_None) { _arg3 = NULL; }
13565 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
13566 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
13567 return NULL;
13568 }
13569 }
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) return NULL;
13576 } Py_INCREF(Py_None);
13577 _resultobj = Py_None;
13578 {
13579 if (_obj1)
13580 delete _arg1;
13581 }
13582 return _resultobj;
13583 }
13584
13585 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
13586 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13587 PyObject * _resultobj;
13588 wxGridCellEditor * _result;
13589 wxGrid * _arg0;
13590 int _arg1;
13591 int _arg2;
13592 PyObject * _argo0 = 0;
13593 char *_kwnames[] = { "self","row","col", NULL };
13594
13595 self = self;
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
13597 return NULL;
13598 if (_argo0) {
13599 if (_argo0 == Py_None) { _arg0 = NULL; }
13600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
13602 return NULL;
13603 }
13604 }
13605 {
13606 PyThreadState* __tstate = wxPyBeginAllowThreads();
13607 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
13608
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) return NULL;
13611 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
13612 return _resultobj;
13613 }
13614
13615 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
13616 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13617 PyObject * _resultobj;
13618 wxGridCellRenderer * _result;
13619 wxGrid * _arg0;
13620 int _arg1;
13621 int _arg2;
13622 PyObject * _argo0 = 0;
13623 char *_kwnames[] = { "self","row","col", NULL };
13624
13625 self = self;
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
13627 return NULL;
13628 if (_argo0) {
13629 if (_argo0 == Py_None) { _arg0 = NULL; }
13630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
13632 return NULL;
13633 }
13634 }
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
13638
13639 wxPyEndAllowThreads(__tstate);
13640 if (PyErr_Occurred()) return NULL;
13641 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
13642 return _resultobj;
13643 }
13644
13645 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
13646 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13647 PyObject * _resultobj;
13648 wxGridCellEditor * _result;
13649 wxGrid * _arg0;
13650 wxString * _arg1;
13651 PyObject * _argo0 = 0;
13652 PyObject * _obj1 = 0;
13653 char *_kwnames[] = { "self","typeName", NULL };
13654
13655 self = self;
13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
13657 return NULL;
13658 if (_argo0) {
13659 if (_argo0 == Py_None) { _arg0 = NULL; }
13660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
13662 return NULL;
13663 }
13664 }
13665 {
13666 _arg1 = wxString_in_helper(_obj1);
13667 if (_arg1 == NULL)
13668 return NULL;
13669 }
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) return NULL;
13676 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
13677 {
13678 if (_obj1)
13679 delete _arg1;
13680 }
13681 return _resultobj;
13682 }
13683
13684 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
13685 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13686 PyObject * _resultobj;
13687 wxGridCellRenderer * _result;
13688 wxGrid * _arg0;
13689 wxString * _arg1;
13690 PyObject * _argo0 = 0;
13691 PyObject * _obj1 = 0;
13692 char *_kwnames[] = { "self","typeName", NULL };
13693
13694 self = self;
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
13696 return NULL;
13697 if (_argo0) {
13698 if (_argo0 == Py_None) { _arg0 = NULL; }
13699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
13701 return NULL;
13702 }
13703 }
13704 {
13705 _arg1 = wxString_in_helper(_obj1);
13706 if (_arg1 == NULL)
13707 return NULL;
13708 }
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) return NULL;
13715 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
13716 {
13717 if (_obj1)
13718 delete _arg1;
13719 }
13720 return _resultobj;
13721 }
13722
13723 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
13724 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
13725 PyObject * _resultobj;
13726 wxGrid * _arg0;
13727 int _arg1;
13728 int _arg2;
13729 PyObject * _argo0 = 0;
13730 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
13731
13732 self = self;
13733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
13734 return NULL;
13735 if (_argo0) {
13736 if (_argo0 == Py_None) { _arg0 = NULL; }
13737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
13739 return NULL;
13740 }
13741 }
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 wxGrid_SetMargins(_arg0,_arg1,_arg2);
13745
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) return NULL;
13748 } Py_INCREF(Py_None);
13749 _resultobj = Py_None;
13750 return _resultobj;
13751 }
13752
13753 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
13754 static PyObject *_wrap_wxGrid_GetGridWindow(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_GetGridWindow",_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_GetGridWindow. Expected _wxGrid_p.");
13768 return NULL;
13769 }
13770 }
13771 {
13772 PyThreadState* __tstate = wxPyBeginAllowThreads();
13773 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
13774
13775 wxPyEndAllowThreads(__tstate);
13776 if (PyErr_Occurred()) return NULL;
13777 }{ _resultobj = wxPyMake_wxObject(_result); }
13778 return _resultobj;
13779 }
13780
13781 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
13782 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(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_GetGridRowLabelWindow",_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_GetGridRowLabelWindow. Expected _wxGrid_p.");
13796 return NULL;
13797 }
13798 }
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) return NULL;
13805 }{ _resultobj = wxPyMake_wxObject(_result); }
13806 return _resultobj;
13807 }
13808
13809 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
13810 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(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_GetGridColLabelWindow",_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_GetGridColLabelWindow. Expected _wxGrid_p.");
13824 return NULL;
13825 }
13826 }
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) return NULL;
13833 }{ _resultobj = wxPyMake_wxObject(_result); }
13834 return _resultobj;
13835 }
13836
13837 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
13838 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13839 PyObject * _resultobj;
13840 wxWindow * _result;
13841 wxGrid * _arg0;
13842 PyObject * _argo0 = 0;
13843 char *_kwnames[] = { "self", NULL };
13844
13845 self = self;
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
13847 return NULL;
13848 if (_argo0) {
13849 if (_argo0 == Py_None) { _arg0 = NULL; }
13850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13852 return NULL;
13853 }
13854 }
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
13858
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) return NULL;
13861 }{ _resultobj = wxPyMake_wxObject(_result); }
13862 return _resultobj;
13863 }
13864
13865 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
13866 wxGridEvent *src;
13867 wxNotifyEvent *dest;
13868 src = (wxGridEvent *) ptr;
13869 dest = (wxNotifyEvent *) src;
13870 return (void *) dest;
13871 }
13872
13873 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
13874 wxGridEvent *src;
13875 wxCommandEvent *dest;
13876 src = (wxGridEvent *) ptr;
13877 dest = (wxCommandEvent *) src;
13878 return (void *) dest;
13879 }
13880
13881 static void *SwigwxGridEventTowxEvent(void *ptr) {
13882 wxGridEvent *src;
13883 wxEvent *dest;
13884 src = (wxGridEvent *) ptr;
13885 dest = (wxEvent *) src;
13886 return (void *) dest;
13887 }
13888
13889 static void *SwigwxGridEventTowxObject(void *ptr) {
13890 wxGridEvent *src;
13891 wxObject *dest;
13892 src = (wxGridEvent *) ptr;
13893 dest = (wxObject *) src;
13894 return (void *) dest;
13895 }
13896
13897 #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))
13898 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13899 PyObject * _resultobj;
13900 wxGridEvent * _result;
13901 int _arg0;
13902 wxEventType _arg1;
13903 wxGrid * _arg2;
13904 int _arg3 = (int ) -1;
13905 int _arg4 = (int ) -1;
13906 int _arg5 = (int ) -1;
13907 int _arg6 = (int ) -1;
13908 bool _arg7 = (bool ) TRUE;
13909 bool _arg8 = (bool ) FALSE;
13910 bool _arg9 = (bool ) FALSE;
13911 bool _arg10 = (bool ) FALSE;
13912 bool _arg11 = (bool ) FALSE;
13913 PyObject * _argo2 = 0;
13914 int tempbool7 = (int) TRUE;
13915 int tempbool8 = (int) FALSE;
13916 int tempbool9 = (int) FALSE;
13917 int tempbool10 = (int) FALSE;
13918 int tempbool11 = (int) FALSE;
13919 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
13920 char _ptemp[128];
13921
13922 self = self;
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
13924 return NULL;
13925 if (_argo2) {
13926 if (_argo2 == Py_None) { _arg2 = NULL; }
13927 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13928 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13929 return NULL;
13930 }
13931 }
13932 _arg7 = (bool ) tempbool7;
13933 _arg8 = (bool ) tempbool8;
13934 _arg9 = (bool ) tempbool9;
13935 _arg10 = (bool ) tempbool10;
13936 _arg11 = (bool ) tempbool11;
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) return NULL;
13943 } if (_result) {
13944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
13945 _resultobj = Py_BuildValue("s",_ptemp);
13946 } else {
13947 Py_INCREF(Py_None);
13948 _resultobj = Py_None;
13949 }
13950 return _resultobj;
13951 }
13952
13953 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13954 static PyObject *_wrap_wxGridEvent_GetRow(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_GetRow",_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_GetRow. Expected _wxGridEvent_p.");
13968 return NULL;
13969 }
13970 }
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 _result = (int )wxGridEvent_GetRow(_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_GetCol(_swigobj) (_swigobj->GetCol())
13982 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13983 PyObject * _resultobj;
13984 int _result;
13985 wxGridEvent * _arg0;
13986 PyObject * _argo0 = 0;
13987 char *_kwnames[] = { "self", NULL };
13988
13989 self = self;
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
13991 return NULL;
13992 if (_argo0) {
13993 if (_argo0 == Py_None) { _arg0 = NULL; }
13994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13996 return NULL;
13997 }
13998 }
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 _result = (int )wxGridEvent_GetCol(_arg0);
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) return NULL;
14005 } _resultobj = Py_BuildValue("i",_result);
14006 return _resultobj;
14007 }
14008
14009 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
14010 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14011 PyObject * _resultobj;
14012 wxPoint * _result;
14013 wxGridEvent * _arg0;
14014 PyObject * _argo0 = 0;
14015 char *_kwnames[] = { "self", NULL };
14016 char _ptemp[128];
14017
14018 self = self;
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
14020 return NULL;
14021 if (_argo0) {
14022 if (_argo0 == Py_None) { _arg0 = NULL; }
14023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
14024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
14025 return NULL;
14026 }
14027 }
14028 {
14029 PyThreadState* __tstate = wxPyBeginAllowThreads();
14030 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
14031
14032 wxPyEndAllowThreads(__tstate);
14033 if (PyErr_Occurred()) return NULL;
14034 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
14035 _resultobj = Py_BuildValue("s",_ptemp);
14036 return _resultobj;
14037 }
14038
14039 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
14040 static PyObject *_wrap_wxGridEvent_Selecting(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_Selecting",_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_Selecting. Expected _wxGridEvent_p.");
14054 return NULL;
14055 }
14056 }
14057 {
14058 PyThreadState* __tstate = wxPyBeginAllowThreads();
14059 _result = (bool )wxGridEvent_Selecting(_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_ControlDown(_swigobj) (_swigobj->ControlDown())
14068 static PyObject *_wrap_wxGridEvent_ControlDown(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_ControlDown",_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_ControlDown. Expected _wxGridEvent_p.");
14082 return NULL;
14083 }
14084 }
14085 {
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 _result = (bool )wxGridEvent_ControlDown(_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_MetaDown(_swigobj) (_swigobj->MetaDown())
14096 static PyObject *_wrap_wxGridEvent_MetaDown(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_MetaDown",_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_MetaDown. Expected _wxGridEvent_p.");
14110 return NULL;
14111 }
14112 }
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 _result = (bool )wxGridEvent_MetaDown(_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_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14124 static PyObject *_wrap_wxGridEvent_ShiftDown(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_ShiftDown",_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_ShiftDown. Expected _wxGridEvent_p.");
14138 return NULL;
14139 }
14140 }
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 _result = (bool )wxGridEvent_ShiftDown(_arg0);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) return NULL;
14147 } _resultobj = Py_BuildValue("i",_result);
14148 return _resultobj;
14149 }
14150
14151 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
14152 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14153 PyObject * _resultobj;
14154 bool _result;
14155 wxGridEvent * _arg0;
14156 PyObject * _argo0 = 0;
14157 char *_kwnames[] = { "self", NULL };
14158
14159 self = self;
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
14161 return NULL;
14162 if (_argo0) {
14163 if (_argo0 == Py_None) { _arg0 = NULL; }
14164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
14165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
14166 return NULL;
14167 }
14168 }
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 _result = (bool )wxGridEvent_AltDown(_arg0);
14172
14173 wxPyEndAllowThreads(__tstate);
14174 if (PyErr_Occurred()) return NULL;
14175 } _resultobj = Py_BuildValue("i",_result);
14176 return _resultobj;
14177 }
14178
14179 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
14180 wxGridSizeEvent *src;
14181 wxNotifyEvent *dest;
14182 src = (wxGridSizeEvent *) ptr;
14183 dest = (wxNotifyEvent *) src;
14184 return (void *) dest;
14185 }
14186
14187 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
14188 wxGridSizeEvent *src;
14189 wxCommandEvent *dest;
14190 src = (wxGridSizeEvent *) ptr;
14191 dest = (wxCommandEvent *) src;
14192 return (void *) dest;
14193 }
14194
14195 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
14196 wxGridSizeEvent *src;
14197 wxEvent *dest;
14198 src = (wxGridSizeEvent *) ptr;
14199 dest = (wxEvent *) src;
14200 return (void *) dest;
14201 }
14202
14203 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
14204 wxGridSizeEvent *src;
14205 wxObject *dest;
14206 src = (wxGridSizeEvent *) ptr;
14207 dest = (wxObject *) src;
14208 return (void *) dest;
14209 }
14210
14211 #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))
14212 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14213 PyObject * _resultobj;
14214 wxGridSizeEvent * _result;
14215 int _arg0;
14216 wxEventType _arg1;
14217 wxGrid * _arg2;
14218 int _arg3 = (int ) -1;
14219 int _arg4 = (int ) -1;
14220 int _arg5 = (int ) -1;
14221 bool _arg6 = (bool ) FALSE;
14222 bool _arg7 = (bool ) FALSE;
14223 bool _arg8 = (bool ) FALSE;
14224 bool _arg9 = (bool ) FALSE;
14225 PyObject * _argo2 = 0;
14226 int tempbool6 = (int) FALSE;
14227 int tempbool7 = (int) FALSE;
14228 int tempbool8 = (int) FALSE;
14229 int tempbool9 = (int) FALSE;
14230 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
14231 char _ptemp[128];
14232
14233 self = self;
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
14235 return NULL;
14236 if (_argo2) {
14237 if (_argo2 == Py_None) { _arg2 = NULL; }
14238 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
14239 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
14240 return NULL;
14241 }
14242 }
14243 _arg6 = (bool ) tempbool6;
14244 _arg7 = (bool ) tempbool7;
14245 _arg8 = (bool ) tempbool8;
14246 _arg9 = (bool ) tempbool9;
14247 {
14248 PyThreadState* __tstate = wxPyBeginAllowThreads();
14249 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
14250
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) return NULL;
14253 } if (_result) {
14254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
14255 _resultobj = Py_BuildValue("s",_ptemp);
14256 } else {
14257 Py_INCREF(Py_None);
14258 _resultobj = Py_None;
14259 }
14260 return _resultobj;
14261 }
14262
14263 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
14264 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14265 PyObject * _resultobj;
14266 int _result;
14267 wxGridSizeEvent * _arg0;
14268 PyObject * _argo0 = 0;
14269 char *_kwnames[] = { "self", NULL };
14270
14271 self = self;
14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
14273 return NULL;
14274 if (_argo0) {
14275 if (_argo0 == Py_None) { _arg0 = NULL; }
14276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
14278 return NULL;
14279 }
14280 }
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) return NULL;
14287 } _resultobj = Py_BuildValue("i",_result);
14288 return _resultobj;
14289 }
14290
14291 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
14292 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14293 PyObject * _resultobj;
14294 wxPoint * _result;
14295 wxGridSizeEvent * _arg0;
14296 PyObject * _argo0 = 0;
14297 char *_kwnames[] = { "self", NULL };
14298 char _ptemp[128];
14299
14300 self = self;
14301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
14302 return NULL;
14303 if (_argo0) {
14304 if (_argo0 == Py_None) { _arg0 = NULL; }
14305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
14307 return NULL;
14308 }
14309 }
14310 {
14311 PyThreadState* __tstate = wxPyBeginAllowThreads();
14312 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
14313
14314 wxPyEndAllowThreads(__tstate);
14315 if (PyErr_Occurred()) return NULL;
14316 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
14317 _resultobj = Py_BuildValue("s",_ptemp);
14318 return _resultobj;
14319 }
14320
14321 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14322 static PyObject *_wrap_wxGridSizeEvent_ControlDown(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_ControlDown",_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_ControlDown. Expected _wxGridSizeEvent_p.");
14336 return NULL;
14337 }
14338 }
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 _result = (bool )wxGridSizeEvent_ControlDown(_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_MetaDown(_swigobj) (_swigobj->MetaDown())
14350 static PyObject *_wrap_wxGridSizeEvent_MetaDown(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_MetaDown",_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_MetaDown. Expected _wxGridSizeEvent_p.");
14364 return NULL;
14365 }
14366 }
14367 {
14368 PyThreadState* __tstate = wxPyBeginAllowThreads();
14369 _result = (bool )wxGridSizeEvent_MetaDown(_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_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14378 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(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_ShiftDown",_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_ShiftDown. Expected _wxGridSizeEvent_p.");
14392 return NULL;
14393 }
14394 }
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) return NULL;
14401 } _resultobj = Py_BuildValue("i",_result);
14402 return _resultobj;
14403 }
14404
14405 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
14406 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14407 PyObject * _resultobj;
14408 bool _result;
14409 wxGridSizeEvent * _arg0;
14410 PyObject * _argo0 = 0;
14411 char *_kwnames[] = { "self", NULL };
14412
14413 self = self;
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
14415 return NULL;
14416 if (_argo0) {
14417 if (_argo0 == Py_None) { _arg0 = NULL; }
14418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
14420 return NULL;
14421 }
14422 }
14423 {
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
14426
14427 wxPyEndAllowThreads(__tstate);
14428 if (PyErr_Occurred()) return NULL;
14429 } _resultobj = Py_BuildValue("i",_result);
14430 return _resultobj;
14431 }
14432
14433 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
14434 wxGridRangeSelectEvent *src;
14435 wxNotifyEvent *dest;
14436 src = (wxGridRangeSelectEvent *) ptr;
14437 dest = (wxNotifyEvent *) src;
14438 return (void *) dest;
14439 }
14440
14441 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
14442 wxGridRangeSelectEvent *src;
14443 wxCommandEvent *dest;
14444 src = (wxGridRangeSelectEvent *) ptr;
14445 dest = (wxCommandEvent *) src;
14446 return (void *) dest;
14447 }
14448
14449 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
14450 wxGridRangeSelectEvent *src;
14451 wxEvent *dest;
14452 src = (wxGridRangeSelectEvent *) ptr;
14453 dest = (wxEvent *) src;
14454 return (void *) dest;
14455 }
14456
14457 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
14458 wxGridRangeSelectEvent *src;
14459 wxObject *dest;
14460 src = (wxGridRangeSelectEvent *) ptr;
14461 dest = (wxObject *) src;
14462 return (void *) dest;
14463 }
14464
14465 #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))
14466 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14467 PyObject * _resultobj;
14468 wxGridRangeSelectEvent * _result;
14469 int _arg0;
14470 wxEventType _arg1;
14471 wxGrid * _arg2;
14472 wxGridCellCoords * _arg3;
14473 wxGridCellCoords * _arg4;
14474 bool _arg5 = (bool ) TRUE;
14475 bool _arg6 = (bool ) FALSE;
14476 bool _arg7 = (bool ) FALSE;
14477 bool _arg8 = (bool ) FALSE;
14478 bool _arg9 = (bool ) FALSE;
14479 PyObject * _argo2 = 0;
14480 wxGridCellCoords temp;
14481 PyObject * _obj3 = 0;
14482 wxGridCellCoords temp0;
14483 PyObject * _obj4 = 0;
14484 int tempbool5 = (int) TRUE;
14485 int tempbool6 = (int) FALSE;
14486 int tempbool7 = (int) FALSE;
14487 int tempbool8 = (int) FALSE;
14488 int tempbool9 = (int) FALSE;
14489 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
14490 char _ptemp[128];
14491
14492 self = self;
14493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
14494 return NULL;
14495 if (_argo2) {
14496 if (_argo2 == Py_None) { _arg2 = NULL; }
14497 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
14498 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
14499 return NULL;
14500 }
14501 }
14502 {
14503 _arg3 = &temp;
14504 if (! wxGridCellCoords_helper(_obj3, &_arg3))
14505 return NULL;
14506 }
14507 {
14508 _arg4 = &temp0;
14509 if (! wxGridCellCoords_helper(_obj4, &_arg4))
14510 return NULL;
14511 }
14512 _arg5 = (bool ) tempbool5;
14513 _arg6 = (bool ) tempbool6;
14514 _arg7 = (bool ) tempbool7;
14515 _arg8 = (bool ) tempbool8;
14516 _arg9 = (bool ) tempbool9;
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) return NULL;
14523 } if (_result) {
14524 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
14525 _resultobj = Py_BuildValue("s",_ptemp);
14526 } else {
14527 Py_INCREF(Py_None);
14528 _resultobj = Py_None;
14529 }
14530 return _resultobj;
14531 }
14532
14533 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
14534 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14535 PyObject * _resultobj;
14536 wxGridCellCoords * _result;
14537 wxGridRangeSelectEvent * _arg0;
14538 PyObject * _argo0 = 0;
14539 char *_kwnames[] = { "self", NULL };
14540 char _ptemp[128];
14541
14542 self = self;
14543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
14544 return NULL;
14545 if (_argo0) {
14546 if (_argo0 == Py_None) { _arg0 = NULL; }
14547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
14549 return NULL;
14550 }
14551 }
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) return NULL;
14558 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
14559 _resultobj = Py_BuildValue("s",_ptemp);
14560 return _resultobj;
14561 }
14562
14563 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
14564 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject * _resultobj;
14566 wxGridCellCoords * _result;
14567 wxGridRangeSelectEvent * _arg0;
14568 PyObject * _argo0 = 0;
14569 char *_kwnames[] = { "self", NULL };
14570 char _ptemp[128];
14571
14572 self = self;
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
14574 return NULL;
14575 if (_argo0) {
14576 if (_argo0 == Py_None) { _arg0 = NULL; }
14577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
14579 return NULL;
14580 }
14581 }
14582 {
14583 PyThreadState* __tstate = wxPyBeginAllowThreads();
14584 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
14585
14586 wxPyEndAllowThreads(__tstate);
14587 if (PyErr_Occurred()) return NULL;
14588 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
14589 _resultobj = Py_BuildValue("s",_ptemp);
14590 return _resultobj;
14591 }
14592
14593 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
14594 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(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_GetTopRow",_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_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
14608 return NULL;
14609 }
14610 }
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 _result = (int )wxGridRangeSelectEvent_GetTopRow(_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_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
14622 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(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_GetBottomRow",_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_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
14636 return NULL;
14637 }
14638 }
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_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_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
14650 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(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_GetLeftCol",_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_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
14664 return NULL;
14665 }
14666 }
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_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_GetRightCol(_swigobj) (_swigobj->GetRightCol())
14678 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14679 PyObject * _resultobj;
14680 int _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_GetRightCol",_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_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
14692 return NULL;
14693 }
14694 }
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 _result = (int )wxGridRangeSelectEvent_GetRightCol(_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_Selecting(_swigobj) (_swigobj->Selecting())
14706 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(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_Selecting",_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_Selecting. Expected _wxGridRangeSelectEvent_p.");
14720 return NULL;
14721 }
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 _result = (bool )wxGridRangeSelectEvent_Selecting(_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_ControlDown(_swigobj) (_swigobj->ControlDown())
14734 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(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_ControlDown",_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_ControlDown. Expected _wxGridRangeSelectEvent_p.");
14748 return NULL;
14749 }
14750 }
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 _result = (bool )wxGridRangeSelectEvent_ControlDown(_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_MetaDown(_swigobj) (_swigobj->MetaDown())
14762 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(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_MetaDown",_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_MetaDown. Expected _wxGridRangeSelectEvent_p.");
14776 return NULL;
14777 }
14778 }
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 _result = (bool )wxGridRangeSelectEvent_MetaDown(_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_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14790 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(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_ShiftDown",_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_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
14804 return NULL;
14805 }
14806 }
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
14810
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) return NULL;
14813 } _resultobj = Py_BuildValue("i",_result);
14814 return _resultobj;
14815 }
14816
14817 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
14818 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14819 PyObject * _resultobj;
14820 bool _result;
14821 wxGridRangeSelectEvent * _arg0;
14822 PyObject * _argo0 = 0;
14823 char *_kwnames[] = { "self", NULL };
14824
14825 self = self;
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
14827 return NULL;
14828 if (_argo0) {
14829 if (_argo0 == Py_None) { _arg0 = NULL; }
14830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
14832 return NULL;
14833 }
14834 }
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) return NULL;
14841 } _resultobj = Py_BuildValue("i",_result);
14842 return _resultobj;
14843 }
14844
14845 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
14846 wxGridEditorCreatedEvent *src;
14847 wxCommandEvent *dest;
14848 src = (wxGridEditorCreatedEvent *) ptr;
14849 dest = (wxCommandEvent *) src;
14850 return (void *) dest;
14851 }
14852
14853 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
14854 wxGridEditorCreatedEvent *src;
14855 wxEvent *dest;
14856 src = (wxGridEditorCreatedEvent *) ptr;
14857 dest = (wxEvent *) src;
14858 return (void *) dest;
14859 }
14860
14861 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
14862 wxGridEditorCreatedEvent *src;
14863 wxObject *dest;
14864 src = (wxGridEditorCreatedEvent *) ptr;
14865 dest = (wxObject *) src;
14866 return (void *) dest;
14867 }
14868
14869 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14870 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject * _resultobj;
14872 wxGridEditorCreatedEvent * _result;
14873 int _arg0;
14874 wxEventType _arg1;
14875 wxObject * _arg2;
14876 int _arg3;
14877 int _arg4;
14878 wxControl * _arg5;
14879 PyObject * _argo2 = 0;
14880 PyObject * _argo5 = 0;
14881 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
14882 char _ptemp[128];
14883
14884 self = self;
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
14886 return NULL;
14887 if (_argo2) {
14888 if (_argo2 == Py_None) { _arg2 = NULL; }
14889 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
14890 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14891 return NULL;
14892 }
14893 }
14894 if (_argo5) {
14895 if (_argo5 == Py_None) { _arg5 = NULL; }
14896 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
14897 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14898 return NULL;
14899 }
14900 }
14901 {
14902 PyThreadState* __tstate = wxPyBeginAllowThreads();
14903 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
14904
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) return NULL;
14907 } if (_result) {
14908 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
14909 _resultobj = Py_BuildValue("s",_ptemp);
14910 } else {
14911 Py_INCREF(Py_None);
14912 _resultobj = Py_None;
14913 }
14914 return _resultobj;
14915 }
14916
14917 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14918 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(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_GetRow",_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_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14932 return NULL;
14933 }
14934 }
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 _result = (int )wxGridEditorCreatedEvent_GetRow(_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_GetCol(_swigobj) (_swigobj->GetCol())
14946 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14947 PyObject * _resultobj;
14948 int _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_GetCol",_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_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14960 return NULL;
14961 }
14962 }
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) return NULL;
14969 } _resultobj = Py_BuildValue("i",_result);
14970 return _resultobj;
14971 }
14972
14973 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14974 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14975 PyObject * _resultobj;
14976 wxControl * _result;
14977 wxGridEditorCreatedEvent * _arg0;
14978 PyObject * _argo0 = 0;
14979 char *_kwnames[] = { "self", NULL };
14980
14981 self = self;
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
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_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14988 return NULL;
14989 }
14990 }
14991 {
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
14994
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) return NULL;
14997 }{ _resultobj = wxPyMake_wxObject(_result); }
14998 return _resultobj;
14999 }
15000
15001 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
15002 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
15003 PyObject * _resultobj;
15004 wxGridEditorCreatedEvent * _arg0;
15005 int _arg1;
15006 PyObject * _argo0 = 0;
15007 char *_kwnames[] = { "self","row", NULL };
15008
15009 self = self;
15010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
15011 return NULL;
15012 if (_argo0) {
15013 if (_argo0 == Py_None) { _arg0 = NULL; }
15014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
15015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
15016 return NULL;
15017 }
15018 }
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
15022
15023 wxPyEndAllowThreads(__tstate);
15024 if (PyErr_Occurred()) return NULL;
15025 } Py_INCREF(Py_None);
15026 _resultobj = Py_None;
15027 return _resultobj;
15028 }
15029
15030 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
15031 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
15032 PyObject * _resultobj;
15033 wxGridEditorCreatedEvent * _arg0;
15034 int _arg1;
15035 PyObject * _argo0 = 0;
15036 char *_kwnames[] = { "self","col", NULL };
15037
15038 self = self;
15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
15040 return NULL;
15041 if (_argo0) {
15042 if (_argo0 == Py_None) { _arg0 = NULL; }
15043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
15044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
15045 return NULL;
15046 }
15047 }
15048 {
15049 PyThreadState* __tstate = wxPyBeginAllowThreads();
15050 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
15051
15052 wxPyEndAllowThreads(__tstate);
15053 if (PyErr_Occurred()) return NULL;
15054 } Py_INCREF(Py_None);
15055 _resultobj = Py_None;
15056 return _resultobj;
15057 }
15058
15059 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
15060 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15061 PyObject * _resultobj;
15062 wxGridEditorCreatedEvent * _arg0;
15063 wxControl * _arg1;
15064 PyObject * _argo0 = 0;
15065 PyObject * _argo1 = 0;
15066 char *_kwnames[] = { "self","ctrl", NULL };
15067
15068 self = self;
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
15070 return NULL;
15071 if (_argo0) {
15072 if (_argo0 == Py_None) { _arg0 = NULL; }
15073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
15074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
15075 return NULL;
15076 }
15077 }
15078 if (_argo1) {
15079 if (_argo1 == Py_None) { _arg1 = NULL; }
15080 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
15081 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
15082 return NULL;
15083 }
15084 }
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) return NULL;
15091 } Py_INCREF(Py_None);
15092 _resultobj = Py_None;
15093 return _resultobj;
15094 }
15095
15096 static PyMethodDef gridcMethods[] = {
15097 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
15098 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
15099 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
15100 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
15101 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15102 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15103 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
15104 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15105 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15106 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15107 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15108 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15109 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
15110 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
15111 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
15112 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
15113 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
15114 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
15115 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
15116 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15117 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15118 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15119 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15120 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15121 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
15122 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
15123 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
15124 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
15125 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
15126 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
15127 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
15128 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
15129 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
15130 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
15131 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
15132 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
15133 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
15134 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
15135 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
15136 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
15137 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
15138 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
15139 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
15140 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
15141 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
15142 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15143 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15144 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
15145 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
15146 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
15147 { "wxGrid_DeselectCell", (PyCFunction) _wrap_wxGrid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
15148 { "wxGrid_DeselectCol", (PyCFunction) _wrap_wxGrid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
15149 { "wxGrid_DeselectRow", (PyCFunction) _wrap_wxGrid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
15150 { "wxGrid_GetSelectedCols", (PyCFunction) _wrap_wxGrid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
15151 { "wxGrid_GetSelectedRows", (PyCFunction) _wrap_wxGrid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
15152 { "wxGrid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_wxGrid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
15153 { "wxGrid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_wxGrid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
15154 { "wxGrid_GetSelectedCells", (PyCFunction) _wrap_wxGrid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
15155 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
15156 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
15157 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
15158 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
15159 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
15160 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
15161 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
15162 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15163 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15164 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
15165 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
15166 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
15167 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15168 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
15169 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
15170 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15171 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15172 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
15173 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
15174 { "wxGrid_SetCellSize", (PyCFunction) _wrap_wxGrid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
15175 { "wxGrid_SetCellOverflow", (PyCFunction) _wrap_wxGrid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15176 { "wxGrid_SetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15177 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15178 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15179 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
15180 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15181 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15182 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15183 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15184 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15185 { "wxGrid_GetRowMinimalAcceptableHeight", (PyCFunction) _wrap_wxGrid_GetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15186 { "wxGrid_GetColMinimalAcceptableWidth", (PyCFunction) _wrap_wxGrid_GetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15187 { "wxGrid_SetRowMinimalAcceptableHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalAcceptableHeight, METH_VARARGS | METH_KEYWORDS },
15188 { "wxGrid_SetColMinimalAcceptableWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalAcceptableWidth, METH_VARARGS | METH_KEYWORDS },
15189 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
15190 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
15191 { "wxGrid_AutoSizeColLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
15192 { "wxGrid_AutoSizeRowLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15193 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
15194 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
15195 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
15196 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
15197 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
15198 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
15199 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15200 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
15201 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15202 { "wxGrid_GetCellSize", (PyCFunction) _wrap_wxGrid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
15203 { "wxGrid_GetCellOverflow", (PyCFunction) _wrap_wxGrid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
15204 { "wxGrid_GetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
15205 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
15206 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
15207 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
15208 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
15209 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
15210 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
15211 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15212 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15213 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
15214 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
15215 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
15216 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
15217 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
15218 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
15219 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
15220 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
15221 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
15222 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
15223 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15224 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15225 { "wxGrid_SetAttr", (PyCFunction) _wrap_wxGrid_SetAttr, METH_VARARGS | METH_KEYWORDS },
15226 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
15227 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15228 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
15229 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
15230 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
15231 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
15232 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
15233 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15234 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
15235 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15236 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15237 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15238 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15239 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15240 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15241 { "wxGrid_SetColLabelTextOrientation", (PyCFunction) _wrap_wxGrid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15242 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15243 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15244 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
15245 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15246 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15247 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15248 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15249 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
15250 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
15251 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
15252 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
15253 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15254 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15255 { "wxGrid_GetColLabelTextOrientation", (PyCFunction) _wrap_wxGrid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
15256 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15257 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
15258 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
15259 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
15260 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15261 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
15262 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
15263 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15264 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
15265 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
15266 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
15267 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
15268 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
15269 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
15270 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
15271 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
15272 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
15273 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
15274 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
15275 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
15276 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
15277 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
15278 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
15279 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
15280 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
15281 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
15282 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
15283 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
15284 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
15285 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
15286 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
15287 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
15288 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
15289 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
15290 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
15291 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
15292 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
15293 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15294 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
15295 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
15296 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
15297 { "wxGrid_Refresh", (PyCFunction) _wrap_wxGrid_Refresh, METH_VARARGS | METH_KEYWORDS },
15298 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
15299 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
15300 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
15301 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
15302 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
15303 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
15304 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
15305 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15306 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
15307 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
15308 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15309 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
15310 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
15311 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
15312 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
15313 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
15314 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
15315 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15316 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15317 { "wxGrid_GetSelectionMode", (PyCFunction) _wrap_wxGrid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15318 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
15319 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
15320 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
15321 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
15322 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
15323 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
15324 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
15325 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
15326 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
15327 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
15328 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
15329 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
15330 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15331 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
15332 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
15333 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
15334 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
15335 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
15336 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15337 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15338 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
15339 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
15340 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
15341 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15342 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15343 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15344 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15345 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15346 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15347 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15348 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15349 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15350 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15351 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15352 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15353 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15354 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15355 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15356 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15357 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15358 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15359 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15360 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15361 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15362 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15363 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15364 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15365 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15366 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15367 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15368 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15369 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15370 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15371 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15372 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15373 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15374 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15375 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15376 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15377 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15378 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15379 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15380 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15381 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15382 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15383 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15384 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15385 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15386 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15387 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15388 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15389 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15390 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15391 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15392 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15393 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15394 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15395 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15396 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15397 { "wxGridTableBase__setOORInfo", (PyCFunction) _wrap_wxGridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15398 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15399 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15400 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15401 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15402 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15403 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15404 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15405 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15406 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15407 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15408 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15409 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15410 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_wxGridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15411 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15412 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15413 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15414 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15415 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15416 { "wxGridCellAttr_GetOverflow", (PyCFunction) _wrap_wxGridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15417 { "wxGridCellAttr_GetSize", (PyCFunction) _wrap_wxGridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15418 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15419 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15420 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15421 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15422 { "wxGridCellAttr_HasOverflowMode", (PyCFunction) _wrap_wxGridCellAttr_HasOverflowMode, METH_VARARGS | METH_KEYWORDS },
15423 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15424 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15425 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15426 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15427 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15428 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15429 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15430 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15431 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15432 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15433 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15434 { "wxGridCellAttr_SetOverflow", (PyCFunction) _wrap_wxGridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15435 { "wxGridCellAttr_SetSize", (PyCFunction) _wrap_wxGridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15436 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15437 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15438 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15439 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15440 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15441 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15442 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15443 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15444 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
15445 { "wxGridCellAttr__setOORInfo", (PyCFunction) _wrap_wxGridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15446 { "wxGridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_wxGridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15447 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15448 { "wxGridCellEnumEditor_GetValue", (PyCFunction) _wrap_wxGridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15449 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15450 { "wxGridCellChoiceEditor_GetValue", (PyCFunction) _wrap_wxGridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15451 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15452 { "wxGridCellBoolEditor_GetValue", (PyCFunction) _wrap_wxGridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15453 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15454 { "wxGridCellFloatEditor_GetValue", (PyCFunction) _wrap_wxGridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15455 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15456 { "wxGridCellNumberEditor_GetValue", (PyCFunction) _wrap_wxGridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15457 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15458 { "wxGridCellTextEditor_GetValue", (PyCFunction) _wrap_wxGridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15459 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15460 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15461 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15462 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15463 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15464 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15465 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15466 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15467 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15468 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15469 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15470 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15471 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15472 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15473 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15474 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15475 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15476 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15477 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15478 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15479 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15480 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15481 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15482 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15483 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15484 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15485 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15486 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15487 { "wxGridCellEditor_SetCellAttr", (PyCFunction) _wrap_wxGridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15488 { "wxGridCellEditor_GetCellAttr", (PyCFunction) _wrap_wxGridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15489 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15490 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15491 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15492 { "wxGridCellEditor__setOORInfo", (PyCFunction) _wrap_wxGridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15493 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15494 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15495 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15496 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15497 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15498 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15499 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15500 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15501 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15502 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15503 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15504 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15505 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15506 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15507 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15508 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15509 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15510 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15511 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15512 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15513 { "wxGridCellRenderer__setOORInfo", (PyCFunction) _wrap_wxGridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15514 { NULL, NULL }
15515 };
15516 #ifdef __cplusplus
15517 }
15518 #endif
15519 /*
15520 * This table is used by the pointer type-checker
15521 */
15522 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
15523 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
15524 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
15525 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
15526 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
15527 { "_signed_long","_long",0},
15528 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
15529 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
15530 { "_wxPrintQuality","_wxCoord",0},
15531 { "_wxPrintQuality","_int",0},
15532 { "_wxPrintQuality","_signed_int",0},
15533 { "_wxPrintQuality","_unsigned_int",0},
15534 { "_wxPrintQuality","_wxWindowID",0},
15535 { "_wxPrintQuality","_uint",0},
15536 { "_wxPrintQuality","_EBool",0},
15537 { "_wxPrintQuality","_size_t",0},
15538 { "_wxPrintQuality","_time_t",0},
15539 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
15540 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
15541 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
15542 { "_byte","_unsigned_char",0},
15543 { "_long","_unsigned_long",0},
15544 { "_long","_signed_long",0},
15545 { "_size_t","_WXGRIDSELECTIONMODES",0},
15546 { "_size_t","_wxCoord",0},
15547 { "_size_t","_wxPrintQuality",0},
15548 { "_size_t","_time_t",0},
15549 { "_size_t","_unsigned_int",0},
15550 { "_size_t","_int",0},
15551 { "_size_t","_wxWindowID",0},
15552 { "_size_t","_uint",0},
15553 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
15554 { "_uint","_WXGRIDSELECTIONMODES",0},
15555 { "_uint","_wxCoord",0},
15556 { "_uint","_wxPrintQuality",0},
15557 { "_uint","_time_t",0},
15558 { "_uint","_size_t",0},
15559 { "_uint","_unsigned_int",0},
15560 { "_uint","_int",0},
15561 { "_uint","_wxWindowID",0},
15562 { "_wxChar","_char",0},
15563 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
15564 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
15565 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
15566 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
15567 { "_char","_wxChar",0},
15568 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
15569 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
15570 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
15571 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
15572 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
15573 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
15574 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
15575 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
15576 { "_EBool","_WXGRIDSELECTIONMODES",0},
15577 { "_EBool","_wxCoord",0},
15578 { "_EBool","_wxPrintQuality",0},
15579 { "_EBool","_signed_int",0},
15580 { "_EBool","_int",0},
15581 { "_EBool","_wxWindowID",0},
15582 { "_unsigned_long","_long",0},
15583 { "_WXGRIDSELECTIONMODES","_int",0},
15584 { "_WXGRIDSELECTIONMODES","_signed_int",0},
15585 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
15586 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
15587 { "_WXGRIDSELECTIONMODES","_uint",0},
15588 { "_WXGRIDSELECTIONMODES","_EBool",0},
15589 { "_WXGRIDSELECTIONMODES","_size_t",0},
15590 { "_WXGRIDSELECTIONMODES","_time_t",0},
15591 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
15592 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
15593 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
15594 { "_signed_int","_WXGRIDSELECTIONMODES",0},
15595 { "_signed_int","_wxCoord",0},
15596 { "_signed_int","_wxPrintQuality",0},
15597 { "_signed_int","_EBool",0},
15598 { "_signed_int","_wxWindowID",0},
15599 { "_signed_int","_int",0},
15600 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
15601 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
15602 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
15603 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
15604 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
15605 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
15606 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
15607 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
15608 { "_WXTYPE","_short",0},
15609 { "_WXTYPE","_signed_short",0},
15610 { "_WXTYPE","_unsigned_short",0},
15611 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
15612 { "_unsigned_short","_WXTYPE",0},
15613 { "_unsigned_short","_short",0},
15614 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
15615 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
15616 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
15617 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
15618 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
15619 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
15620 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
15621 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
15622 { "_signed_short","_WXTYPE",0},
15623 { "_signed_short","_short",0},
15624 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
15625 { "_unsigned_char","_byte",0},
15626 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
15627 { "_unsigned_int","_wxCoord",0},
15628 { "_unsigned_int","_wxPrintQuality",0},
15629 { "_unsigned_int","_time_t",0},
15630 { "_unsigned_int","_size_t",0},
15631 { "_unsigned_int","_uint",0},
15632 { "_unsigned_int","_wxWindowID",0},
15633 { "_unsigned_int","_int",0},
15634 { "_short","_WXTYPE",0},
15635 { "_short","_unsigned_short",0},
15636 { "_short","_signed_short",0},
15637 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
15638 { "_wxWindowID","_wxCoord",0},
15639 { "_wxWindowID","_wxPrintQuality",0},
15640 { "_wxWindowID","_time_t",0},
15641 { "_wxWindowID","_size_t",0},
15642 { "_wxWindowID","_EBool",0},
15643 { "_wxWindowID","_uint",0},
15644 { "_wxWindowID","_int",0},
15645 { "_wxWindowID","_signed_int",0},
15646 { "_wxWindowID","_unsigned_int",0},
15647 { "_int","_WXGRIDSELECTIONMODES",0},
15648 { "_int","_wxCoord",0},
15649 { "_int","_wxPrintQuality",0},
15650 { "_int","_time_t",0},
15651 { "_int","_size_t",0},
15652 { "_int","_EBool",0},
15653 { "_int","_uint",0},
15654 { "_int","_wxWindowID",0},
15655 { "_int","_unsigned_int",0},
15656 { "_int","_signed_int",0},
15657 { "_time_t","_WXGRIDSELECTIONMODES",0},
15658 { "_time_t","_wxCoord",0},
15659 { "_time_t","_wxPrintQuality",0},
15660 { "_time_t","_unsigned_int",0},
15661 { "_time_t","_int",0},
15662 { "_time_t","_wxWindowID",0},
15663 { "_time_t","_uint",0},
15664 { "_time_t","_size_t",0},
15665 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
15666 { "_wxCoord","_int",0},
15667 { "_wxCoord","_signed_int",0},
15668 { "_wxCoord","_unsigned_int",0},
15669 { "_wxCoord","_wxWindowID",0},
15670 { "_wxCoord","_uint",0},
15671 { "_wxCoord","_EBool",0},
15672 { "_wxCoord","_size_t",0},
15673 { "_wxCoord","_time_t",0},
15674 { "_wxCoord","_wxPrintQuality",0},
15675 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
15676 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
15677 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
15678 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
15679 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
15680 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
15681 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
15682 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
15683 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
15684 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
15685 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
15686 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
15687 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
15688 {0,0,0}};
15689
15690 static PyObject *SWIG_globals;
15691 #ifdef __cplusplus
15692 extern "C"
15693 #endif
15694 SWIGEXPORT(void) initgridc() {
15695 PyObject *m, *d;
15696 SWIG_globals = SWIG_newvarlink();
15697 m = Py_InitModule("gridc", gridcMethods);
15698 d = PyModule_GetDict(m);
15699 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
15700 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
15701 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
15702 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
15703 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
15704 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
15705 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
15706 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
15707 PyDict_SetItemString(d,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
15708 PyDict_SetItemString(d,"cvar", SWIG_globals);
15709 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
15710 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
15711 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
15712 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
15713 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
15714 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
15715 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
15716 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
15717 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
15718 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
15719 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
15720 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
15721 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
15722 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
15723 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
15724 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
15725 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
15726 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
15727 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
15728 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
15729 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
15730 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
15731 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
15732 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
15733 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
15734 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
15735
15736 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
15737 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
15738 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
15739 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
15740 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
15741 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
15742 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
15743 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
15744 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
15745 {
15746 int i;
15747 for (i = 0; _swig_mapping[i].n1; i++)
15748 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
15749 }
15750 }