]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/grid.cpp
corrected several errors when generating project file with all configs
[wxWidgets.git] / wxPython / src / msw / grid.cpp
1 /*
2 * FILE : src/msw/grid.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initgridc
55
56 #define SWIG_name "gridc"
57
58 #include "wxPython.h"
59 #include <wx/grid.h>
60 #include <wx/generic/gridctrl.h>
61
62
63 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyTuple_Check(target)) {
74 o2 = target;
75 target = PyTuple_New(1);
76 PyTuple_SetItem(target, 0, o2);
77 }
78 o3 = PyTuple_New(1);
79 PyTuple_SetItem(o3, 0, o);
80
81 o2 = target;
82 target = PySequence_Concat(o2, o3);
83 Py_DECREF(o2);
84 Py_DECREF(o3);
85 }
86 return target;
87 }
88
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr);
91 DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c"));
92 static const wxString wxPyEmptyString(wxT(""));
93
94
95 #define wxPyMake_TEMPLATE(TYPE) \
96 PyObject* wxPyMake_##TYPE(TYPE* source) { \
97 PyObject* target = NULL; \
98 if (source) { \
99 /* Check if there is already a pointer to a Python object in the \
100 OOR data that we can use. */ \
101 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
102 if (data) { \
103 target = data->m_obj; \
104 Py_INCREF(target); \
105 } \
106 /* Otherwise make a new wrapper for it the old fashioned way and \
107 give it the OOR treatment */ \
108 if (! target) { \
109 target = wxPyConstructObject(source, #TYPE, FALSE); \
110 if (target) \
111 source->SetClientObject(new wxPyOORClientData(target)); \
112 } \
113 } else { /* source was NULL so return None. */ \
114 Py_INCREF(Py_None); target = Py_None; \
115 } \
116 return target; \
117 } \
118
119
120 wxPyMake_TEMPLATE(wxGridCellRenderer)
121 wxPyMake_TEMPLATE(wxGridCellEditor)
122 wxPyMake_TEMPLATE(wxGridCellAttr)
123 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
124 wxPyMake_TEMPLATE(wxGridTableBase)
125
126
127 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
128 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
129 wxGridCellAttr* rval = NULL; \
130 bool found; \
131 wxPyBeginBlockThreads(); \
132 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
133 PyObject* ro; \
134 wxGridCellAttr* ptr; \
135 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
136 if (ro) { \
137 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
138 rval = ptr; \
139 Py_DECREF(ro); \
140 } \
141 } \
142 wxPyEndBlockThreads(); \
143 if (! found) \
144 rval = PCLASS::CBNAME(a, b, c); \
145 return rval; \
146 } \
147 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
148 return PCLASS::CBNAME(a, b, c); \
149 }
150
151
152
153 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
154 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
155 wxPyBeginBlockThreads(); \
156 bool found; \
157 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
158 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
159 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
160 Py_DECREF(obj); \
161 } \
162 wxPyEndBlockThreads(); \
163 if (! found) \
164 PCLASS::CBNAME(attr, a, b); \
165 } \
166 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
167 PCLASS::CBNAME(attr, a, b); \
168 }
169
170
171
172 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
173 void CBNAME(wxGridCellAttr *attr, int val) { \
174 wxPyBeginBlockThreads(); \
175 bool found; \
176 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
177 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
178 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
179 Py_DECREF(obj); \
180 } \
181 wxPyEndBlockThreads(); \
182 if (! found) \
183 PCLASS::CBNAME(attr, val); \
184 } \
185 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
186 PCLASS::CBNAME(attr, val); \
187 }
188
189
190
191 #define PYCALLBACK_INT__pure(CBNAME) \
192 int CBNAME() { \
193 wxPyBeginBlockThreads(); \
194 int rval = 0; \
195 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
196 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
197 wxPyEndBlockThreads(); \
198 return rval; \
199 }
200
201
202
203 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
204 bool CBNAME(int a, int b) { \
205 wxPyBeginBlockThreads(); \
206 bool rval = 0; \
207 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
208 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
209 wxPyEndBlockThreads(); \
210 return rval; \
211 }
212
213
214 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
215 wxString CBNAME(int a, int b) { \
216 wxPyBeginBlockThreads(); \
217 wxString rval; \
218 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
219 PyObject* ro; \
220 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
221 if (ro) { \
222 rval = Py2wxString(ro); \
223 Py_DECREF(ro); \
224 } \
225 } \
226 wxPyEndBlockThreads(); \
227 return rval; \
228 }
229
230
231 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
232 void CBNAME(int a, int b, const wxString& c) { \
233 wxPyBeginBlockThreads(); \
234 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
235 PyObject* s = wx2PyString(c); \
236 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
237 Py_DECREF(s); \
238 } \
239 wxPyEndBlockThreads(); \
240 }
241
242
243 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
244 wxString CBNAME(int a, int b) { \
245 bool found; \
246 wxPyBeginBlockThreads(); \
247 wxString rval; \
248 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
249 PyObject* ro; \
250 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
251 if (ro) { \
252 rval = Py2wxString(ro); \
253 Py_DECREF(ro); \
254 } \
255 } \
256 wxPyEndBlockThreads(); \
257 if (! found) \
258 rval = PCLASS::CBNAME(a, b); \
259 return rval; \
260 } \
261 wxString base_##CBNAME(int a, int b) { \
262 return PCLASS::CBNAME(a, b); \
263 }
264
265
266 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
267 bool CBNAME(int a, int b, const wxString& c) { \
268 bool rval = 0; \
269 bool found; \
270 wxPyBeginBlockThreads(); \
271 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
272 PyObject* s = wx2PyString(c); \
273 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
274 Py_DECREF(s); \
275 } \
276 wxPyEndBlockThreads(); \
277 if (! found) \
278 rval = PCLASS::CBNAME(a,b,c); \
279 return rval; \
280 } \
281 bool base_##CBNAME(int a, int b, const wxString& c) { \
282 return PCLASS::CBNAME(a,b,c); \
283 }
284
285
286
287
288 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
289 long CBNAME(int a, int b) { \
290 long rval; \
291 bool found; \
292 wxPyBeginBlockThreads(); \
293 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
294 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
295 wxPyEndBlockThreads(); \
296 if (! found) \
297 rval = PCLASS::CBNAME(a,b); \
298 return rval; \
299 } \
300 long base_##CBNAME(int a, int b) { \
301 return PCLASS::CBNAME(a,b); \
302 }
303
304
305
306 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
307 bool CBNAME(int a, int b) { \
308 bool rval = 0; \
309 bool found; \
310 wxPyBeginBlockThreads(); \
311 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
312 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
313 wxPyEndBlockThreads(); \
314 if (! found) \
315 rval = PCLASS::CBNAME(a,b); \
316 return rval; \
317 } \
318 bool base_##CBNAME(int a, int b) { \
319 return PCLASS::CBNAME(a,b); \
320 }
321
322
323
324 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
325 double CBNAME(int a, int b) { \
326 bool found; \
327 wxPyBeginBlockThreads(); \
328 double rval; \
329 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
330 PyObject* ro; \
331 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
332 if (ro) { \
333 PyObject* str = PyObject_Str(ro); \
334 rval = PyFloat_AsDouble(str); \
335 Py_DECREF(ro); Py_DECREF(str); \
336 } \
337 } \
338 wxPyEndBlockThreads(); \
339 if (! found) \
340 rval = PCLASS::CBNAME(a, b); \
341 return rval; \
342 } \
343 double base_##CBNAME(int a, int b) { \
344 return PCLASS::CBNAME(a, b); \
345 }
346
347
348
349 #define PYCALLBACK__(PCLASS, CBNAME) \
350 void CBNAME() { \
351 bool found; \
352 wxPyBeginBlockThreads(); \
353 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
354 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
355 wxPyEndBlockThreads(); \
356 if (! found) \
357 PCLASS::CBNAME(); \
358 } \
359 void base_##CBNAME() { \
360 PCLASS::CBNAME(); \
361 }
362
363
364
365
366 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
367 bool CBNAME(size_t a, size_t b) { \
368 bool rval = 0; \
369 bool found; \
370 wxPyBeginBlockThreads(); \
371 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
372 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
373 wxPyEndBlockThreads(); \
374 if (! found) \
375 rval = PCLASS::CBNAME(a,b); \
376 return rval; \
377 } \
378 bool base_##CBNAME(size_t a, size_t b) { \
379 return PCLASS::CBNAME(a,b); \
380 }
381
382
383
384 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
385 bool CBNAME(size_t a) { \
386 bool rval = 0; \
387 bool found; \
388 wxPyBeginBlockThreads(); \
389 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
390 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
391 wxPyEndBlockThreads(); \
392 if (! found) \
393 rval = PCLASS::CBNAME(a); \
394 return rval; \
395 } \
396 bool base_##CBNAME(size_t a) { \
397 return PCLASS::CBNAME(a); \
398 }
399
400
401 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
402 wxString CBNAME(int a) { \
403 bool found; \
404 wxPyBeginBlockThreads(); \
405 wxString rval; \
406 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
407 PyObject* ro; \
408 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
409 if (ro) { \
410 rval = Py2wxString(ro); \
411 Py_DECREF(ro); \
412 } \
413 } \
414 wxPyEndBlockThreads(); \
415 if (! found) \
416 rval = PCLASS::CBNAME(a); \
417 return rval; \
418 } \
419 wxString base_##CBNAME(int a) { \
420 return PCLASS::CBNAME(a); \
421 }
422
423
424 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
425 void CBNAME(int a, const wxString& c) { \
426 bool found; \
427 wxPyBeginBlockThreads(); \
428 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
429 PyObject* s = wx2PyString(c); \
430 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
431 Py_DECREF(s); \
432 } \
433 wxPyEndBlockThreads(); \
434 if (! found) \
435 PCLASS::CBNAME(a,c); \
436 } \
437 void base_##CBNAME(int a, const wxString& c) { \
438 PCLASS::CBNAME(a,c); \
439 }
440
441
442
443
444 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
445 bool CBNAME() { \
446 bool rval = 0; \
447 bool found; \
448 wxPyBeginBlockThreads(); \
449 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
450 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
451 wxPyEndBlockThreads(); \
452 if (! found) \
453 rval = PCLASS::CBNAME(); \
454 return rval; \
455 } \
456 bool base_##CBNAME() { \
457 return PCLASS::CBNAME(); \
458 }
459
460
461
462 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
463 void CBNAME(size_t a, int b) { \
464 bool found; \
465 wxPyBeginBlockThreads(); \
466 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
467 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
468 wxPyEndBlockThreads(); \
469 if (! found) \
470 PCLASS::CBNAME(a,b); \
471 } \
472 void base_##CBNAME(size_t a, int b) { \
473 PCLASS::CBNAME(a,b); \
474 }
475
476
477
478
479 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
480 void CBNAME(int a, int b, long c) { \
481 bool found; \
482 wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
484 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
485 wxPyEndBlockThreads(); \
486 if (! found) \
487 PCLASS::CBNAME(a,b,c); \
488 } \
489 void base_##CBNAME(int a, int b, long c) { \
490 PCLASS::CBNAME(a,b,c); \
491 }
492
493
494
495
496 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
497 void CBNAME(int a, int b, double c) { \
498 bool found; \
499 wxPyBeginBlockThreads(); \
500 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
501 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
502 wxPyEndBlockThreads(); \
503 if (! found) \
504 PCLASS::CBNAME(a,b,c); \
505 } \
506 void base_##CBNAME(int a, int b, double c) { \
507 PCLASS::CBNAME(a,b,c); \
508 }
509
510
511
512 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
513 void CBNAME(int a, int b, bool c) { \
514 bool found; \
515 wxPyBeginBlockThreads(); \
516 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
517 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
518 wxPyEndBlockThreads(); \
519 if (! found) \
520 PCLASS::CBNAME(a,b,c); \
521 } \
522 void base_##CBNAME(int a, int b, bool c) { \
523 PCLASS::CBNAME(a,b,c); \
524 }
525
526
527
528
529
530 class wxPyGridCellRenderer : public wxGridCellRenderer
531 {
532 public:
533 wxPyGridCellRenderer() : wxGridCellRenderer() {};
534
535 // Implement Python callback aware virtual methods
536 void Draw(wxGrid& grid, wxGridCellAttr& attr,
537 wxDC& dc, const wxRect& rect,
538 int row, int col, bool isSelected) {
539 wxPyBeginBlockThreads();
540 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
541 PyObject* go = wxPyMake_wxObject(&grid);
542 PyObject* dco = wxPyMake_wxObject(&dc);
543 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
544 PyObject* ro = wxPyConstructObject((void*)&rect, "wxRect", 0);
545
546 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
547 row, col, isSelected));
548 Py_DECREF(go);
549 Py_DECREF(ao);
550 Py_DECREF(dco);
551 Py_DECREF(ro);
552 }
553 wxPyEndBlockThreads();
554 }
555
556 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
557 int row, int col) {
558 wxSize rval;
559 wxPyBeginBlockThreads();
560 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
561 PyObject* ro;
562 wxSize* ptr;
563 PyObject* go = wxPyMake_wxObject(&grid);
564 PyObject* dco = wxPyMake_wxObject(&dc);
565 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
566
567 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
568 go, ao, dco,
569 row, col));
570 Py_DECREF(go);
571 Py_DECREF(ao);
572 Py_DECREF(dco);
573
574 if (ro) {
575 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
576 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) {
577 rval = *ptr;
578 }
579 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
580 PyObject* o1 = PySequence_GetItem(ro, 0);
581 PyObject* o2 = PySequence_GetItem(ro, 1);
582 if (PyNumber_Check(o1) && PyNumber_Check(o2))
583 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
584 else
585 PyErr_SetString(PyExc_TypeError, errmsg);
586 Py_DECREF(o1);
587 Py_DECREF(o2);
588 }
589 else {
590 PyErr_SetString(PyExc_TypeError, errmsg);
591 }
592 Py_DECREF(ro);
593 }
594 }
595 wxPyEndBlockThreads();
596 return rval;
597 }
598
599
600 wxGridCellRenderer *Clone() const {
601 wxGridCellRenderer* rval = NULL;
602 wxPyBeginBlockThreads();
603 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
604 PyObject* ro;
605 wxGridCellRenderer* ptr;
606 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
607 if (ro) {
608 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
609 rval = ptr;
610 Py_DECREF(ro);
611 }
612 }
613 wxPyEndBlockThreads();
614 return rval;
615 }
616
617 DEC_PYCALLBACK__STRING(SetParameters);
618
619 PYPRIVATE;
620 };
621
622 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
623
624
625 class wxPyGridCellEditor : public wxGridCellEditor
626 {
627 public:
628 wxPyGridCellEditor() : wxGridCellEditor() {}
629
630 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
631 wxPyBeginBlockThreads();
632 if (wxPyCBH_findCallback(m_myInst, "Create")) {
633 PyObject* po = wxPyMake_wxObject(parent);
634 PyObject* eo = wxPyMake_wxObject(evtHandler);
635
636 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
637 Py_DECREF(po);
638 Py_DECREF(eo);
639 }
640 wxPyEndBlockThreads();
641 }
642
643
644 void BeginEdit(int row, int col, wxGrid* grid) {
645 wxPyBeginBlockThreads();
646 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
647 PyObject* go = wxPyMake_wxObject(grid);
648 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
649 Py_DECREF(go);
650 }
651 wxPyEndBlockThreads();
652 }
653
654
655 bool EndEdit(int row, int col, wxGrid* grid) {
656 bool rv = FALSE;
657 wxPyBeginBlockThreads();
658 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
659 PyObject* go = wxPyMake_wxObject(grid);
660 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
661 Py_DECREF(go);
662 }
663 wxPyEndBlockThreads();
664 return rv;
665 }
666
667
668 wxGridCellEditor*Clone() const {
669 wxGridCellEditor* rval = NULL;
670 wxPyBeginBlockThreads();
671 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
672 PyObject* ro;
673 wxGridCellEditor* ptr;
674 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
675 if (ro) {
676 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
677 rval = ptr;
678 Py_DECREF(ro);
679 }
680 }
681 wxPyEndBlockThreads();
682 return rval;
683 }
684
685
686 void Show(bool show, wxGridCellAttr *attr) {
687 bool found;
688 wxPyBeginBlockThreads();
689 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
690 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
691 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
692 Py_DECREF(ao);
693 }
694 wxPyEndBlockThreads();
695 if (! found)
696 wxGridCellEditor::Show(show, attr);
697 }
698 void base_Show(bool show, wxGridCellAttr *attr) {
699 wxGridCellEditor::Show(show, attr);
700 }
701
702
703 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
704 bool found;
705 wxPyBeginBlockThreads();
706 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
707 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
708 PyObject* ro = wxPyConstructObject((void*)&rectCell, "wxRect", 0);
709
710 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
711
712 Py_DECREF(ro);
713 Py_DECREF(ao);
714 }
715 wxPyEndBlockThreads();
716 if (! found)
717 wxGridCellEditor::PaintBackground(rectCell, attr);
718 }
719 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
720 wxGridCellEditor::PaintBackground(rectCell, attr);
721 }
722
723
724 DEC_PYCALLBACK___pure(Reset);
725 DEC_PYCALLBACK__constany(SetSize, wxRect);
726 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
727 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
728 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
729 DEC_PYCALLBACK__(StartingClick);
730 DEC_PYCALLBACK__(Destroy);
731 DEC_PYCALLBACK__STRING(SetParameters);
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
746
747 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
748 {
749 public:
750 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
751
752 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
753 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
754 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
755 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
756
757 PYPRIVATE;
758 };
759
760 class wxPyGridTableBase : public wxGridTableBase
761 {
762 public:
763 wxPyGridTableBase() : wxGridTableBase() {}
764
765 PYCALLBACK_INT__pure(GetNumberRows);
766 PYCALLBACK_INT__pure(GetNumberCols);
767 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
768 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
769 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
770 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
771 PYCALLBACK__(wxGridTableBase, Clear);
772 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
773 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
774 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
775 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
776 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
777 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
778 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
779 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
780 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
781 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
782 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
783 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
784 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
785 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
786 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
787
788
789 wxString GetValue(int row, int col) {
790 wxPyBeginBlockThreads();
791 wxString rval;
792 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
793 PyObject* ro;
794 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
795 if (ro) {
796 rval = Py2wxString(ro);
797 Py_DECREF(ro);
798 }
799 }
800 wxPyEndBlockThreads();
801 return rval;
802 }
803
804 void SetValue(int row, int col, const wxString& val) {
805 wxPyBeginBlockThreads();
806 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
807 PyObject* s = wx2PyString(val);
808 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
809 Py_DECREF(s);
810 }
811 wxPyEndBlockThreads();
812 }
813
814
815 // Map the Get/Set methods for the standard non-string types to
816 // the GetValue and SetValue python methods.
817 long GetValueAsLong( int row, int col ) {
818 long rval = 0;
819 wxPyBeginBlockThreads();
820 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
821 PyObject* ro;
822 PyObject* num;
823 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
824 if (ro && PyNumber_Check(ro)) {
825 num = PyNumber_Int(ro);
826 if (num) {
827 rval = PyInt_AsLong(num);
828 Py_DECREF(num);
829 }
830 Py_DECREF(ro);
831 }
832 }
833 wxPyEndBlockThreads();
834 return rval;
835 }
836
837 double GetValueAsDouble( int row, int col ) {
838 double rval = 0.0;
839 wxPyBeginBlockThreads();
840 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
841 PyObject* ro;
842 PyObject* num;
843 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
844 if (ro && PyNumber_Check(ro)) {
845 num = PyNumber_Float(ro);
846 if (num) {
847 rval = PyFloat_AsDouble(num);
848 Py_DECREF(num);
849 }
850 Py_DECREF(ro);
851 }
852 }
853 wxPyEndBlockThreads();
854 return rval;
855 }
856
857 bool GetValueAsBool( int row, int col ) {
858 return (bool)GetValueAsLong(row, col);
859 }
860
861 void SetValueAsLong( int row, int col, long value ) {
862 wxPyBeginBlockThreads();
863 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
864 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
865 }
866 wxPyEndBlockThreads();
867 }
868
869 void SetValueAsDouble( int row, int col, double value ) {
870 wxPyBeginBlockThreads();
871 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
872 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
873 }
874 wxPyEndBlockThreads();
875 }
876
877 void SetValueAsBool( int row, int col, bool value ) {
878 SetValueAsLong( row, col, (long)value );
879 }
880
881
882 PYPRIVATE;
883 };
884
885 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
886
887 // If source is an object instance then it may already be the right type
888 if (PyInstance_Check(source)) {
889 wxGridCellCoords* ptr;
890 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
891 goto error;
892 *obj = ptr;
893 return TRUE;
894 }
895 // otherwise a 2-tuple of integers is expected
896 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
897 PyObject* o1 = PySequence_GetItem(source, 0);
898 PyObject* o2 = PySequence_GetItem(source, 1);
899 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
900 return TRUE;
901 }
902
903 error:
904 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
905 return FALSE;
906 }
907
908 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
909 #ifdef __cplusplus
910 extern "C" {
911 #endif
912 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
913
914 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
915 return 1;
916 }
917
918 static PyObject *_wrap_wxGridNoCellCoords_get() {
919 PyObject * pyobj;
920 char ptemp[128];
921
922 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
923 pyobj = PyString_FromString(ptemp);
924 return pyobj;
925 }
926
927 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
928
929 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
930 return 1;
931 }
932
933 static PyObject *_wrap_wxGridNoCellRect_get() {
934 PyObject * pyobj;
935 char ptemp[128];
936
937 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
938 pyobj = PyString_FromString(ptemp);
939 return pyobj;
940 }
941
942 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject * _self) {
943 self->SetClientObject(new wxPyOORClientData(_self));
944 }
945 static PyObject *_wrap_wxGridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
946 PyObject * _resultobj;
947 wxGridCellRenderer * _arg0;
948 PyObject * _arg1;
949 PyObject * _argo0 = 0;
950 PyObject * _obj1 = 0;
951 char *_kwnames[] = { "self","_self", NULL };
952
953 self = self;
954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer__setOORInfo",_kwnames,&_argo0,&_obj1))
955 return NULL;
956 if (_argo0) {
957 if (_argo0 == Py_None) { _arg0 = NULL; }
958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p.");
960 return NULL;
961 }
962 }
963 {
964 _arg1 = _obj1;
965 }
966 {
967 PyThreadState* __tstate = wxPyBeginAllowThreads();
968 wxGridCellRenderer__setOORInfo(_arg0,_arg1);
969
970 wxPyEndAllowThreads(__tstate);
971 if (PyErr_Occurred()) return NULL;
972 } Py_INCREF(Py_None);
973 _resultobj = Py_None;
974 return _resultobj;
975 }
976
977 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
978 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
979 PyObject * _resultobj;
980 wxGridCellRenderer * _arg0;
981 wxString * _arg1;
982 PyObject * _argo0 = 0;
983 PyObject * _obj1 = 0;
984 char *_kwnames[] = { "self","params", NULL };
985
986 self = self;
987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
988 return NULL;
989 if (_argo0) {
990 if (_argo0 == Py_None) { _arg0 = NULL; }
991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
993 return NULL;
994 }
995 }
996 {
997 _arg1 = wxString_in_helper(_obj1);
998 if (_arg1 == NULL)
999 return NULL;
1000 }
1001 {
1002 PyThreadState* __tstate = wxPyBeginAllowThreads();
1003 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
1004
1005 wxPyEndAllowThreads(__tstate);
1006 if (PyErr_Occurred()) return NULL;
1007 } Py_INCREF(Py_None);
1008 _resultobj = Py_None;
1009 {
1010 if (_obj1)
1011 delete _arg1;
1012 }
1013 return _resultobj;
1014 }
1015
1016 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
1017 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1018 PyObject * _resultobj;
1019 wxGridCellRenderer * _arg0;
1020 PyObject * _argo0 = 0;
1021 char *_kwnames[] = { "self", NULL };
1022
1023 self = self;
1024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
1025 return NULL;
1026 if (_argo0) {
1027 if (_argo0 == Py_None) { _arg0 = NULL; }
1028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
1030 return NULL;
1031 }
1032 }
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 wxGridCellRenderer_IncRef(_arg0);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) return NULL;
1039 } Py_INCREF(Py_None);
1040 _resultobj = Py_None;
1041 return _resultobj;
1042 }
1043
1044 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
1045 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1046 PyObject * _resultobj;
1047 wxGridCellRenderer * _arg0;
1048 PyObject * _argo0 = 0;
1049 char *_kwnames[] = { "self", NULL };
1050
1051 self = self;
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
1053 return NULL;
1054 if (_argo0) {
1055 if (_argo0 == Py_None) { _arg0 = NULL; }
1056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
1058 return NULL;
1059 }
1060 }
1061 {
1062 PyThreadState* __tstate = wxPyBeginAllowThreads();
1063 wxGridCellRenderer_DecRef(_arg0);
1064
1065 wxPyEndAllowThreads(__tstate);
1066 if (PyErr_Occurred()) return NULL;
1067 } Py_INCREF(Py_None);
1068 _resultobj = Py_None;
1069 return _resultobj;
1070 }
1071
1072 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1073 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject * _resultobj;
1075 wxGridCellRenderer * _arg0;
1076 wxGrid * _arg1;
1077 wxGridCellAttr * _arg2;
1078 wxDC * _arg3;
1079 wxRect * _arg4;
1080 int _arg5;
1081 int _arg6;
1082 bool _arg7;
1083 PyObject * _argo0 = 0;
1084 PyObject * _argo1 = 0;
1085 PyObject * _argo2 = 0;
1086 PyObject * _argo3 = 0;
1087 wxRect temp;
1088 PyObject * _obj4 = 0;
1089 int tempbool7;
1090 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1099 return NULL;
1100 }
1101 }
1102 if (_argo1) {
1103 if (_argo1 == Py_None) { _arg1 = NULL; }
1104 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1105 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1106 return NULL;
1107 }
1108 }
1109 if (_argo2) {
1110 if (_argo2 == Py_None) { _arg2 = NULL; }
1111 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1112 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1113 return NULL;
1114 }
1115 }
1116 if (_argo3) {
1117 if (_argo3 == Py_None) { _arg3 = NULL; }
1118 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1119 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1120 return NULL;
1121 }
1122 }
1123 {
1124 _arg4 = &temp;
1125 if (! wxRect_helper(_obj4, &_arg4))
1126 return NULL;
1127 }
1128 _arg7 = (bool ) tempbool7;
1129 {
1130 PyThreadState* __tstate = wxPyBeginAllowThreads();
1131 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1132
1133 wxPyEndAllowThreads(__tstate);
1134 if (PyErr_Occurred()) return NULL;
1135 } Py_INCREF(Py_None);
1136 _resultobj = Py_None;
1137 return _resultobj;
1138 }
1139
1140 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1141 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1142 PyObject * _resultobj;
1143 wxSize * _result;
1144 wxGridCellRenderer * _arg0;
1145 wxGrid * _arg1;
1146 wxGridCellAttr * _arg2;
1147 wxDC * _arg3;
1148 int _arg4;
1149 int _arg5;
1150 PyObject * _argo0 = 0;
1151 PyObject * _argo1 = 0;
1152 PyObject * _argo2 = 0;
1153 PyObject * _argo3 = 0;
1154 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1155 char _ptemp[128];
1156
1157 self = self;
1158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1159 return NULL;
1160 if (_argo0) {
1161 if (_argo0 == Py_None) { _arg0 = NULL; }
1162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1164 return NULL;
1165 }
1166 }
1167 if (_argo1) {
1168 if (_argo1 == Py_None) { _arg1 = NULL; }
1169 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1170 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1171 return NULL;
1172 }
1173 }
1174 if (_argo2) {
1175 if (_argo2 == Py_None) { _arg2 = NULL; }
1176 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1177 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1178 return NULL;
1179 }
1180 }
1181 if (_argo3) {
1182 if (_argo3 == Py_None) { _arg3 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1185 return NULL;
1186 }
1187 }
1188 {
1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
1190 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1191
1192 wxPyEndAllowThreads(__tstate);
1193 if (PyErr_Occurred()) return NULL;
1194 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1195 _resultobj = Py_BuildValue("s",_ptemp);
1196 return _resultobj;
1197 }
1198
1199 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1200 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1201 PyObject * _resultobj;
1202 wxGridCellRenderer * _result;
1203 wxGridCellRenderer * _arg0;
1204 PyObject * _argo0 = 0;
1205 char *_kwnames[] = { "self", NULL };
1206
1207 self = self;
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1209 return NULL;
1210 if (_argo0) {
1211 if (_argo0 == Py_None) { _arg0 = NULL; }
1212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1214 return NULL;
1215 }
1216 }
1217 {
1218 PyThreadState* __tstate = wxPyBeginAllowThreads();
1219 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1220
1221 wxPyEndAllowThreads(__tstate);
1222 if (PyErr_Occurred()) return NULL;
1223 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
1224 return _resultobj;
1225 }
1226
1227 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1228 wxPyGridCellRenderer *src;
1229 wxGridCellRenderer *dest;
1230 src = (wxPyGridCellRenderer *) ptr;
1231 dest = (wxGridCellRenderer *) src;
1232 return (void *) dest;
1233 }
1234
1235 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1236 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxPyGridCellRenderer * _result;
1239 char *_kwnames[] = { NULL };
1240 char _ptemp[128];
1241
1242 self = self;
1243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1244 return NULL;
1245 {
1246 PyThreadState* __tstate = wxPyBeginAllowThreads();
1247 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1248
1249 wxPyEndAllowThreads(__tstate);
1250 if (PyErr_Occurred()) return NULL;
1251 } if (_result) {
1252 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1253 _resultobj = Py_BuildValue("s",_ptemp);
1254 } else {
1255 Py_INCREF(Py_None);
1256 _resultobj = Py_None;
1257 }
1258 return _resultobj;
1259 }
1260
1261 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1262 static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1263 PyObject * _resultobj;
1264 wxPyGridCellRenderer * _arg0;
1265 PyObject * _arg1;
1266 PyObject * _arg2;
1267 PyObject * _argo0 = 0;
1268 PyObject * _obj1 = 0;
1269 PyObject * _obj2 = 0;
1270 char *_kwnames[] = { "self","self","_class", NULL };
1271
1272 self = self;
1273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1274 return NULL;
1275 if (_argo0) {
1276 if (_argo0 == Py_None) { _arg0 = NULL; }
1277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1279 return NULL;
1280 }
1281 }
1282 {
1283 _arg1 = _obj1;
1284 }
1285 {
1286 _arg2 = _obj2;
1287 }
1288 {
1289 PyThreadState* __tstate = wxPyBeginAllowThreads();
1290 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1291
1292 wxPyEndAllowThreads(__tstate);
1293 if (PyErr_Occurred()) return NULL;
1294 } Py_INCREF(Py_None);
1295 _resultobj = Py_None;
1296 return _resultobj;
1297 }
1298
1299 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1300 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject * _resultobj;
1302 wxPyGridCellRenderer * _arg0;
1303 wxString * _arg1;
1304 PyObject * _argo0 = 0;
1305 PyObject * _obj1 = 0;
1306 char *_kwnames[] = { "self","params", NULL };
1307
1308 self = self;
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1310 return NULL;
1311 if (_argo0) {
1312 if (_argo0 == Py_None) { _arg0 = NULL; }
1313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1315 return NULL;
1316 }
1317 }
1318 {
1319 _arg1 = wxString_in_helper(_obj1);
1320 if (_arg1 == NULL)
1321 return NULL;
1322 }
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) return NULL;
1329 } Py_INCREF(Py_None);
1330 _resultobj = Py_None;
1331 {
1332 if (_obj1)
1333 delete _arg1;
1334 }
1335 return _resultobj;
1336 }
1337
1338 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1339 wxGridCellStringRenderer *src;
1340 wxGridCellRenderer *dest;
1341 src = (wxGridCellStringRenderer *) ptr;
1342 dest = (wxGridCellRenderer *) src;
1343 return (void *) dest;
1344 }
1345
1346 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1347 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1348 PyObject * _resultobj;
1349 wxGridCellStringRenderer * _result;
1350 char *_kwnames[] = { NULL };
1351 char _ptemp[128];
1352
1353 self = self;
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1355 return NULL;
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) return NULL;
1362 } if (_result) {
1363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1364 _resultobj = Py_BuildValue("s",_ptemp);
1365 } else {
1366 Py_INCREF(Py_None);
1367 _resultobj = Py_None;
1368 }
1369 return _resultobj;
1370 }
1371
1372 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1373 wxGridCellNumberRenderer *src;
1374 wxGridCellStringRenderer *dest;
1375 src = (wxGridCellNumberRenderer *) ptr;
1376 dest = (wxGridCellStringRenderer *) src;
1377 return (void *) dest;
1378 }
1379
1380 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1381 wxGridCellNumberRenderer *src;
1382 wxGridCellRenderer *dest;
1383 src = (wxGridCellNumberRenderer *) ptr;
1384 dest = (wxGridCellRenderer *) src;
1385 return (void *) dest;
1386 }
1387
1388 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1389 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1390 PyObject * _resultobj;
1391 wxGridCellNumberRenderer * _result;
1392 char *_kwnames[] = { NULL };
1393 char _ptemp[128];
1394
1395 self = self;
1396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1397 return NULL;
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) return NULL;
1404 } if (_result) {
1405 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1406 _resultobj = Py_BuildValue("s",_ptemp);
1407 } else {
1408 Py_INCREF(Py_None);
1409 _resultobj = Py_None;
1410 }
1411 return _resultobj;
1412 }
1413
1414 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1415 wxGridCellFloatRenderer *src;
1416 wxGridCellStringRenderer *dest;
1417 src = (wxGridCellFloatRenderer *) ptr;
1418 dest = (wxGridCellStringRenderer *) src;
1419 return (void *) dest;
1420 }
1421
1422 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1423 wxGridCellFloatRenderer *src;
1424 wxGridCellRenderer *dest;
1425 src = (wxGridCellFloatRenderer *) ptr;
1426 dest = (wxGridCellRenderer *) src;
1427 return (void *) dest;
1428 }
1429
1430 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1431 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject * _resultobj;
1433 wxGridCellFloatRenderer * _result;
1434 int _arg0 = (int ) -1;
1435 int _arg1 = (int ) -1;
1436 char *_kwnames[] = { "width","precision", NULL };
1437 char _ptemp[128];
1438
1439 self = self;
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1441 return NULL;
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) return NULL;
1448 } if (_result) {
1449 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1450 _resultobj = Py_BuildValue("s",_ptemp);
1451 } else {
1452 Py_INCREF(Py_None);
1453 _resultobj = Py_None;
1454 }
1455 return _resultobj;
1456 }
1457
1458 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1459 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject * _resultobj;
1461 int _result;
1462 wxGridCellFloatRenderer * _arg0;
1463 PyObject * _argo0 = 0;
1464 char *_kwnames[] = { "self", NULL };
1465
1466 self = self;
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1468 return NULL;
1469 if (_argo0) {
1470 if (_argo0 == Py_None) { _arg0 = NULL; }
1471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1473 return NULL;
1474 }
1475 }
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) return NULL;
1482 } _resultobj = Py_BuildValue("i",_result);
1483 return _resultobj;
1484 }
1485
1486 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1487 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject * _resultobj;
1489 wxGridCellFloatRenderer * _arg0;
1490 int _arg1;
1491 PyObject * _argo0 = 0;
1492 char *_kwnames[] = { "self","width", NULL };
1493
1494 self = self;
1495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1496 return NULL;
1497 if (_argo0) {
1498 if (_argo0 == Py_None) { _arg0 = NULL; }
1499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1501 return NULL;
1502 }
1503 }
1504 {
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) return NULL;
1510 } Py_INCREF(Py_None);
1511 _resultobj = Py_None;
1512 return _resultobj;
1513 }
1514
1515 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1516 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject * _resultobj;
1518 int _result;
1519 wxGridCellFloatRenderer * _arg0;
1520 PyObject * _argo0 = 0;
1521 char *_kwnames[] = { "self", NULL };
1522
1523 self = self;
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1525 return NULL;
1526 if (_argo0) {
1527 if (_argo0 == Py_None) { _arg0 = NULL; }
1528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1530 return NULL;
1531 }
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) return NULL;
1539 } _resultobj = Py_BuildValue("i",_result);
1540 return _resultobj;
1541 }
1542
1543 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1544 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1545 PyObject * _resultobj;
1546 wxGridCellFloatRenderer * _arg0;
1547 int _arg1;
1548 PyObject * _argo0 = 0;
1549 char *_kwnames[] = { "self","precision", NULL };
1550
1551 self = self;
1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1553 return NULL;
1554 if (_argo0) {
1555 if (_argo0 == Py_None) { _arg0 = NULL; }
1556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1558 return NULL;
1559 }
1560 }
1561 {
1562 PyThreadState* __tstate = wxPyBeginAllowThreads();
1563 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1564
1565 wxPyEndAllowThreads(__tstate);
1566 if (PyErr_Occurred()) return NULL;
1567 } Py_INCREF(Py_None);
1568 _resultobj = Py_None;
1569 return _resultobj;
1570 }
1571
1572 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1573 wxGridCellBoolRenderer *src;
1574 wxGridCellRenderer *dest;
1575 src = (wxGridCellBoolRenderer *) ptr;
1576 dest = (wxGridCellRenderer *) src;
1577 return (void *) dest;
1578 }
1579
1580 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1581 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1582 PyObject * _resultobj;
1583 wxGridCellBoolRenderer * _result;
1584 char *_kwnames[] = { NULL };
1585 char _ptemp[128];
1586
1587 self = self;
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1589 return NULL;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) return NULL;
1596 } if (_result) {
1597 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1598 _resultobj = Py_BuildValue("s",_ptemp);
1599 } else {
1600 Py_INCREF(Py_None);
1601 _resultobj = Py_None;
1602 }
1603 return _resultobj;
1604 }
1605
1606 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1607 wxGridCellDateTimeRenderer *src;
1608 wxGridCellStringRenderer *dest;
1609 src = (wxGridCellDateTimeRenderer *) ptr;
1610 dest = (wxGridCellStringRenderer *) src;
1611 return (void *) dest;
1612 }
1613
1614 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1615 wxGridCellDateTimeRenderer *src;
1616 wxGridCellRenderer *dest;
1617 src = (wxGridCellDateTimeRenderer *) ptr;
1618 dest = (wxGridCellRenderer *) src;
1619 return (void *) dest;
1620 }
1621
1622 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1623 static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject * _resultobj;
1625 wxGridCellDateTimeRenderer * _result;
1626 wxString * _arg0 = (wxString *) &wxPyDateTimeFormatStr;
1627 wxString * _arg1 = (wxString *) &wxPyDateTimeFormatStr;
1628 PyObject * _obj0 = 0;
1629 PyObject * _obj1 = 0;
1630 char *_kwnames[] = { "outformat","informat", NULL };
1631 char _ptemp[128];
1632
1633 self = self;
1634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1635 return NULL;
1636 if (_obj0)
1637 {
1638 _arg0 = wxString_in_helper(_obj0);
1639 if (_arg0 == NULL)
1640 return NULL;
1641 }
1642 if (_obj1)
1643 {
1644 _arg1 = wxString_in_helper(_obj1);
1645 if (_arg1 == NULL)
1646 return NULL;
1647 }
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) return NULL;
1654 } if (_result) {
1655 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1656 _resultobj = Py_BuildValue("s",_ptemp);
1657 } else {
1658 Py_INCREF(Py_None);
1659 _resultobj = Py_None;
1660 }
1661 {
1662 if (_obj0)
1663 delete _arg0;
1664 }
1665 {
1666 if (_obj1)
1667 delete _arg1;
1668 }
1669 return _resultobj;
1670 }
1671
1672 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1673 wxGridCellEnumRenderer *src;
1674 wxGridCellStringRenderer *dest;
1675 src = (wxGridCellEnumRenderer *) ptr;
1676 dest = (wxGridCellStringRenderer *) src;
1677 return (void *) dest;
1678 }
1679
1680 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1681 wxGridCellEnumRenderer *src;
1682 wxGridCellRenderer *dest;
1683 src = (wxGridCellEnumRenderer *) ptr;
1684 dest = (wxGridCellRenderer *) src;
1685 return (void *) dest;
1686 }
1687
1688 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1689 static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1690 PyObject * _resultobj;
1691 wxGridCellEnumRenderer * _result;
1692 wxString * _arg0 = (wxString *) &wxPyEmptyString;
1693 PyObject * _obj0 = 0;
1694 char *_kwnames[] = { "choices", NULL };
1695 char _ptemp[128];
1696
1697 self = self;
1698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1699 return NULL;
1700 if (_obj0)
1701 {
1702 _arg0 = wxString_LIST_helper(_obj0);
1703 if (_arg0 == NULL) {
1704 return NULL;
1705 }
1706 }
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) return NULL;
1713 } if (_result) {
1714 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1715 _resultobj = Py_BuildValue("s",_ptemp);
1716 } else {
1717 Py_INCREF(Py_None);
1718 _resultobj = Py_None;
1719 }
1720 {
1721 delete [] _arg0;
1722 }
1723 return _resultobj;
1724 }
1725
1726 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1727 wxGridCellAutoWrapStringRenderer *src;
1728 wxGridCellStringRenderer *dest;
1729 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1730 dest = (wxGridCellStringRenderer *) src;
1731 return (void *) dest;
1732 }
1733
1734 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1735 wxGridCellAutoWrapStringRenderer *src;
1736 wxGridCellRenderer *dest;
1737 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1738 dest = (wxGridCellRenderer *) src;
1739 return (void *) dest;
1740 }
1741
1742 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1743 static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1744 PyObject * _resultobj;
1745 wxGridCellAutoWrapStringRenderer * _result;
1746 char *_kwnames[] = { NULL };
1747 char _ptemp[128];
1748
1749 self = self;
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1751 return NULL;
1752 {
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1755
1756 wxPyEndAllowThreads(__tstate);
1757 if (PyErr_Occurred()) return NULL;
1758 } if (_result) {
1759 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1760 _resultobj = Py_BuildValue("s",_ptemp);
1761 } else {
1762 Py_INCREF(Py_None);
1763 _resultobj = Py_None;
1764 }
1765 return _resultobj;
1766 }
1767
1768 static void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject * _self) {
1769 self->SetClientObject(new wxPyOORClientData(_self));
1770 }
1771 static PyObject *_wrap_wxGridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1772 PyObject * _resultobj;
1773 wxGridCellEditor * _arg0;
1774 PyObject * _arg1;
1775 PyObject * _argo0 = 0;
1776 PyObject * _obj1 = 0;
1777 char *_kwnames[] = { "self","_self", NULL };
1778
1779 self = self;
1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor__setOORInfo",_kwnames,&_argo0,&_obj1))
1781 return NULL;
1782 if (_argo0) {
1783 if (_argo0 == Py_None) { _arg0 = NULL; }
1784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p.");
1786 return NULL;
1787 }
1788 }
1789 {
1790 _arg1 = _obj1;
1791 }
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 wxGridCellEditor__setOORInfo(_arg0,_arg1);
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) return NULL;
1798 } Py_INCREF(Py_None);
1799 _resultobj = Py_None;
1800 return _resultobj;
1801 }
1802
1803 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1804 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject * _resultobj;
1806 bool _result;
1807 wxGridCellEditor * _arg0;
1808 PyObject * _argo0 = 0;
1809 char *_kwnames[] = { "self", NULL };
1810
1811 self = self;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1813 return NULL;
1814 if (_argo0) {
1815 if (_argo0 == Py_None) { _arg0 = NULL; }
1816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1818 return NULL;
1819 }
1820 }
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) return NULL;
1827 } _resultobj = Py_BuildValue("i",_result);
1828 return _resultobj;
1829 }
1830
1831 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1832 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject * _resultobj;
1834 wxControl * _result;
1835 wxGridCellEditor * _arg0;
1836 PyObject * _argo0 = 0;
1837 char *_kwnames[] = { "self", NULL };
1838
1839 self = self;
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1841 return NULL;
1842 if (_argo0) {
1843 if (_argo0 == Py_None) { _arg0 = NULL; }
1844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1846 return NULL;
1847 }
1848 }
1849 {
1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
1851 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1852
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) return NULL;
1855 }{ _resultobj = wxPyMake_wxObject(_result); }
1856 return _resultobj;
1857 }
1858
1859 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1860 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject * _resultobj;
1862 wxGridCellEditor * _arg0;
1863 wxControl * _arg1;
1864 PyObject * _argo0 = 0;
1865 PyObject * _argo1 = 0;
1866 char *_kwnames[] = { "self","control", NULL };
1867
1868 self = self;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1870 return NULL;
1871 if (_argo0) {
1872 if (_argo0 == Py_None) { _arg0 = NULL; }
1873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1875 return NULL;
1876 }
1877 }
1878 if (_argo1) {
1879 if (_argo1 == Py_None) { _arg1 = NULL; }
1880 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1881 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1882 return NULL;
1883 }
1884 }
1885 {
1886 PyThreadState* __tstate = wxPyBeginAllowThreads();
1887 wxGridCellEditor_SetControl(_arg0,_arg1);
1888
1889 wxPyEndAllowThreads(__tstate);
1890 if (PyErr_Occurred()) return NULL;
1891 } Py_INCREF(Py_None);
1892 _resultobj = Py_None;
1893 return _resultobj;
1894 }
1895
1896 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1897 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject * _resultobj;
1899 wxGridCellEditor * _arg0;
1900 wxString * _arg1;
1901 PyObject * _argo0 = 0;
1902 PyObject * _obj1 = 0;
1903 char *_kwnames[] = { "self","params", NULL };
1904
1905 self = self;
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1907 return NULL;
1908 if (_argo0) {
1909 if (_argo0 == Py_None) { _arg0 = NULL; }
1910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1912 return NULL;
1913 }
1914 }
1915 {
1916 _arg1 = wxString_in_helper(_obj1);
1917 if (_arg1 == NULL)
1918 return NULL;
1919 }
1920 {
1921 PyThreadState* __tstate = wxPyBeginAllowThreads();
1922 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1923
1924 wxPyEndAllowThreads(__tstate);
1925 if (PyErr_Occurred()) return NULL;
1926 } Py_INCREF(Py_None);
1927 _resultobj = Py_None;
1928 {
1929 if (_obj1)
1930 delete _arg1;
1931 }
1932 return _resultobj;
1933 }
1934
1935 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1936 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1937 PyObject * _resultobj;
1938 wxGridCellEditor * _arg0;
1939 PyObject * _argo0 = 0;
1940 char *_kwnames[] = { "self", NULL };
1941
1942 self = self;
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
1944 return NULL;
1945 if (_argo0) {
1946 if (_argo0 == Py_None) { _arg0 = NULL; }
1947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1949 return NULL;
1950 }
1951 }
1952 {
1953 PyThreadState* __tstate = wxPyBeginAllowThreads();
1954 wxGridCellEditor_IncRef(_arg0);
1955
1956 wxPyEndAllowThreads(__tstate);
1957 if (PyErr_Occurred()) return NULL;
1958 } Py_INCREF(Py_None);
1959 _resultobj = Py_None;
1960 return _resultobj;
1961 }
1962
1963 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1964 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1965 PyObject * _resultobj;
1966 wxGridCellEditor * _arg0;
1967 PyObject * _argo0 = 0;
1968 char *_kwnames[] = { "self", NULL };
1969
1970 self = self;
1971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
1972 return NULL;
1973 if (_argo0) {
1974 if (_argo0 == Py_None) { _arg0 = NULL; }
1975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1977 return NULL;
1978 }
1979 }
1980 {
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 wxGridCellEditor_DecRef(_arg0);
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) return NULL;
1986 } Py_INCREF(Py_None);
1987 _resultobj = Py_None;
1988 return _resultobj;
1989 }
1990
1991 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1992 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1993 PyObject * _resultobj;
1994 wxGridCellEditor * _arg0;
1995 wxWindow * _arg1;
1996 wxWindowID _arg2;
1997 wxEvtHandler * _arg3;
1998 PyObject * _argo0 = 0;
1999 PyObject * _argo1 = 0;
2000 PyObject * _argo3 = 0;
2001 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
2002
2003 self = self;
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
2005 return NULL;
2006 if (_argo0) {
2007 if (_argo0 == Py_None) { _arg0 = NULL; }
2008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
2010 return NULL;
2011 }
2012 }
2013 if (_argo1) {
2014 if (_argo1 == Py_None) { _arg1 = NULL; }
2015 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
2017 return NULL;
2018 }
2019 }
2020 if (_argo3) {
2021 if (_argo3 == Py_None) { _arg3 = NULL; }
2022 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
2023 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
2024 return NULL;
2025 }
2026 }
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
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_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
2039 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject * _resultobj;
2041 wxGridCellEditor * _arg0;
2042 int _arg1;
2043 int _arg2;
2044 wxGrid * _arg3;
2045 PyObject * _argo0 = 0;
2046 PyObject * _argo3 = 0;
2047 char *_kwnames[] = { "self","row","col","grid", NULL };
2048
2049 self = self;
2050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2051 return NULL;
2052 if (_argo0) {
2053 if (_argo0 == Py_None) { _arg0 = NULL; }
2054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
2056 return NULL;
2057 }
2058 }
2059 if (_argo3) {
2060 if (_argo3 == Py_None) { _arg3 = NULL; }
2061 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2062 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2063 return NULL;
2064 }
2065 }
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) return NULL;
2072 } Py_INCREF(Py_None);
2073 _resultobj = Py_None;
2074 return _resultobj;
2075 }
2076
2077 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2078 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2079 PyObject * _resultobj;
2080 bool _result;
2081 wxGridCellEditor * _arg0;
2082 int _arg1;
2083 int _arg2;
2084 wxGrid * _arg3;
2085 PyObject * _argo0 = 0;
2086 PyObject * _argo3 = 0;
2087 char *_kwnames[] = { "self","row","col","grid", NULL };
2088
2089 self = self;
2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2091 return NULL;
2092 if (_argo0) {
2093 if (_argo0 == Py_None) { _arg0 = NULL; }
2094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2096 return NULL;
2097 }
2098 }
2099 if (_argo3) {
2100 if (_argo3 == Py_None) { _arg3 = NULL; }
2101 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2102 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2103 return NULL;
2104 }
2105 }
2106 {
2107 PyThreadState* __tstate = wxPyBeginAllowThreads();
2108 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
2109
2110 wxPyEndAllowThreads(__tstate);
2111 if (PyErr_Occurred()) return NULL;
2112 } _resultobj = Py_BuildValue("i",_result);
2113 return _resultobj;
2114 }
2115
2116 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2117 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject * _resultobj;
2119 wxGridCellEditor * _arg0;
2120 PyObject * _argo0 = 0;
2121 char *_kwnames[] = { "self", NULL };
2122
2123 self = self;
2124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
2125 return NULL;
2126 if (_argo0) {
2127 if (_argo0 == Py_None) { _arg0 = NULL; }
2128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2130 return NULL;
2131 }
2132 }
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 wxGridCellEditor_Reset(_arg0);
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) return NULL;
2139 } Py_INCREF(Py_None);
2140 _resultobj = Py_None;
2141 return _resultobj;
2142 }
2143
2144 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2145 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2146 PyObject * _resultobj;
2147 wxGridCellEditor * _result;
2148 wxGridCellEditor * _arg0;
2149 PyObject * _argo0 = 0;
2150 char *_kwnames[] = { "self", NULL };
2151
2152 self = self;
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2154 return NULL;
2155 if (_argo0) {
2156 if (_argo0 == Py_None) { _arg0 = NULL; }
2157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2159 return NULL;
2160 }
2161 }
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) return NULL;
2168 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
2169 return _resultobj;
2170 }
2171
2172 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2173 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2174 PyObject * _resultobj;
2175 wxGridCellEditor * _arg0;
2176 wxRect * _arg1;
2177 PyObject * _argo0 = 0;
2178 wxRect temp;
2179 PyObject * _obj1 = 0;
2180 char *_kwnames[] = { "self","rect", NULL };
2181
2182 self = self;
2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2184 return NULL;
2185 if (_argo0) {
2186 if (_argo0 == Py_None) { _arg0 = NULL; }
2187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2189 return NULL;
2190 }
2191 }
2192 {
2193 _arg1 = &temp;
2194 if (! wxRect_helper(_obj1, &_arg1))
2195 return NULL;
2196 }
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 wxGridCellEditor_SetSize(_arg0,*_arg1);
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) return NULL;
2203 } Py_INCREF(Py_None);
2204 _resultobj = Py_None;
2205 return _resultobj;
2206 }
2207
2208 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2209 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject * _resultobj;
2211 wxGridCellEditor * _arg0;
2212 bool _arg1;
2213 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2214 PyObject * _argo0 = 0;
2215 int tempbool1;
2216 PyObject * _argo2 = 0;
2217 char *_kwnames[] = { "self","show","attr", NULL };
2218
2219 self = self;
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2221 return NULL;
2222 if (_argo0) {
2223 if (_argo0 == Py_None) { _arg0 = NULL; }
2224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2226 return NULL;
2227 }
2228 }
2229 _arg1 = (bool ) tempbool1;
2230 if (_argo2) {
2231 if (_argo2 == Py_None) { _arg2 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2234 return NULL;
2235 }
2236 }
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) return NULL;
2243 } Py_INCREF(Py_None);
2244 _resultobj = Py_None;
2245 return _resultobj;
2246 }
2247
2248 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2249 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2250 PyObject * _resultobj;
2251 wxGridCellEditor * _arg0;
2252 wxRect * _arg1;
2253 wxGridCellAttr * _arg2;
2254 PyObject * _argo0 = 0;
2255 wxRect temp;
2256 PyObject * _obj1 = 0;
2257 PyObject * _argo2 = 0;
2258 char *_kwnames[] = { "self","rectCell","attr", NULL };
2259
2260 self = self;
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2262 return NULL;
2263 if (_argo0) {
2264 if (_argo0 == Py_None) { _arg0 = NULL; }
2265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2267 return NULL;
2268 }
2269 }
2270 {
2271 _arg1 = &temp;
2272 if (! wxRect_helper(_obj1, &_arg1))
2273 return NULL;
2274 }
2275 if (_argo2) {
2276 if (_argo2 == Py_None) { _arg2 = NULL; }
2277 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2278 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2279 return NULL;
2280 }
2281 }
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) return NULL;
2288 } Py_INCREF(Py_None);
2289 _resultobj = Py_None;
2290 return _resultobj;
2291 }
2292
2293 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2294 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject * _resultobj;
2296 bool _result;
2297 wxGridCellEditor * _arg0;
2298 wxKeyEvent * _arg1;
2299 PyObject * _argo0 = 0;
2300 PyObject * _argo1 = 0;
2301 char *_kwnames[] = { "self","event", NULL };
2302
2303 self = self;
2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2305 return NULL;
2306 if (_argo0) {
2307 if (_argo0 == Py_None) { _arg0 = NULL; }
2308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2310 return NULL;
2311 }
2312 }
2313 if (_argo1) {
2314 if (_argo1 == Py_None) { _arg1 = NULL; }
2315 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2316 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2317 return NULL;
2318 }
2319 }
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) return NULL;
2326 } _resultobj = Py_BuildValue("i",_result);
2327 return _resultobj;
2328 }
2329
2330 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2331 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject * _resultobj;
2333 wxGridCellEditor * _arg0;
2334 wxKeyEvent * _arg1;
2335 PyObject * _argo0 = 0;
2336 PyObject * _argo1 = 0;
2337 char *_kwnames[] = { "self","event", NULL };
2338
2339 self = self;
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2341 return NULL;
2342 if (_argo0) {
2343 if (_argo0 == Py_None) { _arg0 = NULL; }
2344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2346 return NULL;
2347 }
2348 }
2349 if (_argo1) {
2350 if (_argo1 == Py_None) { _arg1 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2353 return NULL;
2354 }
2355 }
2356 {
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2359
2360 wxPyEndAllowThreads(__tstate);
2361 if (PyErr_Occurred()) return NULL;
2362 } Py_INCREF(Py_None);
2363 _resultobj = Py_None;
2364 return _resultobj;
2365 }
2366
2367 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2368 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject * _resultobj;
2370 wxGridCellEditor * _arg0;
2371 PyObject * _argo0 = 0;
2372 char *_kwnames[] = { "self", NULL };
2373
2374 self = self;
2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2376 return NULL;
2377 if (_argo0) {
2378 if (_argo0 == Py_None) { _arg0 = NULL; }
2379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2381 return NULL;
2382 }
2383 }
2384 {
2385 PyThreadState* __tstate = wxPyBeginAllowThreads();
2386 wxGridCellEditor_StartingClick(_arg0);
2387
2388 wxPyEndAllowThreads(__tstate);
2389 if (PyErr_Occurred()) return NULL;
2390 } Py_INCREF(Py_None);
2391 _resultobj = Py_None;
2392 return _resultobj;
2393 }
2394
2395 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2396 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2397 PyObject * _resultobj;
2398 wxGridCellEditor * _arg0;
2399 wxKeyEvent * _arg1;
2400 PyObject * _argo0 = 0;
2401 PyObject * _argo1 = 0;
2402 char *_kwnames[] = { "self","event", NULL };
2403
2404 self = self;
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2406 return NULL;
2407 if (_argo0) {
2408 if (_argo0 == Py_None) { _arg0 = NULL; }
2409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2411 return NULL;
2412 }
2413 }
2414 if (_argo1) {
2415 if (_argo1 == Py_None) { _arg1 = NULL; }
2416 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2417 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2418 return NULL;
2419 }
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) return NULL;
2427 } Py_INCREF(Py_None);
2428 _resultobj = Py_None;
2429 return _resultobj;
2430 }
2431
2432 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2433 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2434 PyObject * _resultobj;
2435 wxGridCellEditor * _arg0;
2436 PyObject * _argo0 = 0;
2437 char *_kwnames[] = { "self", NULL };
2438
2439 self = self;
2440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2441 return NULL;
2442 if (_argo0) {
2443 if (_argo0 == Py_None) { _arg0 = NULL; }
2444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2446 return NULL;
2447 }
2448 }
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 wxGridCellEditor_Destroy(_arg0);
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) return NULL;
2455 } Py_INCREF(Py_None);
2456 _resultobj = Py_None;
2457 return _resultobj;
2458 }
2459
2460 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2461 wxPyGridCellEditor *src;
2462 wxGridCellEditor *dest;
2463 src = (wxPyGridCellEditor *) ptr;
2464 dest = (wxGridCellEditor *) src;
2465 return (void *) dest;
2466 }
2467
2468 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2469 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject * _resultobj;
2471 wxPyGridCellEditor * _result;
2472 char *_kwnames[] = { NULL };
2473 char _ptemp[128];
2474
2475 self = self;
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2477 return NULL;
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) return NULL;
2484 } if (_result) {
2485 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2486 _resultobj = Py_BuildValue("s",_ptemp);
2487 } else {
2488 Py_INCREF(Py_None);
2489 _resultobj = Py_None;
2490 }
2491 return _resultobj;
2492 }
2493
2494 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2495 static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2496 PyObject * _resultobj;
2497 wxPyGridCellEditor * _arg0;
2498 PyObject * _arg1;
2499 PyObject * _arg2;
2500 PyObject * _argo0 = 0;
2501 PyObject * _obj1 = 0;
2502 PyObject * _obj2 = 0;
2503 char *_kwnames[] = { "self","self","_class", NULL };
2504
2505 self = self;
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2507 return NULL;
2508 if (_argo0) {
2509 if (_argo0 == Py_None) { _arg0 = NULL; }
2510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2512 return NULL;
2513 }
2514 }
2515 {
2516 _arg1 = _obj1;
2517 }
2518 {
2519 _arg2 = _obj2;
2520 }
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
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 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2533 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2534 PyObject * _resultobj;
2535 wxPyGridCellEditor * _arg0;
2536 wxRect * _arg1;
2537 PyObject * _argo0 = 0;
2538 wxRect temp;
2539 PyObject * _obj1 = 0;
2540 char *_kwnames[] = { "self","rect", NULL };
2541
2542 self = self;
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2544 return NULL;
2545 if (_argo0) {
2546 if (_argo0 == Py_None) { _arg0 = NULL; }
2547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2549 return NULL;
2550 }
2551 }
2552 {
2553 _arg1 = &temp;
2554 if (! wxRect_helper(_obj1, &_arg1))
2555 return NULL;
2556 }
2557 {
2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
2559 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2560
2561 wxPyEndAllowThreads(__tstate);
2562 if (PyErr_Occurred()) return NULL;
2563 } Py_INCREF(Py_None);
2564 _resultobj = Py_None;
2565 return _resultobj;
2566 }
2567
2568 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2569 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2570 PyObject * _resultobj;
2571 wxPyGridCellEditor * _arg0;
2572 bool _arg1;
2573 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2574 PyObject * _argo0 = 0;
2575 int tempbool1;
2576 PyObject * _argo2 = 0;
2577 char *_kwnames[] = { "self","show","attr", NULL };
2578
2579 self = self;
2580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2581 return NULL;
2582 if (_argo0) {
2583 if (_argo0 == Py_None) { _arg0 = NULL; }
2584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2586 return NULL;
2587 }
2588 }
2589 _arg1 = (bool ) tempbool1;
2590 if (_argo2) {
2591 if (_argo2 == Py_None) { _arg2 = NULL; }
2592 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2593 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2594 return NULL;
2595 }
2596 }
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) return NULL;
2603 } Py_INCREF(Py_None);
2604 _resultobj = Py_None;
2605 return _resultobj;
2606 }
2607
2608 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2609 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2610 PyObject * _resultobj;
2611 wxPyGridCellEditor * _arg0;
2612 wxRect * _arg1;
2613 wxGridCellAttr * _arg2;
2614 PyObject * _argo0 = 0;
2615 wxRect temp;
2616 PyObject * _obj1 = 0;
2617 PyObject * _argo2 = 0;
2618 char *_kwnames[] = { "self","rectCell","attr", NULL };
2619
2620 self = self;
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2622 return NULL;
2623 if (_argo0) {
2624 if (_argo0 == Py_None) { _arg0 = NULL; }
2625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2627 return NULL;
2628 }
2629 }
2630 {
2631 _arg1 = &temp;
2632 if (! wxRect_helper(_obj1, &_arg1))
2633 return NULL;
2634 }
2635 if (_argo2) {
2636 if (_argo2 == Py_None) { _arg2 = NULL; }
2637 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2638 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2639 return NULL;
2640 }
2641 }
2642 {
2643 PyThreadState* __tstate = wxPyBeginAllowThreads();
2644 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2645
2646 wxPyEndAllowThreads(__tstate);
2647 if (PyErr_Occurred()) return NULL;
2648 } Py_INCREF(Py_None);
2649 _resultobj = Py_None;
2650 return _resultobj;
2651 }
2652
2653 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2654 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2655 PyObject * _resultobj;
2656 wxPyGridCellEditor * _arg0;
2657 wxKeyEvent * _arg1;
2658 PyObject * _argo0 = 0;
2659 PyObject * _argo1 = 0;
2660 char *_kwnames[] = { "self","event", NULL };
2661
2662 self = self;
2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2664 return NULL;
2665 if (_argo0) {
2666 if (_argo0 == Py_None) { _arg0 = NULL; }
2667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2669 return NULL;
2670 }
2671 }
2672 if (_argo1) {
2673 if (_argo1 == Py_None) { _arg1 = NULL; }
2674 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2675 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2676 return NULL;
2677 }
2678 }
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) return NULL;
2685 } Py_INCREF(Py_None);
2686 _resultobj = Py_None;
2687 return _resultobj;
2688 }
2689
2690 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2691 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2692 PyObject * _resultobj;
2693 wxPyGridCellEditor * _arg0;
2694 wxKeyEvent * _arg1;
2695 PyObject * _argo0 = 0;
2696 PyObject * _argo1 = 0;
2697 char *_kwnames[] = { "self","event", NULL };
2698
2699 self = self;
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2701 return NULL;
2702 if (_argo0) {
2703 if (_argo0 == Py_None) { _arg0 = NULL; }
2704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2706 return NULL;
2707 }
2708 }
2709 if (_argo1) {
2710 if (_argo1 == Py_None) { _arg1 = NULL; }
2711 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2712 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2713 return NULL;
2714 }
2715 }
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) return NULL;
2722 } Py_INCREF(Py_None);
2723 _resultobj = Py_None;
2724 return _resultobj;
2725 }
2726
2727 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2728 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject * _resultobj;
2730 wxPyGridCellEditor * _arg0;
2731 PyObject * _argo0 = 0;
2732 char *_kwnames[] = { "self", NULL };
2733
2734 self = self;
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
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_StartingClick. Expected _wxPyGridCellEditor_p.");
2741 return NULL;
2742 }
2743 }
2744 {
2745 PyThreadState* __tstate = wxPyBeginAllowThreads();
2746 wxPyGridCellEditor_base_StartingClick(_arg0);
2747
2748 wxPyEndAllowThreads(__tstate);
2749 if (PyErr_Occurred()) return NULL;
2750 } Py_INCREF(Py_None);
2751 _resultobj = Py_None;
2752 return _resultobj;
2753 }
2754
2755 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2756 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject * _resultobj;
2758 wxPyGridCellEditor * _arg0;
2759 wxKeyEvent * _arg1;
2760 PyObject * _argo0 = 0;
2761 PyObject * _argo1 = 0;
2762 char *_kwnames[] = { "self","event", NULL };
2763
2764 self = self;
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2766 return NULL;
2767 if (_argo0) {
2768 if (_argo0 == Py_None) { _arg0 = NULL; }
2769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2771 return NULL;
2772 }
2773 }
2774 if (_argo1) {
2775 if (_argo1 == Py_None) { _arg1 = NULL; }
2776 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2777 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2778 return NULL;
2779 }
2780 }
2781 {
2782 PyThreadState* __tstate = wxPyBeginAllowThreads();
2783 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2784
2785 wxPyEndAllowThreads(__tstate);
2786 if (PyErr_Occurred()) return NULL;
2787 } Py_INCREF(Py_None);
2788 _resultobj = Py_None;
2789 return _resultobj;
2790 }
2791
2792 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2793 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject * _resultobj;
2795 wxPyGridCellEditor * _arg0;
2796 PyObject * _argo0 = 0;
2797 char *_kwnames[] = { "self", NULL };
2798
2799 self = self;
2800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2801 return NULL;
2802 if (_argo0) {
2803 if (_argo0 == Py_None) { _arg0 = NULL; }
2804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2806 return NULL;
2807 }
2808 }
2809 {
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 wxPyGridCellEditor_base_Destroy(_arg0);
2812
2813 wxPyEndAllowThreads(__tstate);
2814 if (PyErr_Occurred()) return NULL;
2815 } Py_INCREF(Py_None);
2816 _resultobj = Py_None;
2817 return _resultobj;
2818 }
2819
2820 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2821 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2822 PyObject * _resultobj;
2823 wxPyGridCellEditor * _arg0;
2824 wxString * _arg1;
2825 PyObject * _argo0 = 0;
2826 PyObject * _obj1 = 0;
2827 char *_kwnames[] = { "self","params", NULL };
2828
2829 self = self;
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2831 return NULL;
2832 if (_argo0) {
2833 if (_argo0 == Py_None) { _arg0 = NULL; }
2834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2836 return NULL;
2837 }
2838 }
2839 {
2840 _arg1 = wxString_in_helper(_obj1);
2841 if (_arg1 == NULL)
2842 return NULL;
2843 }
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) return NULL;
2850 } Py_INCREF(Py_None);
2851 _resultobj = Py_None;
2852 {
2853 if (_obj1)
2854 delete _arg1;
2855 }
2856 return _resultobj;
2857 }
2858
2859 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
2860 wxGridCellTextEditor *src;
2861 wxGridCellEditor *dest;
2862 src = (wxGridCellTextEditor *) ptr;
2863 dest = (wxGridCellEditor *) src;
2864 return (void *) dest;
2865 }
2866
2867 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2868 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject * _resultobj;
2870 wxGridCellTextEditor * _result;
2871 char *_kwnames[] = { NULL };
2872 char _ptemp[128];
2873
2874 self = self;
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
2876 return NULL;
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) return NULL;
2883 } if (_result) {
2884 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
2885 _resultobj = Py_BuildValue("s",_ptemp);
2886 } else {
2887 Py_INCREF(Py_None);
2888 _resultobj = Py_None;
2889 }
2890 return _resultobj;
2891 }
2892
2893 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
2894 wxGridCellNumberEditor *src;
2895 wxGridCellTextEditor *dest;
2896 src = (wxGridCellNumberEditor *) ptr;
2897 dest = (wxGridCellTextEditor *) src;
2898 return (void *) dest;
2899 }
2900
2901 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
2902 wxGridCellNumberEditor *src;
2903 wxGridCellEditor *dest;
2904 src = (wxGridCellNumberEditor *) ptr;
2905 dest = (wxGridCellEditor *) src;
2906 return (void *) dest;
2907 }
2908
2909 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2910 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2911 PyObject * _resultobj;
2912 wxGridCellNumberEditor * _result;
2913 int _arg0 = (int ) -1;
2914 int _arg1 = (int ) -1;
2915 char *_kwnames[] = { "min","max", NULL };
2916 char _ptemp[128];
2917
2918 self = self;
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
2920 return NULL;
2921 {
2922 PyThreadState* __tstate = wxPyBeginAllowThreads();
2923 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
2924
2925 wxPyEndAllowThreads(__tstate);
2926 if (PyErr_Occurred()) return NULL;
2927 } if (_result) {
2928 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
2929 _resultobj = Py_BuildValue("s",_ptemp);
2930 } else {
2931 Py_INCREF(Py_None);
2932 _resultobj = Py_None;
2933 }
2934 return _resultobj;
2935 }
2936
2937 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
2938 wxGridCellFloatEditor *src;
2939 wxGridCellTextEditor *dest;
2940 src = (wxGridCellFloatEditor *) ptr;
2941 dest = (wxGridCellTextEditor *) src;
2942 return (void *) dest;
2943 }
2944
2945 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
2946 wxGridCellFloatEditor *src;
2947 wxGridCellEditor *dest;
2948 src = (wxGridCellFloatEditor *) ptr;
2949 dest = (wxGridCellEditor *) src;
2950 return (void *) dest;
2951 }
2952
2953 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2954 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject * _resultobj;
2956 wxGridCellFloatEditor * _result;
2957 char *_kwnames[] = { NULL };
2958 char _ptemp[128];
2959
2960 self = self;
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
2962 return NULL;
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) return NULL;
2969 } if (_result) {
2970 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
2971 _resultobj = Py_BuildValue("s",_ptemp);
2972 } else {
2973 Py_INCREF(Py_None);
2974 _resultobj = Py_None;
2975 }
2976 return _resultobj;
2977 }
2978
2979 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
2980 wxGridCellBoolEditor *src;
2981 wxGridCellEditor *dest;
2982 src = (wxGridCellBoolEditor *) ptr;
2983 dest = (wxGridCellEditor *) src;
2984 return (void *) dest;
2985 }
2986
2987 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2988 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2989 PyObject * _resultobj;
2990 wxGridCellBoolEditor * _result;
2991 char *_kwnames[] = { NULL };
2992 char _ptemp[128];
2993
2994 self = self;
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
2996 return NULL;
2997 {
2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
2999 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
3000
3001 wxPyEndAllowThreads(__tstate);
3002 if (PyErr_Occurred()) return NULL;
3003 } if (_result) {
3004 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
3005 _resultobj = Py_BuildValue("s",_ptemp);
3006 } else {
3007 Py_INCREF(Py_None);
3008 _resultobj = Py_None;
3009 }
3010 return _resultobj;
3011 }
3012
3013 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
3014 wxGridCellChoiceEditor *src;
3015 wxGridCellEditor *dest;
3016 src = (wxGridCellChoiceEditor *) ptr;
3017 dest = (wxGridCellEditor *) src;
3018 return (void *) dest;
3019 }
3020
3021 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
3022 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3023 PyObject * _resultobj;
3024 wxGridCellChoiceEditor * _result;
3025 int _arg0 = (int ) 0;
3026 wxString * _arg1 = (wxString *) NULL;
3027 bool _arg2 = (bool ) FALSE;
3028 PyObject * _obj1 = 0;
3029 int tempbool2 = (int) FALSE;
3030 char *_kwnames[] = { "choices","allowOthers", NULL };
3031 char _ptemp[128];
3032
3033 self = self;
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
3035 return NULL;
3036 if (_obj1)
3037 {
3038 _arg1 = wxString_LIST_helper(_obj1);
3039 if (_arg1 == NULL) {
3040 return NULL;
3041 }
3042 }
3043 _arg2 = (bool ) tempbool2;
3044 {
3045 if (_obj1) {
3046 _arg0 = PyList_Size(_obj1);
3047 }
3048 else {
3049 _arg0 = 0;
3050 }
3051 }
3052 {
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
3055
3056 wxPyEndAllowThreads(__tstate);
3057 if (PyErr_Occurred()) return NULL;
3058 } if (_result) {
3059 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
3060 _resultobj = Py_BuildValue("s",_ptemp);
3061 } else {
3062 Py_INCREF(Py_None);
3063 _resultobj = Py_None;
3064 }
3065 {
3066 delete [] _arg1;
3067 }
3068 return _resultobj;
3069 }
3070
3071 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
3072 wxGridCellEnumEditor *src;
3073 wxGridCellChoiceEditor *dest;
3074 src = (wxGridCellEnumEditor *) ptr;
3075 dest = (wxGridCellChoiceEditor *) src;
3076 return (void *) dest;
3077 }
3078
3079 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
3080 wxGridCellEnumEditor *src;
3081 wxGridCellEditor *dest;
3082 src = (wxGridCellEnumEditor *) ptr;
3083 dest = (wxGridCellEditor *) src;
3084 return (void *) dest;
3085 }
3086
3087 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3088 static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3089 PyObject * _resultobj;
3090 wxGridCellEnumEditor * _result;
3091 wxString * _arg0 = (wxString *) &wxPyEmptyString;
3092 PyObject * _obj0 = 0;
3093 char *_kwnames[] = { "choices", NULL };
3094 char _ptemp[128];
3095
3096 self = self;
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
3098 return NULL;
3099 if (_obj0)
3100 {
3101 _arg0 = wxString_LIST_helper(_obj0);
3102 if (_arg0 == NULL) {
3103 return NULL;
3104 }
3105 }
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) return NULL;
3112 } if (_result) {
3113 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
3114 _resultobj = Py_BuildValue("s",_ptemp);
3115 } else {
3116 Py_INCREF(Py_None);
3117 _resultobj = Py_None;
3118 }
3119 {
3120 delete [] _arg0;
3121 }
3122 return _resultobj;
3123 }
3124
3125 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
3126 wxGridCellAutoWrapStringEditor *src;
3127 wxGridCellTextEditor *dest;
3128 src = (wxGridCellAutoWrapStringEditor *) ptr;
3129 dest = (wxGridCellTextEditor *) src;
3130 return (void *) dest;
3131 }
3132
3133 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3134 wxGridCellAutoWrapStringEditor *src;
3135 wxGridCellEditor *dest;
3136 src = (wxGridCellAutoWrapStringEditor *) ptr;
3137 dest = (wxGridCellEditor *) src;
3138 return (void *) dest;
3139 }
3140
3141 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3142 static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject * _resultobj;
3144 wxGridCellAutoWrapStringEditor * _result;
3145 char *_kwnames[] = { NULL };
3146 char _ptemp[128];
3147
3148 self = self;
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3150 return NULL;
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) return NULL;
3157 } if (_result) {
3158 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3159 _resultobj = Py_BuildValue("s",_ptemp);
3160 } else {
3161 Py_INCREF(Py_None);
3162 _resultobj = Py_None;
3163 }
3164 return _resultobj;
3165 }
3166
3167 static void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject * _self) {
3168 self->SetClientObject(new wxPyOORClientData(_self));
3169 }
3170 static PyObject *_wrap_wxGridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject * _resultobj;
3172 wxGridCellAttr * _arg0;
3173 PyObject * _arg1;
3174 PyObject * _argo0 = 0;
3175 PyObject * _obj1 = 0;
3176 char *_kwnames[] = { "self","_self", NULL };
3177
3178 self = self;
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr__setOORInfo",_kwnames,&_argo0,&_obj1))
3180 return NULL;
3181 if (_argo0) {
3182 if (_argo0 == Py_None) { _arg0 = NULL; }
3183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3185 return NULL;
3186 }
3187 }
3188 {
3189 _arg1 = _obj1;
3190 }
3191 {
3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
3193 wxGridCellAttr__setOORInfo(_arg0,_arg1);
3194
3195 wxPyEndAllowThreads(__tstate);
3196 if (PyErr_Occurred()) return NULL;
3197 } Py_INCREF(Py_None);
3198 _resultobj = Py_None;
3199 return _resultobj;
3200 }
3201
3202 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3203 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject * _resultobj;
3205 wxGridCellAttr * _result;
3206 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3207 PyObject * _argo0 = 0;
3208 char *_kwnames[] = { "attrDefault", NULL };
3209 char _ptemp[128];
3210
3211 self = self;
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
3213 return NULL;
3214 if (_argo0) {
3215 if (_argo0 == Py_None) { _arg0 = NULL; }
3216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3218 return NULL;
3219 }
3220 }
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
3224
3225 wxPyEndAllowThreads(__tstate);
3226 if (PyErr_Occurred()) return NULL;
3227 } if (_result) {
3228 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3229 _resultobj = Py_BuildValue("s",_ptemp);
3230 } else {
3231 Py_INCREF(Py_None);
3232 _resultobj = Py_None;
3233 }
3234 return _resultobj;
3235 }
3236
3237 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3238 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3239 PyObject * _resultobj;
3240 wxGridCellAttr * _result;
3241 wxGridCellAttr * _arg0;
3242 PyObject * _argo0 = 0;
3243 char *_kwnames[] = { "self", NULL };
3244
3245 self = self;
3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3247 return NULL;
3248 if (_argo0) {
3249 if (_argo0 == Py_None) { _arg0 = NULL; }
3250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3252 return NULL;
3253 }
3254 }
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) return NULL;
3261 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
3262 return _resultobj;
3263 }
3264
3265 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3266 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject * _resultobj;
3268 wxGridCellAttr * _arg0;
3269 wxGridCellAttr * _arg1;
3270 PyObject * _argo0 = 0;
3271 PyObject * _argo1 = 0;
3272 char *_kwnames[] = { "self","mergefrom", NULL };
3273
3274 self = self;
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3276 return NULL;
3277 if (_argo0) {
3278 if (_argo0 == Py_None) { _arg0 = NULL; }
3279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3281 return NULL;
3282 }
3283 }
3284 if (_argo1) {
3285 if (_argo1 == Py_None) { _arg1 = NULL; }
3286 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3287 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3288 return NULL;
3289 }
3290 }
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3293 wxGridCellAttr_MergeWith(_arg0,_arg1);
3294
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) return NULL;
3297 } Py_INCREF(Py_None);
3298 _resultobj = Py_None;
3299 return _resultobj;
3300 }
3301
3302 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3303 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3304 PyObject * _resultobj;
3305 wxGridCellAttr * _arg0;
3306 PyObject * _argo0 = 0;
3307 char *_kwnames[] = { "self", NULL };
3308
3309 self = self;
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3311 return NULL;
3312 if (_argo0) {
3313 if (_argo0 == Py_None) { _arg0 = NULL; }
3314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3316 return NULL;
3317 }
3318 }
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 wxGridCellAttr_IncRef(_arg0);
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) return NULL;
3325 } Py_INCREF(Py_None);
3326 _resultobj = Py_None;
3327 return _resultobj;
3328 }
3329
3330 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3331 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3332 PyObject * _resultobj;
3333 wxGridCellAttr * _arg0;
3334 PyObject * _argo0 = 0;
3335 char *_kwnames[] = { "self", NULL };
3336
3337 self = self;
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3339 return NULL;
3340 if (_argo0) {
3341 if (_argo0 == Py_None) { _arg0 = NULL; }
3342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3344 return NULL;
3345 }
3346 }
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 wxGridCellAttr_DecRef(_arg0);
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) return NULL;
3353 } Py_INCREF(Py_None);
3354 _resultobj = Py_None;
3355 return _resultobj;
3356 }
3357
3358 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3359 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3360 PyObject * _resultobj;
3361 wxGridCellAttr * _arg0;
3362 wxColour * _arg1;
3363 PyObject * _argo0 = 0;
3364 wxColour temp;
3365 PyObject * _obj1 = 0;
3366 char *_kwnames[] = { "self","colText", NULL };
3367
3368 self = self;
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3370 return NULL;
3371 if (_argo0) {
3372 if (_argo0 == Py_None) { _arg0 = NULL; }
3373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3375 return NULL;
3376 }
3377 }
3378 {
3379 _arg1 = &temp;
3380 if (! wxColour_helper(_obj1, &_arg1))
3381 return NULL;
3382 }
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) return NULL;
3389 } Py_INCREF(Py_None);
3390 _resultobj = Py_None;
3391 return _resultobj;
3392 }
3393
3394 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3395 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3396 PyObject * _resultobj;
3397 wxGridCellAttr * _arg0;
3398 wxColour * _arg1;
3399 PyObject * _argo0 = 0;
3400 wxColour temp;
3401 PyObject * _obj1 = 0;
3402 char *_kwnames[] = { "self","colBack", NULL };
3403
3404 self = self;
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3406 return NULL;
3407 if (_argo0) {
3408 if (_argo0 == Py_None) { _arg0 = NULL; }
3409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3411 return NULL;
3412 }
3413 }
3414 {
3415 _arg1 = &temp;
3416 if (! wxColour_helper(_obj1, &_arg1))
3417 return NULL;
3418 }
3419 {
3420 PyThreadState* __tstate = wxPyBeginAllowThreads();
3421 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3422
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) return NULL;
3425 } Py_INCREF(Py_None);
3426 _resultobj = Py_None;
3427 return _resultobj;
3428 }
3429
3430 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3431 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject * _resultobj;
3433 wxGridCellAttr * _arg0;
3434 wxFont * _arg1;
3435 PyObject * _argo0 = 0;
3436 PyObject * _argo1 = 0;
3437 char *_kwnames[] = { "self","font", NULL };
3438
3439 self = self;
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3441 return NULL;
3442 if (_argo0) {
3443 if (_argo0 == Py_None) { _arg0 = NULL; }
3444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3446 return NULL;
3447 }
3448 }
3449 if (_argo1) {
3450 if (_argo1 == Py_None) { _arg1 = NULL; }
3451 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3452 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3453 return NULL;
3454 }
3455 }
3456 {
3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
3458 wxGridCellAttr_SetFont(_arg0,*_arg1);
3459
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) return NULL;
3462 } Py_INCREF(Py_None);
3463 _resultobj = Py_None;
3464 return _resultobj;
3465 }
3466
3467 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3468 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3469 PyObject * _resultobj;
3470 wxGridCellAttr * _arg0;
3471 int _arg1;
3472 int _arg2;
3473 PyObject * _argo0 = 0;
3474 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3475
3476 self = self;
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3478 return NULL;
3479 if (_argo0) {
3480 if (_argo0 == Py_None) { _arg0 = NULL; }
3481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3483 return NULL;
3484 }
3485 }
3486 {
3487 PyThreadState* __tstate = wxPyBeginAllowThreads();
3488 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) return NULL;
3492 } Py_INCREF(Py_None);
3493 _resultobj = Py_None;
3494 return _resultobj;
3495 }
3496
3497 #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3498 static PyObject *_wrap_wxGridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3499 PyObject * _resultobj;
3500 wxGridCellAttr * _arg0;
3501 int _arg1;
3502 int _arg2;
3503 PyObject * _argo0 = 0;
3504 char *_kwnames[] = { "self","num_rows","num_cols", NULL };
3505
3506 self = self;
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
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_SetSize. Expected _wxGridCellAttr_p.");
3513 return NULL;
3514 }
3515 }
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 wxGridCellAttr_SetSize(_arg0,_arg1,_arg2);
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) return NULL;
3522 } Py_INCREF(Py_None);
3523 _resultobj = Py_None;
3524 return _resultobj;
3525 }
3526
3527 #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0))
3528 static PyObject *_wrap_wxGridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject * _resultobj;
3530 wxGridCellAttr * _arg0;
3531 bool _arg1;
3532 PyObject * _argo0 = 0;
3533 int tempbool1;
3534 char *_kwnames[] = { "self","allow", NULL };
3535
3536 self = self;
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetOverflow",_kwnames,&_argo0,&tempbool1))
3538 return NULL;
3539 if (_argo0) {
3540 if (_argo0 == Py_None) { _arg0 = NULL; }
3541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetOverflow. Expected _wxGridCellAttr_p.");
3543 return NULL;
3544 }
3545 }
3546 _arg1 = (bool ) tempbool1;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 wxGridCellAttr_SetOverflow(_arg0,_arg1);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) return NULL;
3553 } Py_INCREF(Py_None);
3554 _resultobj = Py_None;
3555 return _resultobj;
3556 }
3557
3558 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3559 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3560 PyObject * _resultobj;
3561 wxGridCellAttr * _arg0;
3562 bool _arg1 = (bool ) TRUE;
3563 PyObject * _argo0 = 0;
3564 int tempbool1 = (int) TRUE;
3565 char *_kwnames[] = { "self","isReadOnly", NULL };
3566
3567 self = self;
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3569 return NULL;
3570 if (_argo0) {
3571 if (_argo0 == Py_None) { _arg0 = NULL; }
3572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3574 return NULL;
3575 }
3576 }
3577 _arg1 = (bool ) tempbool1;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) return NULL;
3584 } Py_INCREF(Py_None);
3585 _resultobj = Py_None;
3586 return _resultobj;
3587 }
3588
3589 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3590 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 wxGridCellAttr * _arg0;
3593 wxGridCellRenderer * _arg1;
3594 PyObject * _argo0 = 0;
3595 PyObject * _argo1 = 0;
3596 char *_kwnames[] = { "self","renderer", NULL };
3597
3598 self = self;
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3600 return NULL;
3601 if (_argo0) {
3602 if (_argo0 == Py_None) { _arg0 = NULL; }
3603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3605 return NULL;
3606 }
3607 }
3608 if (_argo1) {
3609 if (_argo1 == Py_None) { _arg1 = NULL; }
3610 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3612 return NULL;
3613 }
3614 }
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) return NULL;
3621 } Py_INCREF(Py_None);
3622 _resultobj = Py_None;
3623 return _resultobj;
3624 }
3625
3626 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3627 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject * _resultobj;
3629 wxGridCellAttr * _arg0;
3630 wxGridCellEditor * _arg1;
3631 PyObject * _argo0 = 0;
3632 PyObject * _argo1 = 0;
3633 char *_kwnames[] = { "self","editor", NULL };
3634
3635 self = self;
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3637 return NULL;
3638 if (_argo0) {
3639 if (_argo0 == Py_None) { _arg0 = NULL; }
3640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3642 return NULL;
3643 }
3644 }
3645 if (_argo1) {
3646 if (_argo1 == Py_None) { _arg1 = NULL; }
3647 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3648 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3649 return NULL;
3650 }
3651 }
3652 {
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 wxGridCellAttr_SetEditor(_arg0,_arg1);
3655
3656 wxPyEndAllowThreads(__tstate);
3657 if (PyErr_Occurred()) return NULL;
3658 } Py_INCREF(Py_None);
3659 _resultobj = Py_None;
3660 return _resultobj;
3661 }
3662
3663 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3664 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject * _resultobj;
3666 wxGridCellAttr * _arg0;
3667 wxGridCellAttr::wxAttrKind _arg1;
3668 PyObject * _argo0 = 0;
3669 char *_kwnames[] = { "self","kind", NULL };
3670
3671 self = self;
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3673 return NULL;
3674 if (_argo0) {
3675 if (_argo0 == Py_None) { _arg0 = NULL; }
3676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3678 return NULL;
3679 }
3680 }
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 wxGridCellAttr_SetKind(_arg0,_arg1);
3684
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) return NULL;
3687 } Py_INCREF(Py_None);
3688 _resultobj = Py_None;
3689 return _resultobj;
3690 }
3691
3692 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3693 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject * _resultobj;
3695 bool _result;
3696 wxGridCellAttr * _arg0;
3697 PyObject * _argo0 = 0;
3698 char *_kwnames[] = { "self", NULL };
3699
3700 self = self;
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3702 return NULL;
3703 if (_argo0) {
3704 if (_argo0 == Py_None) { _arg0 = NULL; }
3705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3707 return NULL;
3708 }
3709 }
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) return NULL;
3716 } _resultobj = Py_BuildValue("i",_result);
3717 return _resultobj;
3718 }
3719
3720 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3721 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3722 PyObject * _resultobj;
3723 bool _result;
3724 wxGridCellAttr * _arg0;
3725 PyObject * _argo0 = 0;
3726 char *_kwnames[] = { "self", NULL };
3727
3728 self = self;
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3730 return NULL;
3731 if (_argo0) {
3732 if (_argo0 == Py_None) { _arg0 = NULL; }
3733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3735 return NULL;
3736 }
3737 }
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) return NULL;
3744 } _resultobj = Py_BuildValue("i",_result);
3745 return _resultobj;
3746 }
3747
3748 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3749 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject * _resultobj;
3751 bool _result;
3752 wxGridCellAttr * _arg0;
3753 PyObject * _argo0 = 0;
3754 char *_kwnames[] = { "self", NULL };
3755
3756 self = self;
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3758 return NULL;
3759 if (_argo0) {
3760 if (_argo0 == Py_None) { _arg0 = NULL; }
3761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3763 return NULL;
3764 }
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) return NULL;
3772 } _resultobj = Py_BuildValue("i",_result);
3773 return _resultobj;
3774 }
3775
3776 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3777 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3778 PyObject * _resultobj;
3779 bool _result;
3780 wxGridCellAttr * _arg0;
3781 PyObject * _argo0 = 0;
3782 char *_kwnames[] = { "self", NULL };
3783
3784 self = self;
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3786 return NULL;
3787 if (_argo0) {
3788 if (_argo0 == Py_None) { _arg0 = NULL; }
3789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3791 return NULL;
3792 }
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) return NULL;
3800 } _resultobj = Py_BuildValue("i",_result);
3801 return _resultobj;
3802 }
3803
3804 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3805 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3806 PyObject * _resultobj;
3807 bool _result;
3808 wxGridCellAttr * _arg0;
3809 PyObject * _argo0 = 0;
3810 char *_kwnames[] = { "self", NULL };
3811
3812 self = self;
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3814 return NULL;
3815 if (_argo0) {
3816 if (_argo0 == Py_None) { _arg0 = NULL; }
3817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3819 return NULL;
3820 }
3821 }
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) return NULL;
3828 } _resultobj = Py_BuildValue("i",_result);
3829 return _resultobj;
3830 }
3831
3832 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3833 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject * _resultobj;
3835 bool _result;
3836 wxGridCellAttr * _arg0;
3837 PyObject * _argo0 = 0;
3838 char *_kwnames[] = { "self", NULL };
3839
3840 self = self;
3841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3842 return NULL;
3843 if (_argo0) {
3844 if (_argo0 == Py_None) { _arg0 = NULL; }
3845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3847 return NULL;
3848 }
3849 }
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) return NULL;
3856 } _resultobj = Py_BuildValue("i",_result);
3857 return _resultobj;
3858 }
3859
3860 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3861 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
3862 PyObject * _resultobj;
3863 bool _result;
3864 wxGridCellAttr * _arg0;
3865 PyObject * _argo0 = 0;
3866 char *_kwnames[] = { "self", NULL };
3867
3868 self = self;
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
3870 return NULL;
3871 if (_argo0) {
3872 if (_argo0 == Py_None) { _arg0 = NULL; }
3873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3875 return NULL;
3876 }
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) return NULL;
3884 } _resultobj = Py_BuildValue("i",_result);
3885 return _resultobj;
3886 }
3887
3888 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3889 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject * _resultobj;
3891 wxColour * _result;
3892 wxGridCellAttr * _arg0;
3893 PyObject * _argo0 = 0;
3894 char *_kwnames[] = { "self", NULL };
3895 char _ptemp[128];
3896
3897 self = self;
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
3899 return NULL;
3900 if (_argo0) {
3901 if (_argo0 == Py_None) { _arg0 = NULL; }
3902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3904 return NULL;
3905 }
3906 }
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) return NULL;
3913 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3914 _resultobj = Py_BuildValue("s",_ptemp);
3915 return _resultobj;
3916 }
3917
3918 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3919 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3920 PyObject * _resultobj;
3921 wxColour * _result;
3922 wxGridCellAttr * _arg0;
3923 PyObject * _argo0 = 0;
3924 char *_kwnames[] = { "self", NULL };
3925 char _ptemp[128];
3926
3927 self = self;
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
3929 return NULL;
3930 if (_argo0) {
3931 if (_argo0 == Py_None) { _arg0 = NULL; }
3932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3934 return NULL;
3935 }
3936 }
3937 {
3938 PyThreadState* __tstate = wxPyBeginAllowThreads();
3939 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
3940
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) return NULL;
3943 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3944 _resultobj = Py_BuildValue("s",_ptemp);
3945 return _resultobj;
3946 }
3947
3948 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3949 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject * _resultobj;
3951 wxFont * _result;
3952 wxGridCellAttr * _arg0;
3953 PyObject * _argo0 = 0;
3954 char *_kwnames[] = { "self", NULL };
3955 char _ptemp[128];
3956
3957 self = self;
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
3959 return NULL;
3960 if (_argo0) {
3961 if (_argo0 == Py_None) { _arg0 = NULL; }
3962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3964 return NULL;
3965 }
3966 }
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) return NULL;
3973 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
3974 _resultobj = Py_BuildValue("s",_ptemp);
3975 return _resultobj;
3976 }
3977
3978 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3979 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject * _resultobj;
3981 wxGridCellAttr * _arg0;
3982 int * _arg1;
3983 int temp;
3984 int * _arg2;
3985 int temp0;
3986 PyObject * _argo0 = 0;
3987 char *_kwnames[] = { "self", NULL };
3988
3989 self = self;
3990 {
3991 _arg1 = &temp;
3992 }
3993 {
3994 _arg2 = &temp0;
3995 }
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
3997 return NULL;
3998 if (_argo0) {
3999 if (_argo0 == Py_None) { _arg0 = NULL; }
4000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
4002 return NULL;
4003 }
4004 }
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) return NULL;
4011 } Py_INCREF(Py_None);
4012 _resultobj = Py_None;
4013 {
4014 PyObject *o;
4015 o = PyInt_FromLong((long) (*_arg1));
4016 _resultobj = t_output_helper(_resultobj, o);
4017 }
4018 {
4019 PyObject *o;
4020 o = PyInt_FromLong((long) (*_arg2));
4021 _resultobj = t_output_helper(_resultobj, o);
4022 }
4023 return _resultobj;
4024 }
4025
4026 #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4027 static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject * _resultobj;
4029 wxGridCellAttr * _arg0;
4030 int * _arg1;
4031 int * _arg2;
4032 PyObject * _argo0 = 0;
4033 PyObject * _argo1 = 0;
4034 PyObject * _argo2 = 0;
4035 char *_kwnames[] = { "self","num_rows","num_cols", NULL };
4036
4037 self = self;
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellAttr_GetSize",_kwnames,&_argo0,&_argo1,&_argo2))
4039 return NULL;
4040 if (_argo0) {
4041 if (_argo0 == Py_None) { _arg0 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4044 return NULL;
4045 }
4046 }
4047 if (_argo1) {
4048 if (_argo1 == Py_None) { _arg1 = NULL; }
4049 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetSize. Expected _int_p.");
4051 return NULL;
4052 }
4053 }
4054 if (_argo2) {
4055 if (_argo2 == Py_None) { _arg2 = NULL; }
4056 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
4057 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellAttr_GetSize. Expected _int_p.");
4058 return NULL;
4059 }
4060 }
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 wxGridCellAttr_GetSize(_arg0,_arg1,_arg2);
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) return NULL;
4067 } Py_INCREF(Py_None);
4068 _resultobj = Py_None;
4069 return _resultobj;
4070 }
4071
4072 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4073 static PyObject *_wrap_wxGridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject * _resultobj;
4075 bool _result;
4076 wxGridCellAttr * _arg0;
4077 PyObject * _argo0 = 0;
4078 char *_kwnames[] = { "self", NULL };
4079
4080 self = self;
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetOverflow",_kwnames,&_argo0))
4082 return NULL;
4083 if (_argo0) {
4084 if (_argo0 == Py_None) { _arg0 = NULL; }
4085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4087 return NULL;
4088 }
4089 }
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 _result = (bool )wxGridCellAttr_GetOverflow(_arg0);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) return NULL;
4096 } _resultobj = Py_BuildValue("i",_result);
4097 return _resultobj;
4098 }
4099
4100 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4101 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject * _resultobj;
4103 wxGridCellRenderer * _result;
4104 wxGridCellAttr * _arg0;
4105 wxGrid * _arg1;
4106 int _arg2;
4107 int _arg3;
4108 PyObject * _argo0 = 0;
4109 PyObject * _argo1 = 0;
4110 char *_kwnames[] = { "self","grid","row","col", NULL };
4111
4112 self = self;
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4114 return NULL;
4115 if (_argo0) {
4116 if (_argo0 == Py_None) { _arg0 = NULL; }
4117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4119 return NULL;
4120 }
4121 }
4122 if (_argo1) {
4123 if (_argo1 == Py_None) { _arg1 = NULL; }
4124 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4125 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4126 return NULL;
4127 }
4128 }
4129 {
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) return NULL;
4135 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
4136 return _resultobj;
4137 }
4138
4139 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4140 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4141 PyObject * _resultobj;
4142 wxGridCellEditor * _result;
4143 wxGridCellAttr * _arg0;
4144 wxGrid * _arg1;
4145 int _arg2;
4146 int _arg3;
4147 PyObject * _argo0 = 0;
4148 PyObject * _argo1 = 0;
4149 char *_kwnames[] = { "self","grid","row","col", NULL };
4150
4151 self = self;
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4153 return NULL;
4154 if (_argo0) {
4155 if (_argo0 == Py_None) { _arg0 = NULL; }
4156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4158 return NULL;
4159 }
4160 }
4161 if (_argo1) {
4162 if (_argo1 == Py_None) { _arg1 = NULL; }
4163 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4164 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4165 return NULL;
4166 }
4167 }
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
4171
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) return NULL;
4174 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
4175 return _resultobj;
4176 }
4177
4178 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4179 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4180 PyObject * _resultobj;
4181 bool _result;
4182 wxGridCellAttr * _arg0;
4183 PyObject * _argo0 = 0;
4184 char *_kwnames[] = { "self", NULL };
4185
4186 self = self;
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
4188 return NULL;
4189 if (_argo0) {
4190 if (_argo0 == Py_None) { _arg0 = NULL; }
4191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4193 return NULL;
4194 }
4195 }
4196 {
4197 PyThreadState* __tstate = wxPyBeginAllowThreads();
4198 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
4199
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) return NULL;
4202 } _resultobj = Py_BuildValue("i",_result);
4203 return _resultobj;
4204 }
4205
4206 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4207 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4208 PyObject * _resultobj;
4209 wxGridCellAttr * _arg0;
4210 wxGridCellAttr * _arg1;
4211 PyObject * _argo0 = 0;
4212 PyObject * _argo1 = 0;
4213 char *_kwnames[] = { "self","defAttr", NULL };
4214
4215 self = self;
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
4217 return NULL;
4218 if (_argo0) {
4219 if (_argo0 == Py_None) { _arg0 = NULL; }
4220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4222 return NULL;
4223 }
4224 }
4225 if (_argo1) {
4226 if (_argo1 == Py_None) { _arg1 = NULL; }
4227 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4228 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4229 return NULL;
4230 }
4231 }
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) return NULL;
4238 } Py_INCREF(Py_None);
4239 _resultobj = Py_None;
4240 return _resultobj;
4241 }
4242
4243 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4244 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4245 PyObject * _resultobj;
4246 wxGridCellAttrProvider * _result;
4247 char *_kwnames[] = { NULL };
4248 char _ptemp[128];
4249
4250 self = self;
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
4252 return NULL;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) return NULL;
4259 } if (_result) {
4260 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4261 _resultobj = Py_BuildValue("s",_ptemp);
4262 } else {
4263 Py_INCREF(Py_None);
4264 _resultobj = Py_None;
4265 }
4266 return _resultobj;
4267 }
4268
4269 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject * _self) {
4270 self->SetClientObject(new wxPyOORClientData(_self));
4271 }
4272 static PyObject *_wrap_wxGridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject * _resultobj;
4274 wxGridCellAttrProvider * _arg0;
4275 PyObject * _arg1;
4276 PyObject * _argo0 = 0;
4277 PyObject * _obj1 = 0;
4278 char *_kwnames[] = { "self","_self", NULL };
4279
4280 self = self;
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames,&_argo0,&_obj1))
4282 return NULL;
4283 if (_argo0) {
4284 if (_argo0 == Py_None) { _arg0 = NULL; }
4285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4287 return NULL;
4288 }
4289 }
4290 {
4291 _arg1 = _obj1;
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 wxGridCellAttrProvider__setOORInfo(_arg0,_arg1);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) return NULL;
4299 } Py_INCREF(Py_None);
4300 _resultobj = Py_None;
4301 return _resultobj;
4302 }
4303
4304 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4305 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4306 PyObject * _resultobj;
4307 wxGridCellAttr * _result;
4308 wxGridCellAttrProvider * _arg0;
4309 int _arg1;
4310 int _arg2;
4311 wxGridCellAttr::wxAttrKind _arg3;
4312 PyObject * _argo0 = 0;
4313 char *_kwnames[] = { "self","row","col","kind", NULL };
4314
4315 self = self;
4316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4317 return NULL;
4318 if (_argo0) {
4319 if (_argo0 == Py_None) { _arg0 = NULL; }
4320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4322 return NULL;
4323 }
4324 }
4325 {
4326 PyThreadState* __tstate = wxPyBeginAllowThreads();
4327 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4328
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) return NULL;
4331 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4332 return _resultobj;
4333 }
4334
4335 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4336 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4337 PyObject * _resultobj;
4338 wxGridCellAttrProvider * _arg0;
4339 wxGridCellAttr * _arg1;
4340 int _arg2;
4341 int _arg3;
4342 PyObject * _argo0 = 0;
4343 PyObject * _argo1 = 0;
4344 char *_kwnames[] = { "self","attr","row","col", NULL };
4345
4346 self = self;
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4348 return NULL;
4349 if (_argo0) {
4350 if (_argo0 == Py_None) { _arg0 = NULL; }
4351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4353 return NULL;
4354 }
4355 }
4356 if (_argo1) {
4357 if (_argo1 == Py_None) { _arg1 = NULL; }
4358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4360 return NULL;
4361 }
4362 }
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) return NULL;
4369 } Py_INCREF(Py_None);
4370 _resultobj = Py_None;
4371 return _resultobj;
4372 }
4373
4374 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4375 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject * _resultobj;
4377 wxGridCellAttrProvider * _arg0;
4378 wxGridCellAttr * _arg1;
4379 int _arg2;
4380 PyObject * _argo0 = 0;
4381 PyObject * _argo1 = 0;
4382 char *_kwnames[] = { "self","attr","row", NULL };
4383
4384 self = self;
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4386 return NULL;
4387 if (_argo0) {
4388 if (_argo0 == Py_None) { _arg0 = NULL; }
4389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4391 return NULL;
4392 }
4393 }
4394 if (_argo1) {
4395 if (_argo1 == Py_None) { _arg1 = NULL; }
4396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4398 return NULL;
4399 }
4400 }
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) return NULL;
4407 } Py_INCREF(Py_None);
4408 _resultobj = Py_None;
4409 return _resultobj;
4410 }
4411
4412 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4413 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject * _resultobj;
4415 wxGridCellAttrProvider * _arg0;
4416 wxGridCellAttr * _arg1;
4417 int _arg2;
4418 PyObject * _argo0 = 0;
4419 PyObject * _argo1 = 0;
4420 char *_kwnames[] = { "self","attr","col", NULL };
4421
4422 self = self;
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4424 return NULL;
4425 if (_argo0) {
4426 if (_argo0 == Py_None) { _arg0 = NULL; }
4427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4429 return NULL;
4430 }
4431 }
4432 if (_argo1) {
4433 if (_argo1 == Py_None) { _arg1 = NULL; }
4434 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4435 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4436 return NULL;
4437 }
4438 }
4439 {
4440 PyThreadState* __tstate = wxPyBeginAllowThreads();
4441 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4442
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) return NULL;
4445 } Py_INCREF(Py_None);
4446 _resultobj = Py_None;
4447 return _resultobj;
4448 }
4449
4450 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4451 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject * _resultobj;
4453 wxGridCellAttrProvider * _arg0;
4454 size_t _arg1;
4455 int _arg2;
4456 PyObject * _argo0 = 0;
4457 char *_kwnames[] = { "self","pos","numRows", NULL };
4458
4459 self = self;
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4461 return NULL;
4462 if (_argo0) {
4463 if (_argo0 == Py_None) { _arg0 = NULL; }
4464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4466 return NULL;
4467 }
4468 }
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) return NULL;
4475 } Py_INCREF(Py_None);
4476 _resultobj = Py_None;
4477 return _resultobj;
4478 }
4479
4480 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4481 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4482 PyObject * _resultobj;
4483 wxGridCellAttrProvider * _arg0;
4484 size_t _arg1;
4485 int _arg2;
4486 PyObject * _argo0 = 0;
4487 char *_kwnames[] = { "self","pos","numCols", NULL };
4488
4489 self = self;
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4491 return NULL;
4492 if (_argo0) {
4493 if (_argo0 == Py_None) { _arg0 = NULL; }
4494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4496 return NULL;
4497 }
4498 }
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) return NULL;
4505 } Py_INCREF(Py_None);
4506 _resultobj = Py_None;
4507 return _resultobj;
4508 }
4509
4510 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4511 wxPyGridCellAttrProvider *src;
4512 wxGridCellAttrProvider *dest;
4513 src = (wxPyGridCellAttrProvider *) ptr;
4514 dest = (wxGridCellAttrProvider *) src;
4515 return (void *) dest;
4516 }
4517
4518 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4519 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject * _resultobj;
4521 wxPyGridCellAttrProvider * _result;
4522 char *_kwnames[] = { NULL };
4523 char _ptemp[128];
4524
4525 self = self;
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4527 return NULL;
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4531
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) return NULL;
4534 } if (_result) {
4535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4536 _resultobj = Py_BuildValue("s",_ptemp);
4537 } else {
4538 Py_INCREF(Py_None);
4539 _resultobj = Py_None;
4540 }
4541 return _resultobj;
4542 }
4543
4544 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4545 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4546 PyObject * _resultobj;
4547 wxPyGridCellAttrProvider * _arg0;
4548 PyObject * _arg1;
4549 PyObject * _arg2;
4550 PyObject * _argo0 = 0;
4551 PyObject * _obj1 = 0;
4552 PyObject * _obj2 = 0;
4553 char *_kwnames[] = { "self","self","_class", NULL };
4554
4555 self = self;
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4557 return NULL;
4558 if (_argo0) {
4559 if (_argo0 == Py_None) { _arg0 = NULL; }
4560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4562 return NULL;
4563 }
4564 }
4565 {
4566 _arg1 = _obj1;
4567 }
4568 {
4569 _arg2 = _obj2;
4570 }
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) return NULL;
4577 } Py_INCREF(Py_None);
4578 _resultobj = Py_None;
4579 return _resultobj;
4580 }
4581
4582 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4583 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4584 PyObject * _resultobj;
4585 wxGridCellAttr * _result;
4586 wxPyGridCellAttrProvider * _arg0;
4587 int _arg1;
4588 int _arg2;
4589 wxGridCellAttr::wxAttrKind _arg3;
4590 PyObject * _argo0 = 0;
4591 char *_kwnames[] = { "self","row","col","kind", NULL };
4592
4593 self = self;
4594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4595 return NULL;
4596 if (_argo0) {
4597 if (_argo0 == Py_None) { _arg0 = NULL; }
4598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4600 return NULL;
4601 }
4602 }
4603 {
4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
4605 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4606
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) return NULL;
4609 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4610 return _resultobj;
4611 }
4612
4613 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4614 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4615 PyObject * _resultobj;
4616 wxPyGridCellAttrProvider * _arg0;
4617 wxGridCellAttr * _arg1;
4618 int _arg2;
4619 int _arg3;
4620 PyObject * _argo0 = 0;
4621 PyObject * _argo1 = 0;
4622 char *_kwnames[] = { "self","attr","row","col", NULL };
4623
4624 self = self;
4625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4626 return NULL;
4627 if (_argo0) {
4628 if (_argo0 == Py_None) { _arg0 = NULL; }
4629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4631 return NULL;
4632 }
4633 }
4634 if (_argo1) {
4635 if (_argo1 == Py_None) { _arg1 = NULL; }
4636 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4637 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4638 return NULL;
4639 }
4640 }
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) return NULL;
4647 } Py_INCREF(Py_None);
4648 _resultobj = Py_None;
4649 return _resultobj;
4650 }
4651
4652 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4653 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject * _resultobj;
4655 wxPyGridCellAttrProvider * _arg0;
4656 wxGridCellAttr * _arg1;
4657 int _arg2;
4658 PyObject * _argo0 = 0;
4659 PyObject * _argo1 = 0;
4660 char *_kwnames[] = { "self","attr","row", NULL };
4661
4662 self = self;
4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4664 return NULL;
4665 if (_argo0) {
4666 if (_argo0 == Py_None) { _arg0 = NULL; }
4667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4669 return NULL;
4670 }
4671 }
4672 if (_argo1) {
4673 if (_argo1 == Py_None) { _arg1 = NULL; }
4674 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4675 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4676 return NULL;
4677 }
4678 }
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) return NULL;
4685 } Py_INCREF(Py_None);
4686 _resultobj = Py_None;
4687 return _resultobj;
4688 }
4689
4690 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4691 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4692 PyObject * _resultobj;
4693 wxPyGridCellAttrProvider * _arg0;
4694 wxGridCellAttr * _arg1;
4695 int _arg2;
4696 PyObject * _argo0 = 0;
4697 PyObject * _argo1 = 0;
4698 char *_kwnames[] = { "self","attr","col", NULL };
4699
4700 self = self;
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4702 return NULL;
4703 if (_argo0) {
4704 if (_argo0 == Py_None) { _arg0 = NULL; }
4705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4707 return NULL;
4708 }
4709 }
4710 if (_argo1) {
4711 if (_argo1 == Py_None) { _arg1 = NULL; }
4712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4714 return NULL;
4715 }
4716 }
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) return NULL;
4723 } Py_INCREF(Py_None);
4724 _resultobj = Py_None;
4725 return _resultobj;
4726 }
4727
4728 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4729 wxGridTableBase *src;
4730 wxObject *dest;
4731 src = (wxGridTableBase *) ptr;
4732 dest = (wxObject *) src;
4733 return (void *) dest;
4734 }
4735
4736 static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject * _self) {
4737 self->SetClientObject(new wxPyOORClientData(_self));
4738 }
4739 static PyObject *_wrap_wxGridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject * _resultobj;
4741 wxGridTableBase * _arg0;
4742 PyObject * _arg1;
4743 PyObject * _argo0 = 0;
4744 PyObject * _obj1 = 0;
4745 char *_kwnames[] = { "self","_self", NULL };
4746
4747 self = self;
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase__setOORInfo",_kwnames,&_argo0,&_obj1))
4749 return NULL;
4750 if (_argo0) {
4751 if (_argo0 == Py_None) { _arg0 = NULL; }
4752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
4754 return NULL;
4755 }
4756 }
4757 {
4758 _arg1 = _obj1;
4759 }
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 wxGridTableBase__setOORInfo(_arg0,_arg1);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) return NULL;
4766 } Py_INCREF(Py_None);
4767 _resultobj = Py_None;
4768 return _resultobj;
4769 }
4770
4771 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4772 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4773 PyObject * _resultobj;
4774 wxGridTableBase * _arg0;
4775 wxGridCellAttrProvider * _arg1;
4776 PyObject * _argo0 = 0;
4777 PyObject * _argo1 = 0;
4778 char *_kwnames[] = { "self","attrProvider", NULL };
4779
4780 self = self;
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4787 return NULL;
4788 }
4789 }
4790 if (_argo1) {
4791 if (_argo1 == Py_None) { _arg1 = NULL; }
4792 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4793 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4794 return NULL;
4795 }
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) return NULL;
4803 } Py_INCREF(Py_None);
4804 _resultobj = Py_None;
4805 return _resultobj;
4806 }
4807
4808 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4809 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject * _resultobj;
4811 wxGridCellAttrProvider * _result;
4812 wxGridTableBase * _arg0;
4813 PyObject * _argo0 = 0;
4814 char *_kwnames[] = { "self", NULL };
4815
4816 self = self;
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4818 return NULL;
4819 if (_argo0) {
4820 if (_argo0 == Py_None) { _arg0 = NULL; }
4821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4823 return NULL;
4824 }
4825 }
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) return NULL;
4832 }{ _resultobj = wxPyMake_wxGridCellAttrProvider(_result); }
4833 return _resultobj;
4834 }
4835
4836 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4837 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4838 PyObject * _resultobj;
4839 wxGridTableBase * _arg0;
4840 wxGrid * _arg1;
4841 PyObject * _argo0 = 0;
4842 PyObject * _argo1 = 0;
4843 char *_kwnames[] = { "self","grid", NULL };
4844
4845 self = self;
4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4847 return NULL;
4848 if (_argo0) {
4849 if (_argo0 == Py_None) { _arg0 = NULL; }
4850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4852 return NULL;
4853 }
4854 }
4855 if (_argo1) {
4856 if (_argo1 == Py_None) { _arg1 = NULL; }
4857 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4858 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4859 return NULL;
4860 }
4861 }
4862 {
4863 PyThreadState* __tstate = wxPyBeginAllowThreads();
4864 wxGridTableBase_SetView(_arg0,_arg1);
4865
4866 wxPyEndAllowThreads(__tstate);
4867 if (PyErr_Occurred()) return NULL;
4868 } Py_INCREF(Py_None);
4869 _resultobj = Py_None;
4870 return _resultobj;
4871 }
4872
4873 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4874 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject * _resultobj;
4876 wxGrid * _result;
4877 wxGridTableBase * _arg0;
4878 PyObject * _argo0 = 0;
4879 char *_kwnames[] = { "self", NULL };
4880
4881 self = self;
4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
4883 return NULL;
4884 if (_argo0) {
4885 if (_argo0 == Py_None) { _arg0 = NULL; }
4886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4888 return NULL;
4889 }
4890 }
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) return NULL;
4897 }{ _resultobj = wxPyMake_wxObject(_result); }
4898 return _resultobj;
4899 }
4900
4901 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4902 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject * _resultobj;
4904 int _result;
4905 wxGridTableBase * _arg0;
4906 PyObject * _argo0 = 0;
4907 char *_kwnames[] = { "self", NULL };
4908
4909 self = self;
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
4911 return NULL;
4912 if (_argo0) {
4913 if (_argo0 == Py_None) { _arg0 = NULL; }
4914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4916 return NULL;
4917 }
4918 }
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) return NULL;
4925 } _resultobj = Py_BuildValue("i",_result);
4926 return _resultobj;
4927 }
4928
4929 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4930 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject * _resultobj;
4932 int _result;
4933 wxGridTableBase * _arg0;
4934 PyObject * _argo0 = 0;
4935 char *_kwnames[] = { "self", NULL };
4936
4937 self = self;
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
4939 return NULL;
4940 if (_argo0) {
4941 if (_argo0 == Py_None) { _arg0 = NULL; }
4942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4944 return NULL;
4945 }
4946 }
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) return NULL;
4953 } _resultobj = Py_BuildValue("i",_result);
4954 return _resultobj;
4955 }
4956
4957 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4958 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
4959 PyObject * _resultobj;
4960 bool _result;
4961 wxGridTableBase * _arg0;
4962 int _arg1;
4963 int _arg2;
4964 PyObject * _argo0 = 0;
4965 char *_kwnames[] = { "self","row","col", NULL };
4966
4967 self = self;
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
4969 return NULL;
4970 if (_argo0) {
4971 if (_argo0 == Py_None) { _arg0 = NULL; }
4972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4974 return NULL;
4975 }
4976 }
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) return NULL;
4983 } _resultobj = Py_BuildValue("i",_result);
4984 return _resultobj;
4985 }
4986
4987 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4988 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4989 PyObject * _resultobj;
4990 wxString * _result;
4991 wxGridTableBase * _arg0;
4992 int _arg1;
4993 int _arg2;
4994 PyObject * _argo0 = 0;
4995 char *_kwnames[] = { "self","row","col", NULL };
4996
4997 self = self;
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
4999 return NULL;
5000 if (_argo0) {
5001 if (_argo0 == Py_None) { _arg0 = NULL; }
5002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5004 return NULL;
5005 }
5006 }
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) return NULL;
5013 }{
5014 #if wxUSE_UNICODE
5015 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5016 #else
5017 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5018 #endif
5019 }
5020 {
5021 delete _result;
5022 }
5023 return _resultobj;
5024 }
5025
5026 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5027 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject * _resultobj;
5029 wxGridTableBase * _arg0;
5030 int _arg1;
5031 int _arg2;
5032 wxString * _arg3;
5033 PyObject * _argo0 = 0;
5034 PyObject * _obj3 = 0;
5035 char *_kwnames[] = { "self","row","col","value", NULL };
5036
5037 self = self;
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5039 return NULL;
5040 if (_argo0) {
5041 if (_argo0 == Py_None) { _arg0 = NULL; }
5042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5044 return NULL;
5045 }
5046 }
5047 {
5048 _arg3 = wxString_in_helper(_obj3);
5049 if (_arg3 == NULL)
5050 return NULL;
5051 }
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) return NULL;
5058 } Py_INCREF(Py_None);
5059 _resultobj = Py_None;
5060 {
5061 if (_obj3)
5062 delete _arg3;
5063 }
5064 return _resultobj;
5065 }
5066
5067 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5068 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject * _resultobj;
5070 wxString * _result;
5071 wxGridTableBase * _arg0;
5072 int _arg1;
5073 int _arg2;
5074 PyObject * _argo0 = 0;
5075 char *_kwnames[] = { "self","row","col", NULL };
5076
5077 self = self;
5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5079 return NULL;
5080 if (_argo0) {
5081 if (_argo0 == Py_None) { _arg0 = NULL; }
5082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5084 return NULL;
5085 }
5086 }
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
5090
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) return NULL;
5093 }{
5094 #if wxUSE_UNICODE
5095 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5096 #else
5097 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5098 #endif
5099 }
5100 {
5101 delete _result;
5102 }
5103 return _resultobj;
5104 }
5105
5106 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5107 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject * _resultobj;
5109 bool _result;
5110 wxGridTableBase * _arg0;
5111 int _arg1;
5112 int _arg2;
5113 wxString * _arg3;
5114 PyObject * _argo0 = 0;
5115 PyObject * _obj3 = 0;
5116 char *_kwnames[] = { "self","row","col","typeName", NULL };
5117
5118 self = self;
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5120 return NULL;
5121 if (_argo0) {
5122 if (_argo0 == Py_None) { _arg0 = NULL; }
5123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5125 return NULL;
5126 }
5127 }
5128 {
5129 _arg3 = wxString_in_helper(_obj3);
5130 if (_arg3 == NULL)
5131 return NULL;
5132 }
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) return NULL;
5139 } _resultobj = Py_BuildValue("i",_result);
5140 {
5141 if (_obj3)
5142 delete _arg3;
5143 }
5144 return _resultobj;
5145 }
5146
5147 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5148 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5149 PyObject * _resultobj;
5150 bool _result;
5151 wxGridTableBase * _arg0;
5152 int _arg1;
5153 int _arg2;
5154 wxString * _arg3;
5155 PyObject * _argo0 = 0;
5156 PyObject * _obj3 = 0;
5157 char *_kwnames[] = { "self","row","col","typeName", NULL };
5158
5159 self = self;
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5161 return NULL;
5162 if (_argo0) {
5163 if (_argo0 == Py_None) { _arg0 = NULL; }
5164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5166 return NULL;
5167 }
5168 }
5169 {
5170 _arg3 = wxString_in_helper(_obj3);
5171 if (_arg3 == NULL)
5172 return NULL;
5173 }
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) return NULL;
5180 } _resultobj = Py_BuildValue("i",_result);
5181 {
5182 if (_obj3)
5183 delete _arg3;
5184 }
5185 return _resultobj;
5186 }
5187
5188 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5189 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject * _resultobj;
5191 long _result;
5192 wxGridTableBase * _arg0;
5193 int _arg1;
5194 int _arg2;
5195 PyObject * _argo0 = 0;
5196 char *_kwnames[] = { "self","row","col", NULL };
5197
5198 self = self;
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
5200 return NULL;
5201 if (_argo0) {
5202 if (_argo0 == Py_None) { _arg0 = NULL; }
5203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5205 return NULL;
5206 }
5207 }
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) return NULL;
5214 } _resultobj = Py_BuildValue("l",_result);
5215 return _resultobj;
5216 }
5217
5218 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5219 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5220 PyObject * _resultobj;
5221 double _result;
5222 wxGridTableBase * _arg0;
5223 int _arg1;
5224 int _arg2;
5225 PyObject * _argo0 = 0;
5226 char *_kwnames[] = { "self","row","col", NULL };
5227
5228 self = self;
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
5230 return NULL;
5231 if (_argo0) {
5232 if (_argo0 == Py_None) { _arg0 = NULL; }
5233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5235 return NULL;
5236 }
5237 }
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) return NULL;
5244 } _resultobj = Py_BuildValue("d",_result);
5245 return _resultobj;
5246 }
5247
5248 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5249 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject * _resultobj;
5251 bool _result;
5252 wxGridTableBase * _arg0;
5253 int _arg1;
5254 int _arg2;
5255 PyObject * _argo0 = 0;
5256 char *_kwnames[] = { "self","row","col", NULL };
5257
5258 self = self;
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
5260 return NULL;
5261 if (_argo0) {
5262 if (_argo0 == Py_None) { _arg0 = NULL; }
5263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5265 return NULL;
5266 }
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) return NULL;
5274 } _resultobj = Py_BuildValue("i",_result);
5275 return _resultobj;
5276 }
5277
5278 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5279 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5280 PyObject * _resultobj;
5281 wxGridTableBase * _arg0;
5282 int _arg1;
5283 int _arg2;
5284 long _arg3;
5285 PyObject * _argo0 = 0;
5286 char *_kwnames[] = { "self","row","col","value", NULL };
5287
5288 self = self;
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5290 return NULL;
5291 if (_argo0) {
5292 if (_argo0 == Py_None) { _arg0 = NULL; }
5293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5295 return NULL;
5296 }
5297 }
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) return NULL;
5304 } Py_INCREF(Py_None);
5305 _resultobj = Py_None;
5306 return _resultobj;
5307 }
5308
5309 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5310 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject * _resultobj;
5312 wxGridTableBase * _arg0;
5313 int _arg1;
5314 int _arg2;
5315 double _arg3;
5316 PyObject * _argo0 = 0;
5317 char *_kwnames[] = { "self","row","col","value", NULL };
5318
5319 self = self;
5320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5321 return NULL;
5322 if (_argo0) {
5323 if (_argo0 == Py_None) { _arg0 = NULL; }
5324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5326 return NULL;
5327 }
5328 }
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) return NULL;
5335 } Py_INCREF(Py_None);
5336 _resultobj = Py_None;
5337 return _resultobj;
5338 }
5339
5340 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5341 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject * _resultobj;
5343 wxGridTableBase * _arg0;
5344 int _arg1;
5345 int _arg2;
5346 bool _arg3;
5347 PyObject * _argo0 = 0;
5348 int tempbool3;
5349 char *_kwnames[] = { "self","row","col","value", NULL };
5350
5351 self = self;
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5353 return NULL;
5354 if (_argo0) {
5355 if (_argo0 == Py_None) { _arg0 = NULL; }
5356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5358 return NULL;
5359 }
5360 }
5361 _arg3 = (bool ) tempbool3;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) return NULL;
5368 } Py_INCREF(Py_None);
5369 _resultobj = Py_None;
5370 return _resultobj;
5371 }
5372
5373 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5374 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject * _resultobj;
5376 wxGridTableBase * _arg0;
5377 PyObject * _argo0 = 0;
5378 char *_kwnames[] = { "self", NULL };
5379
5380 self = self;
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5382 return NULL;
5383 if (_argo0) {
5384 if (_argo0 == Py_None) { _arg0 = NULL; }
5385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5387 return NULL;
5388 }
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 wxGridTableBase_Clear(_arg0);
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) return NULL;
5396 } Py_INCREF(Py_None);
5397 _resultobj = Py_None;
5398 return _resultobj;
5399 }
5400
5401 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5402 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5403 PyObject * _resultobj;
5404 bool _result;
5405 wxGridTableBase * _arg0;
5406 size_t _arg1 = (size_t ) 0;
5407 size_t _arg2 = (size_t ) 1;
5408 PyObject * _argo0 = 0;
5409 char *_kwnames[] = { "self","pos","numRows", NULL };
5410
5411 self = self;
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5413 return NULL;
5414 if (_argo0) {
5415 if (_argo0 == Py_None) { _arg0 = NULL; }
5416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5418 return NULL;
5419 }
5420 }
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5424
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) return NULL;
5427 } _resultobj = Py_BuildValue("i",_result);
5428 return _resultobj;
5429 }
5430
5431 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5432 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject * _resultobj;
5434 bool _result;
5435 wxGridTableBase * _arg0;
5436 size_t _arg1 = (size_t ) 1;
5437 PyObject * _argo0 = 0;
5438 char *_kwnames[] = { "self","numRows", NULL };
5439
5440 self = self;
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5442 return NULL;
5443 if (_argo0) {
5444 if (_argo0 == Py_None) { _arg0 = NULL; }
5445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5447 return NULL;
5448 }
5449 }
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) return NULL;
5456 } _resultobj = Py_BuildValue("i",_result);
5457 return _resultobj;
5458 }
5459
5460 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5461 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5462 PyObject * _resultobj;
5463 bool _result;
5464 wxGridTableBase * _arg0;
5465 size_t _arg1 = (size_t ) 0;
5466 size_t _arg2 = (size_t ) 1;
5467 PyObject * _argo0 = 0;
5468 char *_kwnames[] = { "self","pos","numRows", NULL };
5469
5470 self = self;
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5472 return NULL;
5473 if (_argo0) {
5474 if (_argo0 == Py_None) { _arg0 = NULL; }
5475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5477 return NULL;
5478 }
5479 }
5480 {
5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
5482 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5483
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) return NULL;
5486 } _resultobj = Py_BuildValue("i",_result);
5487 return _resultobj;
5488 }
5489
5490 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5491 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject * _resultobj;
5493 bool _result;
5494 wxGridTableBase * _arg0;
5495 size_t _arg1 = (size_t ) 0;
5496 size_t _arg2 = (size_t ) 1;
5497 PyObject * _argo0 = 0;
5498 char *_kwnames[] = { "self","pos","numCols", NULL };
5499
5500 self = self;
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5502 return NULL;
5503 if (_argo0) {
5504 if (_argo0 == Py_None) { _arg0 = NULL; }
5505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5507 return NULL;
5508 }
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5513
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) return NULL;
5516 } _resultobj = Py_BuildValue("i",_result);
5517 return _resultobj;
5518 }
5519
5520 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5521 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject * _resultobj;
5523 bool _result;
5524 wxGridTableBase * _arg0;
5525 size_t _arg1 = (size_t ) 1;
5526 PyObject * _argo0 = 0;
5527 char *_kwnames[] = { "self","numCols", NULL };
5528
5529 self = self;
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5531 return NULL;
5532 if (_argo0) {
5533 if (_argo0 == Py_None) { _arg0 = NULL; }
5534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5536 return NULL;
5537 }
5538 }
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5542
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) return NULL;
5545 } _resultobj = Py_BuildValue("i",_result);
5546 return _resultobj;
5547 }
5548
5549 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5550 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject * _resultobj;
5552 bool _result;
5553 wxGridTableBase * _arg0;
5554 size_t _arg1 = (size_t ) 0;
5555 size_t _arg2 = (size_t ) 1;
5556 PyObject * _argo0 = 0;
5557 char *_kwnames[] = { "self","pos","numCols", NULL };
5558
5559 self = self;
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5561 return NULL;
5562 if (_argo0) {
5563 if (_argo0 == Py_None) { _arg0 = NULL; }
5564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5566 return NULL;
5567 }
5568 }
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) return NULL;
5575 } _resultobj = Py_BuildValue("i",_result);
5576 return _resultobj;
5577 }
5578
5579 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5580 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject * _resultobj;
5582 wxString * _result;
5583 wxGridTableBase * _arg0;
5584 int _arg1;
5585 PyObject * _argo0 = 0;
5586 char *_kwnames[] = { "self","row", NULL };
5587
5588 self = self;
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5590 return NULL;
5591 if (_argo0) {
5592 if (_argo0 == Py_None) { _arg0 = NULL; }
5593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5595 return NULL;
5596 }
5597 }
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) return NULL;
5604 }{
5605 #if wxUSE_UNICODE
5606 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5607 #else
5608 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5609 #endif
5610 }
5611 {
5612 delete _result;
5613 }
5614 return _resultobj;
5615 }
5616
5617 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5618 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5619 PyObject * _resultobj;
5620 wxString * _result;
5621 wxGridTableBase * _arg0;
5622 int _arg1;
5623 PyObject * _argo0 = 0;
5624 char *_kwnames[] = { "self","col", NULL };
5625
5626 self = self;
5627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5628 return NULL;
5629 if (_argo0) {
5630 if (_argo0 == Py_None) { _arg0 = NULL; }
5631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5633 return NULL;
5634 }
5635 }
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) return NULL;
5642 }{
5643 #if wxUSE_UNICODE
5644 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5645 #else
5646 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5647 #endif
5648 }
5649 {
5650 delete _result;
5651 }
5652 return _resultobj;
5653 }
5654
5655 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5656 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject * _resultobj;
5658 wxGridTableBase * _arg0;
5659 int _arg1;
5660 wxString * _arg2;
5661 PyObject * _argo0 = 0;
5662 PyObject * _obj2 = 0;
5663 char *_kwnames[] = { "self","row","value", NULL };
5664
5665 self = self;
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5667 return NULL;
5668 if (_argo0) {
5669 if (_argo0 == Py_None) { _arg0 = NULL; }
5670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5672 return NULL;
5673 }
5674 }
5675 {
5676 _arg2 = wxString_in_helper(_obj2);
5677 if (_arg2 == NULL)
5678 return NULL;
5679 }
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) return NULL;
5686 } Py_INCREF(Py_None);
5687 _resultobj = Py_None;
5688 {
5689 if (_obj2)
5690 delete _arg2;
5691 }
5692 return _resultobj;
5693 }
5694
5695 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5696 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject * _resultobj;
5698 wxGridTableBase * _arg0;
5699 int _arg1;
5700 wxString * _arg2;
5701 PyObject * _argo0 = 0;
5702 PyObject * _obj2 = 0;
5703 char *_kwnames[] = { "self","col","value", NULL };
5704
5705 self = self;
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5707 return NULL;
5708 if (_argo0) {
5709 if (_argo0 == Py_None) { _arg0 = NULL; }
5710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5712 return NULL;
5713 }
5714 }
5715 {
5716 _arg2 = wxString_in_helper(_obj2);
5717 if (_arg2 == NULL)
5718 return NULL;
5719 }
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) return NULL;
5726 } Py_INCREF(Py_None);
5727 _resultobj = Py_None;
5728 {
5729 if (_obj2)
5730 delete _arg2;
5731 }
5732 return _resultobj;
5733 }
5734
5735 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5736 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5737 PyObject * _resultobj;
5738 bool _result;
5739 wxGridTableBase * _arg0;
5740 PyObject * _argo0 = 0;
5741 char *_kwnames[] = { "self", NULL };
5742
5743 self = self;
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5745 return NULL;
5746 if (_argo0) {
5747 if (_argo0 == Py_None) { _arg0 = NULL; }
5748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5750 return NULL;
5751 }
5752 }
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) return NULL;
5759 } _resultobj = Py_BuildValue("i",_result);
5760 return _resultobj;
5761 }
5762
5763 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5764 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5765 PyObject * _resultobj;
5766 wxGridCellAttr * _result;
5767 wxGridTableBase * _arg0;
5768 int _arg1;
5769 int _arg2;
5770 wxGridCellAttr::wxAttrKind _arg3;
5771 PyObject * _argo0 = 0;
5772 char *_kwnames[] = { "self","row","col","kind", NULL };
5773
5774 self = self;
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5776 return NULL;
5777 if (_argo0) {
5778 if (_argo0 == Py_None) { _arg0 = NULL; }
5779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5781 return NULL;
5782 }
5783 }
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) return NULL;
5790 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
5791 return _resultobj;
5792 }
5793
5794 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5795 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject * _resultobj;
5797 wxGridTableBase * _arg0;
5798 wxGridCellAttr * _arg1;
5799 int _arg2;
5800 int _arg3;
5801 PyObject * _argo0 = 0;
5802 PyObject * _argo1 = 0;
5803 char *_kwnames[] = { "self","attr","row","col", NULL };
5804
5805 self = self;
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5807 return NULL;
5808 if (_argo0) {
5809 if (_argo0 == Py_None) { _arg0 = NULL; }
5810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5812 return NULL;
5813 }
5814 }
5815 if (_argo1) {
5816 if (_argo1 == Py_None) { _arg1 = NULL; }
5817 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5818 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5819 return NULL;
5820 }
5821 }
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) return NULL;
5828 } Py_INCREF(Py_None);
5829 _resultobj = Py_None;
5830 return _resultobj;
5831 }
5832
5833 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5834 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5835 PyObject * _resultobj;
5836 wxGridTableBase * _arg0;
5837 wxGridCellAttr * _arg1;
5838 int _arg2;
5839 PyObject * _argo0 = 0;
5840 PyObject * _argo1 = 0;
5841 char *_kwnames[] = { "self","attr","row", NULL };
5842
5843 self = self;
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5845 return NULL;
5846 if (_argo0) {
5847 if (_argo0 == Py_None) { _arg0 = NULL; }
5848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5850 return NULL;
5851 }
5852 }
5853 if (_argo1) {
5854 if (_argo1 == Py_None) { _arg1 = NULL; }
5855 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5856 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5857 return NULL;
5858 }
5859 }
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) return NULL;
5866 } Py_INCREF(Py_None);
5867 _resultobj = Py_None;
5868 return _resultobj;
5869 }
5870
5871 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5872 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5873 PyObject * _resultobj;
5874 wxGridTableBase * _arg0;
5875 wxGridCellAttr * _arg1;
5876 int _arg2;
5877 PyObject * _argo0 = 0;
5878 PyObject * _argo1 = 0;
5879 char *_kwnames[] = { "self","attr","col", NULL };
5880
5881 self = self;
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5883 return NULL;
5884 if (_argo0) {
5885 if (_argo0 == Py_None) { _arg0 = NULL; }
5886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5888 return NULL;
5889 }
5890 }
5891 if (_argo1) {
5892 if (_argo1 == Py_None) { _arg1 = NULL; }
5893 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5894 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5895 return NULL;
5896 }
5897 }
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) return NULL;
5904 } Py_INCREF(Py_None);
5905 _resultobj = Py_None;
5906 return _resultobj;
5907 }
5908
5909 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
5910 wxPyGridTableBase *src;
5911 wxGridTableBase *dest;
5912 src = (wxPyGridTableBase *) ptr;
5913 dest = (wxGridTableBase *) src;
5914 return (void *) dest;
5915 }
5916
5917 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
5918 wxPyGridTableBase *src;
5919 wxObject *dest;
5920 src = (wxPyGridTableBase *) ptr;
5921 dest = (wxObject *) src;
5922 return (void *) dest;
5923 }
5924
5925 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5926 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject * _resultobj;
5928 wxPyGridTableBase * _result;
5929 char *_kwnames[] = { NULL };
5930 char _ptemp[128];
5931
5932 self = self;
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
5934 return NULL;
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) return NULL;
5941 } if (_result) {
5942 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
5943 _resultobj = Py_BuildValue("s",_ptemp);
5944 } else {
5945 Py_INCREF(Py_None);
5946 _resultobj = Py_None;
5947 }
5948 return _resultobj;
5949 }
5950
5951 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5952 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5953 PyObject * _resultobj;
5954 wxPyGridTableBase * _arg0;
5955 PyObject * _arg1;
5956 PyObject * _arg2;
5957 PyObject * _argo0 = 0;
5958 PyObject * _obj1 = 0;
5959 PyObject * _obj2 = 0;
5960 char *_kwnames[] = { "self","self","_class", NULL };
5961
5962 self = self;
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5964 return NULL;
5965 if (_argo0) {
5966 if (_argo0 == Py_None) { _arg0 = NULL; }
5967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
5968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5969 return NULL;
5970 }
5971 }
5972 {
5973 _arg1 = _obj1;
5974 }
5975 {
5976 _arg2 = _obj2;
5977 }
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) return NULL;
5984 } Py_INCREF(Py_None);
5985 _resultobj = Py_None;
5986 return _resultobj;
5987 }
5988
5989 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
5990 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject * _resultobj;
5992 wxPyGridTableBase * _arg0;
5993 PyObject * _argo0 = 0;
5994 char *_kwnames[] = { "self", NULL };
5995
5996 self = self;
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
5998 return NULL;
5999 if (_argo0) {
6000 if (_argo0 == Py_None) { _arg0 = NULL; }
6001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6003 return NULL;
6004 }
6005 }
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 wxPyGridTableBase_Destroy(_arg0);
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) return NULL;
6012 } Py_INCREF(Py_None);
6013 _resultobj = Py_None;
6014 return _resultobj;
6015 }
6016
6017 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6018 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject * _resultobj;
6020 wxString * _result;
6021 wxPyGridTableBase * _arg0;
6022 int _arg1;
6023 int _arg2;
6024 PyObject * _argo0 = 0;
6025 char *_kwnames[] = { "self","row","col", NULL };
6026
6027 self = self;
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
6029 return NULL;
6030 if (_argo0) {
6031 if (_argo0 == Py_None) { _arg0 = NULL; }
6032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6034 return NULL;
6035 }
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) return NULL;
6043 }{
6044 #if wxUSE_UNICODE
6045 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6046 #else
6047 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6048 #endif
6049 }
6050 {
6051 delete _result;
6052 }
6053 return _resultobj;
6054 }
6055
6056 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6057 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6058 PyObject * _resultobj;
6059 bool _result;
6060 wxPyGridTableBase * _arg0;
6061 int _arg1;
6062 int _arg2;
6063 wxString * _arg3;
6064 PyObject * _argo0 = 0;
6065 PyObject * _obj3 = 0;
6066 char *_kwnames[] = { "self","row","col","typeName", NULL };
6067
6068 self = self;
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6070 return NULL;
6071 if (_argo0) {
6072 if (_argo0 == Py_None) { _arg0 = NULL; }
6073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6075 return NULL;
6076 }
6077 }
6078 {
6079 _arg3 = wxString_in_helper(_obj3);
6080 if (_arg3 == NULL)
6081 return NULL;
6082 }
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) return NULL;
6089 } _resultobj = Py_BuildValue("i",_result);
6090 {
6091 if (_obj3)
6092 delete _arg3;
6093 }
6094 return _resultobj;
6095 }
6096
6097 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6098 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject * _resultobj;
6100 bool _result;
6101 wxPyGridTableBase * _arg0;
6102 int _arg1;
6103 int _arg2;
6104 wxString * _arg3;
6105 PyObject * _argo0 = 0;
6106 PyObject * _obj3 = 0;
6107 char *_kwnames[] = { "self","row","col","typeName", NULL };
6108
6109 self = self;
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6111 return NULL;
6112 if (_argo0) {
6113 if (_argo0 == Py_None) { _arg0 = NULL; }
6114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6116 return NULL;
6117 }
6118 }
6119 {
6120 _arg3 = wxString_in_helper(_obj3);
6121 if (_arg3 == NULL)
6122 return NULL;
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) return NULL;
6130 } _resultobj = Py_BuildValue("i",_result);
6131 {
6132 if (_obj3)
6133 delete _arg3;
6134 }
6135 return _resultobj;
6136 }
6137
6138 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6139 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject * _resultobj;
6141 wxPyGridTableBase * _arg0;
6142 PyObject * _argo0 = 0;
6143 char *_kwnames[] = { "self", NULL };
6144
6145 self = self;
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
6147 return NULL;
6148 if (_argo0) {
6149 if (_argo0 == Py_None) { _arg0 = NULL; }
6150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6152 return NULL;
6153 }
6154 }
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 wxPyGridTableBase_base_Clear(_arg0);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) return NULL;
6161 } Py_INCREF(Py_None);
6162 _resultobj = Py_None;
6163 return _resultobj;
6164 }
6165
6166 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6167 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject * _resultobj;
6169 bool _result;
6170 wxPyGridTableBase * _arg0;
6171 size_t _arg1 = (size_t ) 0;
6172 size_t _arg2 = (size_t ) 1;
6173 PyObject * _argo0 = 0;
6174 char *_kwnames[] = { "self","pos","numRows", NULL };
6175
6176 self = self;
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
6178 return NULL;
6179 if (_argo0) {
6180 if (_argo0 == Py_None) { _arg0 = NULL; }
6181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6183 return NULL;
6184 }
6185 }
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) return NULL;
6192 } _resultobj = Py_BuildValue("i",_result);
6193 return _resultobj;
6194 }
6195
6196 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6197 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject * _resultobj;
6199 bool _result;
6200 wxPyGridTableBase * _arg0;
6201 size_t _arg1 = (size_t ) 1;
6202 PyObject * _argo0 = 0;
6203 char *_kwnames[] = { "self","numRows", NULL };
6204
6205 self = self;
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
6207 return NULL;
6208 if (_argo0) {
6209 if (_argo0 == Py_None) { _arg0 = NULL; }
6210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6212 return NULL;
6213 }
6214 }
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) return NULL;
6221 } _resultobj = Py_BuildValue("i",_result);
6222 return _resultobj;
6223 }
6224
6225 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6226 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6227 PyObject * _resultobj;
6228 bool _result;
6229 wxPyGridTableBase * _arg0;
6230 size_t _arg1 = (size_t ) 0;
6231 size_t _arg2 = (size_t ) 1;
6232 PyObject * _argo0 = 0;
6233 char *_kwnames[] = { "self","pos","numRows", NULL };
6234
6235 self = self;
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
6237 return NULL;
6238 if (_argo0) {
6239 if (_argo0 == Py_None) { _arg0 = NULL; }
6240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6242 return NULL;
6243 }
6244 }
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) return NULL;
6251 } _resultobj = Py_BuildValue("i",_result);
6252 return _resultobj;
6253 }
6254
6255 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6256 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject * _resultobj;
6258 bool _result;
6259 wxPyGridTableBase * _arg0;
6260 size_t _arg1 = (size_t ) 0;
6261 size_t _arg2 = (size_t ) 1;
6262 PyObject * _argo0 = 0;
6263 char *_kwnames[] = { "self","pos","numCols", NULL };
6264
6265 self = self;
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
6267 return NULL;
6268 if (_argo0) {
6269 if (_argo0 == Py_None) { _arg0 = NULL; }
6270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6272 return NULL;
6273 }
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) return NULL;
6281 } _resultobj = Py_BuildValue("i",_result);
6282 return _resultobj;
6283 }
6284
6285 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6286 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject * _resultobj;
6288 bool _result;
6289 wxPyGridTableBase * _arg0;
6290 size_t _arg1 = (size_t ) 1;
6291 PyObject * _argo0 = 0;
6292 char *_kwnames[] = { "self","numCols", NULL };
6293
6294 self = self;
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
6296 return NULL;
6297 if (_argo0) {
6298 if (_argo0 == Py_None) { _arg0 = NULL; }
6299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6301 return NULL;
6302 }
6303 }
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) return NULL;
6310 } _resultobj = Py_BuildValue("i",_result);
6311 return _resultobj;
6312 }
6313
6314 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6315 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject * _resultobj;
6317 bool _result;
6318 wxPyGridTableBase * _arg0;
6319 size_t _arg1 = (size_t ) 0;
6320 size_t _arg2 = (size_t ) 1;
6321 PyObject * _argo0 = 0;
6322 char *_kwnames[] = { "self","pos","numCols", NULL };
6323
6324 self = self;
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6326 return NULL;
6327 if (_argo0) {
6328 if (_argo0 == Py_None) { _arg0 = NULL; }
6329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6331 return NULL;
6332 }
6333 }
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) return NULL;
6340 } _resultobj = Py_BuildValue("i",_result);
6341 return _resultobj;
6342 }
6343
6344 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6345 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6346 PyObject * _resultobj;
6347 wxString * _result;
6348 wxPyGridTableBase * _arg0;
6349 int _arg1;
6350 PyObject * _argo0 = 0;
6351 char *_kwnames[] = { "self","row", NULL };
6352
6353 self = self;
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
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_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6360 return NULL;
6361 }
6362 }
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) return NULL;
6369 }{
6370 #if wxUSE_UNICODE
6371 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6372 #else
6373 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6374 #endif
6375 }
6376 {
6377 delete _result;
6378 }
6379 return _resultobj;
6380 }
6381
6382 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6383 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject * _resultobj;
6385 wxString * _result;
6386 wxPyGridTableBase * _arg0;
6387 int _arg1;
6388 PyObject * _argo0 = 0;
6389 char *_kwnames[] = { "self","col", NULL };
6390
6391 self = self;
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6393 return NULL;
6394 if (_argo0) {
6395 if (_argo0 == Py_None) { _arg0 = NULL; }
6396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6398 return NULL;
6399 }
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) return NULL;
6407 }{
6408 #if wxUSE_UNICODE
6409 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
6410 #else
6411 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6412 #endif
6413 }
6414 {
6415 delete _result;
6416 }
6417 return _resultobj;
6418 }
6419
6420 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6421 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6422 PyObject * _resultobj;
6423 wxPyGridTableBase * _arg0;
6424 int _arg1;
6425 wxString * _arg2;
6426 PyObject * _argo0 = 0;
6427 PyObject * _obj2 = 0;
6428 char *_kwnames[] = { "self","row","value", NULL };
6429
6430 self = self;
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6432 return NULL;
6433 if (_argo0) {
6434 if (_argo0 == Py_None) { _arg0 = NULL; }
6435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6437 return NULL;
6438 }
6439 }
6440 {
6441 _arg2 = wxString_in_helper(_obj2);
6442 if (_arg2 == NULL)
6443 return NULL;
6444 }
6445 {
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6448
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) return NULL;
6451 } Py_INCREF(Py_None);
6452 _resultobj = Py_None;
6453 {
6454 if (_obj2)
6455 delete _arg2;
6456 }
6457 return _resultobj;
6458 }
6459
6460 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6461 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6462 PyObject * _resultobj;
6463 wxPyGridTableBase * _arg0;
6464 int _arg1;
6465 wxString * _arg2;
6466 PyObject * _argo0 = 0;
6467 PyObject * _obj2 = 0;
6468 char *_kwnames[] = { "self","col","value", NULL };
6469
6470 self = self;
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6472 return NULL;
6473 if (_argo0) {
6474 if (_argo0 == Py_None) { _arg0 = NULL; }
6475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6477 return NULL;
6478 }
6479 }
6480 {
6481 _arg2 = wxString_in_helper(_obj2);
6482 if (_arg2 == NULL)
6483 return NULL;
6484 }
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) return NULL;
6491 } Py_INCREF(Py_None);
6492 _resultobj = Py_None;
6493 {
6494 if (_obj2)
6495 delete _arg2;
6496 }
6497 return _resultobj;
6498 }
6499
6500 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6501 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject * _resultobj;
6503 bool _result;
6504 wxPyGridTableBase * _arg0;
6505 PyObject * _argo0 = 0;
6506 char *_kwnames[] = { "self", NULL };
6507
6508 self = self;
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6510 return NULL;
6511 if (_argo0) {
6512 if (_argo0 == Py_None) { _arg0 = NULL; }
6513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6515 return NULL;
6516 }
6517 }
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) return NULL;
6524 } _resultobj = Py_BuildValue("i",_result);
6525 return _resultobj;
6526 }
6527
6528 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6529 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject * _resultobj;
6531 wxGridCellAttr * _result;
6532 wxPyGridTableBase * _arg0;
6533 int _arg1;
6534 int _arg2;
6535 wxGridCellAttr::wxAttrKind _arg3;
6536 PyObject * _argo0 = 0;
6537 char *_kwnames[] = { "self","row","col","kind", NULL };
6538
6539 self = self;
6540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6541 return NULL;
6542 if (_argo0) {
6543 if (_argo0 == Py_None) { _arg0 = NULL; }
6544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6546 return NULL;
6547 }
6548 }
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) return NULL;
6555 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
6556 return _resultobj;
6557 }
6558
6559 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6560 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject * _resultobj;
6562 wxPyGridTableBase * _arg0;
6563 wxGridCellAttr * _arg1;
6564 int _arg2;
6565 int _arg3;
6566 PyObject * _argo0 = 0;
6567 PyObject * _argo1 = 0;
6568 char *_kwnames[] = { "self","attr","row","col", NULL };
6569
6570 self = self;
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6572 return NULL;
6573 if (_argo0) {
6574 if (_argo0 == Py_None) { _arg0 = NULL; }
6575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6577 return NULL;
6578 }
6579 }
6580 if (_argo1) {
6581 if (_argo1 == Py_None) { _arg1 = NULL; }
6582 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6583 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6584 return NULL;
6585 }
6586 }
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) return NULL;
6593 } Py_INCREF(Py_None);
6594 _resultobj = Py_None;
6595 return _resultobj;
6596 }
6597
6598 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6599 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject * _resultobj;
6601 wxPyGridTableBase * _arg0;
6602 wxGridCellAttr * _arg1;
6603 int _arg2;
6604 PyObject * _argo0 = 0;
6605 PyObject * _argo1 = 0;
6606 char *_kwnames[] = { "self","attr","row", NULL };
6607
6608 self = self;
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6610 return NULL;
6611 if (_argo0) {
6612 if (_argo0 == Py_None) { _arg0 = NULL; }
6613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6615 return NULL;
6616 }
6617 }
6618 if (_argo1) {
6619 if (_argo1 == Py_None) { _arg1 = NULL; }
6620 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6621 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6622 return NULL;
6623 }
6624 }
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) return NULL;
6631 } Py_INCREF(Py_None);
6632 _resultobj = Py_None;
6633 return _resultobj;
6634 }
6635
6636 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6637 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject * _resultobj;
6639 wxPyGridTableBase * _arg0;
6640 wxGridCellAttr * _arg1;
6641 int _arg2;
6642 PyObject * _argo0 = 0;
6643 PyObject * _argo1 = 0;
6644 char *_kwnames[] = { "self","attr","col", NULL };
6645
6646 self = self;
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6648 return NULL;
6649 if (_argo0) {
6650 if (_argo0 == Py_None) { _arg0 = NULL; }
6651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6653 return NULL;
6654 }
6655 }
6656 if (_argo1) {
6657 if (_argo1 == Py_None) { _arg1 = NULL; }
6658 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6659 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6660 return NULL;
6661 }
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) return NULL;
6669 } Py_INCREF(Py_None);
6670 _resultobj = Py_None;
6671 return _resultobj;
6672 }
6673
6674 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6675 wxGridStringTable *src;
6676 wxGridTableBase *dest;
6677 src = (wxGridStringTable *) ptr;
6678 dest = (wxGridTableBase *) src;
6679 return (void *) dest;
6680 }
6681
6682 static void *SwigwxGridStringTableTowxObject(void *ptr) {
6683 wxGridStringTable *src;
6684 wxObject *dest;
6685 src = (wxGridStringTable *) ptr;
6686 dest = (wxObject *) src;
6687 return (void *) dest;
6688 }
6689
6690 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6691 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6692 PyObject * _resultobj;
6693 wxGridStringTable * _result;
6694 int _arg0 = (int ) 0;
6695 int _arg1 = (int ) 0;
6696 char *_kwnames[] = { "numRows","numCols", NULL };
6697 char _ptemp[128];
6698
6699 self = self;
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6701 return NULL;
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6705
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) return NULL;
6708 } if (_result) {
6709 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6710 _resultobj = Py_BuildValue("s",_ptemp);
6711 } else {
6712 Py_INCREF(Py_None);
6713 _resultobj = Py_None;
6714 }
6715 return _resultobj;
6716 }
6717
6718 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6719 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6720 PyObject * _resultobj;
6721 wxGridTableMessage * _result;
6722 wxGridTableBase * _arg0;
6723 int _arg1;
6724 int _arg2 = (int ) -1;
6725 int _arg3 = (int ) -1;
6726 PyObject * _argo0 = 0;
6727 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6728 char _ptemp[128];
6729
6730 self = self;
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6732 return NULL;
6733 if (_argo0) {
6734 if (_argo0 == Py_None) { _arg0 = NULL; }
6735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6737 return NULL;
6738 }
6739 }
6740 {
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6743
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) return NULL;
6746 } if (_result) {
6747 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6748 _resultobj = Py_BuildValue("s",_ptemp);
6749 } else {
6750 Py_INCREF(Py_None);
6751 _resultobj = Py_None;
6752 }
6753 return _resultobj;
6754 }
6755
6756 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6757 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject * _resultobj;
6759 wxGridTableMessage * _arg0;
6760 PyObject * _argo0 = 0;
6761 char *_kwnames[] = { "self", NULL };
6762
6763 self = self;
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6765 return NULL;
6766 if (_argo0) {
6767 if (_argo0 == Py_None) { _arg0 = NULL; }
6768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6770 return NULL;
6771 }
6772 }
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 delete_wxGridTableMessage(_arg0);
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) return NULL;
6779 } Py_INCREF(Py_None);
6780 _resultobj = Py_None;
6781 return _resultobj;
6782 }
6783
6784 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6785 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6786 PyObject * _resultobj;
6787 wxGridTableMessage * _arg0;
6788 wxGridTableBase * _arg1;
6789 PyObject * _argo0 = 0;
6790 PyObject * _argo1 = 0;
6791 char *_kwnames[] = { "self","table", NULL };
6792
6793 self = self;
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6795 return NULL;
6796 if (_argo0) {
6797 if (_argo0 == Py_None) { _arg0 = NULL; }
6798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6800 return NULL;
6801 }
6802 }
6803 if (_argo1) {
6804 if (_argo1 == Py_None) { _arg1 = NULL; }
6805 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6806 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6807 return NULL;
6808 }
6809 }
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6813
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) return NULL;
6816 } Py_INCREF(Py_None);
6817 _resultobj = Py_None;
6818 return _resultobj;
6819 }
6820
6821 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6822 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject * _resultobj;
6824 wxGridTableBase * _result;
6825 wxGridTableMessage * _arg0;
6826 PyObject * _argo0 = 0;
6827 char *_kwnames[] = { "self", NULL };
6828
6829 self = self;
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
6831 return NULL;
6832 if (_argo0) {
6833 if (_argo0 == Py_None) { _arg0 = NULL; }
6834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6836 return NULL;
6837 }
6838 }
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6842
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) return NULL;
6845 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
6846 return _resultobj;
6847 }
6848
6849 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6850 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6851 PyObject * _resultobj;
6852 wxGridTableMessage * _arg0;
6853 int _arg1;
6854 PyObject * _argo0 = 0;
6855 char *_kwnames[] = { "self","id", NULL };
6856
6857 self = self;
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
6859 return NULL;
6860 if (_argo0) {
6861 if (_argo0 == Py_None) { _arg0 = NULL; }
6862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6864 return NULL;
6865 }
6866 }
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 wxGridTableMessage_SetId(_arg0,_arg1);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) return NULL;
6873 } Py_INCREF(Py_None);
6874 _resultobj = Py_None;
6875 return _resultobj;
6876 }
6877
6878 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6879 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject * _resultobj;
6881 int _result;
6882 wxGridTableMessage * _arg0;
6883 PyObject * _argo0 = 0;
6884 char *_kwnames[] = { "self", NULL };
6885
6886 self = self;
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
6888 return NULL;
6889 if (_argo0) {
6890 if (_argo0 == Py_None) { _arg0 = NULL; }
6891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6893 return NULL;
6894 }
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 _result = (int )wxGridTableMessage_GetId(_arg0);
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) return NULL;
6902 } _resultobj = Py_BuildValue("i",_result);
6903 return _resultobj;
6904 }
6905
6906 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6907 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject * _resultobj;
6909 wxGridTableMessage * _arg0;
6910 int _arg1;
6911 PyObject * _argo0 = 0;
6912 char *_kwnames[] = { "self","comInt1", NULL };
6913
6914 self = self;
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
6916 return NULL;
6917 if (_argo0) {
6918 if (_argo0 == Py_None) { _arg0 = NULL; }
6919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6921 return NULL;
6922 }
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) return NULL;
6930 } Py_INCREF(Py_None);
6931 _resultobj = Py_None;
6932 return _resultobj;
6933 }
6934
6935 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6936 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
6937 PyObject * _resultobj;
6938 int _result;
6939 wxGridTableMessage * _arg0;
6940 PyObject * _argo0 = 0;
6941 char *_kwnames[] = { "self", NULL };
6942
6943 self = self;
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
6945 return NULL;
6946 if (_argo0) {
6947 if (_argo0 == Py_None) { _arg0 = NULL; }
6948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6950 return NULL;
6951 }
6952 }
6953 {
6954 PyThreadState* __tstate = wxPyBeginAllowThreads();
6955 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
6956
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) return NULL;
6959 } _resultobj = Py_BuildValue("i",_result);
6960 return _resultobj;
6961 }
6962
6963 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6964 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject * _resultobj;
6966 wxGridTableMessage * _arg0;
6967 int _arg1;
6968 PyObject * _argo0 = 0;
6969 char *_kwnames[] = { "self","comInt2", NULL };
6970
6971 self = self;
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
6973 return NULL;
6974 if (_argo0) {
6975 if (_argo0 == Py_None) { _arg0 = NULL; }
6976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6978 return NULL;
6979 }
6980 }
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) return NULL;
6987 } Py_INCREF(Py_None);
6988 _resultobj = Py_None;
6989 return _resultobj;
6990 }
6991
6992 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6993 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
6994 PyObject * _resultobj;
6995 int _result;
6996 wxGridTableMessage * _arg0;
6997 PyObject * _argo0 = 0;
6998 char *_kwnames[] = { "self", NULL };
6999
7000 self = self;
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
7002 return NULL;
7003 if (_argo0) {
7004 if (_argo0 == Py_None) { _arg0 = NULL; }
7005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7007 return NULL;
7008 }
7009 }
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) return NULL;
7016 } _resultobj = Py_BuildValue("i",_result);
7017 return _resultobj;
7018 }
7019
7020 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7021 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject * _resultobj;
7023 wxGridCellCoords * _result;
7024 int _arg0 = (int ) -1;
7025 int _arg1 = (int ) -1;
7026 char *_kwnames[] = { "r","c", NULL };
7027 char _ptemp[128];
7028
7029 self = self;
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
7031 return NULL;
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) return NULL;
7038 } if (_result) {
7039 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7040 _resultobj = Py_BuildValue("s",_ptemp);
7041 } else {
7042 Py_INCREF(Py_None);
7043 _resultobj = Py_None;
7044 }
7045 return _resultobj;
7046 }
7047
7048 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7049 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7050 PyObject * _resultobj;
7051 wxGridCellCoords * _arg0;
7052 PyObject * _argo0 = 0;
7053 char *_kwnames[] = { "self", NULL };
7054
7055 self = self;
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
7057 return NULL;
7058 if (_argo0) {
7059 if (_argo0 == Py_None) { _arg0 = NULL; }
7060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7062 return NULL;
7063 }
7064 }
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 delete_wxGridCellCoords(_arg0);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) return NULL;
7071 } Py_INCREF(Py_None);
7072 _resultobj = Py_None;
7073 return _resultobj;
7074 }
7075
7076 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7077 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject * _resultobj;
7079 int _result;
7080 wxGridCellCoords * _arg0;
7081 PyObject * _argo0 = 0;
7082 char *_kwnames[] = { "self", NULL };
7083
7084 self = self;
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
7086 return NULL;
7087 if (_argo0) {
7088 if (_argo0 == Py_None) { _arg0 = NULL; }
7089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
7091 return NULL;
7092 }
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 _result = (int )wxGridCellCoords_GetRow(_arg0);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) return NULL;
7100 } _resultobj = Py_BuildValue("i",_result);
7101 return _resultobj;
7102 }
7103
7104 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7105 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject * _resultobj;
7107 wxGridCellCoords * _arg0;
7108 int _arg1;
7109 PyObject * _argo0 = 0;
7110 char *_kwnames[] = { "self","n", NULL };
7111
7112 self = self;
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
7114 return NULL;
7115 if (_argo0) {
7116 if (_argo0 == Py_None) { _arg0 = NULL; }
7117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7119 return NULL;
7120 }
7121 }
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 wxGridCellCoords_SetRow(_arg0,_arg1);
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) return NULL;
7128 } Py_INCREF(Py_None);
7129 _resultobj = Py_None;
7130 return _resultobj;
7131 }
7132
7133 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7134 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject * _resultobj;
7136 int _result;
7137 wxGridCellCoords * _arg0;
7138 PyObject * _argo0 = 0;
7139 char *_kwnames[] = { "self", NULL };
7140
7141 self = self;
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
7143 return NULL;
7144 if (_argo0) {
7145 if (_argo0 == Py_None) { _arg0 = NULL; }
7146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7148 return NULL;
7149 }
7150 }
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 _result = (int )wxGridCellCoords_GetCol(_arg0);
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) return NULL;
7157 } _resultobj = Py_BuildValue("i",_result);
7158 return _resultobj;
7159 }
7160
7161 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7162 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject * _resultobj;
7164 wxGridCellCoords * _arg0;
7165 int _arg1;
7166 PyObject * _argo0 = 0;
7167 char *_kwnames[] = { "self","n", NULL };
7168
7169 self = self;
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
7171 return NULL;
7172 if (_argo0) {
7173 if (_argo0 == Py_None) { _arg0 = NULL; }
7174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7176 return NULL;
7177 }
7178 }
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 wxGridCellCoords_SetCol(_arg0,_arg1);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) return NULL;
7185 } Py_INCREF(Py_None);
7186 _resultobj = Py_None;
7187 return _resultobj;
7188 }
7189
7190 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7191 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject * _resultobj;
7193 wxGridCellCoords * _arg0;
7194 int _arg1;
7195 int _arg2;
7196 PyObject * _argo0 = 0;
7197 char *_kwnames[] = { "self","row","col", NULL };
7198
7199 self = self;
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
7201 return NULL;
7202 if (_argo0) {
7203 if (_argo0 == Py_None) { _arg0 = NULL; }
7204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7206 return NULL;
7207 }
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) return NULL;
7215 } Py_INCREF(Py_None);
7216 _resultobj = Py_None;
7217 return _resultobj;
7218 }
7219
7220 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
7221 PyObject* tup = PyTuple_New(2);
7222 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
7223 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
7224 return tup;
7225 }
7226 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7227 PyObject * _resultobj;
7228 PyObject * _result;
7229 wxGridCellCoords * _arg0;
7230 PyObject * _argo0 = 0;
7231 char *_kwnames[] = { "self", NULL };
7232
7233 self = self;
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
7235 return NULL;
7236 if (_argo0) {
7237 if (_argo0 == Py_None) { _arg0 = NULL; }
7238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7240 return NULL;
7241 }
7242 }
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) return NULL;
7249 }{
7250 _resultobj = _result;
7251 }
7252 return _resultobj;
7253 }
7254
7255 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
7256 return *self != other;
7257 }
7258 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
7259 PyObject * _resultobj;
7260 int _result;
7261 wxGridCellCoords * _arg0;
7262 wxGridCellCoords * _arg1;
7263 PyObject * _argo0 = 0;
7264 PyObject * _argo1 = 0;
7265 char *_kwnames[] = { "self","other", NULL };
7266
7267 self = self;
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
7269 return NULL;
7270 if (_argo0) {
7271 if (_argo0 == Py_None) { _arg0 = NULL; }
7272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7274 return NULL;
7275 }
7276 }
7277 if (_argo1) {
7278 if (_argo1 == Py_None) { _arg1 = NULL; }
7279 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
7280 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7281 return NULL;
7282 }
7283 }
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) return NULL;
7290 } _resultobj = Py_BuildValue("i",_result);
7291 return _resultobj;
7292 }
7293
7294 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
7295 wxGrid *src;
7296 wxScrolledWindow *dest;
7297 src = (wxGrid *) ptr;
7298 dest = (wxScrolledWindow *) src;
7299 return (void *) dest;
7300 }
7301
7302 static void *SwigwxGridTowxPanel(void *ptr) {
7303 wxGrid *src;
7304 wxPanel *dest;
7305 src = (wxGrid *) ptr;
7306 dest = (wxPanel *) src;
7307 return (void *) dest;
7308 }
7309
7310 static void *SwigwxGridTowxWindow(void *ptr) {
7311 wxGrid *src;
7312 wxWindow *dest;
7313 src = (wxGrid *) ptr;
7314 dest = (wxWindow *) src;
7315 return (void *) dest;
7316 }
7317
7318 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7319 wxGrid *src;
7320 wxEvtHandler *dest;
7321 src = (wxGrid *) ptr;
7322 dest = (wxEvtHandler *) src;
7323 return (void *) dest;
7324 }
7325
7326 static void *SwigwxGridTowxObject(void *ptr) {
7327 wxGrid *src;
7328 wxObject *dest;
7329 src = (wxGrid *) ptr;
7330 dest = (wxObject *) src;
7331 return (void *) dest;
7332 }
7333
7334 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7335 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7336 PyObject * _resultobj;
7337 wxGrid * _result;
7338 wxWindow * _arg0;
7339 wxWindowID _arg1;
7340 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7341 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7342 long _arg4 = (long ) wxWANTS_CHARS;
7343 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
7344 PyObject * _argo0 = 0;
7345 wxPoint temp;
7346 PyObject * _obj2 = 0;
7347 wxSize temp0;
7348 PyObject * _obj3 = 0;
7349 PyObject * _obj5 = 0;
7350 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7351 char _ptemp[128];
7352
7353 self = self;
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
7355 return NULL;
7356 if (_argo0) {
7357 if (_argo0 == Py_None) { _arg0 = NULL; }
7358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7360 return NULL;
7361 }
7362 }
7363 if (_obj2)
7364 {
7365 _arg2 = &temp;
7366 if (! wxPoint_helper(_obj2, &_arg2))
7367 return NULL;
7368 }
7369 if (_obj3)
7370 {
7371 _arg3 = &temp0;
7372 if (! wxSize_helper(_obj3, &_arg3))
7373 return NULL;
7374 }
7375 if (_obj5)
7376 {
7377 _arg5 = wxString_in_helper(_obj5);
7378 if (_arg5 == NULL)
7379 return NULL;
7380 }
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) return NULL;
7387 } if (_result) {
7388 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7389 _resultobj = Py_BuildValue("s",_ptemp);
7390 } else {
7391 Py_INCREF(Py_None);
7392 _resultobj = Py_None;
7393 }
7394 {
7395 if (_obj5)
7396 delete _arg5;
7397 }
7398 return _resultobj;
7399 }
7400
7401 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7402 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7403 PyObject * _resultobj;
7404 bool _result;
7405 wxGrid * _arg0;
7406 int _arg1;
7407 int _arg2;
7408 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7409 PyObject * _argo0 = 0;
7410 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7411
7412 self = self;
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7414 return NULL;
7415 if (_argo0) {
7416 if (_argo0 == Py_None) { _arg0 = NULL; }
7417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7419 return NULL;
7420 }
7421 }
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) return NULL;
7428 } _resultobj = Py_BuildValue("i",_result);
7429 return _resultobj;
7430 }
7431
7432 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7433 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7434 PyObject * _resultobj;
7435 wxGrid * _arg0;
7436 WXGRIDSELECTIONMODES _arg1;
7437 PyObject * _argo0 = 0;
7438 char *_kwnames[] = { "self","selmode", NULL };
7439
7440 self = self;
7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7442 return NULL;
7443 if (_argo0) {
7444 if (_argo0 == Py_None) { _arg0 = NULL; }
7445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7447 return NULL;
7448 }
7449 }
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 wxGrid_SetSelectionMode(_arg0,_arg1);
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) return NULL;
7456 } Py_INCREF(Py_None);
7457 _resultobj = Py_None;
7458 return _resultobj;
7459 }
7460
7461 #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7462 static PyObject *_wrap_wxGrid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject * _resultobj;
7464 WXGRIDSELECTIONMODES _result;
7465 wxGrid * _arg0;
7466 PyObject * _argo0 = 0;
7467 char *_kwnames[] = { "self", NULL };
7468
7469 self = self;
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionMode",_kwnames,&_argo0))
7471 return NULL;
7472 if (_argo0) {
7473 if (_argo0 == Py_None) { _arg0 = NULL; }
7474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionMode. Expected _wxGrid_p.");
7476 return NULL;
7477 }
7478 }
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 _result = (WXGRIDSELECTIONMODES )wxGrid_GetSelectionMode(_arg0);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) return NULL;
7485 } _resultobj = Py_BuildValue("i",_result);
7486 return _resultobj;
7487 }
7488
7489 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7490 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7491 PyObject * _resultobj;
7492 int _result;
7493 wxGrid * _arg0;
7494 PyObject * _argo0 = 0;
7495 char *_kwnames[] = { "self", NULL };
7496
7497 self = self;
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7499 return NULL;
7500 if (_argo0) {
7501 if (_argo0 == Py_None) { _arg0 = NULL; }
7502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7504 return NULL;
7505 }
7506 }
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 _result = (int )wxGrid_GetNumberRows(_arg0);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) return NULL;
7513 } _resultobj = Py_BuildValue("i",_result);
7514 return _resultobj;
7515 }
7516
7517 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7518 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject * _resultobj;
7520 int _result;
7521 wxGrid * _arg0;
7522 PyObject * _argo0 = 0;
7523 char *_kwnames[] = { "self", NULL };
7524
7525 self = self;
7526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7527 return NULL;
7528 if (_argo0) {
7529 if (_argo0 == Py_None) { _arg0 = NULL; }
7530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7532 return NULL;
7533 }
7534 }
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 _result = (int )wxGrid_GetNumberCols(_arg0);
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) return NULL;
7541 } _resultobj = Py_BuildValue("i",_result);
7542 return _resultobj;
7543 }
7544
7545 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7546 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject * _resultobj;
7548 bool _result;
7549 wxGrid * _arg0;
7550 wxGridTableMessage * _arg1;
7551 PyObject * _argo0 = 0;
7552 PyObject * _argo1 = 0;
7553 char *_kwnames[] = { "self","arg2", NULL };
7554
7555 self = self;
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7557 return NULL;
7558 if (_argo0) {
7559 if (_argo0 == Py_None) { _arg0 = NULL; }
7560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7562 return NULL;
7563 }
7564 }
7565 if (_argo1) {
7566 if (_argo1 == Py_None) { _arg1 = NULL; }
7567 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7568 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7569 return NULL;
7570 }
7571 }
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) return NULL;
7578 } _resultobj = Py_BuildValue("i",_result);
7579 return _resultobj;
7580 }
7581
7582 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7583 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7584 PyObject * _resultobj;
7585 wxGridTableBase * _result;
7586 wxGrid * _arg0;
7587 PyObject * _argo0 = 0;
7588 char *_kwnames[] = { "self", NULL };
7589
7590 self = self;
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7592 return NULL;
7593 if (_argo0) {
7594 if (_argo0 == Py_None) { _arg0 = NULL; }
7595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7597 return NULL;
7598 }
7599 }
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) return NULL;
7606 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
7607 return _resultobj;
7608 }
7609
7610 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7611 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject * _resultobj;
7613 bool _result;
7614 wxGrid * _arg0;
7615 wxGridTableBase * _arg1;
7616 bool _arg2 = (bool ) FALSE;
7617 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7618 PyObject * _argo0 = 0;
7619 PyObject * _argo1 = 0;
7620 int tempbool2 = (int) FALSE;
7621 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7622
7623 self = self;
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7625 return NULL;
7626 if (_argo0) {
7627 if (_argo0 == Py_None) { _arg0 = NULL; }
7628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7630 return NULL;
7631 }
7632 }
7633 if (_argo1) {
7634 if (_argo1 == Py_None) { _arg1 = NULL; }
7635 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7636 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7637 return NULL;
7638 }
7639 }
7640 _arg2 = (bool ) tempbool2;
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) return NULL;
7647 } _resultobj = Py_BuildValue("i",_result);
7648 return _resultobj;
7649 }
7650
7651 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7652 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7653 PyObject * _resultobj;
7654 wxGrid * _arg0;
7655 PyObject * _argo0 = 0;
7656 char *_kwnames[] = { "self", NULL };
7657
7658 self = self;
7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7660 return NULL;
7661 if (_argo0) {
7662 if (_argo0 == Py_None) { _arg0 = NULL; }
7663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7665 return NULL;
7666 }
7667 }
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 wxGrid_ClearGrid(_arg0);
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) return NULL;
7674 } Py_INCREF(Py_None);
7675 _resultobj = Py_None;
7676 return _resultobj;
7677 }
7678
7679 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7680 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7681 PyObject * _resultobj;
7682 bool _result;
7683 wxGrid * _arg0;
7684 int _arg1 = (int ) 0;
7685 int _arg2 = (int ) 1;
7686 bool _arg3 = (bool ) TRUE;
7687 PyObject * _argo0 = 0;
7688 int tempbool3 = (int) TRUE;
7689 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7690
7691 self = self;
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7693 return NULL;
7694 if (_argo0) {
7695 if (_argo0 == Py_None) { _arg0 = NULL; }
7696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7698 return NULL;
7699 }
7700 }
7701 _arg3 = (bool ) tempbool3;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) return NULL;
7708 } _resultobj = Py_BuildValue("i",_result);
7709 return _resultobj;
7710 }
7711
7712 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7713 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7714 PyObject * _resultobj;
7715 bool _result;
7716 wxGrid * _arg0;
7717 int _arg1 = (int ) 1;
7718 bool _arg2 = (bool ) TRUE;
7719 PyObject * _argo0 = 0;
7720 int tempbool2 = (int) TRUE;
7721 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7722
7723 self = self;
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7725 return NULL;
7726 if (_argo0) {
7727 if (_argo0 == Py_None) { _arg0 = NULL; }
7728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7730 return NULL;
7731 }
7732 }
7733 _arg2 = (bool ) tempbool2;
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) return NULL;
7740 } _resultobj = Py_BuildValue("i",_result);
7741 return _resultobj;
7742 }
7743
7744 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7745 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject * _resultobj;
7747 bool _result;
7748 wxGrid * _arg0;
7749 int _arg1 = (int ) 0;
7750 int _arg2 = (int ) 1;
7751 bool _arg3 = (bool ) TRUE;
7752 PyObject * _argo0 = 0;
7753 int tempbool3 = (int) TRUE;
7754 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7755
7756 self = self;
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7758 return NULL;
7759 if (_argo0) {
7760 if (_argo0 == Py_None) { _arg0 = NULL; }
7761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7763 return NULL;
7764 }
7765 }
7766 _arg3 = (bool ) tempbool3;
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) return NULL;
7773 } _resultobj = Py_BuildValue("i",_result);
7774 return _resultobj;
7775 }
7776
7777 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7778 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7779 PyObject * _resultobj;
7780 bool _result;
7781 wxGrid * _arg0;
7782 int _arg1 = (int ) 0;
7783 int _arg2 = (int ) 1;
7784 bool _arg3 = (bool ) TRUE;
7785 PyObject * _argo0 = 0;
7786 int tempbool3 = (int) TRUE;
7787 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7788
7789 self = self;
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7791 return NULL;
7792 if (_argo0) {
7793 if (_argo0 == Py_None) { _arg0 = NULL; }
7794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7796 return NULL;
7797 }
7798 }
7799 _arg3 = (bool ) tempbool3;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) return NULL;
7806 } _resultobj = Py_BuildValue("i",_result);
7807 return _resultobj;
7808 }
7809
7810 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7811 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7812 PyObject * _resultobj;
7813 bool _result;
7814 wxGrid * _arg0;
7815 int _arg1 = (int ) 1;
7816 bool _arg2 = (bool ) TRUE;
7817 PyObject * _argo0 = 0;
7818 int tempbool2 = (int) TRUE;
7819 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7820
7821 self = self;
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7823 return NULL;
7824 if (_argo0) {
7825 if (_argo0 == Py_None) { _arg0 = NULL; }
7826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7828 return NULL;
7829 }
7830 }
7831 _arg2 = (bool ) tempbool2;
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) return NULL;
7838 } _resultobj = Py_BuildValue("i",_result);
7839 return _resultobj;
7840 }
7841
7842 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7843 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7844 PyObject * _resultobj;
7845 bool _result;
7846 wxGrid * _arg0;
7847 int _arg1 = (int ) 0;
7848 int _arg2 = (int ) 1;
7849 bool _arg3 = (bool ) TRUE;
7850 PyObject * _argo0 = 0;
7851 int tempbool3 = (int) TRUE;
7852 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7853
7854 self = self;
7855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7856 return NULL;
7857 if (_argo0) {
7858 if (_argo0 == Py_None) { _arg0 = NULL; }
7859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7861 return NULL;
7862 }
7863 }
7864 _arg3 = (bool ) tempbool3;
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
7868
7869 wxPyEndAllowThreads(__tstate);
7870 if (PyErr_Occurred()) return NULL;
7871 } _resultobj = Py_BuildValue("i",_result);
7872 return _resultobj;
7873 }
7874
7875 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7876 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject * _resultobj;
7878 wxGrid * _arg0;
7879 wxDC * _arg1;
7880 wxGridCellAttr * _arg2;
7881 PyObject * _argo0 = 0;
7882 PyObject * _argo1 = 0;
7883 PyObject * _argo2 = 0;
7884 char *_kwnames[] = { "self","dc","attr", NULL };
7885
7886 self = self;
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
7888 return NULL;
7889 if (_argo0) {
7890 if (_argo0 == Py_None) { _arg0 = NULL; }
7891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7893 return NULL;
7894 }
7895 }
7896 if (_argo1) {
7897 if (_argo1 == Py_None) { _arg1 = NULL; }
7898 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7900 return NULL;
7901 }
7902 }
7903 if (_argo2) {
7904 if (_argo2 == Py_None) { _arg2 = NULL; }
7905 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
7906 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7907 return NULL;
7908 }
7909 }
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) return NULL;
7916 } Py_INCREF(Py_None);
7917 _resultobj = Py_None;
7918 return _resultobj;
7919 }
7920
7921 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7922 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7923 PyObject * _resultobj;
7924 wxGrid * _arg0;
7925 wxDC * _arg1;
7926 wxString * _arg2;
7927 wxRect * _arg3;
7928 int _arg4 = (int ) wxLEFT;
7929 int _arg5 = (int ) wxTOP;
7930 PyObject * _argo0 = 0;
7931 PyObject * _argo1 = 0;
7932 PyObject * _obj2 = 0;
7933 wxRect temp;
7934 PyObject * _obj3 = 0;
7935 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL };
7936
7937 self = self;
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5))
7939 return NULL;
7940 if (_argo0) {
7941 if (_argo0 == Py_None) { _arg0 = NULL; }
7942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7944 return NULL;
7945 }
7946 }
7947 if (_argo1) {
7948 if (_argo1 == Py_None) { _arg1 = NULL; }
7949 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7950 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7951 return NULL;
7952 }
7953 }
7954 {
7955 _arg2 = wxString_in_helper(_obj2);
7956 if (_arg2 == NULL)
7957 return NULL;
7958 }
7959 {
7960 _arg3 = &temp;
7961 if (! wxRect_helper(_obj3, &_arg3))
7962 return NULL;
7963 }
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5);
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) return NULL;
7970 } Py_INCREF(Py_None);
7971 _resultobj = Py_None;
7972 {
7973 if (_obj2)
7974 delete _arg2;
7975 }
7976 return _resultobj;
7977 }
7978
7979 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7980 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7981 PyObject * _resultobj;
7982 wxGrid * _arg0;
7983 wxDC * _arg1;
7984 wxArrayString * _arg2;
7985 long * _arg3;
7986 long temp;
7987 long * _arg4;
7988 long temp0;
7989 PyObject * _argo0 = 0;
7990 PyObject * _argo1 = 0;
7991 PyObject * _obj2 = 0;
7992 char *_kwnames[] = { "self","dc","lines", NULL };
7993
7994 self = self;
7995 {
7996 _arg3 = &temp;
7997 }
7998 {
7999 _arg4 = &temp0;
8000 }
8001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
8002 return NULL;
8003 if (_argo0) {
8004 if (_argo0 == Py_None) { _arg0 = NULL; }
8005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8007 return NULL;
8008 }
8009 }
8010 if (_argo1) {
8011 if (_argo1 == Py_None) { _arg1 = NULL; }
8012 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8013 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8014 return NULL;
8015 }
8016 }
8017 {
8018 if (! PySequence_Check(_obj2)) {
8019 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8020 return NULL;
8021 }
8022 _arg2 = new wxArrayString;
8023 int i, len=PySequence_Length(_obj2);
8024 for (i=0; i<len; i++) {
8025 PyObject* item = PySequence_GetItem(_obj2, i);
8026 #if wxUSE_UNICODE
8027 PyObject* str = PyObject_Unicode(item);
8028 _arg2->Add(PyUnicode_AsUnicode(str));
8029 #else
8030 PyObject* str = PyObject_Str(item);
8031 _arg2->Add(PyString_AsString(str));
8032 #endif
8033 Py_DECREF(item);
8034 Py_DECREF(str);
8035 }
8036 }
8037 {
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) return NULL;
8043 } Py_INCREF(Py_None);
8044 _resultobj = Py_None;
8045 {
8046 PyObject *o;
8047 o = PyInt_FromLong((long) (*_arg3));
8048 _resultobj = t_output_helper(_resultobj, o);
8049 }
8050 {
8051 PyObject *o;
8052 o = PyInt_FromLong((long) (*_arg4));
8053 _resultobj = t_output_helper(_resultobj, o);
8054 }
8055 {
8056 if (_obj2)
8057 delete _arg2;
8058 }
8059 return _resultobj;
8060 }
8061
8062 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8063 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8064 PyObject * _resultobj;
8065 wxGrid * _arg0;
8066 PyObject * _argo0 = 0;
8067 char *_kwnames[] = { "self", NULL };
8068
8069 self = self;
8070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
8071 return NULL;
8072 if (_argo0) {
8073 if (_argo0 == Py_None) { _arg0 = NULL; }
8074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
8076 return NULL;
8077 }
8078 }
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 wxGrid_BeginBatch(_arg0);
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) return NULL;
8085 } Py_INCREF(Py_None);
8086 _resultobj = Py_None;
8087 return _resultobj;
8088 }
8089
8090 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8091 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8092 PyObject * _resultobj;
8093 wxGrid * _arg0;
8094 PyObject * _argo0 = 0;
8095 char *_kwnames[] = { "self", NULL };
8096
8097 self = self;
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
8099 return NULL;
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8104 return NULL;
8105 }
8106 }
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 wxGrid_EndBatch(_arg0);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) return NULL;
8113 } Py_INCREF(Py_None);
8114 _resultobj = Py_None;
8115 return _resultobj;
8116 }
8117
8118 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8119 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject * _resultobj;
8121 int _result;
8122 wxGrid * _arg0;
8123 PyObject * _argo0 = 0;
8124 char *_kwnames[] = { "self", NULL };
8125
8126 self = self;
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
8128 return NULL;
8129 if (_argo0) {
8130 if (_argo0 == Py_None) { _arg0 = NULL; }
8131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8133 return NULL;
8134 }
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 _result = (int )wxGrid_GetBatchCount(_arg0);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) return NULL;
8142 } _resultobj = Py_BuildValue("i",_result);
8143 return _resultobj;
8144 }
8145
8146 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8147 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject * _resultobj;
8149 wxGrid * _arg0;
8150 PyObject * _argo0 = 0;
8151 char *_kwnames[] = { "self", NULL };
8152
8153 self = self;
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
8155 return NULL;
8156 if (_argo0) {
8157 if (_argo0 == Py_None) { _arg0 = NULL; }
8158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8160 return NULL;
8161 }
8162 }
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 wxGrid_ForceRefresh(_arg0);
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) return NULL;
8169 } Py_INCREF(Py_None);
8170 _resultobj = Py_None;
8171 return _resultobj;
8172 }
8173
8174 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8175 static PyObject *_wrap_wxGrid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8176 PyObject * _resultobj;
8177 wxGrid * _arg0;
8178 bool _arg1 = (bool ) TRUE;
8179 wxRect * _arg2 = (wxRect *) NULL;
8180 PyObject * _argo0 = 0;
8181 int tempbool1 = (int) TRUE;
8182 wxRect temp;
8183 PyObject * _obj2 = 0;
8184 char *_kwnames[] = { "self","eraseb","rect", NULL };
8185
8186 self = self;
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxGrid_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8188 return NULL;
8189 if (_argo0) {
8190 if (_argo0 == Py_None) { _arg0 = NULL; }
8191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8193 return NULL;
8194 }
8195 }
8196 _arg1 = (bool ) tempbool1;
8197 if (_obj2)
8198 {
8199 _arg2 = &temp;
8200 if (! wxRect_helper(_obj2, &_arg2))
8201 return NULL;
8202 }
8203 {
8204 PyThreadState* __tstate = wxPyBeginAllowThreads();
8205 wxGrid_Refresh(_arg0,_arg1,_arg2);
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) return NULL;
8209 } Py_INCREF(Py_None);
8210 _resultobj = Py_None;
8211 return _resultobj;
8212 }
8213
8214 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8215 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8216 PyObject * _resultobj;
8217 bool _result;
8218 wxGrid * _arg0;
8219 PyObject * _argo0 = 0;
8220 char *_kwnames[] = { "self", NULL };
8221
8222 self = self;
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
8224 return NULL;
8225 if (_argo0) {
8226 if (_argo0 == Py_None) { _arg0 = NULL; }
8227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8229 return NULL;
8230 }
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 _result = (bool )wxGrid_IsEditable(_arg0);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) return NULL;
8238 } _resultobj = Py_BuildValue("i",_result);
8239 return _resultobj;
8240 }
8241
8242 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8243 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject * _resultobj;
8245 wxGrid * _arg0;
8246 bool _arg1;
8247 PyObject * _argo0 = 0;
8248 int tempbool1;
8249 char *_kwnames[] = { "self","edit", NULL };
8250
8251 self = self;
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
8253 return NULL;
8254 if (_argo0) {
8255 if (_argo0 == Py_None) { _arg0 = NULL; }
8256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8258 return NULL;
8259 }
8260 }
8261 _arg1 = (bool ) tempbool1;
8262 {
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 wxGrid_EnableEditing(_arg0,_arg1);
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) return NULL;
8268 } Py_INCREF(Py_None);
8269 _resultobj = Py_None;
8270 return _resultobj;
8271 }
8272
8273 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8274 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8275 PyObject * _resultobj;
8276 wxGrid * _arg0;
8277 bool _arg1 = (bool ) TRUE;
8278 PyObject * _argo0 = 0;
8279 int tempbool1 = (int) TRUE;
8280 char *_kwnames[] = { "self","enable", NULL };
8281
8282 self = self;
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
8284 return NULL;
8285 if (_argo0) {
8286 if (_argo0 == Py_None) { _arg0 = NULL; }
8287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8289 return NULL;
8290 }
8291 }
8292 _arg1 = (bool ) tempbool1;
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 wxGrid_EnableCellEditControl(_arg0,_arg1);
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) return NULL;
8299 } Py_INCREF(Py_None);
8300 _resultobj = Py_None;
8301 return _resultobj;
8302 }
8303
8304 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8305 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8306 PyObject * _resultobj;
8307 wxGrid * _arg0;
8308 PyObject * _argo0 = 0;
8309 char *_kwnames[] = { "self", NULL };
8310
8311 self = self;
8312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
8313 return NULL;
8314 if (_argo0) {
8315 if (_argo0 == Py_None) { _arg0 = NULL; }
8316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8318 return NULL;
8319 }
8320 }
8321 {
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 wxGrid_DisableCellEditControl(_arg0);
8324
8325 wxPyEndAllowThreads(__tstate);
8326 if (PyErr_Occurred()) return NULL;
8327 } Py_INCREF(Py_None);
8328 _resultobj = Py_None;
8329 return _resultobj;
8330 }
8331
8332 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8333 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject * _resultobj;
8335 bool _result;
8336 wxGrid * _arg0;
8337 PyObject * _argo0 = 0;
8338 char *_kwnames[] = { "self", NULL };
8339
8340 self = self;
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
8342 return NULL;
8343 if (_argo0) {
8344 if (_argo0 == Py_None) { _arg0 = NULL; }
8345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8347 return NULL;
8348 }
8349 }
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) return NULL;
8356 } _resultobj = Py_BuildValue("i",_result);
8357 return _resultobj;
8358 }
8359
8360 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8361 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8362 PyObject * _resultobj;
8363 bool _result;
8364 wxGrid * _arg0;
8365 PyObject * _argo0 = 0;
8366 char *_kwnames[] = { "self", NULL };
8367
8368 self = self;
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
8370 return NULL;
8371 if (_argo0) {
8372 if (_argo0 == Py_None) { _arg0 = NULL; }
8373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8375 return NULL;
8376 }
8377 }
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) return NULL;
8384 } _resultobj = Py_BuildValue("i",_result);
8385 return _resultobj;
8386 }
8387
8388 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8389 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8390 PyObject * _resultobj;
8391 bool _result;
8392 wxGrid * _arg0;
8393 PyObject * _argo0 = 0;
8394 char *_kwnames[] = { "self", NULL };
8395
8396 self = self;
8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8398 return NULL;
8399 if (_argo0) {
8400 if (_argo0 == Py_None) { _arg0 = NULL; }
8401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8403 return NULL;
8404 }
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) return NULL;
8412 } _resultobj = Py_BuildValue("i",_result);
8413 return _resultobj;
8414 }
8415
8416 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8417 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject * _resultobj;
8419 bool _result;
8420 wxGrid * _arg0;
8421 PyObject * _argo0 = 0;
8422 char *_kwnames[] = { "self", NULL };
8423
8424 self = self;
8425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8426 return NULL;
8427 if (_argo0) {
8428 if (_argo0 == Py_None) { _arg0 = NULL; }
8429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8431 return NULL;
8432 }
8433 }
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) return NULL;
8440 } _resultobj = Py_BuildValue("i",_result);
8441 return _resultobj;
8442 }
8443
8444 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8445 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject * _resultobj;
8447 wxGrid * _arg0;
8448 PyObject * _argo0 = 0;
8449 char *_kwnames[] = { "self", NULL };
8450
8451 self = self;
8452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8453 return NULL;
8454 if (_argo0) {
8455 if (_argo0 == Py_None) { _arg0 = NULL; }
8456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8458 return NULL;
8459 }
8460 }
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 wxGrid_ShowCellEditControl(_arg0);
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) return NULL;
8467 } Py_INCREF(Py_None);
8468 _resultobj = Py_None;
8469 return _resultobj;
8470 }
8471
8472 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8473 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8474 PyObject * _resultobj;
8475 wxGrid * _arg0;
8476 PyObject * _argo0 = 0;
8477 char *_kwnames[] = { "self", NULL };
8478
8479 self = self;
8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8481 return NULL;
8482 if (_argo0) {
8483 if (_argo0 == Py_None) { _arg0 = NULL; }
8484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8486 return NULL;
8487 }
8488 }
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 wxGrid_HideCellEditControl(_arg0);
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) return NULL;
8495 } Py_INCREF(Py_None);
8496 _resultobj = Py_None;
8497 return _resultobj;
8498 }
8499
8500 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8501 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject * _resultobj;
8503 wxGrid * _arg0;
8504 PyObject * _argo0 = 0;
8505 char *_kwnames[] = { "self", NULL };
8506
8507 self = self;
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8509 return NULL;
8510 if (_argo0) {
8511 if (_argo0 == Py_None) { _arg0 = NULL; }
8512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8514 return NULL;
8515 }
8516 }
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 wxGrid_SaveEditControlValue(_arg0);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) return NULL;
8523 } Py_INCREF(Py_None);
8524 _resultobj = Py_None;
8525 return _resultobj;
8526 }
8527
8528 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8529 wxGridCellCoords rv;
8530 self->XYToCell(x, y, rv);
8531 return new wxGridCellCoords(rv);
8532 }
8533 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject * _resultobj;
8535 wxGridCellCoords * _result;
8536 wxGrid * _arg0;
8537 int _arg1;
8538 int _arg2;
8539 PyObject * _argo0 = 0;
8540 char *_kwnames[] = { "self","x","y", NULL };
8541 char _ptemp[128];
8542
8543 self = self;
8544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8545 return NULL;
8546 if (_argo0) {
8547 if (_argo0 == Py_None) { _arg0 = NULL; }
8548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8550 return NULL;
8551 }
8552 }
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) return NULL;
8559 } if (_result) {
8560 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8561 _resultobj = Py_BuildValue("s",_ptemp);
8562 } else {
8563 Py_INCREF(Py_None);
8564 _resultobj = Py_None;
8565 }
8566 return _resultobj;
8567 }
8568
8569 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8570 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8571 PyObject * _resultobj;
8572 int _result;
8573 wxGrid * _arg0;
8574 int _arg1;
8575 PyObject * _argo0 = 0;
8576 char *_kwnames[] = { "self","y", NULL };
8577
8578 self = self;
8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8580 return NULL;
8581 if (_argo0) {
8582 if (_argo0 == Py_None) { _arg0 = NULL; }
8583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8585 return NULL;
8586 }
8587 }
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) return NULL;
8594 } _resultobj = Py_BuildValue("i",_result);
8595 return _resultobj;
8596 }
8597
8598 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8599 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject * _resultobj;
8601 int _result;
8602 wxGrid * _arg0;
8603 int _arg1;
8604 PyObject * _argo0 = 0;
8605 char *_kwnames[] = { "self","x", NULL };
8606
8607 self = self;
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8609 return NULL;
8610 if (_argo0) {
8611 if (_argo0 == Py_None) { _arg0 = NULL; }
8612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8614 return NULL;
8615 }
8616 }
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) return NULL;
8623 } _resultobj = Py_BuildValue("i",_result);
8624 return _resultobj;
8625 }
8626
8627 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8628 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8629 PyObject * _resultobj;
8630 int _result;
8631 wxGrid * _arg0;
8632 int _arg1;
8633 PyObject * _argo0 = 0;
8634 char *_kwnames[] = { "self","y", NULL };
8635
8636 self = self;
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8638 return NULL;
8639 if (_argo0) {
8640 if (_argo0 == Py_None) { _arg0 = NULL; }
8641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8643 return NULL;
8644 }
8645 }
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) return NULL;
8652 } _resultobj = Py_BuildValue("i",_result);
8653 return _resultobj;
8654 }
8655
8656 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8657 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8658 PyObject * _resultobj;
8659 int _result;
8660 wxGrid * _arg0;
8661 int _arg1;
8662 PyObject * _argo0 = 0;
8663 char *_kwnames[] = { "self","x", NULL };
8664
8665 self = self;
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8667 return NULL;
8668 if (_argo0) {
8669 if (_argo0 == Py_None) { _arg0 = NULL; }
8670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8672 return NULL;
8673 }
8674 }
8675 {
8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
8677 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8678
8679 wxPyEndAllowThreads(__tstate);
8680 if (PyErr_Occurred()) return NULL;
8681 } _resultobj = Py_BuildValue("i",_result);
8682 return _resultobj;
8683 }
8684
8685 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8686 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject * _resultobj;
8688 wxRect * _result;
8689 wxGrid * _arg0;
8690 int _arg1;
8691 int _arg2;
8692 PyObject * _argo0 = 0;
8693 char *_kwnames[] = { "self","row","col", NULL };
8694 char _ptemp[128];
8695
8696 self = self;
8697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8698 return NULL;
8699 if (_argo0) {
8700 if (_argo0 == Py_None) { _arg0 = NULL; }
8701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8703 return NULL;
8704 }
8705 }
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) return NULL;
8712 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8713 _resultobj = Py_BuildValue("s",_ptemp);
8714 return _resultobj;
8715 }
8716
8717 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8718 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8719 PyObject * _resultobj;
8720 int _result;
8721 wxGrid * _arg0;
8722 PyObject * _argo0 = 0;
8723 char *_kwnames[] = { "self", NULL };
8724
8725 self = self;
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8727 return NULL;
8728 if (_argo0) {
8729 if (_argo0 == Py_None) { _arg0 = NULL; }
8730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8732 return NULL;
8733 }
8734 }
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) return NULL;
8741 } _resultobj = Py_BuildValue("i",_result);
8742 return _resultobj;
8743 }
8744
8745 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8746 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject * _resultobj;
8748 int _result;
8749 wxGrid * _arg0;
8750 PyObject * _argo0 = 0;
8751 char *_kwnames[] = { "self", NULL };
8752
8753 self = self;
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8755 return NULL;
8756 if (_argo0) {
8757 if (_argo0 == Py_None) { _arg0 = NULL; }
8758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8760 return NULL;
8761 }
8762 }
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) return NULL;
8769 } _resultobj = Py_BuildValue("i",_result);
8770 return _resultobj;
8771 }
8772
8773 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8774 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8775 PyObject * _resultobj;
8776 bool _result;
8777 wxGrid * _arg0;
8778 int _arg1;
8779 int _arg2;
8780 bool _arg3 = (bool ) TRUE;
8781 PyObject * _argo0 = 0;
8782 int tempbool3 = (int) TRUE;
8783 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8784
8785 self = self;
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8787 return NULL;
8788 if (_argo0) {
8789 if (_argo0 == Py_None) { _arg0 = NULL; }
8790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8792 return NULL;
8793 }
8794 }
8795 _arg3 = (bool ) tempbool3;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) return NULL;
8802 } _resultobj = Py_BuildValue("i",_result);
8803 return _resultobj;
8804 }
8805
8806 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8807 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject * _resultobj;
8809 wxGrid * _arg0;
8810 int _arg1;
8811 int _arg2;
8812 PyObject * _argo0 = 0;
8813 char *_kwnames[] = { "self","row","col", NULL };
8814
8815 self = self;
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8817 return NULL;
8818 if (_argo0) {
8819 if (_argo0 == Py_None) { _arg0 = NULL; }
8820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8822 return NULL;
8823 }
8824 }
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) return NULL;
8831 } Py_INCREF(Py_None);
8832 _resultobj = Py_None;
8833 return _resultobj;
8834 }
8835
8836 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8837 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject * _resultobj;
8839 wxGrid * _arg0;
8840 int _arg1;
8841 int _arg2;
8842 PyObject * _argo0 = 0;
8843 char *_kwnames[] = { "self","row","col", NULL };
8844
8845 self = self;
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8847 return NULL;
8848 if (_argo0) {
8849 if (_argo0 == Py_None) { _arg0 = NULL; }
8850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8852 return NULL;
8853 }
8854 }
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) return NULL;
8861 } Py_INCREF(Py_None);
8862 _resultobj = Py_None;
8863 return _resultobj;
8864 }
8865
8866 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8867 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8868 PyObject * _resultobj;
8869 bool _result;
8870 wxGrid * _arg0;
8871 bool _arg1;
8872 PyObject * _argo0 = 0;
8873 int tempbool1;
8874 char *_kwnames[] = { "self","expandSelection", NULL };
8875
8876 self = self;
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
8878 return NULL;
8879 if (_argo0) {
8880 if (_argo0 == Py_None) { _arg0 = NULL; }
8881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8883 return NULL;
8884 }
8885 }
8886 _arg1 = (bool ) tempbool1;
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
8890
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) return NULL;
8893 } _resultobj = Py_BuildValue("i",_result);
8894 return _resultobj;
8895 }
8896
8897 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8898 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject * _resultobj;
8900 bool _result;
8901 wxGrid * _arg0;
8902 bool _arg1;
8903 PyObject * _argo0 = 0;
8904 int tempbool1;
8905 char *_kwnames[] = { "self","expandSelection", NULL };
8906
8907 self = self;
8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
8909 return NULL;
8910 if (_argo0) {
8911 if (_argo0 == Py_None) { _arg0 = NULL; }
8912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8914 return NULL;
8915 }
8916 }
8917 _arg1 = (bool ) tempbool1;
8918 {
8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
8920 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
8921
8922 wxPyEndAllowThreads(__tstate);
8923 if (PyErr_Occurred()) return NULL;
8924 } _resultobj = Py_BuildValue("i",_result);
8925 return _resultobj;
8926 }
8927
8928 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8929 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject * _resultobj;
8931 bool _result;
8932 wxGrid * _arg0;
8933 bool _arg1;
8934 PyObject * _argo0 = 0;
8935 int tempbool1;
8936 char *_kwnames[] = { "self","expandSelection", NULL };
8937
8938 self = self;
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
8940 return NULL;
8941 if (_argo0) {
8942 if (_argo0 == Py_None) { _arg0 = NULL; }
8943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8945 return NULL;
8946 }
8947 }
8948 _arg1 = (bool ) tempbool1;
8949 {
8950 PyThreadState* __tstate = wxPyBeginAllowThreads();
8951 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
8952
8953 wxPyEndAllowThreads(__tstate);
8954 if (PyErr_Occurred()) return NULL;
8955 } _resultobj = Py_BuildValue("i",_result);
8956 return _resultobj;
8957 }
8958
8959 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8960 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8961 PyObject * _resultobj;
8962 bool _result;
8963 wxGrid * _arg0;
8964 bool _arg1;
8965 PyObject * _argo0 = 0;
8966 int tempbool1;
8967 char *_kwnames[] = { "self","expandSelection", NULL };
8968
8969 self = self;
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
8971 return NULL;
8972 if (_argo0) {
8973 if (_argo0 == Py_None) { _arg0 = NULL; }
8974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8976 return NULL;
8977 }
8978 }
8979 _arg1 = (bool ) tempbool1;
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) return NULL;
8986 } _resultobj = Py_BuildValue("i",_result);
8987 return _resultobj;
8988 }
8989
8990 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8991 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject * _resultobj;
8993 bool _result;
8994 wxGrid * _arg0;
8995 PyObject * _argo0 = 0;
8996 char *_kwnames[] = { "self", NULL };
8997
8998 self = self;
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
9000 return NULL;
9001 if (_argo0) {
9002 if (_argo0 == Py_None) { _arg0 = NULL; }
9003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
9005 return NULL;
9006 }
9007 }
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 _result = (bool )wxGrid_MovePageDown(_arg0);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) return NULL;
9014 } _resultobj = Py_BuildValue("i",_result);
9015 return _resultobj;
9016 }
9017
9018 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9019 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject * _resultobj;
9021 bool _result;
9022 wxGrid * _arg0;
9023 PyObject * _argo0 = 0;
9024 char *_kwnames[] = { "self", NULL };
9025
9026 self = self;
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
9028 return NULL;
9029 if (_argo0) {
9030 if (_argo0 == Py_None) { _arg0 = NULL; }
9031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
9033 return NULL;
9034 }
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 _result = (bool )wxGrid_MovePageUp(_arg0);
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) return NULL;
9042 } _resultobj = Py_BuildValue("i",_result);
9043 return _resultobj;
9044 }
9045
9046 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9047 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject * _resultobj;
9049 bool _result;
9050 wxGrid * _arg0;
9051 bool _arg1;
9052 PyObject * _argo0 = 0;
9053 int tempbool1;
9054 char *_kwnames[] = { "self","expandSelection", NULL };
9055
9056 self = self;
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
9058 return NULL;
9059 if (_argo0) {
9060 if (_argo0 == Py_None) { _arg0 = NULL; }
9061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9063 return NULL;
9064 }
9065 }
9066 _arg1 = (bool ) tempbool1;
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) return NULL;
9073 } _resultobj = Py_BuildValue("i",_result);
9074 return _resultobj;
9075 }
9076
9077 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9078 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9079 PyObject * _resultobj;
9080 bool _result;
9081 wxGrid * _arg0;
9082 bool _arg1;
9083 PyObject * _argo0 = 0;
9084 int tempbool1;
9085 char *_kwnames[] = { "self","expandSelection", NULL };
9086
9087 self = self;
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
9089 return NULL;
9090 if (_argo0) {
9091 if (_argo0 == Py_None) { _arg0 = NULL; }
9092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9094 return NULL;
9095 }
9096 }
9097 _arg1 = (bool ) tempbool1;
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) return NULL;
9104 } _resultobj = Py_BuildValue("i",_result);
9105 return _resultobj;
9106 }
9107
9108 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9109 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9110 PyObject * _resultobj;
9111 bool _result;
9112 wxGrid * _arg0;
9113 bool _arg1;
9114 PyObject * _argo0 = 0;
9115 int tempbool1;
9116 char *_kwnames[] = { "self","expandSelection", NULL };
9117
9118 self = self;
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
9120 return NULL;
9121 if (_argo0) {
9122 if (_argo0 == Py_None) { _arg0 = NULL; }
9123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9125 return NULL;
9126 }
9127 }
9128 _arg1 = (bool ) tempbool1;
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) return NULL;
9135 } _resultobj = Py_BuildValue("i",_result);
9136 return _resultobj;
9137 }
9138
9139 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9140 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9141 PyObject * _resultobj;
9142 bool _result;
9143 wxGrid * _arg0;
9144 bool _arg1;
9145 PyObject * _argo0 = 0;
9146 int tempbool1;
9147 char *_kwnames[] = { "self","expandSelection", NULL };
9148
9149 self = self;
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
9151 return NULL;
9152 if (_argo0) {
9153 if (_argo0 == Py_None) { _arg0 = NULL; }
9154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9156 return NULL;
9157 }
9158 }
9159 _arg1 = (bool ) tempbool1;
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) return NULL;
9166 } _resultobj = Py_BuildValue("i",_result);
9167 return _resultobj;
9168 }
9169
9170 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9171 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject * _resultobj;
9173 int _result;
9174 wxGrid * _arg0;
9175 PyObject * _argo0 = 0;
9176 char *_kwnames[] = { "self", NULL };
9177
9178 self = self;
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
9180 return NULL;
9181 if (_argo0) {
9182 if (_argo0 == Py_None) { _arg0 = NULL; }
9183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9185 return NULL;
9186 }
9187 }
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) return NULL;
9194 } _resultobj = Py_BuildValue("i",_result);
9195 return _resultobj;
9196 }
9197
9198 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9199 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9200 PyObject * _resultobj;
9201 int _result;
9202 wxGrid * _arg0;
9203 PyObject * _argo0 = 0;
9204 char *_kwnames[] = { "self", NULL };
9205
9206 self = self;
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
9208 return NULL;
9209 if (_argo0) {
9210 if (_argo0 == Py_None) { _arg0 = NULL; }
9211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9213 return NULL;
9214 }
9215 }
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 _result = (int )wxGrid_GetRowLabelSize(_arg0);
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) return NULL;
9222 } _resultobj = Py_BuildValue("i",_result);
9223 return _resultobj;
9224 }
9225
9226 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9227 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9228 PyObject * _resultobj;
9229 int _result;
9230 wxGrid * _arg0;
9231 PyObject * _argo0 = 0;
9232 char *_kwnames[] = { "self", NULL };
9233
9234 self = self;
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
9236 return NULL;
9237 if (_argo0) {
9238 if (_argo0 == Py_None) { _arg0 = NULL; }
9239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9241 return NULL;
9242 }
9243 }
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
9247
9248 wxPyEndAllowThreads(__tstate);
9249 if (PyErr_Occurred()) return NULL;
9250 } _resultobj = Py_BuildValue("i",_result);
9251 return _resultobj;
9252 }
9253
9254 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9255 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9256 PyObject * _resultobj;
9257 int _result;
9258 wxGrid * _arg0;
9259 PyObject * _argo0 = 0;
9260 char *_kwnames[] = { "self", NULL };
9261
9262 self = self;
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
9264 return NULL;
9265 if (_argo0) {
9266 if (_argo0 == Py_None) { _arg0 = NULL; }
9267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9269 return NULL;
9270 }
9271 }
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 _result = (int )wxGrid_GetColLabelSize(_arg0);
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) return NULL;
9278 } _resultobj = Py_BuildValue("i",_result);
9279 return _resultobj;
9280 }
9281
9282 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9283 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9284 PyObject * _resultobj;
9285 wxColour * _result;
9286 wxGrid * _arg0;
9287 PyObject * _argo0 = 0;
9288 char *_kwnames[] = { "self", NULL };
9289 char _ptemp[128];
9290
9291 self = self;
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
9293 return NULL;
9294 if (_argo0) {
9295 if (_argo0 == Py_None) { _arg0 = NULL; }
9296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9298 return NULL;
9299 }
9300 }
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) return NULL;
9307 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9308 _resultobj = Py_BuildValue("s",_ptemp);
9309 return _resultobj;
9310 }
9311
9312 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9313 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject * _resultobj;
9315 wxColour * _result;
9316 wxGrid * _arg0;
9317 PyObject * _argo0 = 0;
9318 char *_kwnames[] = { "self", NULL };
9319 char _ptemp[128];
9320
9321 self = self;
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
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_GetLabelTextColour. Expected _wxGrid_p.");
9328 return NULL;
9329 }
9330 }
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) return NULL;
9337 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9338 _resultobj = Py_BuildValue("s",_ptemp);
9339 return _resultobj;
9340 }
9341
9342 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9343 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject * _resultobj;
9345 wxFont * _result;
9346 wxGrid * _arg0;
9347 PyObject * _argo0 = 0;
9348 char *_kwnames[] = { "self", NULL };
9349 char _ptemp[128];
9350
9351 self = self;
9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
9353 return NULL;
9354 if (_argo0) {
9355 if (_argo0 == Py_None) { _arg0 = NULL; }
9356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9358 return NULL;
9359 }
9360 }
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) return NULL;
9367 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9368 _resultobj = Py_BuildValue("s",_ptemp);
9369 return _resultobj;
9370 }
9371
9372 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9373 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9374 PyObject * _resultobj;
9375 wxGrid * _arg0;
9376 int * _arg1;
9377 int temp;
9378 int * _arg2;
9379 int temp0;
9380 PyObject * _argo0 = 0;
9381 char *_kwnames[] = { "self", NULL };
9382
9383 self = self;
9384 {
9385 _arg1 = &temp;
9386 }
9387 {
9388 _arg2 = &temp0;
9389 }
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9391 return NULL;
9392 if (_argo0) {
9393 if (_argo0 == Py_None) { _arg0 = NULL; }
9394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9396 return NULL;
9397 }
9398 }
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) return NULL;
9405 } Py_INCREF(Py_None);
9406 _resultobj = Py_None;
9407 {
9408 PyObject *o;
9409 o = PyInt_FromLong((long) (*_arg1));
9410 _resultobj = t_output_helper(_resultobj, o);
9411 }
9412 {
9413 PyObject *o;
9414 o = PyInt_FromLong((long) (*_arg2));
9415 _resultobj = t_output_helper(_resultobj, o);
9416 }
9417 return _resultobj;
9418 }
9419
9420 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9421 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9422 PyObject * _resultobj;
9423 wxGrid * _arg0;
9424 int * _arg1;
9425 int temp;
9426 int * _arg2;
9427 int temp0;
9428 PyObject * _argo0 = 0;
9429 char *_kwnames[] = { "self", NULL };
9430
9431 self = self;
9432 {
9433 _arg1 = &temp;
9434 }
9435 {
9436 _arg2 = &temp0;
9437 }
9438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9439 return NULL;
9440 if (_argo0) {
9441 if (_argo0 == Py_None) { _arg0 = NULL; }
9442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9444 return NULL;
9445 }
9446 }
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) return NULL;
9453 } Py_INCREF(Py_None);
9454 _resultobj = Py_None;
9455 {
9456 PyObject *o;
9457 o = PyInt_FromLong((long) (*_arg1));
9458 _resultobj = t_output_helper(_resultobj, o);
9459 }
9460 {
9461 PyObject *o;
9462 o = PyInt_FromLong((long) (*_arg2));
9463 _resultobj = t_output_helper(_resultobj, o);
9464 }
9465 return _resultobj;
9466 }
9467
9468 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9469 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9470 PyObject * _resultobj;
9471 wxString * _result;
9472 wxGrid * _arg0;
9473 int _arg1;
9474 PyObject * _argo0 = 0;
9475 char *_kwnames[] = { "self","row", NULL };
9476
9477 self = self;
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9479 return NULL;
9480 if (_argo0) {
9481 if (_argo0 == Py_None) { _arg0 = NULL; }
9482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9484 return NULL;
9485 }
9486 }
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) return NULL;
9493 }{
9494 #if wxUSE_UNICODE
9495 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9496 #else
9497 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9498 #endif
9499 }
9500 {
9501 delete _result;
9502 }
9503 return _resultobj;
9504 }
9505
9506 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9507 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject * _resultobj;
9509 wxString * _result;
9510 wxGrid * _arg0;
9511 int _arg1;
9512 PyObject * _argo0 = 0;
9513 char *_kwnames[] = { "self","col", NULL };
9514
9515 self = self;
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9517 return NULL;
9518 if (_argo0) {
9519 if (_argo0 == Py_None) { _arg0 = NULL; }
9520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9522 return NULL;
9523 }
9524 }
9525 {
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9528
9529 wxPyEndAllowThreads(__tstate);
9530 if (PyErr_Occurred()) return NULL;
9531 }{
9532 #if wxUSE_UNICODE
9533 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
9534 #else
9535 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9536 #endif
9537 }
9538 {
9539 delete _result;
9540 }
9541 return _resultobj;
9542 }
9543
9544 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9545 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject * _resultobj;
9547 wxColour * _result;
9548 wxGrid * _arg0;
9549 PyObject * _argo0 = 0;
9550 char *_kwnames[] = { "self", NULL };
9551 char _ptemp[128];
9552
9553 self = self;
9554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9555 return NULL;
9556 if (_argo0) {
9557 if (_argo0 == Py_None) { _arg0 = NULL; }
9558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9560 return NULL;
9561 }
9562 }
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) return NULL;
9569 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9570 _resultobj = Py_BuildValue("s",_ptemp);
9571 return _resultobj;
9572 }
9573
9574 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9575 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject * _resultobj;
9577 wxColour * _result;
9578 wxGrid * _arg0;
9579 PyObject * _argo0 = 0;
9580 char *_kwnames[] = { "self", NULL };
9581 char _ptemp[128];
9582
9583 self = self;
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9585 return NULL;
9586 if (_argo0) {
9587 if (_argo0 == Py_None) { _arg0 = NULL; }
9588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9590 return NULL;
9591 }
9592 }
9593 {
9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
9595 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9596
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) return NULL;
9599 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9600 _resultobj = Py_BuildValue("s",_ptemp);
9601 return _resultobj;
9602 }
9603
9604 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9605 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject * _resultobj;
9607 int _result;
9608 wxGrid * _arg0;
9609 PyObject * _argo0 = 0;
9610 char *_kwnames[] = { "self", NULL };
9611
9612 self = self;
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9614 return NULL;
9615 if (_argo0) {
9616 if (_argo0 == Py_None) { _arg0 = NULL; }
9617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9619 return NULL;
9620 }
9621 }
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) return NULL;
9628 } _resultobj = Py_BuildValue("i",_result);
9629 return _resultobj;
9630 }
9631
9632 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9633 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject * _resultobj;
9635 int _result;
9636 wxGrid * _arg0;
9637 PyObject * _argo0 = 0;
9638 char *_kwnames[] = { "self", NULL };
9639
9640 self = self;
9641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9642 return NULL;
9643 if (_argo0) {
9644 if (_argo0 == Py_None) { _arg0 = NULL; }
9645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9647 return NULL;
9648 }
9649 }
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) return NULL;
9656 } _resultobj = Py_BuildValue("i",_result);
9657 return _resultobj;
9658 }
9659
9660 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9661 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject * _resultobj;
9663 wxGrid * _arg0;
9664 int _arg1;
9665 PyObject * _argo0 = 0;
9666 char *_kwnames[] = { "self","width", NULL };
9667
9668 self = self;
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9670 return NULL;
9671 if (_argo0) {
9672 if (_argo0 == Py_None) { _arg0 = NULL; }
9673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9675 return NULL;
9676 }
9677 }
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 wxGrid_SetRowLabelSize(_arg0,_arg1);
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) return NULL;
9684 } Py_INCREF(Py_None);
9685 _resultobj = Py_None;
9686 return _resultobj;
9687 }
9688
9689 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9690 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9691 PyObject * _resultobj;
9692 wxGrid * _arg0;
9693 int _arg1;
9694 PyObject * _argo0 = 0;
9695 char *_kwnames[] = { "self","height", NULL };
9696
9697 self = self;
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9699 return NULL;
9700 if (_argo0) {
9701 if (_argo0 == Py_None) { _arg0 = NULL; }
9702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9704 return NULL;
9705 }
9706 }
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 wxGrid_SetColLabelSize(_arg0,_arg1);
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) return NULL;
9713 } Py_INCREF(Py_None);
9714 _resultobj = Py_None;
9715 return _resultobj;
9716 }
9717
9718 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9719 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject * _resultobj;
9721 wxGrid * _arg0;
9722 wxColour * _arg1;
9723 PyObject * _argo0 = 0;
9724 wxColour temp;
9725 PyObject * _obj1 = 0;
9726 char *_kwnames[] = { "self","arg2", NULL };
9727
9728 self = self;
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9730 return NULL;
9731 if (_argo0) {
9732 if (_argo0 == Py_None) { _arg0 = NULL; }
9733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9735 return NULL;
9736 }
9737 }
9738 {
9739 _arg1 = &temp;
9740 if (! wxColour_helper(_obj1, &_arg1))
9741 return NULL;
9742 }
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) return NULL;
9749 } Py_INCREF(Py_None);
9750 _resultobj = Py_None;
9751 return _resultobj;
9752 }
9753
9754 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9755 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9756 PyObject * _resultobj;
9757 wxGrid * _arg0;
9758 wxColour * _arg1;
9759 PyObject * _argo0 = 0;
9760 wxColour temp;
9761 PyObject * _obj1 = 0;
9762 char *_kwnames[] = { "self","arg2", NULL };
9763
9764 self = self;
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9766 return NULL;
9767 if (_argo0) {
9768 if (_argo0 == Py_None) { _arg0 = NULL; }
9769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9771 return NULL;
9772 }
9773 }
9774 {
9775 _arg1 = &temp;
9776 if (! wxColour_helper(_obj1, &_arg1))
9777 return NULL;
9778 }
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) return NULL;
9785 } Py_INCREF(Py_None);
9786 _resultobj = Py_None;
9787 return _resultobj;
9788 }
9789
9790 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9791 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject * _resultobj;
9793 wxGrid * _arg0;
9794 wxFont * _arg1;
9795 PyObject * _argo0 = 0;
9796 PyObject * _argo1 = 0;
9797 char *_kwnames[] = { "self","arg2", NULL };
9798
9799 self = self;
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9801 return NULL;
9802 if (_argo0) {
9803 if (_argo0 == Py_None) { _arg0 = NULL; }
9804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9806 return NULL;
9807 }
9808 }
9809 if (_argo1) {
9810 if (_argo1 == Py_None) { _arg1 = NULL; }
9811 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9812 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9813 return NULL;
9814 }
9815 }
9816 {
9817 PyThreadState* __tstate = wxPyBeginAllowThreads();
9818 wxGrid_SetLabelFont(_arg0,*_arg1);
9819
9820 wxPyEndAllowThreads(__tstate);
9821 if (PyErr_Occurred()) return NULL;
9822 } Py_INCREF(Py_None);
9823 _resultobj = Py_None;
9824 return _resultobj;
9825 }
9826
9827 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9828 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject * _resultobj;
9830 wxGrid * _arg0;
9831 int _arg1;
9832 int _arg2;
9833 PyObject * _argo0 = 0;
9834 char *_kwnames[] = { "self","horiz","vert", NULL };
9835
9836 self = self;
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9838 return NULL;
9839 if (_argo0) {
9840 if (_argo0 == Py_None) { _arg0 = NULL; }
9841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9843 return NULL;
9844 }
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) return NULL;
9852 } Py_INCREF(Py_None);
9853 _resultobj = Py_None;
9854 return _resultobj;
9855 }
9856
9857 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9858 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9859 PyObject * _resultobj;
9860 wxGrid * _arg0;
9861 int _arg1;
9862 int _arg2;
9863 PyObject * _argo0 = 0;
9864 char *_kwnames[] = { "self","horiz","vert", NULL };
9865
9866 self = self;
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
9868 return NULL;
9869 if (_argo0) {
9870 if (_argo0 == Py_None) { _arg0 = NULL; }
9871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9873 return NULL;
9874 }
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
9879
9880 wxPyEndAllowThreads(__tstate);
9881 if (PyErr_Occurred()) return NULL;
9882 } Py_INCREF(Py_None);
9883 _resultobj = Py_None;
9884 return _resultobj;
9885 }
9886
9887 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9888 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject * _resultobj;
9890 wxGrid * _arg0;
9891 int _arg1;
9892 wxString * _arg2;
9893 PyObject * _argo0 = 0;
9894 PyObject * _obj2 = 0;
9895 char *_kwnames[] = { "self","row","arg3", NULL };
9896
9897 self = self;
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9899 return NULL;
9900 if (_argo0) {
9901 if (_argo0 == Py_None) { _arg0 = NULL; }
9902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9904 return NULL;
9905 }
9906 }
9907 {
9908 _arg2 = wxString_in_helper(_obj2);
9909 if (_arg2 == NULL)
9910 return NULL;
9911 }
9912 {
9913 PyThreadState* __tstate = wxPyBeginAllowThreads();
9914 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
9915
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) return NULL;
9918 } Py_INCREF(Py_None);
9919 _resultobj = Py_None;
9920 {
9921 if (_obj2)
9922 delete _arg2;
9923 }
9924 return _resultobj;
9925 }
9926
9927 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9928 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject * _resultobj;
9930 wxGrid * _arg0;
9931 int _arg1;
9932 wxString * _arg2;
9933 PyObject * _argo0 = 0;
9934 PyObject * _obj2 = 0;
9935 char *_kwnames[] = { "self","col","arg3", NULL };
9936
9937 self = self;
9938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
9939 return NULL;
9940 if (_argo0) {
9941 if (_argo0 == Py_None) { _arg0 = NULL; }
9942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9944 return NULL;
9945 }
9946 }
9947 {
9948 _arg2 = wxString_in_helper(_obj2);
9949 if (_arg2 == NULL)
9950 return NULL;
9951 }
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) return NULL;
9958 } Py_INCREF(Py_None);
9959 _resultobj = Py_None;
9960 {
9961 if (_obj2)
9962 delete _arg2;
9963 }
9964 return _resultobj;
9965 }
9966
9967 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9968 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject * _resultobj;
9970 wxGrid * _arg0;
9971 wxColour * _arg1;
9972 PyObject * _argo0 = 0;
9973 wxColour temp;
9974 PyObject * _obj1 = 0;
9975 char *_kwnames[] = { "self","arg2", NULL };
9976
9977 self = self;
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
9979 return NULL;
9980 if (_argo0) {
9981 if (_argo0 == Py_None) { _arg0 = NULL; }
9982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9984 return NULL;
9985 }
9986 }
9987 {
9988 _arg1 = &temp;
9989 if (! wxColour_helper(_obj1, &_arg1))
9990 return NULL;
9991 }
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 wxGrid_SetGridLineColour(_arg0,*_arg1);
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) return NULL;
9998 } Py_INCREF(Py_None);
9999 _resultobj = Py_None;
10000 return _resultobj;
10001 }
10002
10003 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10004 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10005 PyObject * _resultobj;
10006 wxGrid * _arg0;
10007 wxColour * _arg1;
10008 PyObject * _argo0 = 0;
10009 wxColour temp;
10010 PyObject * _obj1 = 0;
10011 char *_kwnames[] = { "self","arg2", NULL };
10012
10013 self = self;
10014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
10015 return NULL;
10016 if (_argo0) {
10017 if (_argo0 == Py_None) { _arg0 = NULL; }
10018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10020 return NULL;
10021 }
10022 }
10023 {
10024 _arg1 = &temp;
10025 if (! wxColour_helper(_obj1, &_arg1))
10026 return NULL;
10027 }
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) return NULL;
10034 } Py_INCREF(Py_None);
10035 _resultobj = Py_None;
10036 return _resultobj;
10037 }
10038
10039 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10040 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10041 PyObject * _resultobj;
10042 wxGrid * _arg0;
10043 int _arg1;
10044 PyObject * _argo0 = 0;
10045 char *_kwnames[] = { "self","width", NULL };
10046
10047 self = self;
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
10049 return NULL;
10050 if (_argo0) {
10051 if (_argo0 == Py_None) { _arg0 = NULL; }
10052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10054 return NULL;
10055 }
10056 }
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) return NULL;
10063 } Py_INCREF(Py_None);
10064 _resultobj = Py_None;
10065 return _resultobj;
10066 }
10067
10068 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10069 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10070 PyObject * _resultobj;
10071 wxGrid * _arg0;
10072 int _arg1;
10073 PyObject * _argo0 = 0;
10074 char *_kwnames[] = { "self","width", NULL };
10075
10076 self = self;
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
10078 return NULL;
10079 if (_argo0) {
10080 if (_argo0 == Py_None) { _arg0 = NULL; }
10081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10083 return NULL;
10084 }
10085 }
10086 {
10087 PyThreadState* __tstate = wxPyBeginAllowThreads();
10088 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
10089
10090 wxPyEndAllowThreads(__tstate);
10091 if (PyErr_Occurred()) return NULL;
10092 } Py_INCREF(Py_None);
10093 _resultobj = Py_None;
10094 return _resultobj;
10095 }
10096
10097 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10098 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject * _resultobj;
10100 wxGrid * _arg0;
10101 bool _arg1 = (bool ) TRUE;
10102 PyObject * _argo0 = 0;
10103 int tempbool1 = (int) TRUE;
10104 char *_kwnames[] = { "self","enable", NULL };
10105
10106 self = self;
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
10108 return NULL;
10109 if (_argo0) {
10110 if (_argo0 == Py_None) { _arg0 = NULL; }
10111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10113 return NULL;
10114 }
10115 }
10116 _arg1 = (bool ) tempbool1;
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 wxGrid_EnableDragRowSize(_arg0,_arg1);
10120
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) return NULL;
10123 } Py_INCREF(Py_None);
10124 _resultobj = Py_None;
10125 return _resultobj;
10126 }
10127
10128 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10129 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10130 PyObject * _resultobj;
10131 wxGrid * _arg0;
10132 PyObject * _argo0 = 0;
10133 char *_kwnames[] = { "self", NULL };
10134
10135 self = self;
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
10137 return NULL;
10138 if (_argo0) {
10139 if (_argo0 == Py_None) { _arg0 = NULL; }
10140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10142 return NULL;
10143 }
10144 }
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 wxGrid_DisableDragRowSize(_arg0);
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) return NULL;
10151 } Py_INCREF(Py_None);
10152 _resultobj = Py_None;
10153 return _resultobj;
10154 }
10155
10156 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10157 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10158 PyObject * _resultobj;
10159 bool _result;
10160 wxGrid * _arg0;
10161 PyObject * _argo0 = 0;
10162 char *_kwnames[] = { "self", NULL };
10163
10164 self = self;
10165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
10166 return NULL;
10167 if (_argo0) {
10168 if (_argo0 == Py_None) { _arg0 = NULL; }
10169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10171 return NULL;
10172 }
10173 }
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 _result = (bool )wxGrid_CanDragRowSize(_arg0);
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) return NULL;
10180 } _resultobj = Py_BuildValue("i",_result);
10181 return _resultobj;
10182 }
10183
10184 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10185 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject * _resultobj;
10187 wxGrid * _arg0;
10188 bool _arg1 = (bool ) TRUE;
10189 PyObject * _argo0 = 0;
10190 int tempbool1 = (int) TRUE;
10191 char *_kwnames[] = { "self","enable", NULL };
10192
10193 self = self;
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
10195 return NULL;
10196 if (_argo0) {
10197 if (_argo0 == Py_None) { _arg0 = NULL; }
10198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10200 return NULL;
10201 }
10202 }
10203 _arg1 = (bool ) tempbool1;
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 wxGrid_EnableDragColSize(_arg0,_arg1);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) return NULL;
10210 } Py_INCREF(Py_None);
10211 _resultobj = Py_None;
10212 return _resultobj;
10213 }
10214
10215 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10216 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10217 PyObject * _resultobj;
10218 wxGrid * _arg0;
10219 PyObject * _argo0 = 0;
10220 char *_kwnames[] = { "self", NULL };
10221
10222 self = self;
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
10224 return NULL;
10225 if (_argo0) {
10226 if (_argo0 == Py_None) { _arg0 = NULL; }
10227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10229 return NULL;
10230 }
10231 }
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 wxGrid_DisableDragColSize(_arg0);
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) return NULL;
10238 } Py_INCREF(Py_None);
10239 _resultobj = Py_None;
10240 return _resultobj;
10241 }
10242
10243 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10244 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject * _resultobj;
10246 bool _result;
10247 wxGrid * _arg0;
10248 PyObject * _argo0 = 0;
10249 char *_kwnames[] = { "self", NULL };
10250
10251 self = self;
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
10253 return NULL;
10254 if (_argo0) {
10255 if (_argo0 == Py_None) { _arg0 = NULL; }
10256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10258 return NULL;
10259 }
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 _result = (bool )wxGrid_CanDragColSize(_arg0);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) return NULL;
10267 } _resultobj = Py_BuildValue("i",_result);
10268 return _resultobj;
10269 }
10270
10271 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10272 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject * _resultobj;
10274 wxGrid * _arg0;
10275 bool _arg1 = (bool ) TRUE;
10276 PyObject * _argo0 = 0;
10277 int tempbool1 = (int) TRUE;
10278 char *_kwnames[] = { "self","enable", NULL };
10279
10280 self = self;
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
10282 return NULL;
10283 if (_argo0) {
10284 if (_argo0 == Py_None) { _arg0 = NULL; }
10285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10287 return NULL;
10288 }
10289 }
10290 _arg1 = (bool ) tempbool1;
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 wxGrid_EnableDragGridSize(_arg0,_arg1);
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) return NULL;
10297 } Py_INCREF(Py_None);
10298 _resultobj = Py_None;
10299 return _resultobj;
10300 }
10301
10302 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10303 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10304 PyObject * _resultobj;
10305 wxGrid * _arg0;
10306 PyObject * _argo0 = 0;
10307 char *_kwnames[] = { "self", NULL };
10308
10309 self = self;
10310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
10311 return NULL;
10312 if (_argo0) {
10313 if (_argo0 == Py_None) { _arg0 = NULL; }
10314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10316 return NULL;
10317 }
10318 }
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 wxGrid_DisableDragGridSize(_arg0);
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) return NULL;
10325 } Py_INCREF(Py_None);
10326 _resultobj = Py_None;
10327 return _resultobj;
10328 }
10329
10330 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10331 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject * _resultobj;
10333 bool _result;
10334 wxGrid * _arg0;
10335 PyObject * _argo0 = 0;
10336 char *_kwnames[] = { "self", NULL };
10337
10338 self = self;
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
10340 return NULL;
10341 if (_argo0) {
10342 if (_argo0 == Py_None) { _arg0 = NULL; }
10343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10345 return NULL;
10346 }
10347 }
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 _result = (bool )wxGrid_CanDragGridSize(_arg0);
10351
10352 wxPyEndAllowThreads(__tstate);
10353 if (PyErr_Occurred()) return NULL;
10354 } _resultobj = Py_BuildValue("i",_result);
10355 return _resultobj;
10356 }
10357
10358 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10359 static PyObject *_wrap_wxGrid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10360 PyObject * _resultobj;
10361 wxGrid * _arg0;
10362 int _arg1;
10363 int _arg2;
10364 wxGridCellAttr * _arg3;
10365 PyObject * _argo0 = 0;
10366 PyObject * _argo3 = 0;
10367 char *_kwnames[] = { "self","row","col","attr", NULL };
10368
10369 self = self;
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10371 return NULL;
10372 if (_argo0) {
10373 if (_argo0 == Py_None) { _arg0 = NULL; }
10374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10376 return NULL;
10377 }
10378 }
10379 if (_argo3) {
10380 if (_argo3 == Py_None) { _arg3 = NULL; }
10381 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellAttr_p")) {
10382 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10383 return NULL;
10384 }
10385 }
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 wxGrid_SetAttr(_arg0,_arg1,_arg2,_arg3);
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) return NULL;
10392 } Py_INCREF(Py_None);
10393 _resultobj = Py_None;
10394 return _resultobj;
10395 }
10396
10397 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10398 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10399 PyObject * _resultobj;
10400 wxGrid * _arg0;
10401 int _arg1;
10402 wxGridCellAttr * _arg2;
10403 PyObject * _argo0 = 0;
10404 PyObject * _argo2 = 0;
10405 char *_kwnames[] = { "self","row","attr", NULL };
10406
10407 self = self;
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10409 return NULL;
10410 if (_argo0) {
10411 if (_argo0 == Py_None) { _arg0 = NULL; }
10412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10414 return NULL;
10415 }
10416 }
10417 if (_argo2) {
10418 if (_argo2 == Py_None) { _arg2 = NULL; }
10419 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10420 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10421 return NULL;
10422 }
10423 }
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) return NULL;
10430 } Py_INCREF(Py_None);
10431 _resultobj = Py_None;
10432 return _resultobj;
10433 }
10434
10435 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10436 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject * _resultobj;
10438 wxGrid * _arg0;
10439 int _arg1;
10440 wxGridCellAttr * _arg2;
10441 PyObject * _argo0 = 0;
10442 PyObject * _argo2 = 0;
10443 char *_kwnames[] = { "self","col","attr", NULL };
10444
10445 self = self;
10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10447 return NULL;
10448 if (_argo0) {
10449 if (_argo0 == Py_None) { _arg0 = NULL; }
10450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10452 return NULL;
10453 }
10454 }
10455 if (_argo2) {
10456 if (_argo2 == Py_None) { _arg2 = NULL; }
10457 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10458 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10459 return NULL;
10460 }
10461 }
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10465
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) return NULL;
10468 } Py_INCREF(Py_None);
10469 _resultobj = Py_None;
10470 return _resultobj;
10471 }
10472
10473 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10474 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10475 PyObject * _resultobj;
10476 wxGrid * _arg0;
10477 int _arg1;
10478 PyObject * _argo0 = 0;
10479 char *_kwnames[] = { "self","col", NULL };
10480
10481 self = self;
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10483 return NULL;
10484 if (_argo0) {
10485 if (_argo0 == Py_None) { _arg0 = NULL; }
10486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10488 return NULL;
10489 }
10490 }
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 wxGrid_SetColFormatBool(_arg0,_arg1);
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) return NULL;
10497 } Py_INCREF(Py_None);
10498 _resultobj = Py_None;
10499 return _resultobj;
10500 }
10501
10502 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10503 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject * _resultobj;
10505 wxGrid * _arg0;
10506 int _arg1;
10507 PyObject * _argo0 = 0;
10508 char *_kwnames[] = { "self","col", NULL };
10509
10510 self = self;
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10512 return NULL;
10513 if (_argo0) {
10514 if (_argo0 == Py_None) { _arg0 = NULL; }
10515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10517 return NULL;
10518 }
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 wxGrid_SetColFormatNumber(_arg0,_arg1);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) return NULL;
10526 } Py_INCREF(Py_None);
10527 _resultobj = Py_None;
10528 return _resultobj;
10529 }
10530
10531 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10532 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10533 PyObject * _resultobj;
10534 wxGrid * _arg0;
10535 int _arg1;
10536 int _arg2 = (int ) -1;
10537 int _arg3 = (int ) -1;
10538 PyObject * _argo0 = 0;
10539 char *_kwnames[] = { "self","col","width","precision", NULL };
10540
10541 self = self;
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10543 return NULL;
10544 if (_argo0) {
10545 if (_argo0 == Py_None) { _arg0 = NULL; }
10546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10548 return NULL;
10549 }
10550 }
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) return NULL;
10557 } Py_INCREF(Py_None);
10558 _resultobj = Py_None;
10559 return _resultobj;
10560 }
10561
10562 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10563 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10564 PyObject * _resultobj;
10565 wxGrid * _arg0;
10566 int _arg1;
10567 wxString * _arg2;
10568 PyObject * _argo0 = 0;
10569 PyObject * _obj2 = 0;
10570 char *_kwnames[] = { "self","col","typeName", NULL };
10571
10572 self = self;
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
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_SetColFormatCustom. Expected _wxGrid_p.");
10579 return NULL;
10580 }
10581 }
10582 {
10583 _arg2 = wxString_in_helper(_obj2);
10584 if (_arg2 == NULL)
10585 return NULL;
10586 }
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) return NULL;
10593 } Py_INCREF(Py_None);
10594 _resultobj = Py_None;
10595 {
10596 if (_obj2)
10597 delete _arg2;
10598 }
10599 return _resultobj;
10600 }
10601
10602 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10603 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10604 PyObject * _resultobj;
10605 wxGrid * _arg0;
10606 bool _arg1 = (bool ) TRUE;
10607 PyObject * _argo0 = 0;
10608 int tempbool1 = (int) TRUE;
10609 char *_kwnames[] = { "self","enable", NULL };
10610
10611 self = self;
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10613 return NULL;
10614 if (_argo0) {
10615 if (_argo0 == Py_None) { _arg0 = NULL; }
10616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10618 return NULL;
10619 }
10620 }
10621 _arg1 = (bool ) tempbool1;
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 wxGrid_EnableGridLines(_arg0,_arg1);
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) return NULL;
10628 } Py_INCREF(Py_None);
10629 _resultobj = Py_None;
10630 return _resultobj;
10631 }
10632
10633 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10634 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject * _resultobj;
10636 bool _result;
10637 wxGrid * _arg0;
10638 PyObject * _argo0 = 0;
10639 char *_kwnames[] = { "self", NULL };
10640
10641 self = self;
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10643 return NULL;
10644 if (_argo0) {
10645 if (_argo0 == Py_None) { _arg0 = NULL; }
10646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10648 return NULL;
10649 }
10650 }
10651 {
10652 PyThreadState* __tstate = wxPyBeginAllowThreads();
10653 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10654
10655 wxPyEndAllowThreads(__tstate);
10656 if (PyErr_Occurred()) return NULL;
10657 } _resultobj = Py_BuildValue("i",_result);
10658 return _resultobj;
10659 }
10660
10661 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10662 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject * _resultobj;
10664 int _result;
10665 wxGrid * _arg0;
10666 PyObject * _argo0 = 0;
10667 char *_kwnames[] = { "self", NULL };
10668
10669 self = self;
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10671 return NULL;
10672 if (_argo0) {
10673 if (_argo0 == Py_None) { _arg0 = NULL; }
10674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10676 return NULL;
10677 }
10678 }
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) return NULL;
10685 } _resultobj = Py_BuildValue("i",_result);
10686 return _resultobj;
10687 }
10688
10689 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10690 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10691 PyObject * _resultobj;
10692 int _result;
10693 wxGrid * _arg0;
10694 int _arg1;
10695 PyObject * _argo0 = 0;
10696 char *_kwnames[] = { "self","row", NULL };
10697
10698 self = self;
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10700 return NULL;
10701 if (_argo0) {
10702 if (_argo0 == Py_None) { _arg0 = NULL; }
10703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10705 return NULL;
10706 }
10707 }
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) return NULL;
10714 } _resultobj = Py_BuildValue("i",_result);
10715 return _resultobj;
10716 }
10717
10718 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10719 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10720 PyObject * _resultobj;
10721 int _result;
10722 wxGrid * _arg0;
10723 PyObject * _argo0 = 0;
10724 char *_kwnames[] = { "self", NULL };
10725
10726 self = self;
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10728 return NULL;
10729 if (_argo0) {
10730 if (_argo0 == Py_None) { _arg0 = NULL; }
10731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10733 return NULL;
10734 }
10735 }
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) return NULL;
10742 } _resultobj = Py_BuildValue("i",_result);
10743 return _resultobj;
10744 }
10745
10746 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10747 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10748 PyObject * _resultobj;
10749 int _result;
10750 wxGrid * _arg0;
10751 int _arg1;
10752 PyObject * _argo0 = 0;
10753 char *_kwnames[] = { "self","col", NULL };
10754
10755 self = self;
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10757 return NULL;
10758 if (_argo0) {
10759 if (_argo0 == Py_None) { _arg0 = NULL; }
10760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10762 return NULL;
10763 }
10764 }
10765 {
10766 PyThreadState* __tstate = wxPyBeginAllowThreads();
10767 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10768
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) return NULL;
10771 } _resultobj = Py_BuildValue("i",_result);
10772 return _resultobj;
10773 }
10774
10775 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10776 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject * _resultobj;
10778 wxColour * _result;
10779 wxGrid * _arg0;
10780 PyObject * _argo0 = 0;
10781 char *_kwnames[] = { "self", NULL };
10782 char _ptemp[128];
10783
10784 self = self;
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10786 return NULL;
10787 if (_argo0) {
10788 if (_argo0 == Py_None) { _arg0 = NULL; }
10789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10791 return NULL;
10792 }
10793 }
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) return NULL;
10800 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10801 _resultobj = Py_BuildValue("s",_ptemp);
10802 return _resultobj;
10803 }
10804
10805 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10806 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10807 PyObject * _resultobj;
10808 wxColour * _result;
10809 wxGrid * _arg0;
10810 int _arg1;
10811 int _arg2;
10812 PyObject * _argo0 = 0;
10813 char *_kwnames[] = { "self","row","col", NULL };
10814 char _ptemp[128];
10815
10816 self = self;
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
10818 return NULL;
10819 if (_argo0) {
10820 if (_argo0 == Py_None) { _arg0 = NULL; }
10821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10823 return NULL;
10824 }
10825 }
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) return NULL;
10832 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10833 _resultobj = Py_BuildValue("s",_ptemp);
10834 return _resultobj;
10835 }
10836
10837 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10838 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject * _resultobj;
10840 wxColour * _result;
10841 wxGrid * _arg0;
10842 PyObject * _argo0 = 0;
10843 char *_kwnames[] = { "self", NULL };
10844 char _ptemp[128];
10845
10846 self = self;
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
10848 return NULL;
10849 if (_argo0) {
10850 if (_argo0 == Py_None) { _arg0 = NULL; }
10851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10853 return NULL;
10854 }
10855 }
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) return NULL;
10862 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10863 _resultobj = Py_BuildValue("s",_ptemp);
10864 return _resultobj;
10865 }
10866
10867 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10868 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject * _resultobj;
10870 wxColour * _result;
10871 wxGrid * _arg0;
10872 int _arg1;
10873 int _arg2;
10874 PyObject * _argo0 = 0;
10875 char *_kwnames[] = { "self","row","col", NULL };
10876 char _ptemp[128];
10877
10878 self = self;
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
10880 return NULL;
10881 if (_argo0) {
10882 if (_argo0 == Py_None) { _arg0 = NULL; }
10883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10885 return NULL;
10886 }
10887 }
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) return NULL;
10894 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10895 _resultobj = Py_BuildValue("s",_ptemp);
10896 return _resultobj;
10897 }
10898
10899 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10900 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10901 PyObject * _resultobj;
10902 wxFont * _result;
10903 wxGrid * _arg0;
10904 PyObject * _argo0 = 0;
10905 char *_kwnames[] = { "self", NULL };
10906 char _ptemp[128];
10907
10908 self = self;
10909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
10910 return NULL;
10911 if (_argo0) {
10912 if (_argo0 == Py_None) { _arg0 = NULL; }
10913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10915 return NULL;
10916 }
10917 }
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) return NULL;
10924 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10925 _resultobj = Py_BuildValue("s",_ptemp);
10926 return _resultobj;
10927 }
10928
10929 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10930 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject * _resultobj;
10932 wxFont * _result;
10933 wxGrid * _arg0;
10934 int _arg1;
10935 int _arg2;
10936 PyObject * _argo0 = 0;
10937 char *_kwnames[] = { "self","row","col", NULL };
10938 char _ptemp[128];
10939
10940 self = self;
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
10942 return NULL;
10943 if (_argo0) {
10944 if (_argo0 == Py_None) { _arg0 = NULL; }
10945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10947 return NULL;
10948 }
10949 }
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) return NULL;
10956 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
10957 _resultobj = Py_BuildValue("s",_ptemp);
10958 return _resultobj;
10959 }
10960
10961 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10962 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10963 PyObject * _resultobj;
10964 wxGrid * _arg0;
10965 int * _arg1;
10966 int * _arg2;
10967 PyObject * _argo0 = 0;
10968 PyObject * _argo1 = 0;
10969 PyObject * _argo2 = 0;
10970 char *_kwnames[] = { "self","horiz","vert", NULL };
10971
10972 self = self;
10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
10974 return NULL;
10975 if (_argo0) {
10976 if (_argo0 == Py_None) { _arg0 = NULL; }
10977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10979 return NULL;
10980 }
10981 }
10982 if (_argo1) {
10983 if (_argo1 == Py_None) { _arg1 = NULL; }
10984 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
10985 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10986 return NULL;
10987 }
10988 }
10989 if (_argo2) {
10990 if (_argo2 == Py_None) { _arg2 = NULL; }
10991 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
10992 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10993 return NULL;
10994 }
10995 }
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) return NULL;
11002 } Py_INCREF(Py_None);
11003 _resultobj = Py_None;
11004 return _resultobj;
11005 }
11006
11007 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11008 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11009 PyObject * _resultobj;
11010 wxGrid * _arg0;
11011 int _arg1;
11012 int _arg2;
11013 int * _arg3;
11014 int * _arg4;
11015 PyObject * _argo0 = 0;
11016 PyObject * _argo3 = 0;
11017 PyObject * _argo4 = 0;
11018 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11019
11020 self = self;
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
11022 return NULL;
11023 if (_argo0) {
11024 if (_argo0 == Py_None) { _arg0 = NULL; }
11025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11027 return NULL;
11028 }
11029 }
11030 if (_argo3) {
11031 if (_argo3 == Py_None) { _arg3 = NULL; }
11032 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
11033 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
11034 return NULL;
11035 }
11036 }
11037 if (_argo4) {
11038 if (_argo4 == Py_None) { _arg4 = NULL; }
11039 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
11040 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
11041 return NULL;
11042 }
11043 }
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) return NULL;
11050 } Py_INCREF(Py_None);
11051 _resultobj = Py_None;
11052 return _resultobj;
11053 }
11054
11055 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11056 static PyObject *_wrap_wxGrid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11057 PyObject * _resultobj;
11058 bool _result;
11059 wxGrid * _arg0;
11060 PyObject * _argo0 = 0;
11061 char *_kwnames[] = { "self", NULL };
11062
11063 self = self;
11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellOverflow",_kwnames,&_argo0))
11065 return NULL;
11066 if (_argo0) {
11067 if (_argo0 == Py_None) { _arg0 = NULL; }
11068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11070 return NULL;
11071 }
11072 }
11073 {
11074 PyThreadState* __tstate = wxPyBeginAllowThreads();
11075 _result = (bool )wxGrid_GetDefaultCellOverflow(_arg0);
11076
11077 wxPyEndAllowThreads(__tstate);
11078 if (PyErr_Occurred()) return NULL;
11079 } _resultobj = Py_BuildValue("i",_result);
11080 return _resultobj;
11081 }
11082
11083 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11084 static PyObject *_wrap_wxGrid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject * _resultobj;
11086 bool _result;
11087 wxGrid * _arg0;
11088 int _arg1;
11089 int _arg2;
11090 PyObject * _argo0 = 0;
11091 char *_kwnames[] = { "self","row","col", NULL };
11092
11093 self = self;
11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2))
11095 return NULL;
11096 if (_argo0) {
11097 if (_argo0 == Py_None) { _arg0 = NULL; }
11098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11100 return NULL;
11101 }
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 _result = (bool )wxGrid_GetCellOverflow(_arg0,_arg1,_arg2);
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) return NULL;
11109 } _resultobj = Py_BuildValue("i",_result);
11110 return _resultobj;
11111 }
11112
11113 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11114 static PyObject *_wrap_wxGrid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject * _resultobj;
11116 wxGrid * _arg0;
11117 int _arg1;
11118 int _arg2;
11119 int * _arg3;
11120 int temp;
11121 int * _arg4;
11122 int temp0;
11123 PyObject * _argo0 = 0;
11124 char *_kwnames[] = { "self","row","col", NULL };
11125
11126 self = self;
11127 {
11128 _arg3 = &temp;
11129 }
11130 {
11131 _arg4 = &temp0;
11132 }
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellSize",_kwnames,&_argo0,&_arg1,&_arg2))
11134 return NULL;
11135 if (_argo0) {
11136 if (_argo0 == Py_None) { _arg0 = NULL; }
11137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11139 return NULL;
11140 }
11141 }
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 wxGrid_GetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4);
11145
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) return NULL;
11148 } Py_INCREF(Py_None);
11149 _resultobj = Py_None;
11150 {
11151 PyObject *o;
11152 o = PyInt_FromLong((long) (*_arg3));
11153 _resultobj = t_output_helper(_resultobj, o);
11154 }
11155 {
11156 PyObject *o;
11157 o = PyInt_FromLong((long) (*_arg4));
11158 _resultobj = t_output_helper(_resultobj, o);
11159 }
11160 return _resultobj;
11161 }
11162
11163 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11164 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject * _resultobj;
11166 wxGrid * _arg0;
11167 int _arg1;
11168 bool _arg2 = (bool ) FALSE;
11169 PyObject * _argo0 = 0;
11170 int tempbool2 = (int) FALSE;
11171 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
11172
11173 self = self;
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
11175 return NULL;
11176 if (_argo0) {
11177 if (_argo0 == Py_None) { _arg0 = NULL; }
11178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11180 return NULL;
11181 }
11182 }
11183 _arg2 = (bool ) tempbool2;
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
11186 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) return NULL;
11190 } Py_INCREF(Py_None);
11191 _resultobj = Py_None;
11192 return _resultobj;
11193 }
11194
11195 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11196 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11197 PyObject * _resultobj;
11198 wxGrid * _arg0;
11199 int _arg1;
11200 int _arg2;
11201 PyObject * _argo0 = 0;
11202 char *_kwnames[] = { "self","row","height", NULL };
11203
11204 self = self;
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
11206 return NULL;
11207 if (_argo0) {
11208 if (_argo0 == Py_None) { _arg0 = NULL; }
11209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11211 return NULL;
11212 }
11213 }
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) return NULL;
11220 } Py_INCREF(Py_None);
11221 _resultobj = Py_None;
11222 return _resultobj;
11223 }
11224
11225 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11226 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11227 PyObject * _resultobj;
11228 wxGrid * _arg0;
11229 int _arg1;
11230 bool _arg2 = (bool ) FALSE;
11231 PyObject * _argo0 = 0;
11232 int tempbool2 = (int) FALSE;
11233 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
11234
11235 self = self;
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
11237 return NULL;
11238 if (_argo0) {
11239 if (_argo0 == Py_None) { _arg0 = NULL; }
11240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11242 return NULL;
11243 }
11244 }
11245 _arg2 = (bool ) tempbool2;
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
11249
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) return NULL;
11252 } Py_INCREF(Py_None);
11253 _resultobj = Py_None;
11254 return _resultobj;
11255 }
11256
11257 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11258 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11259 PyObject * _resultobj;
11260 wxGrid * _arg0;
11261 int _arg1;
11262 int _arg2;
11263 PyObject * _argo0 = 0;
11264 char *_kwnames[] = { "self","col","width", NULL };
11265
11266 self = self;
11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
11268 return NULL;
11269 if (_argo0) {
11270 if (_argo0 == Py_None) { _arg0 = NULL; }
11271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11273 return NULL;
11274 }
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 wxGrid_SetColSize(_arg0,_arg1,_arg2);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) return NULL;
11282 } Py_INCREF(Py_None);
11283 _resultobj = Py_None;
11284 return _resultobj;
11285 }
11286
11287 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11288 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject * _resultobj;
11290 wxGrid * _arg0;
11291 int _arg1;
11292 bool _arg2 = (bool ) TRUE;
11293 PyObject * _argo0 = 0;
11294 int tempbool2 = (int) TRUE;
11295 char *_kwnames[] = { "self","col","setAsMin", NULL };
11296
11297 self = self;
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
11299 return NULL;
11300 if (_argo0) {
11301 if (_argo0 == Py_None) { _arg0 = NULL; }
11302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11304 return NULL;
11305 }
11306 }
11307 _arg2 = (bool ) tempbool2;
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
11310 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) return NULL;
11314 } Py_INCREF(Py_None);
11315 _resultobj = Py_None;
11316 return _resultobj;
11317 }
11318
11319 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11320 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11321 PyObject * _resultobj;
11322 wxGrid * _arg0;
11323 int _arg1;
11324 bool _arg2 = (bool ) TRUE;
11325 PyObject * _argo0 = 0;
11326 int tempbool2 = (int) TRUE;
11327 char *_kwnames[] = { "self","row","setAsMin", NULL };
11328
11329 self = self;
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11331 return NULL;
11332 if (_argo0) {
11333 if (_argo0 == Py_None) { _arg0 = NULL; }
11334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11336 return NULL;
11337 }
11338 }
11339 _arg2 = (bool ) tempbool2;
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) return NULL;
11346 } Py_INCREF(Py_None);
11347 _resultobj = Py_None;
11348 return _resultobj;
11349 }
11350
11351 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11352 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
11353 PyObject * _resultobj;
11354 wxGrid * _arg0;
11355 bool _arg1 = (bool ) TRUE;
11356 PyObject * _argo0 = 0;
11357 int tempbool1 = (int) TRUE;
11358 char *_kwnames[] = { "self","setAsMin", NULL };
11359
11360 self = self;
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
11362 return NULL;
11363 if (_argo0) {
11364 if (_argo0 == Py_None) { _arg0 = NULL; }
11365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11367 return NULL;
11368 }
11369 }
11370 _arg1 = (bool ) tempbool1;
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 wxGrid_AutoSizeColumns(_arg0,_arg1);
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) return NULL;
11377 } Py_INCREF(Py_None);
11378 _resultobj = Py_None;
11379 return _resultobj;
11380 }
11381
11382 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11383 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
11384 PyObject * _resultobj;
11385 wxGrid * _arg0;
11386 bool _arg1 = (bool ) TRUE;
11387 PyObject * _argo0 = 0;
11388 int tempbool1 = (int) TRUE;
11389 char *_kwnames[] = { "self","setAsMin", NULL };
11390
11391 self = self;
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
11393 return NULL;
11394 if (_argo0) {
11395 if (_argo0 == Py_None) { _arg0 = NULL; }
11396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11398 return NULL;
11399 }
11400 }
11401 _arg1 = (bool ) tempbool1;
11402 {
11403 PyThreadState* __tstate = wxPyBeginAllowThreads();
11404 wxGrid_AutoSizeRows(_arg0,_arg1);
11405
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) return NULL;
11408 } Py_INCREF(Py_None);
11409 _resultobj = Py_None;
11410 return _resultobj;
11411 }
11412
11413 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11414 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11415 PyObject * _resultobj;
11416 wxGrid * _arg0;
11417 PyObject * _argo0 = 0;
11418 char *_kwnames[] = { "self", NULL };
11419
11420 self = self;
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
11422 return NULL;
11423 if (_argo0) {
11424 if (_argo0 == Py_None) { _arg0 = NULL; }
11425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11427 return NULL;
11428 }
11429 }
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
11432 wxGrid_AutoSize(_arg0);
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) return NULL;
11436 } Py_INCREF(Py_None);
11437 _resultobj = Py_None;
11438 return _resultobj;
11439 }
11440
11441 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11442 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11443 PyObject * _resultobj;
11444 wxGrid * _arg0;
11445 int _arg1;
11446 int _arg2;
11447 PyObject * _argo0 = 0;
11448 char *_kwnames[] = { "self","col","width", NULL };
11449
11450 self = self;
11451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
11452 return NULL;
11453 if (_argo0) {
11454 if (_argo0 == Py_None) { _arg0 = NULL; }
11455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11457 return NULL;
11458 }
11459 }
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) return NULL;
11466 } Py_INCREF(Py_None);
11467 _resultobj = Py_None;
11468 return _resultobj;
11469 }
11470
11471 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11472 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11473 PyObject * _resultobj;
11474 wxGrid * _arg0;
11475 int _arg1;
11476 int _arg2;
11477 PyObject * _argo0 = 0;
11478 char *_kwnames[] = { "self","row","width", NULL };
11479
11480 self = self;
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
11482 return NULL;
11483 if (_argo0) {
11484 if (_argo0 == Py_None) { _arg0 = NULL; }
11485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11487 return NULL;
11488 }
11489 }
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) return NULL;
11496 } Py_INCREF(Py_None);
11497 _resultobj = Py_None;
11498 return _resultobj;
11499 }
11500
11501 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11502 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11503 PyObject * _resultobj;
11504 wxGrid * _arg0;
11505 wxColour * _arg1;
11506 PyObject * _argo0 = 0;
11507 wxColour temp;
11508 PyObject * _obj1 = 0;
11509 char *_kwnames[] = { "self","arg2", NULL };
11510
11511 self = self;
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
11513 return NULL;
11514 if (_argo0) {
11515 if (_argo0 == Py_None) { _arg0 = NULL; }
11516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11518 return NULL;
11519 }
11520 }
11521 {
11522 _arg1 = &temp;
11523 if (! wxColour_helper(_obj1, &_arg1))
11524 return NULL;
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) return NULL;
11532 } Py_INCREF(Py_None);
11533 _resultobj = Py_None;
11534 return _resultobj;
11535 }
11536
11537 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11538 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11539 PyObject * _resultobj;
11540 wxGrid * _arg0;
11541 int _arg1;
11542 int _arg2;
11543 wxColour * _arg3;
11544 PyObject * _argo0 = 0;
11545 wxColour temp;
11546 PyObject * _obj3 = 0;
11547 char *_kwnames[] = { "self","row","col","arg4", NULL };
11548
11549 self = self;
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11551 return NULL;
11552 if (_argo0) {
11553 if (_argo0 == Py_None) { _arg0 = NULL; }
11554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11556 return NULL;
11557 }
11558 }
11559 {
11560 _arg3 = &temp;
11561 if (! wxColour_helper(_obj3, &_arg3))
11562 return NULL;
11563 }
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
11567
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) return NULL;
11570 } Py_INCREF(Py_None);
11571 _resultobj = Py_None;
11572 return _resultobj;
11573 }
11574
11575 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11576 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11577 PyObject * _resultobj;
11578 wxGrid * _arg0;
11579 wxColour * _arg1;
11580 PyObject * _argo0 = 0;
11581 wxColour temp;
11582 PyObject * _obj1 = 0;
11583 char *_kwnames[] = { "self","arg2", NULL };
11584
11585 self = self;
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
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_SetDefaultCellTextColour. Expected _wxGrid_p.");
11592 return NULL;
11593 }
11594 }
11595 {
11596 _arg1 = &temp;
11597 if (! wxColour_helper(_obj1, &_arg1))
11598 return NULL;
11599 }
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) return NULL;
11606 } Py_INCREF(Py_None);
11607 _resultobj = Py_None;
11608 return _resultobj;
11609 }
11610
11611 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11612 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11613 PyObject * _resultobj;
11614 wxGrid * _arg0;
11615 int _arg1;
11616 int _arg2;
11617 wxColour * _arg3;
11618 PyObject * _argo0 = 0;
11619 wxColour temp;
11620 PyObject * _obj3 = 0;
11621 char *_kwnames[] = { "self","row","col","arg4", NULL };
11622
11623 self = self;
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11625 return NULL;
11626 if (_argo0) {
11627 if (_argo0 == Py_None) { _arg0 = NULL; }
11628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11630 return NULL;
11631 }
11632 }
11633 {
11634 _arg3 = &temp;
11635 if (! wxColour_helper(_obj3, &_arg3))
11636 return NULL;
11637 }
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) return NULL;
11644 } Py_INCREF(Py_None);
11645 _resultobj = Py_None;
11646 return _resultobj;
11647 }
11648
11649 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11650 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11651 PyObject * _resultobj;
11652 wxGrid * _arg0;
11653 wxFont * _arg1;
11654 PyObject * _argo0 = 0;
11655 PyObject * _argo1 = 0;
11656 char *_kwnames[] = { "self","arg2", NULL };
11657
11658 self = self;
11659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11660 return NULL;
11661 if (_argo0) {
11662 if (_argo0 == Py_None) { _arg0 = NULL; }
11663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11665 return NULL;
11666 }
11667 }
11668 if (_argo1) {
11669 if (_argo1 == Py_None) { _arg1 = NULL; }
11670 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11671 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11672 return NULL;
11673 }
11674 }
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) return NULL;
11681 } Py_INCREF(Py_None);
11682 _resultobj = Py_None;
11683 return _resultobj;
11684 }
11685
11686 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11687 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11688 PyObject * _resultobj;
11689 wxGrid * _arg0;
11690 int _arg1;
11691 int _arg2;
11692 wxFont * _arg3;
11693 PyObject * _argo0 = 0;
11694 PyObject * _argo3 = 0;
11695 char *_kwnames[] = { "self","row","col","arg4", NULL };
11696
11697 self = self;
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11699 return NULL;
11700 if (_argo0) {
11701 if (_argo0 == Py_None) { _arg0 = NULL; }
11702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11704 return NULL;
11705 }
11706 }
11707 if (_argo3) {
11708 if (_argo3 == Py_None) { _arg3 = NULL; }
11709 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11710 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11711 return NULL;
11712 }
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) return NULL;
11720 } Py_INCREF(Py_None);
11721 _resultobj = Py_None;
11722 return _resultobj;
11723 }
11724
11725 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11726 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11727 PyObject * _resultobj;
11728 wxGrid * _arg0;
11729 int _arg1;
11730 int _arg2;
11731 PyObject * _argo0 = 0;
11732 char *_kwnames[] = { "self","horiz","vert", NULL };
11733
11734 self = self;
11735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11736 return NULL;
11737 if (_argo0) {
11738 if (_argo0 == Py_None) { _arg0 = NULL; }
11739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11741 return NULL;
11742 }
11743 }
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) return NULL;
11750 } Py_INCREF(Py_None);
11751 _resultobj = Py_None;
11752 return _resultobj;
11753 }
11754
11755 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11756 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11757 PyObject * _resultobj;
11758 wxGrid * _arg0;
11759 int _arg1;
11760 int _arg2;
11761 int _arg3;
11762 int _arg4;
11763 PyObject * _argo0 = 0;
11764 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11765
11766 self = self;
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11768 return NULL;
11769 if (_argo0) {
11770 if (_argo0 == Py_None) { _arg0 = NULL; }
11771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11773 return NULL;
11774 }
11775 }
11776 {
11777 PyThreadState* __tstate = wxPyBeginAllowThreads();
11778 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11779
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) return NULL;
11782 } Py_INCREF(Py_None);
11783 _resultobj = Py_None;
11784 return _resultobj;
11785 }
11786
11787 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
11788 static PyObject *_wrap_wxGrid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11789 PyObject * _resultobj;
11790 wxGrid * _arg0;
11791 bool _arg1;
11792 PyObject * _argo0 = 0;
11793 int tempbool1;
11794 char *_kwnames[] = { "self","allow", NULL };
11795
11796 self = self;
11797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames,&_argo0,&tempbool1))
11798 return NULL;
11799 if (_argo0) {
11800 if (_argo0 == Py_None) { _arg0 = NULL; }
11801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
11803 return NULL;
11804 }
11805 }
11806 _arg1 = (bool ) tempbool1;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 wxGrid_SetDefaultCellOverflow(_arg0,_arg1);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) return NULL;
11813 } Py_INCREF(Py_None);
11814 _resultobj = Py_None;
11815 return _resultobj;
11816 }
11817
11818 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
11819 static PyObject *_wrap_wxGrid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11820 PyObject * _resultobj;
11821 wxGrid * _arg0;
11822 int _arg1;
11823 int _arg2;
11824 bool _arg3;
11825 PyObject * _argo0 = 0;
11826 int tempbool3;
11827 char *_kwnames[] = { "self","row","col","allow", NULL };
11828
11829 self = self;
11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11831 return NULL;
11832 if (_argo0) {
11833 if (_argo0 == Py_None) { _arg0 = NULL; }
11834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
11836 return NULL;
11837 }
11838 }
11839 _arg3 = (bool ) tempbool3;
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 wxGrid_SetCellOverflow(_arg0,_arg1,_arg2,_arg3);
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) return NULL;
11846 } Py_INCREF(Py_None);
11847 _resultobj = Py_None;
11848 return _resultobj;
11849 }
11850
11851 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11852 static PyObject *_wrap_wxGrid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11853 PyObject * _resultobj;
11854 wxGrid * _arg0;
11855 int _arg1;
11856 int _arg2;
11857 int _arg3;
11858 int _arg4;
11859 PyObject * _argo0 = 0;
11860 char *_kwnames[] = { "self","row","col","num_rows","num_cols", NULL };
11861
11862 self = self;
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11864 return NULL;
11865 if (_argo0) {
11866 if (_argo0 == Py_None) { _arg0 = NULL; }
11867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
11869 return NULL;
11870 }
11871 }
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 wxGrid_SetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4);
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) return NULL;
11878 } Py_INCREF(Py_None);
11879 _resultobj = Py_None;
11880 return _resultobj;
11881 }
11882
11883 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11884 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11885 PyObject * _resultobj;
11886 wxGrid * _arg0;
11887 wxGridCellRenderer * _arg1;
11888 PyObject * _argo0 = 0;
11889 PyObject * _argo1 = 0;
11890 char *_kwnames[] = { "self","renderer", NULL };
11891
11892 self = self;
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
11894 return NULL;
11895 if (_argo0) {
11896 if (_argo0 == Py_None) { _arg0 = NULL; }
11897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11899 return NULL;
11900 }
11901 }
11902 if (_argo1) {
11903 if (_argo1 == Py_None) { _arg1 = NULL; }
11904 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
11905 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11906 return NULL;
11907 }
11908 }
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 wxGrid_SetDefaultRenderer(_arg0,_arg1);
11912
11913 wxPyEndAllowThreads(__tstate);
11914 if (PyErr_Occurred()) return NULL;
11915 } Py_INCREF(Py_None);
11916 _resultobj = Py_None;
11917 return _resultobj;
11918 }
11919
11920 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11921 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11922 PyObject * _resultobj;
11923 wxGrid * _arg0;
11924 int _arg1;
11925 int _arg2;
11926 wxGridCellRenderer * _arg3;
11927 PyObject * _argo0 = 0;
11928 PyObject * _argo3 = 0;
11929 char *_kwnames[] = { "self","row","col","renderer", NULL };
11930
11931 self = self;
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11933 return NULL;
11934 if (_argo0) {
11935 if (_argo0 == Py_None) { _arg0 = NULL; }
11936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11938 return NULL;
11939 }
11940 }
11941 if (_argo3) {
11942 if (_argo3 == Py_None) { _arg3 = NULL; }
11943 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
11944 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11945 return NULL;
11946 }
11947 }
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) return NULL;
11954 } Py_INCREF(Py_None);
11955 _resultobj = Py_None;
11956 return _resultobj;
11957 }
11958
11959 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11960 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11961 PyObject * _resultobj;
11962 wxGridCellRenderer * _result;
11963 wxGrid * _arg0;
11964 PyObject * _argo0 = 0;
11965 char *_kwnames[] = { "self", NULL };
11966
11967 self = self;
11968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
11969 return NULL;
11970 if (_argo0) {
11971 if (_argo0 == Py_None) { _arg0 = NULL; }
11972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11974 return NULL;
11975 }
11976 }
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) return NULL;
11983 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
11984 return _resultobj;
11985 }
11986
11987 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11988 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject * _resultobj;
11990 wxGridCellRenderer * _result;
11991 wxGrid * _arg0;
11992 int _arg1;
11993 int _arg2;
11994 PyObject * _argo0 = 0;
11995 char *_kwnames[] = { "self","row","col", NULL };
11996
11997 self = self;
11998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
11999 return NULL;
12000 if (_argo0) {
12001 if (_argo0 == Py_None) { _arg0 = NULL; }
12002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12004 return NULL;
12005 }
12006 }
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) return NULL;
12013 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12014 return _resultobj;
12015 }
12016
12017 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12018 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12019 PyObject * _resultobj;
12020 wxGrid * _arg0;
12021 wxGridCellEditor * _arg1;
12022 PyObject * _argo0 = 0;
12023 PyObject * _argo1 = 0;
12024 char *_kwnames[] = { "self","editor", NULL };
12025
12026 self = self;
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
12028 return NULL;
12029 if (_argo0) {
12030 if (_argo0 == Py_None) { _arg0 = NULL; }
12031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12033 return NULL;
12034 }
12035 }
12036 if (_argo1) {
12037 if (_argo1 == Py_None) { _arg1 = NULL; }
12038 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
12039 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12040 return NULL;
12041 }
12042 }
12043 {
12044 PyThreadState* __tstate = wxPyBeginAllowThreads();
12045 wxGrid_SetDefaultEditor(_arg0,_arg1);
12046
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) return NULL;
12049 } Py_INCREF(Py_None);
12050 _resultobj = Py_None;
12051 return _resultobj;
12052 }
12053
12054 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12055 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12056 PyObject * _resultobj;
12057 wxGrid * _arg0;
12058 int _arg1;
12059 int _arg2;
12060 wxGridCellEditor * _arg3;
12061 PyObject * _argo0 = 0;
12062 PyObject * _argo3 = 0;
12063 char *_kwnames[] = { "self","row","col","editor", NULL };
12064
12065 self = self;
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
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_SetCellEditor. Expected _wxGrid_p.");
12072 return NULL;
12073 }
12074 }
12075 if (_argo3) {
12076 if (_argo3 == Py_None) { _arg3 = NULL; }
12077 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12078 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12079 return NULL;
12080 }
12081 }
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
12085
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) return NULL;
12088 } Py_INCREF(Py_None);
12089 _resultobj = Py_None;
12090 return _resultobj;
12091 }
12092
12093 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12094 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12095 PyObject * _resultobj;
12096 wxGridCellEditor * _result;
12097 wxGrid * _arg0;
12098 PyObject * _argo0 = 0;
12099 char *_kwnames[] = { "self", NULL };
12100
12101 self = self;
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
12103 return NULL;
12104 if (_argo0) {
12105 if (_argo0 == Py_None) { _arg0 = NULL; }
12106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12108 return NULL;
12109 }
12110 }
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) return NULL;
12117 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12118 return _resultobj;
12119 }
12120
12121 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12122 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12123 PyObject * _resultobj;
12124 wxGridCellEditor * _result;
12125 wxGrid * _arg0;
12126 int _arg1;
12127 int _arg2;
12128 PyObject * _argo0 = 0;
12129 char *_kwnames[] = { "self","row","col", NULL };
12130
12131 self = self;
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
12133 return NULL;
12134 if (_argo0) {
12135 if (_argo0 == Py_None) { _arg0 = NULL; }
12136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12138 return NULL;
12139 }
12140 }
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
12144
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) return NULL;
12147 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12148 return _resultobj;
12149 }
12150
12151 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12152 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12153 PyObject * _resultobj;
12154 wxString * _result;
12155 wxGrid * _arg0;
12156 int _arg1;
12157 int _arg2;
12158 PyObject * _argo0 = 0;
12159 char *_kwnames[] = { "self","row","col", NULL };
12160
12161 self = self;
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
12163 return NULL;
12164 if (_argo0) {
12165 if (_argo0 == Py_None) { _arg0 = NULL; }
12166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12168 return NULL;
12169 }
12170 }
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) return NULL;
12177 }{
12178 #if wxUSE_UNICODE
12179 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
12180 #else
12181 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
12182 #endif
12183 }
12184 {
12185 delete _result;
12186 }
12187 return _resultobj;
12188 }
12189
12190 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12191 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject * _resultobj;
12193 wxGrid * _arg0;
12194 int _arg1;
12195 int _arg2;
12196 wxString * _arg3;
12197 PyObject * _argo0 = 0;
12198 PyObject * _obj3 = 0;
12199 char *_kwnames[] = { "self","row","col","s", NULL };
12200
12201 self = self;
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
12203 return NULL;
12204 if (_argo0) {
12205 if (_argo0 == Py_None) { _arg0 = NULL; }
12206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12208 return NULL;
12209 }
12210 }
12211 {
12212 _arg3 = wxString_in_helper(_obj3);
12213 if (_arg3 == NULL)
12214 return NULL;
12215 }
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) return NULL;
12222 } Py_INCREF(Py_None);
12223 _resultobj = Py_None;
12224 {
12225 if (_obj3)
12226 delete _arg3;
12227 }
12228 return _resultobj;
12229 }
12230
12231 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12232 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject * _resultobj;
12234 bool _result;
12235 wxGrid * _arg0;
12236 int _arg1;
12237 int _arg2;
12238 PyObject * _argo0 = 0;
12239 char *_kwnames[] = { "self","row","col", NULL };
12240
12241 self = self;
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
12243 return NULL;
12244 if (_argo0) {
12245 if (_argo0 == Py_None) { _arg0 = NULL; }
12246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12248 return NULL;
12249 }
12250 }
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) return NULL;
12257 } _resultobj = Py_BuildValue("i",_result);
12258 return _resultobj;
12259 }
12260
12261 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12262 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
12263 PyObject * _resultobj;
12264 wxGrid * _arg0;
12265 int _arg1;
12266 int _arg2;
12267 bool _arg3 = (bool ) TRUE;
12268 PyObject * _argo0 = 0;
12269 int tempbool3 = (int) TRUE;
12270 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
12271
12272 self = self;
12273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
12274 return NULL;
12275 if (_argo0) {
12276 if (_argo0 == Py_None) { _arg0 = NULL; }
12277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12279 return NULL;
12280 }
12281 }
12282 _arg3 = (bool ) tempbool3;
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
12286
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) return NULL;
12289 } Py_INCREF(Py_None);
12290 _resultobj = Py_None;
12291 return _resultobj;
12292 }
12293
12294 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12295 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12296 PyObject * _resultobj;
12297 wxGrid * _arg0;
12298 int _arg1;
12299 bool _arg2 = (bool ) FALSE;
12300 PyObject * _argo0 = 0;
12301 int tempbool2 = (int) FALSE;
12302 char *_kwnames[] = { "self","row","addToSelected", NULL };
12303
12304 self = self;
12305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
12306 return NULL;
12307 if (_argo0) {
12308 if (_argo0 == Py_None) { _arg0 = NULL; }
12309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12311 return NULL;
12312 }
12313 }
12314 _arg2 = (bool ) tempbool2;
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 wxGrid_SelectRow(_arg0,_arg1,_arg2);
12318
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) return NULL;
12321 } Py_INCREF(Py_None);
12322 _resultobj = Py_None;
12323 return _resultobj;
12324 }
12325
12326 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12327 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12328 PyObject * _resultobj;
12329 wxGrid * _arg0;
12330 int _arg1;
12331 bool _arg2 = (bool ) FALSE;
12332 PyObject * _argo0 = 0;
12333 int tempbool2 = (int) FALSE;
12334 char *_kwnames[] = { "self","col","addToSelected", NULL };
12335
12336 self = self;
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
12338 return NULL;
12339 if (_argo0) {
12340 if (_argo0 == Py_None) { _arg0 = NULL; }
12341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12343 return NULL;
12344 }
12345 }
12346 _arg2 = (bool ) tempbool2;
12347 {
12348 PyThreadState* __tstate = wxPyBeginAllowThreads();
12349 wxGrid_SelectCol(_arg0,_arg1,_arg2);
12350
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) return NULL;
12353 } Py_INCREF(Py_None);
12354 _resultobj = Py_None;
12355 return _resultobj;
12356 }
12357
12358 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12359 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
12360 PyObject * _resultobj;
12361 wxGrid * _arg0;
12362 int _arg1;
12363 int _arg2;
12364 int _arg3;
12365 int _arg4;
12366 bool _arg5 = (bool ) FALSE;
12367 PyObject * _argo0 = 0;
12368 int tempbool5 = (int) FALSE;
12369 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
12370
12371 self = self;
12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
12373 return NULL;
12374 if (_argo0) {
12375 if (_argo0 == Py_None) { _arg0 = NULL; }
12376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12378 return NULL;
12379 }
12380 }
12381 _arg5 = (bool ) tempbool5;
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) return NULL;
12388 } Py_INCREF(Py_None);
12389 _resultobj = Py_None;
12390 return _resultobj;
12391 }
12392
12393 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12394 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
12395 PyObject * _resultobj;
12396 wxGrid * _arg0;
12397 PyObject * _argo0 = 0;
12398 char *_kwnames[] = { "self", NULL };
12399
12400 self = self;
12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
12402 return NULL;
12403 if (_argo0) {
12404 if (_argo0 == Py_None) { _arg0 = NULL; }
12405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12407 return NULL;
12408 }
12409 }
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 wxGrid_SelectAll(_arg0);
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) return NULL;
12416 } Py_INCREF(Py_None);
12417 _resultobj = Py_None;
12418 return _resultobj;
12419 }
12420
12421 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12422 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12423 PyObject * _resultobj;
12424 bool _result;
12425 wxGrid * _arg0;
12426 PyObject * _argo0 = 0;
12427 char *_kwnames[] = { "self", NULL };
12428
12429 self = self;
12430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
12431 return NULL;
12432 if (_argo0) {
12433 if (_argo0 == Py_None) { _arg0 = NULL; }
12434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12436 return NULL;
12437 }
12438 }
12439 {
12440 PyThreadState* __tstate = wxPyBeginAllowThreads();
12441 _result = (bool )wxGrid_IsSelection(_arg0);
12442
12443 wxPyEndAllowThreads(__tstate);
12444 if (PyErr_Occurred()) return NULL;
12445 } _resultobj = Py_BuildValue("i",_result);
12446 return _resultobj;
12447 }
12448
12449 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12450 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12451 PyObject * _resultobj;
12452 wxGrid * _arg0;
12453 PyObject * _argo0 = 0;
12454 char *_kwnames[] = { "self", NULL };
12455
12456 self = self;
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
12458 return NULL;
12459 if (_argo0) {
12460 if (_argo0 == Py_None) { _arg0 = NULL; }
12461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12463 return NULL;
12464 }
12465 }
12466 {
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 wxGrid_ClearSelection(_arg0);
12469
12470 wxPyEndAllowThreads(__tstate);
12471 if (PyErr_Occurred()) return NULL;
12472 } Py_INCREF(Py_None);
12473 _resultobj = Py_None;
12474 return _resultobj;
12475 }
12476
12477 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12478 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12479 PyObject * _resultobj;
12480 bool _result;
12481 wxGrid * _arg0;
12482 int _arg1;
12483 int _arg2;
12484 PyObject * _argo0 = 0;
12485 char *_kwnames[] = { "self","row","col", NULL };
12486
12487 self = self;
12488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
12489 return NULL;
12490 if (_argo0) {
12491 if (_argo0 == Py_None) { _arg0 = NULL; }
12492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12494 return NULL;
12495 }
12496 }
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) return NULL;
12503 } _resultobj = Py_BuildValue("i",_result);
12504 return _resultobj;
12505 }
12506
12507 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12508 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject * _resultobj;
12510 wxRect * _result;
12511 wxGrid * _arg0;
12512 wxGridCellCoords * _arg1;
12513 wxGridCellCoords * _arg2;
12514 PyObject * _argo0 = 0;
12515 wxGridCellCoords temp;
12516 PyObject * _obj1 = 0;
12517 wxGridCellCoords temp0;
12518 PyObject * _obj2 = 0;
12519 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
12520 char _ptemp[128];
12521
12522 self = self;
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
12524 return NULL;
12525 if (_argo0) {
12526 if (_argo0 == Py_None) { _arg0 = NULL; }
12527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12529 return NULL;
12530 }
12531 }
12532 {
12533 _arg1 = &temp;
12534 if (! wxGridCellCoords_helper(_obj1, &_arg1))
12535 return NULL;
12536 }
12537 {
12538 _arg2 = &temp0;
12539 if (! wxGridCellCoords_helper(_obj2, &_arg2))
12540 return NULL;
12541 }
12542 {
12543 PyThreadState* __tstate = wxPyBeginAllowThreads();
12544 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
12545
12546 wxPyEndAllowThreads(__tstate);
12547 if (PyErr_Occurred()) return NULL;
12548 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
12549 _resultobj = Py_BuildValue("s",_ptemp);
12550 return _resultobj;
12551 }
12552
12553 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12554 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12555 PyObject * _resultobj;
12556 wxColour * _result;
12557 wxGrid * _arg0;
12558 PyObject * _argo0 = 0;
12559 char *_kwnames[] = { "self", NULL };
12560 char _ptemp[128];
12561
12562 self = self;
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
12564 return NULL;
12565 if (_argo0) {
12566 if (_argo0 == Py_None) { _arg0 = NULL; }
12567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12569 return NULL;
12570 }
12571 }
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) return NULL;
12578 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12579 _resultobj = Py_BuildValue("s",_ptemp);
12580 return _resultobj;
12581 }
12582
12583 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12584 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject * _resultobj;
12586 wxColour * _result;
12587 wxGrid * _arg0;
12588 PyObject * _argo0 = 0;
12589 char *_kwnames[] = { "self", NULL };
12590 char _ptemp[128];
12591
12592 self = self;
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
12594 return NULL;
12595 if (_argo0) {
12596 if (_argo0 == Py_None) { _arg0 = NULL; }
12597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12599 return NULL;
12600 }
12601 }
12602 {
12603 PyThreadState* __tstate = wxPyBeginAllowThreads();
12604 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
12605
12606 wxPyEndAllowThreads(__tstate);
12607 if (PyErr_Occurred()) return NULL;
12608 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
12609 _resultobj = Py_BuildValue("s",_ptemp);
12610 return _resultobj;
12611 }
12612
12613 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12614 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12615 PyObject * _resultobj;
12616 wxGrid * _arg0;
12617 wxColour * _arg1;
12618 PyObject * _argo0 = 0;
12619 wxColour temp;
12620 PyObject * _obj1 = 0;
12621 char *_kwnames[] = { "self","c", NULL };
12622
12623 self = self;
12624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
12625 return NULL;
12626 if (_argo0) {
12627 if (_argo0 == Py_None) { _arg0 = NULL; }
12628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12630 return NULL;
12631 }
12632 }
12633 {
12634 _arg1 = &temp;
12635 if (! wxColour_helper(_obj1, &_arg1))
12636 return NULL;
12637 }
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 wxGrid_SetSelectionBackground(_arg0,*_arg1);
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) return NULL;
12644 } Py_INCREF(Py_None);
12645 _resultobj = Py_None;
12646 return _resultobj;
12647 }
12648
12649 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12650 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject * _resultobj;
12652 wxGrid * _arg0;
12653 wxColour * _arg1;
12654 PyObject * _argo0 = 0;
12655 wxColour temp;
12656 PyObject * _obj1 = 0;
12657 char *_kwnames[] = { "self","c", NULL };
12658
12659 self = self;
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
12661 return NULL;
12662 if (_argo0) {
12663 if (_argo0 == Py_None) { _arg0 = NULL; }
12664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12666 return NULL;
12667 }
12668 }
12669 {
12670 _arg1 = &temp;
12671 if (! wxColour_helper(_obj1, &_arg1))
12672 return NULL;
12673 }
12674 {
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 wxGrid_SetSelectionForeground(_arg0,*_arg1);
12677
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) return NULL;
12680 } Py_INCREF(Py_None);
12681 _resultobj = Py_None;
12682 return _resultobj;
12683 }
12684
12685 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12686 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
12687 PyObject * _resultobj;
12688 wxGrid * _arg0;
12689 wxString * _arg1;
12690 wxGridCellRenderer * _arg2;
12691 wxGridCellEditor * _arg3;
12692 PyObject * _argo0 = 0;
12693 PyObject * _obj1 = 0;
12694 PyObject * _argo2 = 0;
12695 PyObject * _argo3 = 0;
12696 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
12697
12698 self = self;
12699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
12700 return NULL;
12701 if (_argo0) {
12702 if (_argo0 == Py_None) { _arg0 = NULL; }
12703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12705 return NULL;
12706 }
12707 }
12708 {
12709 _arg1 = wxString_in_helper(_obj1);
12710 if (_arg1 == NULL)
12711 return NULL;
12712 }
12713 if (_argo2) {
12714 if (_argo2 == Py_None) { _arg2 = NULL; }
12715 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
12716 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12717 return NULL;
12718 }
12719 }
12720 if (_argo3) {
12721 if (_argo3 == Py_None) { _arg3 = NULL; }
12722 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12723 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12724 return NULL;
12725 }
12726 }
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) return NULL;
12733 } Py_INCREF(Py_None);
12734 _resultobj = Py_None;
12735 {
12736 if (_obj1)
12737 delete _arg1;
12738 }
12739 return _resultobj;
12740 }
12741
12742 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12743 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject * _resultobj;
12745 wxGridCellEditor * _result;
12746 wxGrid * _arg0;
12747 int _arg1;
12748 int _arg2;
12749 PyObject * _argo0 = 0;
12750 char *_kwnames[] = { "self","row","col", NULL };
12751
12752 self = self;
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12754 return NULL;
12755 if (_argo0) {
12756 if (_argo0 == Py_None) { _arg0 = NULL; }
12757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12759 return NULL;
12760 }
12761 }
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) return NULL;
12768 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12769 return _resultobj;
12770 }
12771
12772 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12773 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12774 PyObject * _resultobj;
12775 wxGridCellRenderer * _result;
12776 wxGrid * _arg0;
12777 int _arg1;
12778 int _arg2;
12779 PyObject * _argo0 = 0;
12780 char *_kwnames[] = { "self","row","col", NULL };
12781
12782 self = self;
12783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
12784 return NULL;
12785 if (_argo0) {
12786 if (_argo0 == Py_None) { _arg0 = NULL; }
12787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12789 return NULL;
12790 }
12791 }
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
12795
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) return NULL;
12798 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12799 return _resultobj;
12800 }
12801
12802 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12803 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12804 PyObject * _resultobj;
12805 wxGridCellEditor * _result;
12806 wxGrid * _arg0;
12807 wxString * _arg1;
12808 PyObject * _argo0 = 0;
12809 PyObject * _obj1 = 0;
12810 char *_kwnames[] = { "self","typeName", NULL };
12811
12812 self = self;
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
12814 return NULL;
12815 if (_argo0) {
12816 if (_argo0 == Py_None) { _arg0 = NULL; }
12817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12819 return NULL;
12820 }
12821 }
12822 {
12823 _arg1 = wxString_in_helper(_obj1);
12824 if (_arg1 == NULL)
12825 return NULL;
12826 }
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
12830
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) return NULL;
12833 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12834 {
12835 if (_obj1)
12836 delete _arg1;
12837 }
12838 return _resultobj;
12839 }
12840
12841 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12842 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
12843 PyObject * _resultobj;
12844 wxGridCellRenderer * _result;
12845 wxGrid * _arg0;
12846 wxString * _arg1;
12847 PyObject * _argo0 = 0;
12848 PyObject * _obj1 = 0;
12849 char *_kwnames[] = { "self","typeName", NULL };
12850
12851 self = self;
12852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
12853 return NULL;
12854 if (_argo0) {
12855 if (_argo0 == Py_None) { _arg0 = NULL; }
12856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12858 return NULL;
12859 }
12860 }
12861 {
12862 _arg1 = wxString_in_helper(_obj1);
12863 if (_arg1 == NULL)
12864 return NULL;
12865 }
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) return NULL;
12872 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12873 {
12874 if (_obj1)
12875 delete _arg1;
12876 }
12877 return _resultobj;
12878 }
12879
12880 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12881 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject * _resultobj;
12883 wxGrid * _arg0;
12884 int _arg1;
12885 int _arg2;
12886 PyObject * _argo0 = 0;
12887 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
12888
12889 self = self;
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
12891 return NULL;
12892 if (_argo0) {
12893 if (_argo0 == Py_None) { _arg0 = NULL; }
12894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12896 return NULL;
12897 }
12898 }
12899 {
12900 PyThreadState* __tstate = wxPyBeginAllowThreads();
12901 wxGrid_SetMargins(_arg0,_arg1,_arg2);
12902
12903 wxPyEndAllowThreads(__tstate);
12904 if (PyErr_Occurred()) return NULL;
12905 } Py_INCREF(Py_None);
12906 _resultobj = Py_None;
12907 return _resultobj;
12908 }
12909
12910 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12911 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12912 PyObject * _resultobj;
12913 wxWindow * _result;
12914 wxGrid * _arg0;
12915 PyObject * _argo0 = 0;
12916 char *_kwnames[] = { "self", NULL };
12917
12918 self = self;
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
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_GetGridWindow. Expected _wxGrid_p.");
12925 return NULL;
12926 }
12927 }
12928 {
12929 PyThreadState* __tstate = wxPyBeginAllowThreads();
12930 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
12931
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) return NULL;
12934 }{ _resultobj = wxPyMake_wxObject(_result); }
12935 return _resultobj;
12936 }
12937
12938 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12939 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject * _resultobj;
12941 wxWindow * _result;
12942 wxGrid * _arg0;
12943 PyObject * _argo0 = 0;
12944 char *_kwnames[] = { "self", NULL };
12945
12946 self = self;
12947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
12948 return NULL;
12949 if (_argo0) {
12950 if (_argo0 == Py_None) { _arg0 = NULL; }
12951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12953 return NULL;
12954 }
12955 }
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
12959
12960 wxPyEndAllowThreads(__tstate);
12961 if (PyErr_Occurred()) return NULL;
12962 }{ _resultobj = wxPyMake_wxObject(_result); }
12963 return _resultobj;
12964 }
12965
12966 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12967 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12968 PyObject * _resultobj;
12969 wxWindow * _result;
12970 wxGrid * _arg0;
12971 PyObject * _argo0 = 0;
12972 char *_kwnames[] = { "self", NULL };
12973
12974 self = self;
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
12976 return NULL;
12977 if (_argo0) {
12978 if (_argo0 == Py_None) { _arg0 = NULL; }
12979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12981 return NULL;
12982 }
12983 }
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) return NULL;
12990 }{ _resultobj = wxPyMake_wxObject(_result); }
12991 return _resultobj;
12992 }
12993
12994 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12995 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12996 PyObject * _resultobj;
12997 wxWindow * _result;
12998 wxGrid * _arg0;
12999 PyObject * _argo0 = 0;
13000 char *_kwnames[] = { "self", NULL };
13001
13002 self = self;
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
13004 return NULL;
13005 if (_argo0) {
13006 if (_argo0 == Py_None) { _arg0 = NULL; }
13007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13009 return NULL;
13010 }
13011 }
13012 {
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
13015
13016 wxPyEndAllowThreads(__tstate);
13017 if (PyErr_Occurred()) return NULL;
13018 }{ _resultobj = wxPyMake_wxObject(_result); }
13019 return _resultobj;
13020 }
13021
13022 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
13023 wxGridEvent *src;
13024 wxNotifyEvent *dest;
13025 src = (wxGridEvent *) ptr;
13026 dest = (wxNotifyEvent *) src;
13027 return (void *) dest;
13028 }
13029
13030 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
13031 wxGridEvent *src;
13032 wxCommandEvent *dest;
13033 src = (wxGridEvent *) ptr;
13034 dest = (wxCommandEvent *) src;
13035 return (void *) dest;
13036 }
13037
13038 static void *SwigwxGridEventTowxEvent(void *ptr) {
13039 wxGridEvent *src;
13040 wxEvent *dest;
13041 src = (wxGridEvent *) ptr;
13042 dest = (wxEvent *) src;
13043 return (void *) dest;
13044 }
13045
13046 static void *SwigwxGridEventTowxObject(void *ptr) {
13047 wxGridEvent *src;
13048 wxObject *dest;
13049 src = (wxGridEvent *) ptr;
13050 dest = (wxObject *) src;
13051 return (void *) dest;
13052 }
13053
13054 #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))
13055 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13056 PyObject * _resultobj;
13057 wxGridEvent * _result;
13058 int _arg0;
13059 wxEventType _arg1;
13060 wxGrid * _arg2;
13061 int _arg3 = (int ) -1;
13062 int _arg4 = (int ) -1;
13063 int _arg5 = (int ) -1;
13064 int _arg6 = (int ) -1;
13065 bool _arg7 = (bool ) TRUE;
13066 bool _arg8 = (bool ) FALSE;
13067 bool _arg9 = (bool ) FALSE;
13068 bool _arg10 = (bool ) FALSE;
13069 bool _arg11 = (bool ) FALSE;
13070 PyObject * _argo2 = 0;
13071 int tempbool7 = (int) TRUE;
13072 int tempbool8 = (int) FALSE;
13073 int tempbool9 = (int) FALSE;
13074 int tempbool10 = (int) FALSE;
13075 int tempbool11 = (int) FALSE;
13076 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
13077 char _ptemp[128];
13078
13079 self = self;
13080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
13081 return NULL;
13082 if (_argo2) {
13083 if (_argo2 == Py_None) { _arg2 = NULL; }
13084 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13085 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13086 return NULL;
13087 }
13088 }
13089 _arg7 = (bool ) tempbool7;
13090 _arg8 = (bool ) tempbool8;
13091 _arg9 = (bool ) tempbool9;
13092 _arg10 = (bool ) tempbool10;
13093 _arg11 = (bool ) tempbool11;
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) return NULL;
13100 } if (_result) {
13101 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
13102 _resultobj = Py_BuildValue("s",_ptemp);
13103 } else {
13104 Py_INCREF(Py_None);
13105 _resultobj = Py_None;
13106 }
13107 return _resultobj;
13108 }
13109
13110 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13111 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13112 PyObject * _resultobj;
13113 int _result;
13114 wxGridEvent * _arg0;
13115 PyObject * _argo0 = 0;
13116 char *_kwnames[] = { "self", NULL };
13117
13118 self = self;
13119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
13120 return NULL;
13121 if (_argo0) {
13122 if (_argo0 == Py_None) { _arg0 = NULL; }
13123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
13125 return NULL;
13126 }
13127 }
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 _result = (int )wxGridEvent_GetRow(_arg0);
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) return NULL;
13134 } _resultobj = Py_BuildValue("i",_result);
13135 return _resultobj;
13136 }
13137
13138 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13139 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13140 PyObject * _resultobj;
13141 int _result;
13142 wxGridEvent * _arg0;
13143 PyObject * _argo0 = 0;
13144 char *_kwnames[] = { "self", NULL };
13145
13146 self = self;
13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
13148 return NULL;
13149 if (_argo0) {
13150 if (_argo0 == Py_None) { _arg0 = NULL; }
13151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13153 return NULL;
13154 }
13155 }
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 _result = (int )wxGridEvent_GetCol(_arg0);
13159
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) return NULL;
13162 } _resultobj = Py_BuildValue("i",_result);
13163 return _resultobj;
13164 }
13165
13166 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13167 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13168 PyObject * _resultobj;
13169 wxPoint * _result;
13170 wxGridEvent * _arg0;
13171 PyObject * _argo0 = 0;
13172 char *_kwnames[] = { "self", NULL };
13173 char _ptemp[128];
13174
13175 self = self;
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
13177 return NULL;
13178 if (_argo0) {
13179 if (_argo0 == Py_None) { _arg0 = NULL; }
13180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
13182 return NULL;
13183 }
13184 }
13185 {
13186 PyThreadState* __tstate = wxPyBeginAllowThreads();
13187 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
13188
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) return NULL;
13191 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
13192 _resultobj = Py_BuildValue("s",_ptemp);
13193 return _resultobj;
13194 }
13195
13196 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
13197 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13198 PyObject * _resultobj;
13199 bool _result;
13200 wxGridEvent * _arg0;
13201 PyObject * _argo0 = 0;
13202 char *_kwnames[] = { "self", NULL };
13203
13204 self = self;
13205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
13206 return NULL;
13207 if (_argo0) {
13208 if (_argo0 == Py_None) { _arg0 = NULL; }
13209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
13211 return NULL;
13212 }
13213 }
13214 {
13215 PyThreadState* __tstate = wxPyBeginAllowThreads();
13216 _result = (bool )wxGridEvent_Selecting(_arg0);
13217
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) return NULL;
13220 } _resultobj = Py_BuildValue("i",_result);
13221 return _resultobj;
13222 }
13223
13224 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13225 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13226 PyObject * _resultobj;
13227 bool _result;
13228 wxGridEvent * _arg0;
13229 PyObject * _argo0 = 0;
13230 char *_kwnames[] = { "self", NULL };
13231
13232 self = self;
13233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
13234 return NULL;
13235 if (_argo0) {
13236 if (_argo0 == Py_None) { _arg0 = NULL; }
13237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
13239 return NULL;
13240 }
13241 }
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 _result = (bool )wxGridEvent_ControlDown(_arg0);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) return NULL;
13248 } _resultobj = Py_BuildValue("i",_result);
13249 return _resultobj;
13250 }
13251
13252 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13253 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject * _resultobj;
13255 bool _result;
13256 wxGridEvent * _arg0;
13257 PyObject * _argo0 = 0;
13258 char *_kwnames[] = { "self", NULL };
13259
13260 self = self;
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
13262 return NULL;
13263 if (_argo0) {
13264 if (_argo0 == Py_None) { _arg0 = NULL; }
13265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
13267 return NULL;
13268 }
13269 }
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 _result = (bool )wxGridEvent_MetaDown(_arg0);
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) return NULL;
13276 } _resultobj = Py_BuildValue("i",_result);
13277 return _resultobj;
13278 }
13279
13280 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13281 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13282 PyObject * _resultobj;
13283 bool _result;
13284 wxGridEvent * _arg0;
13285 PyObject * _argo0 = 0;
13286 char *_kwnames[] = { "self", NULL };
13287
13288 self = self;
13289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
13290 return NULL;
13291 if (_argo0) {
13292 if (_argo0 == Py_None) { _arg0 = NULL; }
13293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
13295 return NULL;
13296 }
13297 }
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 _result = (bool )wxGridEvent_ShiftDown(_arg0);
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) return NULL;
13304 } _resultobj = Py_BuildValue("i",_result);
13305 return _resultobj;
13306 }
13307
13308 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
13309 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13310 PyObject * _resultobj;
13311 bool _result;
13312 wxGridEvent * _arg0;
13313 PyObject * _argo0 = 0;
13314 char *_kwnames[] = { "self", NULL };
13315
13316 self = self;
13317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
13318 return NULL;
13319 if (_argo0) {
13320 if (_argo0 == Py_None) { _arg0 = NULL; }
13321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13323 return NULL;
13324 }
13325 }
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 _result = (bool )wxGridEvent_AltDown(_arg0);
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) return NULL;
13332 } _resultobj = Py_BuildValue("i",_result);
13333 return _resultobj;
13334 }
13335
13336 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
13337 wxGridSizeEvent *src;
13338 wxNotifyEvent *dest;
13339 src = (wxGridSizeEvent *) ptr;
13340 dest = (wxNotifyEvent *) src;
13341 return (void *) dest;
13342 }
13343
13344 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
13345 wxGridSizeEvent *src;
13346 wxCommandEvent *dest;
13347 src = (wxGridSizeEvent *) ptr;
13348 dest = (wxCommandEvent *) src;
13349 return (void *) dest;
13350 }
13351
13352 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
13353 wxGridSizeEvent *src;
13354 wxEvent *dest;
13355 src = (wxGridSizeEvent *) ptr;
13356 dest = (wxEvent *) src;
13357 return (void *) dest;
13358 }
13359
13360 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
13361 wxGridSizeEvent *src;
13362 wxObject *dest;
13363 src = (wxGridSizeEvent *) ptr;
13364 dest = (wxObject *) src;
13365 return (void *) dest;
13366 }
13367
13368 #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))
13369 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13370 PyObject * _resultobj;
13371 wxGridSizeEvent * _result;
13372 int _arg0;
13373 wxEventType _arg1;
13374 wxGrid * _arg2;
13375 int _arg3 = (int ) -1;
13376 int _arg4 = (int ) -1;
13377 int _arg5 = (int ) -1;
13378 bool _arg6 = (bool ) FALSE;
13379 bool _arg7 = (bool ) FALSE;
13380 bool _arg8 = (bool ) FALSE;
13381 bool _arg9 = (bool ) FALSE;
13382 PyObject * _argo2 = 0;
13383 int tempbool6 = (int) FALSE;
13384 int tempbool7 = (int) FALSE;
13385 int tempbool8 = (int) FALSE;
13386 int tempbool9 = (int) FALSE;
13387 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
13388 char _ptemp[128];
13389
13390 self = self;
13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13392 return NULL;
13393 if (_argo2) {
13394 if (_argo2 == Py_None) { _arg2 = NULL; }
13395 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13396 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13397 return NULL;
13398 }
13399 }
13400 _arg6 = (bool ) tempbool6;
13401 _arg7 = (bool ) tempbool7;
13402 _arg8 = (bool ) tempbool8;
13403 _arg9 = (bool ) tempbool9;
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) return NULL;
13410 } if (_result) {
13411 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
13412 _resultobj = Py_BuildValue("s",_ptemp);
13413 } else {
13414 Py_INCREF(Py_None);
13415 _resultobj = Py_None;
13416 }
13417 return _resultobj;
13418 }
13419
13420 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13421 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13422 PyObject * _resultobj;
13423 int _result;
13424 wxGridSizeEvent * _arg0;
13425 PyObject * _argo0 = 0;
13426 char *_kwnames[] = { "self", NULL };
13427
13428 self = self;
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
13430 return NULL;
13431 if (_argo0) {
13432 if (_argo0 == Py_None) { _arg0 = NULL; }
13433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13435 return NULL;
13436 }
13437 }
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) return NULL;
13444 } _resultobj = Py_BuildValue("i",_result);
13445 return _resultobj;
13446 }
13447
13448 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13449 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13450 PyObject * _resultobj;
13451 wxPoint * _result;
13452 wxGridSizeEvent * _arg0;
13453 PyObject * _argo0 = 0;
13454 char *_kwnames[] = { "self", NULL };
13455 char _ptemp[128];
13456
13457 self = self;
13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
13459 return NULL;
13460 if (_argo0) {
13461 if (_argo0 == Py_None) { _arg0 = NULL; }
13462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13464 return NULL;
13465 }
13466 }
13467 {
13468 PyThreadState* __tstate = wxPyBeginAllowThreads();
13469 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
13470
13471 wxPyEndAllowThreads(__tstate);
13472 if (PyErr_Occurred()) return NULL;
13473 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
13474 _resultobj = Py_BuildValue("s",_ptemp);
13475 return _resultobj;
13476 }
13477
13478 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13479 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject * _resultobj;
13481 bool _result;
13482 wxGridSizeEvent * _arg0;
13483 PyObject * _argo0 = 0;
13484 char *_kwnames[] = { "self", NULL };
13485
13486 self = self;
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
13488 return NULL;
13489 if (_argo0) {
13490 if (_argo0 == Py_None) { _arg0 = NULL; }
13491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13493 return NULL;
13494 }
13495 }
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
13499
13500 wxPyEndAllowThreads(__tstate);
13501 if (PyErr_Occurred()) return NULL;
13502 } _resultobj = Py_BuildValue("i",_result);
13503 return _resultobj;
13504 }
13505
13506 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13507 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject * _resultobj;
13509 bool _result;
13510 wxGridSizeEvent * _arg0;
13511 PyObject * _argo0 = 0;
13512 char *_kwnames[] = { "self", NULL };
13513
13514 self = self;
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
13516 return NULL;
13517 if (_argo0) {
13518 if (_argo0 == Py_None) { _arg0 = NULL; }
13519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13521 return NULL;
13522 }
13523 }
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) return NULL;
13530 } _resultobj = Py_BuildValue("i",_result);
13531 return _resultobj;
13532 }
13533
13534 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13535 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject * _resultobj;
13537 bool _result;
13538 wxGridSizeEvent * _arg0;
13539 PyObject * _argo0 = 0;
13540 char *_kwnames[] = { "self", NULL };
13541
13542 self = self;
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
13544 return NULL;
13545 if (_argo0) {
13546 if (_argo0 == Py_None) { _arg0 = NULL; }
13547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13549 return NULL;
13550 }
13551 }
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
13555
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) return NULL;
13558 } _resultobj = Py_BuildValue("i",_result);
13559 return _resultobj;
13560 }
13561
13562 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13563 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject * _resultobj;
13565 bool _result;
13566 wxGridSizeEvent * _arg0;
13567 PyObject * _argo0 = 0;
13568 char *_kwnames[] = { "self", NULL };
13569
13570 self = self;
13571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
13572 return NULL;
13573 if (_argo0) {
13574 if (_argo0 == Py_None) { _arg0 = NULL; }
13575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13577 return NULL;
13578 }
13579 }
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
13583
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) return NULL;
13586 } _resultobj = Py_BuildValue("i",_result);
13587 return _resultobj;
13588 }
13589
13590 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
13591 wxGridRangeSelectEvent *src;
13592 wxNotifyEvent *dest;
13593 src = (wxGridRangeSelectEvent *) ptr;
13594 dest = (wxNotifyEvent *) src;
13595 return (void *) dest;
13596 }
13597
13598 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
13599 wxGridRangeSelectEvent *src;
13600 wxCommandEvent *dest;
13601 src = (wxGridRangeSelectEvent *) ptr;
13602 dest = (wxCommandEvent *) src;
13603 return (void *) dest;
13604 }
13605
13606 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
13607 wxGridRangeSelectEvent *src;
13608 wxEvent *dest;
13609 src = (wxGridRangeSelectEvent *) ptr;
13610 dest = (wxEvent *) src;
13611 return (void *) dest;
13612 }
13613
13614 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
13615 wxGridRangeSelectEvent *src;
13616 wxObject *dest;
13617 src = (wxGridRangeSelectEvent *) ptr;
13618 dest = (wxObject *) src;
13619 return (void *) dest;
13620 }
13621
13622 #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))
13623 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13624 PyObject * _resultobj;
13625 wxGridRangeSelectEvent * _result;
13626 int _arg0;
13627 wxEventType _arg1;
13628 wxGrid * _arg2;
13629 wxGridCellCoords * _arg3;
13630 wxGridCellCoords * _arg4;
13631 bool _arg5 = (bool ) TRUE;
13632 bool _arg6 = (bool ) FALSE;
13633 bool _arg7 = (bool ) FALSE;
13634 bool _arg8 = (bool ) FALSE;
13635 bool _arg9 = (bool ) FALSE;
13636 PyObject * _argo2 = 0;
13637 wxGridCellCoords temp;
13638 PyObject * _obj3 = 0;
13639 wxGridCellCoords temp0;
13640 PyObject * _obj4 = 0;
13641 int tempbool5 = (int) TRUE;
13642 int tempbool6 = (int) FALSE;
13643 int tempbool7 = (int) FALSE;
13644 int tempbool8 = (int) FALSE;
13645 int tempbool9 = (int) FALSE;
13646 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
13647 char _ptemp[128];
13648
13649 self = self;
13650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13651 return NULL;
13652 if (_argo2) {
13653 if (_argo2 == Py_None) { _arg2 = NULL; }
13654 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13655 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13656 return NULL;
13657 }
13658 }
13659 {
13660 _arg3 = &temp;
13661 if (! wxGridCellCoords_helper(_obj3, &_arg3))
13662 return NULL;
13663 }
13664 {
13665 _arg4 = &temp0;
13666 if (! wxGridCellCoords_helper(_obj4, &_arg4))
13667 return NULL;
13668 }
13669 _arg5 = (bool ) tempbool5;
13670 _arg6 = (bool ) tempbool6;
13671 _arg7 = (bool ) tempbool7;
13672 _arg8 = (bool ) tempbool8;
13673 _arg9 = (bool ) tempbool9;
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13677
13678 wxPyEndAllowThreads(__tstate);
13679 if (PyErr_Occurred()) return NULL;
13680 } if (_result) {
13681 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
13682 _resultobj = Py_BuildValue("s",_ptemp);
13683 } else {
13684 Py_INCREF(Py_None);
13685 _resultobj = Py_None;
13686 }
13687 return _resultobj;
13688 }
13689
13690 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13691 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13692 PyObject * _resultobj;
13693 wxGridCellCoords * _result;
13694 wxGridRangeSelectEvent * _arg0;
13695 PyObject * _argo0 = 0;
13696 char *_kwnames[] = { "self", NULL };
13697 char _ptemp[128];
13698
13699 self = self;
13700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
13701 return NULL;
13702 if (_argo0) {
13703 if (_argo0 == Py_None) { _arg0 = NULL; }
13704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13706 return NULL;
13707 }
13708 }
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) return NULL;
13715 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13716 _resultobj = Py_BuildValue("s",_ptemp);
13717 return _resultobj;
13718 }
13719
13720 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13721 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
13722 PyObject * _resultobj;
13723 wxGridCellCoords * _result;
13724 wxGridRangeSelectEvent * _arg0;
13725 PyObject * _argo0 = 0;
13726 char *_kwnames[] = { "self", NULL };
13727 char _ptemp[128];
13728
13729 self = self;
13730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
13731 return NULL;
13732 if (_argo0) {
13733 if (_argo0 == Py_None) { _arg0 = NULL; }
13734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13736 return NULL;
13737 }
13738 }
13739 {
13740 PyThreadState* __tstate = wxPyBeginAllowThreads();
13741 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
13742
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) return NULL;
13745 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
13746 _resultobj = Py_BuildValue("s",_ptemp);
13747 return _resultobj;
13748 }
13749
13750 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13751 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13752 PyObject * _resultobj;
13753 int _result;
13754 wxGridRangeSelectEvent * _arg0;
13755 PyObject * _argo0 = 0;
13756 char *_kwnames[] = { "self", NULL };
13757
13758 self = self;
13759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
13760 return NULL;
13761 if (_argo0) {
13762 if (_argo0 == Py_None) { _arg0 = NULL; }
13763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13765 return NULL;
13766 }
13767 }
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) return NULL;
13774 } _resultobj = Py_BuildValue("i",_result);
13775 return _resultobj;
13776 }
13777
13778 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13779 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13780 PyObject * _resultobj;
13781 int _result;
13782 wxGridRangeSelectEvent * _arg0;
13783 PyObject * _argo0 = 0;
13784 char *_kwnames[] = { "self", NULL };
13785
13786 self = self;
13787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
13788 return NULL;
13789 if (_argo0) {
13790 if (_argo0 == Py_None) { _arg0 = NULL; }
13791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13793 return NULL;
13794 }
13795 }
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
13799
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) return NULL;
13802 } _resultobj = Py_BuildValue("i",_result);
13803 return _resultobj;
13804 }
13805
13806 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13807 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13808 PyObject * _resultobj;
13809 int _result;
13810 wxGridRangeSelectEvent * _arg0;
13811 PyObject * _argo0 = 0;
13812 char *_kwnames[] = { "self", NULL };
13813
13814 self = self;
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
13816 return NULL;
13817 if (_argo0) {
13818 if (_argo0 == Py_None) { _arg0 = NULL; }
13819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13821 return NULL;
13822 }
13823 }
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
13827
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) return NULL;
13830 } _resultobj = Py_BuildValue("i",_result);
13831 return _resultobj;
13832 }
13833
13834 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13835 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13836 PyObject * _resultobj;
13837 int _result;
13838 wxGridRangeSelectEvent * _arg0;
13839 PyObject * _argo0 = 0;
13840 char *_kwnames[] = { "self", NULL };
13841
13842 self = self;
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
13844 return NULL;
13845 if (_argo0) {
13846 if (_argo0 == Py_None) { _arg0 = NULL; }
13847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13849 return NULL;
13850 }
13851 }
13852 {
13853 PyThreadState* __tstate = wxPyBeginAllowThreads();
13854 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
13855
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) return NULL;
13858 } _resultobj = Py_BuildValue("i",_result);
13859 return _resultobj;
13860 }
13861
13862 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13863 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject * _resultobj;
13865 bool _result;
13866 wxGridRangeSelectEvent * _arg0;
13867 PyObject * _argo0 = 0;
13868 char *_kwnames[] = { "self", NULL };
13869
13870 self = self;
13871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
13872 return NULL;
13873 if (_argo0) {
13874 if (_argo0 == Py_None) { _arg0 = NULL; }
13875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13877 return NULL;
13878 }
13879 }
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) return NULL;
13886 } _resultobj = Py_BuildValue("i",_result);
13887 return _resultobj;
13888 }
13889
13890 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13891 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13892 PyObject * _resultobj;
13893 bool _result;
13894 wxGridRangeSelectEvent * _arg0;
13895 PyObject * _argo0 = 0;
13896 char *_kwnames[] = { "self", NULL };
13897
13898 self = self;
13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
13900 return NULL;
13901 if (_argo0) {
13902 if (_argo0 == Py_None) { _arg0 = NULL; }
13903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13905 return NULL;
13906 }
13907 }
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) return NULL;
13914 } _resultobj = Py_BuildValue("i",_result);
13915 return _resultobj;
13916 }
13917
13918 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13919 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13920 PyObject * _resultobj;
13921 bool _result;
13922 wxGridRangeSelectEvent * _arg0;
13923 PyObject * _argo0 = 0;
13924 char *_kwnames[] = { "self", NULL };
13925
13926 self = self;
13927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
13928 return NULL;
13929 if (_argo0) {
13930 if (_argo0 == Py_None) { _arg0 = NULL; }
13931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13933 return NULL;
13934 }
13935 }
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
13939
13940 wxPyEndAllowThreads(__tstate);
13941 if (PyErr_Occurred()) return NULL;
13942 } _resultobj = Py_BuildValue("i",_result);
13943 return _resultobj;
13944 }
13945
13946 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13947 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13948 PyObject * _resultobj;
13949 bool _result;
13950 wxGridRangeSelectEvent * _arg0;
13951 PyObject * _argo0 = 0;
13952 char *_kwnames[] = { "self", NULL };
13953
13954 self = self;
13955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
13956 return NULL;
13957 if (_argo0) {
13958 if (_argo0 == Py_None) { _arg0 = NULL; }
13959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13961 return NULL;
13962 }
13963 }
13964 {
13965 PyThreadState* __tstate = wxPyBeginAllowThreads();
13966 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
13967
13968 wxPyEndAllowThreads(__tstate);
13969 if (PyErr_Occurred()) return NULL;
13970 } _resultobj = Py_BuildValue("i",_result);
13971 return _resultobj;
13972 }
13973
13974 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13975 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13976 PyObject * _resultobj;
13977 bool _result;
13978 wxGridRangeSelectEvent * _arg0;
13979 PyObject * _argo0 = 0;
13980 char *_kwnames[] = { "self", NULL };
13981
13982 self = self;
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
13984 return NULL;
13985 if (_argo0) {
13986 if (_argo0 == Py_None) { _arg0 = NULL; }
13987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
13988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13989 return NULL;
13990 }
13991 }
13992 {
13993 PyThreadState* __tstate = wxPyBeginAllowThreads();
13994 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) return NULL;
13998 } _resultobj = Py_BuildValue("i",_result);
13999 return _resultobj;
14000 }
14001
14002 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
14003 wxGridEditorCreatedEvent *src;
14004 wxCommandEvent *dest;
14005 src = (wxGridEditorCreatedEvent *) ptr;
14006 dest = (wxCommandEvent *) src;
14007 return (void *) dest;
14008 }
14009
14010 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
14011 wxGridEditorCreatedEvent *src;
14012 wxEvent *dest;
14013 src = (wxGridEditorCreatedEvent *) ptr;
14014 dest = (wxEvent *) src;
14015 return (void *) dest;
14016 }
14017
14018 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
14019 wxGridEditorCreatedEvent *src;
14020 wxObject *dest;
14021 src = (wxGridEditorCreatedEvent *) ptr;
14022 dest = (wxObject *) src;
14023 return (void *) dest;
14024 }
14025
14026 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14027 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14028 PyObject * _resultobj;
14029 wxGridEditorCreatedEvent * _result;
14030 int _arg0;
14031 wxEventType _arg1;
14032 wxObject * _arg2;
14033 int _arg3;
14034 int _arg4;
14035 wxControl * _arg5;
14036 PyObject * _argo2 = 0;
14037 PyObject * _argo5 = 0;
14038 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
14039 char _ptemp[128];
14040
14041 self = self;
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
14043 return NULL;
14044 if (_argo2) {
14045 if (_argo2 == Py_None) { _arg2 = NULL; }
14046 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
14047 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14048 return NULL;
14049 }
14050 }
14051 if (_argo5) {
14052 if (_argo5 == Py_None) { _arg5 = NULL; }
14053 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
14054 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14055 return NULL;
14056 }
14057 }
14058 {
14059 PyThreadState* __tstate = wxPyBeginAllowThreads();
14060 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
14061
14062 wxPyEndAllowThreads(__tstate);
14063 if (PyErr_Occurred()) return NULL;
14064 } if (_result) {
14065 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
14066 _resultobj = Py_BuildValue("s",_ptemp);
14067 } else {
14068 Py_INCREF(Py_None);
14069 _resultobj = Py_None;
14070 }
14071 return _resultobj;
14072 }
14073
14074 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14075 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14076 PyObject * _resultobj;
14077 int _result;
14078 wxGridEditorCreatedEvent * _arg0;
14079 PyObject * _argo0 = 0;
14080 char *_kwnames[] = { "self", NULL };
14081
14082 self = self;
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
14084 return NULL;
14085 if (_argo0) {
14086 if (_argo0 == Py_None) { _arg0 = NULL; }
14087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14089 return NULL;
14090 }
14091 }
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) return NULL;
14098 } _resultobj = Py_BuildValue("i",_result);
14099 return _resultobj;
14100 }
14101
14102 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14103 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14104 PyObject * _resultobj;
14105 int _result;
14106 wxGridEditorCreatedEvent * _arg0;
14107 PyObject * _argo0 = 0;
14108 char *_kwnames[] = { "self", NULL };
14109
14110 self = self;
14111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
14112 return NULL;
14113 if (_argo0) {
14114 if (_argo0 == Py_None) { _arg0 = NULL; }
14115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14117 return NULL;
14118 }
14119 }
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) return NULL;
14126 } _resultobj = Py_BuildValue("i",_result);
14127 return _resultobj;
14128 }
14129
14130 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14131 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14132 PyObject * _resultobj;
14133 wxControl * _result;
14134 wxGridEditorCreatedEvent * _arg0;
14135 PyObject * _argo0 = 0;
14136 char *_kwnames[] = { "self", NULL };
14137
14138 self = self;
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
14140 return NULL;
14141 if (_argo0) {
14142 if (_argo0 == Py_None) { _arg0 = NULL; }
14143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14145 return NULL;
14146 }
14147 }
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) return NULL;
14154 }{ _resultobj = wxPyMake_wxObject(_result); }
14155 return _resultobj;
14156 }
14157
14158 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
14159 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14160 PyObject * _resultobj;
14161 wxGridEditorCreatedEvent * _arg0;
14162 int _arg1;
14163 PyObject * _argo0 = 0;
14164 char *_kwnames[] = { "self","row", NULL };
14165
14166 self = self;
14167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
14168 return NULL;
14169 if (_argo0) {
14170 if (_argo0 == Py_None) { _arg0 = NULL; }
14171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
14173 return NULL;
14174 }
14175 }
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) return NULL;
14182 } Py_INCREF(Py_None);
14183 _resultobj = Py_None;
14184 return _resultobj;
14185 }
14186
14187 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
14188 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14189 PyObject * _resultobj;
14190 wxGridEditorCreatedEvent * _arg0;
14191 int _arg1;
14192 PyObject * _argo0 = 0;
14193 char *_kwnames[] = { "self","col", NULL };
14194
14195 self = self;
14196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
14197 return NULL;
14198 if (_argo0) {
14199 if (_argo0 == Py_None) { _arg0 = NULL; }
14200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
14202 return NULL;
14203 }
14204 }
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) return NULL;
14211 } Py_INCREF(Py_None);
14212 _resultobj = Py_None;
14213 return _resultobj;
14214 }
14215
14216 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
14217 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14218 PyObject * _resultobj;
14219 wxGridEditorCreatedEvent * _arg0;
14220 wxControl * _arg1;
14221 PyObject * _argo0 = 0;
14222 PyObject * _argo1 = 0;
14223 char *_kwnames[] = { "self","ctrl", NULL };
14224
14225 self = self;
14226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
14227 return NULL;
14228 if (_argo0) {
14229 if (_argo0 == Py_None) { _arg0 = NULL; }
14230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
14232 return NULL;
14233 }
14234 }
14235 if (_argo1) {
14236 if (_argo1 == Py_None) { _arg1 = NULL; }
14237 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
14238 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
14239 return NULL;
14240 }
14241 }
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) return NULL;
14248 } Py_INCREF(Py_None);
14249 _resultobj = Py_None;
14250 return _resultobj;
14251 }
14252
14253 static PyMethodDef gridcMethods[] = {
14254 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
14255 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
14256 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
14257 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
14258 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
14259 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
14260 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
14261 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14262 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14263 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14264 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14265 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
14266 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
14267 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
14268 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
14269 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
14270 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
14271 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
14272 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
14273 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14274 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14275 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14276 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14277 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14278 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
14279 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
14280 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14281 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14282 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14283 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14284 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
14285 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14286 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
14287 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
14288 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
14289 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
14290 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
14291 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
14292 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
14293 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
14294 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
14295 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
14296 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
14297 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
14298 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
14299 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
14300 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
14301 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
14302 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
14303 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
14304 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
14305 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
14306 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
14307 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
14308 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
14309 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
14310 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
14311 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14312 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
14313 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
14314 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
14315 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
14316 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14317 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
14318 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14319 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14320 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14321 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14322 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14323 { "wxGrid_SetCellSize", (PyCFunction) _wrap_wxGrid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
14324 { "wxGrid_SetCellOverflow", (PyCFunction) _wrap_wxGrid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
14325 { "wxGrid_SetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
14326 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14327 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14328 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
14329 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14330 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14331 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14332 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14333 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14334 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
14335 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
14336 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
14337 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
14338 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
14339 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
14340 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
14341 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
14342 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14343 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
14344 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14345 { "wxGrid_GetCellSize", (PyCFunction) _wrap_wxGrid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
14346 { "wxGrid_GetCellOverflow", (PyCFunction) _wrap_wxGrid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
14347 { "wxGrid_GetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
14348 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14349 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14350 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
14351 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14352 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14353 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14354 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14355 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14356 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
14357 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14358 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
14359 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14360 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
14361 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
14362 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
14363 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
14364 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
14365 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
14366 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14367 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14368 { "wxGrid_SetAttr", (PyCFunction) _wrap_wxGrid_SetAttr, METH_VARARGS | METH_KEYWORDS },
14369 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
14370 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14371 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14372 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
14373 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
14374 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
14375 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
14376 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14377 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14378 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14379 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14380 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14381 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14382 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14383 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14384 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14385 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14386 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
14387 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14388 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14389 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14390 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14391 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14392 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14393 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14394 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14395 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14396 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14397 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14398 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14399 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
14400 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14401 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14402 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14403 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
14404 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14405 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14406 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
14407 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
14408 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
14409 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
14410 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
14411 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
14412 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
14413 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
14414 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
14415 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
14416 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
14417 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
14418 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
14419 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
14420 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
14421 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
14422 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
14423 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
14424 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
14425 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
14426 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
14427 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
14428 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
14429 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
14430 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
14431 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
14432 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
14433 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
14434 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
14435 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
14436 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
14437 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
14438 { "wxGrid_Refresh", (PyCFunction) _wrap_wxGrid_Refresh, METH_VARARGS | METH_KEYWORDS },
14439 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
14440 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
14441 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
14442 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
14443 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
14444 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
14445 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
14446 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14447 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
14448 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
14449 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14450 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
14451 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
14452 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
14453 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
14454 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
14455 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
14456 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
14457 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
14458 { "wxGrid_GetSelectionMode", (PyCFunction) _wrap_wxGrid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14459 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14460 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
14461 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
14462 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
14463 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
14464 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
14465 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
14466 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
14467 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
14468 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
14469 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
14470 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
14471 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
14472 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
14473 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
14474 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
14475 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
14476 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
14477 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
14478 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
14479 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
14480 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
14481 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
14482 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14483 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14484 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
14485 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
14486 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
14487 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14488 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14489 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14490 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14491 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14492 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
14493 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
14494 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14495 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
14496 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
14497 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
14498 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
14499 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
14500 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
14501 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
14502 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14503 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
14504 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14505 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14506 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
14507 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
14508 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
14509 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14510 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14511 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14512 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14513 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14514 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
14515 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
14516 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14517 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
14518 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
14519 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
14520 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
14521 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
14522 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
14523 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
14524 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
14525 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
14526 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
14527 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
14528 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
14529 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
14530 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
14531 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
14532 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
14533 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
14534 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
14535 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
14536 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
14537 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
14538 { "wxGridTableBase__setOORInfo", (PyCFunction) _wrap_wxGridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14539 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14540 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14541 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
14542 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
14543 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14544 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
14545 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
14546 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
14547 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14548 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14549 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
14550 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
14551 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_wxGridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14552 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
14553 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
14554 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
14555 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
14556 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
14557 { "wxGridCellAttr_GetOverflow", (PyCFunction) _wrap_wxGridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
14558 { "wxGridCellAttr_GetSize", (PyCFunction) _wrap_wxGridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
14559 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
14560 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
14561 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14562 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
14563 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
14564 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
14565 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
14566 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
14567 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
14568 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14569 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
14570 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
14571 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
14572 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
14573 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14574 { "wxGridCellAttr_SetOverflow", (PyCFunction) _wrap_wxGridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
14575 { "wxGridCellAttr_SetSize", (PyCFunction) _wrap_wxGridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
14576 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
14577 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
14578 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14579 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
14580 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
14581 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
14582 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
14583 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
14584 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
14585 { "wxGridCellAttr__setOORInfo", (PyCFunction) _wrap_wxGridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14586 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
14587 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
14588 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
14589 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
14590 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
14591 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
14592 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
14593 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14594 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
14595 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14596 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
14597 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
14598 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14599 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14600 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
14601 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
14602 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14603 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
14604 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
14605 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
14606 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
14607 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
14608 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
14609 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
14610 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
14611 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
14612 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
14613 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
14614 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
14615 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
14616 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
14617 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
14618 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
14619 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
14620 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
14621 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
14622 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
14623 { "wxGridCellEditor__setOORInfo", (PyCFunction) _wrap_wxGridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14624 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
14625 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
14626 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
14627 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
14628 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
14629 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
14630 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
14631 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
14632 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
14633 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
14634 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
14635 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
14636 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
14637 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
14638 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
14639 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
14640 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
14641 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
14642 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
14643 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
14644 { "wxGridCellRenderer__setOORInfo", (PyCFunction) _wrap_wxGridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
14645 { NULL, NULL }
14646 };
14647 #ifdef __cplusplus
14648 }
14649 #endif
14650 /*
14651 * This table is used by the pointer type-checker
14652 */
14653 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
14654 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
14655 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
14656 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
14657 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
14658 { "_signed_long","_long",0},
14659 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
14660 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14661 { "_wxPrintQuality","_wxCoord",0},
14662 { "_wxPrintQuality","_int",0},
14663 { "_wxPrintQuality","_signed_int",0},
14664 { "_wxPrintQuality","_unsigned_int",0},
14665 { "_wxPrintQuality","_wxWindowID",0},
14666 { "_wxPrintQuality","_uint",0},
14667 { "_wxPrintQuality","_EBool",0},
14668 { "_wxPrintQuality","_size_t",0},
14669 { "_wxPrintQuality","_time_t",0},
14670 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
14671 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
14672 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
14673 { "_byte","_unsigned_char",0},
14674 { "_long","_unsigned_long",0},
14675 { "_long","_signed_long",0},
14676 { "_size_t","_WXGRIDSELECTIONMODES",0},
14677 { "_size_t","_wxCoord",0},
14678 { "_size_t","_wxPrintQuality",0},
14679 { "_size_t","_time_t",0},
14680 { "_size_t","_unsigned_int",0},
14681 { "_size_t","_int",0},
14682 { "_size_t","_wxWindowID",0},
14683 { "_size_t","_uint",0},
14684 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
14685 { "_uint","_WXGRIDSELECTIONMODES",0},
14686 { "_uint","_wxCoord",0},
14687 { "_uint","_wxPrintQuality",0},
14688 { "_uint","_time_t",0},
14689 { "_uint","_size_t",0},
14690 { "_uint","_unsigned_int",0},
14691 { "_uint","_int",0},
14692 { "_uint","_wxWindowID",0},
14693 { "_wxChar","_char",0},
14694 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
14695 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
14696 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
14697 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
14698 { "_char","_wxChar",0},
14699 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
14700 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
14701 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
14702 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
14703 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
14704 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14705 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
14706 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
14707 { "_EBool","_WXGRIDSELECTIONMODES",0},
14708 { "_EBool","_wxCoord",0},
14709 { "_EBool","_wxPrintQuality",0},
14710 { "_EBool","_signed_int",0},
14711 { "_EBool","_int",0},
14712 { "_EBool","_wxWindowID",0},
14713 { "_unsigned_long","_long",0},
14714 { "_WXGRIDSELECTIONMODES","_int",0},
14715 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14716 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14717 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14718 { "_WXGRIDSELECTIONMODES","_uint",0},
14719 { "_WXGRIDSELECTIONMODES","_EBool",0},
14720 { "_WXGRIDSELECTIONMODES","_size_t",0},
14721 { "_WXGRIDSELECTIONMODES","_time_t",0},
14722 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14723 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14724 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14725 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14726 { "_signed_int","_wxCoord",0},
14727 { "_signed_int","_wxPrintQuality",0},
14728 { "_signed_int","_EBool",0},
14729 { "_signed_int","_wxWindowID",0},
14730 { "_signed_int","_int",0},
14731 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
14732 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
14733 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
14734 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
14735 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
14736 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
14737 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
14738 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
14739 { "_WXTYPE","_short",0},
14740 { "_WXTYPE","_signed_short",0},
14741 { "_WXTYPE","_unsigned_short",0},
14742 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
14743 { "_unsigned_short","_WXTYPE",0},
14744 { "_unsigned_short","_short",0},
14745 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
14746 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
14747 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
14748 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
14749 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
14750 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
14751 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
14752 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
14753 { "_signed_short","_WXTYPE",0},
14754 { "_signed_short","_short",0},
14755 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
14756 { "_unsigned_char","_byte",0},
14757 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14758 { "_unsigned_int","_wxCoord",0},
14759 { "_unsigned_int","_wxPrintQuality",0},
14760 { "_unsigned_int","_time_t",0},
14761 { "_unsigned_int","_size_t",0},
14762 { "_unsigned_int","_uint",0},
14763 { "_unsigned_int","_wxWindowID",0},
14764 { "_unsigned_int","_int",0},
14765 { "_short","_WXTYPE",0},
14766 { "_short","_unsigned_short",0},
14767 { "_short","_signed_short",0},
14768 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14769 { "_wxWindowID","_wxCoord",0},
14770 { "_wxWindowID","_wxPrintQuality",0},
14771 { "_wxWindowID","_time_t",0},
14772 { "_wxWindowID","_size_t",0},
14773 { "_wxWindowID","_EBool",0},
14774 { "_wxWindowID","_uint",0},
14775 { "_wxWindowID","_int",0},
14776 { "_wxWindowID","_signed_int",0},
14777 { "_wxWindowID","_unsigned_int",0},
14778 { "_int","_WXGRIDSELECTIONMODES",0},
14779 { "_int","_wxCoord",0},
14780 { "_int","_wxPrintQuality",0},
14781 { "_int","_time_t",0},
14782 { "_int","_size_t",0},
14783 { "_int","_EBool",0},
14784 { "_int","_uint",0},
14785 { "_int","_wxWindowID",0},
14786 { "_int","_unsigned_int",0},
14787 { "_int","_signed_int",0},
14788 { "_time_t","_WXGRIDSELECTIONMODES",0},
14789 { "_time_t","_wxCoord",0},
14790 { "_time_t","_wxPrintQuality",0},
14791 { "_time_t","_unsigned_int",0},
14792 { "_time_t","_int",0},
14793 { "_time_t","_wxWindowID",0},
14794 { "_time_t","_uint",0},
14795 { "_time_t","_size_t",0},
14796 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14797 { "_wxCoord","_int",0},
14798 { "_wxCoord","_signed_int",0},
14799 { "_wxCoord","_unsigned_int",0},
14800 { "_wxCoord","_wxWindowID",0},
14801 { "_wxCoord","_uint",0},
14802 { "_wxCoord","_EBool",0},
14803 { "_wxCoord","_size_t",0},
14804 { "_wxCoord","_time_t",0},
14805 { "_wxCoord","_wxPrintQuality",0},
14806 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
14807 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
14808 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
14809 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
14810 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
14811 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
14812 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
14813 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
14814 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
14815 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
14816 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
14817 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
14818 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
14819 {0,0,0}};
14820
14821 static PyObject *SWIG_globals;
14822 #ifdef __cplusplus
14823 extern "C"
14824 #endif
14825 SWIGEXPORT(void) initgridc() {
14826 PyObject *m, *d;
14827 SWIG_globals = SWIG_newvarlink();
14828 m = Py_InitModule("gridc", gridcMethods);
14829 d = PyModule_GetDict(m);
14830 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14831 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14832 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14833 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14834 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14835 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14836 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14837 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
14838 PyDict_SetItemString(d,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
14839 PyDict_SetItemString(d,"cvar", SWIG_globals);
14840 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
14841 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
14842 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
14843 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
14844 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
14845 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
14846 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
14847 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
14848 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
14849 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
14850 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
14851 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
14852 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
14853 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
14854 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
14855 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
14856 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
14857 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
14858 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
14859 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
14860 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
14861 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
14862 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
14863 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
14864 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
14865 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
14866
14867 wxClassInfo::CleanUpClasses();
14868 wxClassInfo::InitializeClasses();
14869 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
14870 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
14871 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
14872 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
14873 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
14874 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
14875 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
14876 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
14877 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
14878 {
14879 int i;
14880 for (i = 0; _swig_mapping[i].n1; i++)
14881 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
14882 }
14883 }