]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/grid.cpp
SWIGged updates for wxMac
[wxWidgets.git] / wxPython / src / mac / grid.cpp
1 /*
2 * FILE : src/mac/grid.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initgridc
54
55 #define SWIG_name "gridc"
56
57 #include "wxPython.h"
58 #include <wx/grid.h>
59 #include <wx/generic/gridctrl.h>
60
61
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr);
90 DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c"));
91 static const wxString wxPyEmptyString(wxT(""));
92
93
94 #define wxPyMake_TEMPLATE(TYPE) \
95 PyObject* wxPyMake_##TYPE(TYPE* source) { \
96 PyObject* target = NULL; \
97 if (source) { \
98 /* Check if there is already a pointer to a Python object in the \
99 OOR data that we can use. */ \
100 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
101 if (data) { \
102 target = data->m_obj; \
103 Py_INCREF(target); \
104 } \
105 /* Otherwise make a new wrapper for it the old fashioned way and \
106 give it the OOR treatment */ \
107 if (! target) { \
108 target = wxPyConstructObject(source, wxT(#TYPE), FALSE); \
109 if (target) \
110 source->SetClientObject(new wxPyOORClientData(target)); \
111 } \
112 } else { /* source was NULL so return None. */ \
113 Py_INCREF(Py_None); target = Py_None; \
114 } \
115 return target; \
116 } \
117
118
119 wxPyMake_TEMPLATE(wxGridCellRenderer)
120 wxPyMake_TEMPLATE(wxGridCellEditor)
121 wxPyMake_TEMPLATE(wxGridCellAttr)
122 wxPyMake_TEMPLATE(wxGridCellAttrProvider)
123 wxPyMake_TEMPLATE(wxGridTableBase)
124
125
126 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
127 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
128 wxGridCellAttr* rval = NULL; \
129 bool found; \
130 wxPyBeginBlockThreads(); \
131 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
132 PyObject* ro; \
133 wxGridCellAttr* ptr; \
134 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
135 if (ro) { \
136 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
137 rval = ptr; \
138 Py_DECREF(ro); \
139 } \
140 } \
141 wxPyEndBlockThreads(); \
142 if (! found) \
143 rval = PCLASS::CBNAME(a, b, c); \
144 return rval; \
145 } \
146 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
147 return PCLASS::CBNAME(a, b, c); \
148 }
149
150
151
152 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
153 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
154 wxPyBeginBlockThreads(); \
155 bool found; \
156 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
157 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
158 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
159 Py_DECREF(obj); \
160 } \
161 wxPyEndBlockThreads(); \
162 if (! found) \
163 PCLASS::CBNAME(attr, a, b); \
164 } \
165 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
166 PCLASS::CBNAME(attr, a, b); \
167 }
168
169
170
171 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
172 void CBNAME(wxGridCellAttr *attr, int val) { \
173 wxPyBeginBlockThreads(); \
174 bool found; \
175 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
176 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
177 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
178 Py_DECREF(obj); \
179 } \
180 wxPyEndBlockThreads(); \
181 if (! found) \
182 PCLASS::CBNAME(attr, val); \
183 } \
184 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
185 PCLASS::CBNAME(attr, val); \
186 }
187
188
189
190 #define PYCALLBACK_INT__pure(CBNAME) \
191 int CBNAME() { \
192 wxPyBeginBlockThreads(); \
193 int rval = 0; \
194 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
195 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
196 wxPyEndBlockThreads(); \
197 return rval; \
198 }
199
200
201
202 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
203 bool CBNAME(int a, int b) { \
204 wxPyBeginBlockThreads(); \
205 bool rval = 0; \
206 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
207 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
208 wxPyEndBlockThreads(); \
209 return rval; \
210 }
211
212
213 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
214 wxString CBNAME(int a, int b) { \
215 wxPyBeginBlockThreads(); \
216 wxString rval; \
217 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
218 PyObject* ro; \
219 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
220 if (ro) { \
221 rval = Py2wxString(ro); \
222 Py_DECREF(ro); \
223 } \
224 } \
225 wxPyEndBlockThreads(); \
226 return rval; \
227 }
228
229
230 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
231 void CBNAME(int a, int b, const wxString& c) { \
232 wxPyBeginBlockThreads(); \
233 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
234 PyObject* s = wx2PyString(c); \
235 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
236 Py_DECREF(s); \
237 } \
238 wxPyEndBlockThreads(); \
239 }
240
241
242 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
243 wxString CBNAME(int a, int b) { \
244 bool found; \
245 wxPyBeginBlockThreads(); \
246 wxString rval; \
247 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
248 PyObject* ro; \
249 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
250 if (ro) { \
251 rval = Py2wxString(ro); \
252 Py_DECREF(ro); \
253 } \
254 } \
255 wxPyEndBlockThreads(); \
256 if (! found) \
257 rval = PCLASS::CBNAME(a, b); \
258 return rval; \
259 } \
260 wxString base_##CBNAME(int a, int b) { \
261 return PCLASS::CBNAME(a, b); \
262 }
263
264
265 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b, const wxString& c) { \
267 bool rval = 0; \
268 bool found; \
269 wxPyBeginBlockThreads(); \
270 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
271 PyObject* s = wx2PyString(c); \
272 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
273 Py_DECREF(s); \
274 } \
275 wxPyEndBlockThreads(); \
276 if (! found) \
277 rval = PCLASS::CBNAME(a,b,c); \
278 return rval; \
279 } \
280 bool base_##CBNAME(int a, int b, const wxString& c) { \
281 return PCLASS::CBNAME(a,b,c); \
282 }
283
284
285
286
287 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
288 long CBNAME(int a, int b) { \
289 long rval; \
290 bool found; \
291 wxPyBeginBlockThreads(); \
292 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
293 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
294 wxPyEndBlockThreads(); \
295 if (! found) \
296 rval = PCLASS::CBNAME(a,b); \
297 return rval; \
298 } \
299 long base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a,b); \
301 }
302
303
304
305 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
306 bool CBNAME(int a, int b) { \
307 bool rval = 0; \
308 bool found; \
309 wxPyBeginBlockThreads(); \
310 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
311 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
312 wxPyEndBlockThreads(); \
313 if (! found) \
314 rval = PCLASS::CBNAME(a,b); \
315 return rval; \
316 } \
317 bool base_##CBNAME(int a, int b) { \
318 return PCLASS::CBNAME(a,b); \
319 }
320
321
322
323 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
324 double CBNAME(int a, int b) { \
325 bool found; \
326 wxPyBeginBlockThreads(); \
327 double rval; \
328 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
329 PyObject* ro; \
330 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
331 if (ro) { \
332 PyObject* str = PyObject_Str(ro); \
333 rval = PyFloat_AsDouble(str); \
334 Py_DECREF(ro); Py_DECREF(str); \
335 } \
336 } \
337 wxPyEndBlockThreads(); \
338 if (! found) \
339 rval = PCLASS::CBNAME(a, b); \
340 return rval; \
341 } \
342 double base_##CBNAME(int a, int b) { \
343 return PCLASS::CBNAME(a, b); \
344 }
345
346
347
348 #define PYCALLBACK__(PCLASS, CBNAME) \
349 void CBNAME() { \
350 bool found; \
351 wxPyBeginBlockThreads(); \
352 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
353 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
354 wxPyEndBlockThreads(); \
355 if (! found) \
356 PCLASS::CBNAME(); \
357 } \
358 void base_##CBNAME() { \
359 PCLASS::CBNAME(); \
360 }
361
362
363
364
365 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
366 bool CBNAME(size_t a, size_t b) { \
367 bool rval = 0; \
368 bool found; \
369 wxPyBeginBlockThreads(); \
370 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
371 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
372 wxPyEndBlockThreads(); \
373 if (! found) \
374 rval = PCLASS::CBNAME(a,b); \
375 return rval; \
376 } \
377 bool base_##CBNAME(size_t a, size_t b) { \
378 return PCLASS::CBNAME(a,b); \
379 }
380
381
382
383 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
384 bool CBNAME(size_t a) { \
385 bool rval = 0; \
386 bool found; \
387 wxPyBeginBlockThreads(); \
388 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
389 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
390 wxPyEndBlockThreads(); \
391 if (! found) \
392 rval = PCLASS::CBNAME(a); \
393 return rval; \
394 } \
395 bool base_##CBNAME(size_t a) { \
396 return PCLASS::CBNAME(a); \
397 }
398
399
400 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
401 wxString CBNAME(int a) { \
402 bool found; \
403 wxPyBeginBlockThreads(); \
404 wxString rval; \
405 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
406 PyObject* ro; \
407 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
408 if (ro) { \
409 rval = Py2wxString(ro); \
410 Py_DECREF(ro); \
411 } \
412 } \
413 wxPyEndBlockThreads(); \
414 if (! found) \
415 rval = PCLASS::CBNAME(a); \
416 return rval; \
417 } \
418 wxString base_##CBNAME(int a) { \
419 return PCLASS::CBNAME(a); \
420 }
421
422
423 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
424 void CBNAME(int a, const wxString& c) { \
425 bool found; \
426 wxPyBeginBlockThreads(); \
427 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
428 PyObject* s = wx2PyString(c); \
429 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
430 Py_DECREF(s); \
431 } \
432 wxPyEndBlockThreads(); \
433 if (! found) \
434 PCLASS::CBNAME(a,c); \
435 } \
436 void base_##CBNAME(int a, const wxString& c) { \
437 PCLASS::CBNAME(a,c); \
438 }
439
440
441
442
443 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
444 bool CBNAME() { \
445 bool rval = 0; \
446 bool found; \
447 wxPyBeginBlockThreads(); \
448 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
449 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
450 wxPyEndBlockThreads(); \
451 if (! found) \
452 rval = PCLASS::CBNAME(); \
453 return rval; \
454 } \
455 bool base_##CBNAME() { \
456 return PCLASS::CBNAME(); \
457 }
458
459
460
461 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
462 void CBNAME(size_t a, int b) { \
463 bool found; \
464 wxPyBeginBlockThreads(); \
465 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
466 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
467 wxPyEndBlockThreads(); \
468 if (! found) \
469 PCLASS::CBNAME(a,b); \
470 } \
471 void base_##CBNAME(size_t a, int b) { \
472 PCLASS::CBNAME(a,b); \
473 }
474
475
476
477
478 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
479 void CBNAME(int a, int b, long c) { \
480 bool found; \
481 wxPyBeginBlockThreads(); \
482 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
483 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
484 wxPyEndBlockThreads(); \
485 if (! found) \
486 PCLASS::CBNAME(a,b,c); \
487 } \
488 void base_##CBNAME(int a, int b, long c) { \
489 PCLASS::CBNAME(a,b,c); \
490 }
491
492
493
494
495 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
496 void CBNAME(int a, int b, double c) { \
497 bool found; \
498 wxPyBeginBlockThreads(); \
499 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
500 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
501 wxPyEndBlockThreads(); \
502 if (! found) \
503 PCLASS::CBNAME(a,b,c); \
504 } \
505 void base_##CBNAME(int a, int b, double c) { \
506 PCLASS::CBNAME(a,b,c); \
507 }
508
509
510
511 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
512 void CBNAME(int a, int b, bool c) { \
513 bool found; \
514 wxPyBeginBlockThreads(); \
515 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
516 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
517 wxPyEndBlockThreads(); \
518 if (! found) \
519 PCLASS::CBNAME(a,b,c); \
520 } \
521 void base_##CBNAME(int a, int b, bool c) { \
522 PCLASS::CBNAME(a,b,c); \
523 }
524
525
526
527
528
529 class wxPyGridCellRenderer : public wxGridCellRenderer
530 {
531 public:
532 wxPyGridCellRenderer() : wxGridCellRenderer() {};
533
534 // Implement Python callback aware virtual methods
535 void Draw(wxGrid& grid, wxGridCellAttr& attr,
536 wxDC& dc, const wxRect& rect,
537 int row, int col, bool isSelected) {
538 wxPyBeginBlockThreads();
539 if (wxPyCBH_findCallback(m_myInst, "Draw")) {
540 PyObject* go = wxPyMake_wxObject(&grid);
541 PyObject* dco = wxPyMake_wxObject(&dc);
542 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
543 PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
544
545 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro,
546 row, col, isSelected));
547 Py_DECREF(go);
548 Py_DECREF(ao);
549 Py_DECREF(dco);
550 Py_DECREF(ro);
551 }
552 wxPyEndBlockThreads();
553 }
554
555 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
556 int row, int col) {
557 wxSize rval;
558 wxPyBeginBlockThreads();
559 if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) {
560 PyObject* ro;
561 wxSize* ptr;
562 PyObject* go = wxPyMake_wxObject(&grid);
563 PyObject* dco = wxPyMake_wxObject(&dc);
564 PyObject* ao = wxPyMake_wxGridCellAttr(&attr);
565
566 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)",
567 go, ao, dco,
568 row, col));
569 Py_DECREF(go);
570 Py_DECREF(ao);
571 Py_DECREF(dco);
572
573 if (ro) {
574 const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object.";
575 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) {
576 rval = *ptr;
577 }
578 else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
579 PyObject* o1 = PySequence_GetItem(ro, 0);
580 PyObject* o2 = PySequence_GetItem(ro, 1);
581 if (PyNumber_Check(o1) && PyNumber_Check(o2))
582 rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2));
583 else
584 PyErr_SetString(PyExc_TypeError, errmsg);
585 Py_DECREF(o1);
586 Py_DECREF(o2);
587 }
588 else {
589 PyErr_SetString(PyExc_TypeError, errmsg);
590 }
591 Py_DECREF(ro);
592 }
593 }
594 wxPyEndBlockThreads();
595 return rval;
596 }
597
598
599 wxGridCellRenderer *Clone() const {
600 wxGridCellRenderer* rval = NULL;
601 wxPyBeginBlockThreads();
602 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
603 PyObject* ro;
604 wxGridCellRenderer* ptr;
605 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
606 if (ro) {
607 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p"))
608 rval = ptr;
609 Py_DECREF(ro);
610 }
611 }
612 wxPyEndBlockThreads();
613 return rval;
614 }
615
616 DEC_PYCALLBACK__STRING(SetParameters);
617
618 PYPRIVATE;
619 };
620
621 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters);
622
623
624 class wxPyGridCellEditor : public wxGridCellEditor
625 {
626 public:
627 wxPyGridCellEditor() : wxGridCellEditor() {}
628
629 void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) {
630 wxPyBeginBlockThreads();
631 if (wxPyCBH_findCallback(m_myInst, "Create")) {
632 PyObject* po = wxPyMake_wxObject(parent);
633 PyObject* eo = wxPyMake_wxObject(evtHandler);
634
635 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo));
636 Py_DECREF(po);
637 Py_DECREF(eo);
638 }
639 wxPyEndBlockThreads();
640 }
641
642
643 void BeginEdit(int row, int col, wxGrid* grid) {
644 wxPyBeginBlockThreads();
645 if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) {
646 PyObject* go = wxPyMake_wxObject(grid);
647 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
648 Py_DECREF(go);
649 }
650 wxPyEndBlockThreads();
651 }
652
653
654 bool EndEdit(int row, int col, wxGrid* grid) {
655 bool rv = FALSE;
656 wxPyBeginBlockThreads();
657 if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
658 PyObject* go = wxPyMake_wxObject(grid);
659 rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go));
660 Py_DECREF(go);
661 }
662 wxPyEndBlockThreads();
663 return rv;
664 }
665
666
667 wxGridCellEditor* Clone() const {
668 wxGridCellEditor* rval = NULL;
669 wxPyBeginBlockThreads();
670 if (wxPyCBH_findCallback(m_myInst, "Clone")) {
671 PyObject* ro;
672 wxGridCellEditor* ptr;
673 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
674 if (ro) {
675 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p"))
676 rval = ptr;
677 Py_DECREF(ro);
678 }
679 }
680 wxPyEndBlockThreads();
681 return rval;
682 }
683
684
685 void Show(bool show, wxGridCellAttr *attr) {
686 bool found;
687 wxPyBeginBlockThreads();
688 if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) {
689 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
690 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao));
691 Py_DECREF(ao);
692 }
693 wxPyEndBlockThreads();
694 if (! found)
695 wxGridCellEditor::Show(show, attr);
696 }
697 void base_Show(bool show, wxGridCellAttr *attr) {
698 wxGridCellEditor::Show(show, attr);
699 }
700
701
702 void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
703 bool found;
704 wxPyBeginBlockThreads();
705 if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) {
706 PyObject* ao = wxPyMake_wxGridCellAttr(attr);
707 PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
708
709 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao));
710
711 Py_DECREF(ro);
712 Py_DECREF(ao);
713 }
714 wxPyEndBlockThreads();
715 if (! found)
716 wxGridCellEditor::PaintBackground(rectCell, attr);
717 }
718 void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
719 wxGridCellEditor::PaintBackground(rectCell, attr);
720 }
721
722
723 DEC_PYCALLBACK___pure(Reset);
724 DEC_PYCALLBACK__constany(SetSize, wxRect);
725 DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent);
726 DEC_PYCALLBACK__any(StartingKey, wxKeyEvent);
727 DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent);
728 DEC_PYCALLBACK__(StartingClick);
729 DEC_PYCALLBACK__(Destroy);
730 DEC_PYCALLBACK__STRING(SetParameters);
731 DEC_PYCALLBACK_STRING__const(GetValue);
732
733 PYPRIVATE;
734 };
735
736
737 IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters);
738 IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset);
739 IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect);
740 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent);
741 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent);
742 IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent);
743 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick);
744 IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy);
745 IMP_PYCALLBACK_STRING__const(wxPyGridCellEditor, wxGridCellEditor, GetValue);
746
747
748 class wxPyGridCellAttrProvider : public wxGridCellAttrProvider
749 {
750 public:
751 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
752
753 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr);
754 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr);
755 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr);
756 PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr);
757
758 PYPRIVATE;
759 };
760
761 class wxPyGridTableBase : public wxGridTableBase
762 {
763 public:
764 wxPyGridTableBase() : wxGridTableBase() {}
765
766 PYCALLBACK_INT__pure(GetNumberRows);
767 PYCALLBACK_INT__pure(GetNumberCols);
768 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell);
769 PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName);
770 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs);
771 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs);
772 PYCALLBACK__(wxGridTableBase, Clear);
773 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows);
774 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows);
775 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols);
776 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols);
777 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows);
778 PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols);
779 PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue);
780 PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue);
781 PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue);
782 PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue);
783 PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes);
784 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr);
785 PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr);
786 PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr);
787 PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr);
788
789
790 wxString GetValue(int row, int col) {
791 wxPyBeginBlockThreads();
792 wxString rval;
793 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
794 PyObject* ro;
795 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col));
796 if (ro) {
797 rval = Py2wxString(ro);
798 Py_DECREF(ro);
799 }
800 }
801 wxPyEndBlockThreads();
802 return rval;
803 }
804
805 void SetValue(int row, int col, const wxString& val) {
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
808 PyObject* s = wx2PyString(val);
809 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s));
810 Py_DECREF(s);
811 }
812 wxPyEndBlockThreads();
813 }
814
815
816 // Map the Get/Set methods for the standard non-string types to
817 // the GetValue and SetValue python methods.
818 long GetValueAsLong( int row, int col ) {
819 long rval = 0;
820 wxPyBeginBlockThreads();
821 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
822 PyObject* ro;
823 PyObject* num;
824 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
825 if (ro && PyNumber_Check(ro)) {
826 num = PyNumber_Int(ro);
827 if (num) {
828 rval = PyInt_AsLong(num);
829 Py_DECREF(num);
830 }
831 Py_DECREF(ro);
832 }
833 }
834 wxPyEndBlockThreads();
835 return rval;
836 }
837
838 double GetValueAsDouble( int row, int col ) {
839 double rval = 0.0;
840 wxPyBeginBlockThreads();
841 if (wxPyCBH_findCallback(m_myInst, "GetValue")) {
842 PyObject* ro;
843 PyObject* num;
844 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col));
845 if (ro && PyNumber_Check(ro)) {
846 num = PyNumber_Float(ro);
847 if (num) {
848 rval = PyFloat_AsDouble(num);
849 Py_DECREF(num);
850 }
851 Py_DECREF(ro);
852 }
853 }
854 wxPyEndBlockThreads();
855 return rval;
856 }
857
858 bool GetValueAsBool( int row, int col ) {
859 return (bool)GetValueAsLong(row, col);
860 }
861
862 void SetValueAsLong( int row, int col, long value ) {
863 wxPyBeginBlockThreads();
864 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
865 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value));
866 }
867 wxPyEndBlockThreads();
868 }
869
870 void SetValueAsDouble( int row, int col, double value ) {
871 wxPyBeginBlockThreads();
872 if (wxPyCBH_findCallback(m_myInst, "SetValue")) {
873 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value));
874 }
875 wxPyEndBlockThreads();
876 }
877
878 void SetValueAsBool( int row, int col, bool value ) {
879 SetValueAsLong( row, col, (long)value );
880 }
881
882
883 PYPRIVATE;
884 };
885
886 bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) {
887
888 // If source is an object instance then it may already be the right type
889 if (PyInstance_Check(source)) {
890 wxGridCellCoords* ptr;
891 if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p"))
892 goto error;
893 *obj = ptr;
894 return TRUE;
895 }
896 // otherwise a 2-tuple of integers is expected
897 else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
898 PyObject* o1 = PySequence_GetItem(source, 0);
899 PyObject* o2 = PySequence_GetItem(source, 1);
900 **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
901 return TRUE;
902 }
903
904 error:
905 PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
906 return FALSE;
907 }
908
909 PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray* source)
910 {
911 PyObject* list = PyList_New(0);
912 size_t idx;
913 for (idx = 0; idx < source->GetCount(); idx += 1) {
914 wxGridCellCoords& coord = source->Item(idx);
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow()));
917 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol()));
918 PyList_Append(list, tup);
919 Py_DECREF(tup);
920 }
921 return list;
922 }
923
924 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES;
925 #ifdef __cplusplus
926 extern "C" {
927 #endif
928 static int _wrap_wxGridNoCellCoords_set(PyObject *val) {
929
930 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only.");
931 return 1;
932 }
933
934 static PyObject *_wrap_wxGridNoCellCoords_get() {
935 PyObject * pyobj;
936 char ptemp[128];
937
938 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p");
939 pyobj = PyString_FromString(ptemp);
940 return pyobj;
941 }
942
943 static int _wrap_wxGridNoCellRect_set(PyObject *val) {
944
945 PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only.");
946 return 1;
947 }
948
949 static PyObject *_wrap_wxGridNoCellRect_get() {
950 PyObject * pyobj;
951 char ptemp[128];
952
953 SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p");
954 pyobj = PyString_FromString(ptemp);
955 return pyobj;
956 }
957
958 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject * _self) {
959 self->SetClientObject(new wxPyOORClientData(_self));
960 }
961 static PyObject *_wrap_wxGridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
962 PyObject * _resultobj;
963 wxGridCellRenderer * _arg0;
964 PyObject * _arg1;
965 PyObject * _argo0 = 0;
966 PyObject * _obj1 = 0;
967 char *_kwnames[] = { "self","_self", NULL };
968
969 self = self;
970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer__setOORInfo",_kwnames,&_argo0,&_obj1))
971 return NULL;
972 if (_argo0) {
973 if (_argo0 == Py_None) { _arg0 = NULL; }
974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p.");
976 return NULL;
977 }
978 }
979 {
980 _arg1 = _obj1;
981 }
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 wxGridCellRenderer__setOORInfo(_arg0,_arg1);
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) return NULL;
988 } Py_INCREF(Py_None);
989 _resultobj = Py_None;
990 return _resultobj;
991 }
992
993 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
994 static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
995 PyObject * _resultobj;
996 wxGridCellRenderer * _arg0;
997 wxString * _arg1;
998 PyObject * _argo0 = 0;
999 PyObject * _obj1 = 0;
1000 char *_kwnames[] = { "self","params", NULL };
1001
1002 self = self;
1003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1))
1004 return NULL;
1005 if (_argo0) {
1006 if (_argo0 == Py_None) { _arg0 = NULL; }
1007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
1009 return NULL;
1010 }
1011 }
1012 {
1013 _arg1 = wxString_in_helper(_obj1);
1014 if (_arg1 == NULL)
1015 return NULL;
1016 }
1017 {
1018 PyThreadState* __tstate = wxPyBeginAllowThreads();
1019 wxGridCellRenderer_SetParameters(_arg0,*_arg1);
1020
1021 wxPyEndAllowThreads(__tstate);
1022 if (PyErr_Occurred()) return NULL;
1023 } Py_INCREF(Py_None);
1024 _resultobj = Py_None;
1025 {
1026 if (_obj1)
1027 delete _arg1;
1028 }
1029 return _resultobj;
1030 }
1031
1032 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
1033 static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1034 PyObject * _resultobj;
1035 wxGridCellRenderer * _arg0;
1036 PyObject * _argo0 = 0;
1037 char *_kwnames[] = { "self", NULL };
1038
1039 self = self;
1040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0))
1041 return NULL;
1042 if (_argo0) {
1043 if (_argo0 == Py_None) { _arg0 = NULL; }
1044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
1046 return NULL;
1047 }
1048 }
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 wxGridCellRenderer_IncRef(_arg0);
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) return NULL;
1055 } Py_INCREF(Py_None);
1056 _resultobj = Py_None;
1057 return _resultobj;
1058 }
1059
1060 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
1061 static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject * _resultobj;
1063 wxGridCellRenderer * _arg0;
1064 PyObject * _argo0 = 0;
1065 char *_kwnames[] = { "self", NULL };
1066
1067 self = self;
1068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0))
1069 return NULL;
1070 if (_argo0) {
1071 if (_argo0 == Py_None) { _arg0 = NULL; }
1072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
1074 return NULL;
1075 }
1076 }
1077 {
1078 PyThreadState* __tstate = wxPyBeginAllowThreads();
1079 wxGridCellRenderer_DecRef(_arg0);
1080
1081 wxPyEndAllowThreads(__tstate);
1082 if (PyErr_Occurred()) return NULL;
1083 } Py_INCREF(Py_None);
1084 _resultobj = Py_None;
1085 return _resultobj;
1086 }
1087
1088 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1089 static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
1090 PyObject * _resultobj;
1091 wxGridCellRenderer * _arg0;
1092 wxGrid * _arg1;
1093 wxGridCellAttr * _arg2;
1094 wxDC * _arg3;
1095 wxRect * _arg4;
1096 int _arg5;
1097 int _arg6;
1098 bool _arg7;
1099 PyObject * _argo0 = 0;
1100 PyObject * _argo1 = 0;
1101 PyObject * _argo2 = 0;
1102 PyObject * _argo3 = 0;
1103 wxRect temp;
1104 PyObject * _obj4 = 0;
1105 int tempbool7;
1106 char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL };
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1115 return NULL;
1116 }
1117 }
1118 if (_argo1) {
1119 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1121 return NULL;
1122 }
1123 }
1124 if (_argo2) {
1125 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1126 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1127 return NULL;
1128 }
1129 }
1130 if (_argo3) {
1131 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1132 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1133 return NULL;
1134 }
1135 }
1136 {
1137 _arg4 = &temp;
1138 if (! wxRect_helper(_obj4, &_arg4))
1139 return NULL;
1140 }
1141 _arg7 = (bool ) tempbool7;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7);
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) return NULL;
1148 } Py_INCREF(Py_None);
1149 _resultobj = Py_None;
1150 return _resultobj;
1151 }
1152
1153 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1154 static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1155 PyObject * _resultobj;
1156 wxSize * _result;
1157 wxGridCellRenderer * _arg0;
1158 wxGrid * _arg1;
1159 wxGridCellAttr * _arg2;
1160 wxDC * _arg3;
1161 int _arg4;
1162 int _arg5;
1163 PyObject * _argo0 = 0;
1164 PyObject * _argo1 = 0;
1165 PyObject * _argo2 = 0;
1166 PyObject * _argo3 = 0;
1167 char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL };
1168 char _ptemp[128];
1169
1170 self = self;
1171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5))
1172 return NULL;
1173 if (_argo0) {
1174 if (_argo0 == Py_None) { _arg0 = NULL; }
1175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1177 return NULL;
1178 }
1179 }
1180 if (_argo1) {
1181 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
1182 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1183 return NULL;
1184 }
1185 }
1186 if (_argo2) {
1187 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1189 return NULL;
1190 }
1191 }
1192 if (_argo3) {
1193 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) {
1194 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1195 return NULL;
1196 }
1197 }
1198 {
1199 PyThreadState* __tstate = wxPyBeginAllowThreads();
1200 _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5));
1201
1202 wxPyEndAllowThreads(__tstate);
1203 if (PyErr_Occurred()) return NULL;
1204 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1205 _resultobj = Py_BuildValue("s",_ptemp);
1206 return _resultobj;
1207 }
1208
1209 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1210 static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
1211 PyObject * _resultobj;
1212 wxGridCellRenderer * _result;
1213 wxGridCellRenderer * _arg0;
1214 PyObject * _argo0 = 0;
1215 char *_kwnames[] = { "self", NULL };
1216
1217 self = self;
1218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0))
1219 return NULL;
1220 if (_argo0) {
1221 if (_argo0 == Py_None) { _arg0 = NULL; }
1222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) {
1223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1224 return NULL;
1225 }
1226 }
1227 {
1228 PyThreadState* __tstate = wxPyBeginAllowThreads();
1229 _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0);
1230
1231 wxPyEndAllowThreads(__tstate);
1232 if (PyErr_Occurred()) return NULL;
1233 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
1234 return _resultobj;
1235 }
1236
1237 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) {
1238 wxPyGridCellRenderer *src;
1239 wxGridCellRenderer *dest;
1240 src = (wxPyGridCellRenderer *) ptr;
1241 dest = (wxGridCellRenderer *) src;
1242 return (void *) dest;
1243 }
1244
1245 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1246 static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1247 PyObject * _resultobj;
1248 wxPyGridCellRenderer * _result;
1249 char *_kwnames[] = { NULL };
1250 char _ptemp[128];
1251
1252 self = self;
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames))
1254 return NULL;
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer();
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) return NULL;
1261 } if (_result) {
1262 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p");
1263 _resultobj = Py_BuildValue("s",_ptemp);
1264 } else {
1265 Py_INCREF(Py_None);
1266 _resultobj = Py_None;
1267 }
1268 return _resultobj;
1269 }
1270
1271 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1272 static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject * _resultobj;
1274 wxPyGridCellRenderer * _arg0;
1275 PyObject * _arg1;
1276 PyObject * _arg2;
1277 PyObject * _argo0 = 0;
1278 PyObject * _obj1 = 0;
1279 PyObject * _obj2 = 0;
1280 char *_kwnames[] = { "self","self","_class", NULL };
1281
1282 self = self;
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1284 return NULL;
1285 if (_argo0) {
1286 if (_argo0 == Py_None) { _arg0 = NULL; }
1287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1289 return NULL;
1290 }
1291 }
1292 {
1293 _arg1 = _obj1;
1294 }
1295 {
1296 _arg2 = _obj2;
1297 }
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2);
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) return NULL;
1304 } Py_INCREF(Py_None);
1305 _resultobj = Py_None;
1306 return _resultobj;
1307 }
1308
1309 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1310 static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1311 PyObject * _resultobj;
1312 wxPyGridCellRenderer * _arg0;
1313 wxString * _arg1;
1314 PyObject * _argo0 = 0;
1315 PyObject * _obj1 = 0;
1316 char *_kwnames[] = { "self","params", NULL };
1317
1318 self = self;
1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1))
1320 return NULL;
1321 if (_argo0) {
1322 if (_argo0 == Py_None) { _arg0 = NULL; }
1323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) {
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1325 return NULL;
1326 }
1327 }
1328 {
1329 _arg1 = wxString_in_helper(_obj1);
1330 if (_arg1 == NULL)
1331 return NULL;
1332 }
1333 {
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1);
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) return NULL;
1339 } Py_INCREF(Py_None);
1340 _resultobj = Py_None;
1341 {
1342 if (_obj1)
1343 delete _arg1;
1344 }
1345 return _resultobj;
1346 }
1347
1348 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) {
1349 wxGridCellStringRenderer *src;
1350 wxGridCellRenderer *dest;
1351 src = (wxGridCellStringRenderer *) ptr;
1352 dest = (wxGridCellRenderer *) src;
1353 return (void *) dest;
1354 }
1355
1356 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1357 static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1358 PyObject * _resultobj;
1359 wxGridCellStringRenderer * _result;
1360 char *_kwnames[] = { NULL };
1361 char _ptemp[128];
1362
1363 self = self;
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames))
1365 return NULL;
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer();
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) return NULL;
1372 } if (_result) {
1373 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p");
1374 _resultobj = Py_BuildValue("s",_ptemp);
1375 } else {
1376 Py_INCREF(Py_None);
1377 _resultobj = Py_None;
1378 }
1379 return _resultobj;
1380 }
1381
1382 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) {
1383 wxGridCellNumberRenderer *src;
1384 wxGridCellStringRenderer *dest;
1385 src = (wxGridCellNumberRenderer *) ptr;
1386 dest = (wxGridCellStringRenderer *) src;
1387 return (void *) dest;
1388 }
1389
1390 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) {
1391 wxGridCellNumberRenderer *src;
1392 wxGridCellRenderer *dest;
1393 src = (wxGridCellNumberRenderer *) ptr;
1394 dest = (wxGridCellRenderer *) src;
1395 return (void *) dest;
1396 }
1397
1398 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1399 static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject * _resultobj;
1401 wxGridCellNumberRenderer * _result;
1402 char *_kwnames[] = { NULL };
1403 char _ptemp[128];
1404
1405 self = self;
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames))
1407 return NULL;
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer();
1411
1412 wxPyEndAllowThreads(__tstate);
1413 if (PyErr_Occurred()) return NULL;
1414 } if (_result) {
1415 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p");
1416 _resultobj = Py_BuildValue("s",_ptemp);
1417 } else {
1418 Py_INCREF(Py_None);
1419 _resultobj = Py_None;
1420 }
1421 return _resultobj;
1422 }
1423
1424 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) {
1425 wxGridCellFloatRenderer *src;
1426 wxGridCellStringRenderer *dest;
1427 src = (wxGridCellFloatRenderer *) ptr;
1428 dest = (wxGridCellStringRenderer *) src;
1429 return (void *) dest;
1430 }
1431
1432 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) {
1433 wxGridCellFloatRenderer *src;
1434 wxGridCellRenderer *dest;
1435 src = (wxGridCellFloatRenderer *) ptr;
1436 dest = (wxGridCellRenderer *) src;
1437 return (void *) dest;
1438 }
1439
1440 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1441 static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1442 PyObject * _resultobj;
1443 wxGridCellFloatRenderer * _result;
1444 int _arg0 = (int ) -1;
1445 int _arg1 = (int ) -1;
1446 char *_kwnames[] = { "width","precision", NULL };
1447 char _ptemp[128];
1448
1449 self = self;
1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1))
1451 return NULL;
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) return NULL;
1458 } if (_result) {
1459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p");
1460 _resultobj = Py_BuildValue("s",_ptemp);
1461 } else {
1462 Py_INCREF(Py_None);
1463 _resultobj = Py_None;
1464 }
1465 return _resultobj;
1466 }
1467
1468 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1469 static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1470 PyObject * _resultobj;
1471 int _result;
1472 wxGridCellFloatRenderer * _arg0;
1473 PyObject * _argo0 = 0;
1474 char *_kwnames[] = { "self", NULL };
1475
1476 self = self;
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0))
1478 return NULL;
1479 if (_argo0) {
1480 if (_argo0 == Py_None) { _arg0 = NULL; }
1481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1483 return NULL;
1484 }
1485 }
1486 {
1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
1488 _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0);
1489
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) return NULL;
1492 } _resultobj = Py_BuildValue("i",_result);
1493 return _resultobj;
1494 }
1495
1496 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1497 static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1498 PyObject * _resultobj;
1499 wxGridCellFloatRenderer * _arg0;
1500 int _arg1;
1501 PyObject * _argo0 = 0;
1502 char *_kwnames[] = { "self","width", NULL };
1503
1504 self = self;
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1))
1506 return NULL;
1507 if (_argo0) {
1508 if (_argo0 == Py_None) { _arg0 = NULL; }
1509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1511 return NULL;
1512 }
1513 }
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 wxGridCellFloatRenderer_SetWidth(_arg0,_arg1);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) return NULL;
1520 } Py_INCREF(Py_None);
1521 _resultobj = Py_None;
1522 return _resultobj;
1523 }
1524
1525 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1526 static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject * _resultobj;
1528 int _result;
1529 wxGridCellFloatRenderer * _arg0;
1530 PyObject * _argo0 = 0;
1531 char *_kwnames[] = { "self", NULL };
1532
1533 self = self;
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0))
1535 return NULL;
1536 if (_argo0) {
1537 if (_argo0 == Py_None) { _arg0 = NULL; }
1538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1540 return NULL;
1541 }
1542 }
1543 {
1544 PyThreadState* __tstate = wxPyBeginAllowThreads();
1545 _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0);
1546
1547 wxPyEndAllowThreads(__tstate);
1548 if (PyErr_Occurred()) return NULL;
1549 } _resultobj = Py_BuildValue("i",_result);
1550 return _resultobj;
1551 }
1552
1553 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1554 static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) {
1555 PyObject * _resultobj;
1556 wxGridCellFloatRenderer * _arg0;
1557 int _arg1;
1558 PyObject * _argo0 = 0;
1559 char *_kwnames[] = { "self","precision", NULL };
1560
1561 self = self;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1))
1563 return NULL;
1564 if (_argo0) {
1565 if (_argo0 == Py_None) { _arg0 = NULL; }
1566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) {
1567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1568 return NULL;
1569 }
1570 }
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) return NULL;
1577 } Py_INCREF(Py_None);
1578 _resultobj = Py_None;
1579 return _resultobj;
1580 }
1581
1582 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) {
1583 wxGridCellBoolRenderer *src;
1584 wxGridCellRenderer *dest;
1585 src = (wxGridCellBoolRenderer *) ptr;
1586 dest = (wxGridCellRenderer *) src;
1587 return (void *) dest;
1588 }
1589
1590 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1591 static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject * _resultobj;
1593 wxGridCellBoolRenderer * _result;
1594 char *_kwnames[] = { NULL };
1595 char _ptemp[128];
1596
1597 self = self;
1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames))
1599 return NULL;
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer();
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) return NULL;
1606 } if (_result) {
1607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p");
1608 _resultobj = Py_BuildValue("s",_ptemp);
1609 } else {
1610 Py_INCREF(Py_None);
1611 _resultobj = Py_None;
1612 }
1613 return _resultobj;
1614 }
1615
1616 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) {
1617 wxGridCellDateTimeRenderer *src;
1618 wxGridCellStringRenderer *dest;
1619 src = (wxGridCellDateTimeRenderer *) ptr;
1620 dest = (wxGridCellStringRenderer *) src;
1621 return (void *) dest;
1622 }
1623
1624 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) {
1625 wxGridCellDateTimeRenderer *src;
1626 wxGridCellRenderer *dest;
1627 src = (wxGridCellDateTimeRenderer *) ptr;
1628 dest = (wxGridCellRenderer *) src;
1629 return (void *) dest;
1630 }
1631
1632 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1633 static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1634 PyObject * _resultobj;
1635 wxGridCellDateTimeRenderer * _result;
1636 wxString * _arg0 = (wxString *) &wxPyDateTimeFormatStr;
1637 wxString * _arg1 = (wxString *) &wxPyDateTimeFormatStr;
1638 PyObject * _obj0 = 0;
1639 PyObject * _obj1 = 0;
1640 char *_kwnames[] = { "outformat","informat", NULL };
1641 char _ptemp[128];
1642
1643 self = self;
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1))
1645 return NULL;
1646 if (_obj0)
1647 {
1648 _arg0 = wxString_in_helper(_obj0);
1649 if (_arg0 == NULL)
1650 return NULL;
1651 }
1652 if (_obj1)
1653 {
1654 _arg1 = wxString_in_helper(_obj1);
1655 if (_arg1 == NULL)
1656 return NULL;
1657 }
1658 {
1659 PyThreadState* __tstate = wxPyBeginAllowThreads();
1660 _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1);
1661
1662 wxPyEndAllowThreads(__tstate);
1663 if (PyErr_Occurred()) return NULL;
1664 } if (_result) {
1665 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p");
1666 _resultobj = Py_BuildValue("s",_ptemp);
1667 } else {
1668 Py_INCREF(Py_None);
1669 _resultobj = Py_None;
1670 }
1671 {
1672 if (_obj0)
1673 delete _arg0;
1674 }
1675 {
1676 if (_obj1)
1677 delete _arg1;
1678 }
1679 return _resultobj;
1680 }
1681
1682 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) {
1683 wxGridCellEnumRenderer *src;
1684 wxGridCellStringRenderer *dest;
1685 src = (wxGridCellEnumRenderer *) ptr;
1686 dest = (wxGridCellStringRenderer *) src;
1687 return (void *) dest;
1688 }
1689
1690 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) {
1691 wxGridCellEnumRenderer *src;
1692 wxGridCellRenderer *dest;
1693 src = (wxGridCellEnumRenderer *) ptr;
1694 dest = (wxGridCellRenderer *) src;
1695 return (void *) dest;
1696 }
1697
1698 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1699 static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1700 PyObject * _resultobj;
1701 wxGridCellEnumRenderer * _result;
1702 wxString * _arg0 = (wxString *) &wxPyEmptyString;
1703 PyObject * _obj0 = 0;
1704 char *_kwnames[] = { "choices", NULL };
1705 char _ptemp[128];
1706
1707 self = self;
1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0))
1709 return NULL;
1710 if (_obj0)
1711 {
1712 _arg0 = wxString_LIST_helper(_obj0);
1713 if (_arg0 == NULL) {
1714 return NULL;
1715 }
1716 }
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
1719 _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0);
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) return NULL;
1723 } if (_result) {
1724 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p");
1725 _resultobj = Py_BuildValue("s",_ptemp);
1726 } else {
1727 Py_INCREF(Py_None);
1728 _resultobj = Py_None;
1729 }
1730 {
1731 delete [] _arg0;
1732 }
1733 return _resultobj;
1734 }
1735
1736 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) {
1737 wxGridCellAutoWrapStringRenderer *src;
1738 wxGridCellStringRenderer *dest;
1739 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1740 dest = (wxGridCellStringRenderer *) src;
1741 return (void *) dest;
1742 }
1743
1744 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) {
1745 wxGridCellAutoWrapStringRenderer *src;
1746 wxGridCellRenderer *dest;
1747 src = (wxGridCellAutoWrapStringRenderer *) ptr;
1748 dest = (wxGridCellRenderer *) src;
1749 return (void *) dest;
1750 }
1751
1752 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1753 static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject * _resultobj;
1755 wxGridCellAutoWrapStringRenderer * _result;
1756 char *_kwnames[] = { NULL };
1757 char _ptemp[128];
1758
1759 self = self;
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames))
1761 return NULL;
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer();
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) return NULL;
1768 } if (_result) {
1769 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p");
1770 _resultobj = Py_BuildValue("s",_ptemp);
1771 } else {
1772 Py_INCREF(Py_None);
1773 _resultobj = Py_None;
1774 }
1775 return _resultobj;
1776 }
1777
1778 static void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject * _self) {
1779 self->SetClientObject(new wxPyOORClientData(_self));
1780 }
1781 static PyObject *_wrap_wxGridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1782 PyObject * _resultobj;
1783 wxGridCellEditor * _arg0;
1784 PyObject * _arg1;
1785 PyObject * _argo0 = 0;
1786 PyObject * _obj1 = 0;
1787 char *_kwnames[] = { "self","_self", NULL };
1788
1789 self = self;
1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor__setOORInfo",_kwnames,&_argo0,&_obj1))
1791 return NULL;
1792 if (_argo0) {
1793 if (_argo0 == Py_None) { _arg0 = NULL; }
1794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p.");
1796 return NULL;
1797 }
1798 }
1799 {
1800 _arg1 = _obj1;
1801 }
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 wxGridCellEditor__setOORInfo(_arg0,_arg1);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) return NULL;
1808 } Py_INCREF(Py_None);
1809 _resultobj = Py_None;
1810 return _resultobj;
1811 }
1812
1813 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1814 static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject * _resultobj;
1816 bool _result;
1817 wxGridCellEditor * _arg0;
1818 PyObject * _argo0 = 0;
1819 char *_kwnames[] = { "self", NULL };
1820
1821 self = self;
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0))
1823 return NULL;
1824 if (_argo0) {
1825 if (_argo0 == Py_None) { _arg0 = NULL; }
1826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1828 return NULL;
1829 }
1830 }
1831 {
1832 PyThreadState* __tstate = wxPyBeginAllowThreads();
1833 _result = (bool )wxGridCellEditor_IsCreated(_arg0);
1834
1835 wxPyEndAllowThreads(__tstate);
1836 if (PyErr_Occurred()) return NULL;
1837 } _resultobj = Py_BuildValue("i",_result);
1838 return _resultobj;
1839 }
1840
1841 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1842 static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject * _resultobj;
1844 wxControl * _result;
1845 wxGridCellEditor * _arg0;
1846 PyObject * _argo0 = 0;
1847 char *_kwnames[] = { "self", NULL };
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1856 return NULL;
1857 }
1858 }
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 _result = (wxControl *)wxGridCellEditor_GetControl(_arg0);
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) return NULL;
1865 }{ _resultobj = wxPyMake_wxObject(_result); }
1866 return _resultobj;
1867 }
1868
1869 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1870 static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject * _resultobj;
1872 wxGridCellEditor * _arg0;
1873 wxControl * _arg1;
1874 PyObject * _argo0 = 0;
1875 PyObject * _argo1 = 0;
1876 char *_kwnames[] = { "self","control", NULL };
1877
1878 self = self;
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1))
1880 return NULL;
1881 if (_argo0) {
1882 if (_argo0 == Py_None) { _arg0 = NULL; }
1883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1885 return NULL;
1886 }
1887 }
1888 if (_argo1) {
1889 if (_argo1 == Py_None) { _arg1 = NULL; }
1890 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1891 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1892 return NULL;
1893 }
1894 }
1895 {
1896 PyThreadState* __tstate = wxPyBeginAllowThreads();
1897 wxGridCellEditor_SetControl(_arg0,_arg1);
1898
1899 wxPyEndAllowThreads(__tstate);
1900 if (PyErr_Occurred()) return NULL;
1901 } Py_INCREF(Py_None);
1902 _resultobj = Py_None;
1903 return _resultobj;
1904 }
1905
1906 #define wxGridCellEditor_GetCellAttr(_swigobj) (_swigobj->GetCellAttr())
1907 static PyObject *_wrap_wxGridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject * _resultobj;
1909 wxGridCellAttr * _result;
1910 wxGridCellEditor * _arg0;
1911 PyObject * _argo0 = 0;
1912 char *_kwnames[] = { "self", NULL };
1913
1914 self = self;
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetCellAttr",_kwnames,&_argo0))
1916 return NULL;
1917 if (_argo0) {
1918 if (_argo0 == Py_None) { _arg0 = NULL; }
1919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetCellAttr. Expected _wxGridCellEditor_p.");
1921 return NULL;
1922 }
1923 }
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 _result = (wxGridCellAttr *)wxGridCellEditor_GetCellAttr(_arg0);
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) return NULL;
1930 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
1931 return _resultobj;
1932 }
1933
1934 #define wxGridCellEditor_SetCellAttr(_swigobj,_swigarg0) (_swigobj->SetCellAttr(_swigarg0))
1935 static PyObject *_wrap_wxGridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject * _resultobj;
1937 wxGridCellEditor * _arg0;
1938 wxGridCellAttr * _arg1;
1939 PyObject * _argo0 = 0;
1940 PyObject * _argo1 = 0;
1941 char *_kwnames[] = { "self","attr", NULL };
1942
1943 self = self;
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetCellAttr",_kwnames,&_argo0,&_argo1))
1945 return NULL;
1946 if (_argo0) {
1947 if (_argo0 == Py_None) { _arg0 = NULL; }
1948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellEditor_p.");
1950 return NULL;
1951 }
1952 }
1953 if (_argo1) {
1954 if (_argo1 == Py_None) { _arg1 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellAttr_p.");
1957 return NULL;
1958 }
1959 }
1960 {
1961 PyThreadState* __tstate = wxPyBeginAllowThreads();
1962 wxGridCellEditor_SetCellAttr(_arg0,_arg1);
1963
1964 wxPyEndAllowThreads(__tstate);
1965 if (PyErr_Occurred()) return NULL;
1966 } Py_INCREF(Py_None);
1967 _resultobj = Py_None;
1968 return _resultobj;
1969 }
1970
1971 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1972 static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
1973 PyObject * _resultobj;
1974 wxGridCellEditor * _arg0;
1975 wxString * _arg1;
1976 PyObject * _argo0 = 0;
1977 PyObject * _obj1 = 0;
1978 char *_kwnames[] = { "self","params", NULL };
1979
1980 self = self;
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1))
1982 return NULL;
1983 if (_argo0) {
1984 if (_argo0 == Py_None) { _arg0 = NULL; }
1985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
1986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1987 return NULL;
1988 }
1989 }
1990 {
1991 _arg1 = wxString_in_helper(_obj1);
1992 if (_arg1 == NULL)
1993 return NULL;
1994 }
1995 {
1996 PyThreadState* __tstate = wxPyBeginAllowThreads();
1997 wxGridCellEditor_SetParameters(_arg0,*_arg1);
1998
1999 wxPyEndAllowThreads(__tstate);
2000 if (PyErr_Occurred()) return NULL;
2001 } Py_INCREF(Py_None);
2002 _resultobj = Py_None;
2003 {
2004 if (_obj1)
2005 delete _arg1;
2006 }
2007 return _resultobj;
2008 }
2009
2010 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
2011 static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject * _resultobj;
2013 wxGridCellEditor * _arg0;
2014 PyObject * _argo0 = 0;
2015 char *_kwnames[] = { "self", NULL };
2016
2017 self = self;
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0))
2019 return NULL;
2020 if (_argo0) {
2021 if (_argo0 == Py_None) { _arg0 = NULL; }
2022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
2024 return NULL;
2025 }
2026 }
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 wxGridCellEditor_IncRef(_arg0);
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) return NULL;
2033 } Py_INCREF(Py_None);
2034 _resultobj = Py_None;
2035 return _resultobj;
2036 }
2037
2038 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
2039 static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject * _resultobj;
2041 wxGridCellEditor * _arg0;
2042 PyObject * _argo0 = 0;
2043 char *_kwnames[] = { "self", NULL };
2044
2045 self = self;
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0))
2047 return NULL;
2048 if (_argo0) {
2049 if (_argo0 == Py_None) { _arg0 = NULL; }
2050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
2052 return NULL;
2053 }
2054 }
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 wxGridCellEditor_DecRef(_arg0);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) return NULL;
2061 } Py_INCREF(Py_None);
2062 _resultobj = Py_None;
2063 return _resultobj;
2064 }
2065
2066 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
2067 static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject * _resultobj;
2069 wxGridCellEditor * _arg0;
2070 wxWindow * _arg1;
2071 wxWindowID _arg2;
2072 wxEvtHandler * _arg3;
2073 PyObject * _argo0 = 0;
2074 PyObject * _argo1 = 0;
2075 PyObject * _argo3 = 0;
2076 char *_kwnames[] = { "self","parent","id","evtHandler", NULL };
2077
2078 self = self;
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3))
2080 return NULL;
2081 if (_argo0) {
2082 if (_argo0 == Py_None) { _arg0 = NULL; }
2083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
2085 return NULL;
2086 }
2087 }
2088 if (_argo1) {
2089 if (_argo1 == Py_None) { _arg1 = NULL; }
2090 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
2092 return NULL;
2093 }
2094 }
2095 if (_argo3) {
2096 if (_argo3 == Py_None) { _arg3 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) {
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
2099 return NULL;
2100 }
2101 }
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) return NULL;
2108 } Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 return _resultobj;
2111 }
2112
2113 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
2114 static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject * _resultobj;
2116 wxGridCellEditor * _arg0;
2117 int _arg1;
2118 int _arg2;
2119 wxGrid * _arg3;
2120 PyObject * _argo0 = 0;
2121 PyObject * _argo3 = 0;
2122 char *_kwnames[] = { "self","row","col","grid", NULL };
2123
2124 self = self;
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2126 return NULL;
2127 if (_argo0) {
2128 if (_argo0 == Py_None) { _arg0 = NULL; }
2129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
2131 return NULL;
2132 }
2133 }
2134 if (_argo3) {
2135 if (_argo3 == Py_None) { _arg3 = NULL; }
2136 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2137 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2138 return NULL;
2139 }
2140 }
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) return NULL;
2147 } Py_INCREF(Py_None);
2148 _resultobj = Py_None;
2149 return _resultobj;
2150 }
2151
2152 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2153 static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject * _resultobj;
2155 bool _result;
2156 wxGridCellEditor * _arg0;
2157 int _arg1;
2158 int _arg2;
2159 wxGrid * _arg3;
2160 PyObject * _argo0 = 0;
2161 PyObject * _argo3 = 0;
2162 char *_kwnames[] = { "self","row","col","grid", NULL };
2163
2164 self = self;
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
2166 return NULL;
2167 if (_argo0) {
2168 if (_argo0 == Py_None) { _arg0 = NULL; }
2169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2171 return NULL;
2172 }
2173 }
2174 if (_argo3) {
2175 if (_argo3 == Py_None) { _arg3 = NULL; }
2176 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) {
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2178 return NULL;
2179 }
2180 }
2181 {
2182 PyThreadState* __tstate = wxPyBeginAllowThreads();
2183 _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3);
2184
2185 wxPyEndAllowThreads(__tstate);
2186 if (PyErr_Occurred()) return NULL;
2187 } _resultobj = Py_BuildValue("i",_result);
2188 return _resultobj;
2189 }
2190
2191 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2192 static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject * _resultobj;
2194 wxGridCellEditor * _arg0;
2195 PyObject * _argo0 = 0;
2196 char *_kwnames[] = { "self", NULL };
2197
2198 self = self;
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0))
2200 return NULL;
2201 if (_argo0) {
2202 if (_argo0 == Py_None) { _arg0 = NULL; }
2203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2205 return NULL;
2206 }
2207 }
2208 {
2209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2210 wxGridCellEditor_Reset(_arg0);
2211
2212 wxPyEndAllowThreads(__tstate);
2213 if (PyErr_Occurred()) return NULL;
2214 } Py_INCREF(Py_None);
2215 _resultobj = Py_None;
2216 return _resultobj;
2217 }
2218
2219 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2220 static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject * _resultobj;
2222 wxGridCellEditor * _result;
2223 wxGridCellEditor * _arg0;
2224 PyObject * _argo0 = 0;
2225 char *_kwnames[] = { "self", NULL };
2226
2227 self = self;
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0))
2229 return NULL;
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2234 return NULL;
2235 }
2236 }
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0);
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) return NULL;
2243 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
2244 return _resultobj;
2245 }
2246
2247 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2248 static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2249 PyObject * _resultobj;
2250 wxGridCellEditor * _arg0;
2251 wxRect * _arg1;
2252 PyObject * _argo0 = 0;
2253 wxRect temp;
2254 PyObject * _obj1 = 0;
2255 char *_kwnames[] = { "self","rect", NULL };
2256
2257 self = self;
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1))
2259 return NULL;
2260 if (_argo0) {
2261 if (_argo0 == Py_None) { _arg0 = NULL; }
2262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2264 return NULL;
2265 }
2266 }
2267 {
2268 _arg1 = &temp;
2269 if (! wxRect_helper(_obj1, &_arg1))
2270 return NULL;
2271 }
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 wxGridCellEditor_SetSize(_arg0,*_arg1);
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) return NULL;
2278 } Py_INCREF(Py_None);
2279 _resultobj = Py_None;
2280 return _resultobj;
2281 }
2282
2283 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2284 static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject * _resultobj;
2286 wxGridCellEditor * _arg0;
2287 bool _arg1;
2288 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2289 PyObject * _argo0 = 0;
2290 int tempbool1;
2291 PyObject * _argo2 = 0;
2292 char *_kwnames[] = { "self","show","attr", NULL };
2293
2294 self = self;
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2296 return NULL;
2297 if (_argo0) {
2298 if (_argo0 == Py_None) { _arg0 = NULL; }
2299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2301 return NULL;
2302 }
2303 }
2304 _arg1 = (bool ) tempbool1;
2305 if (_argo2) {
2306 if (_argo2 == Py_None) { _arg2 = NULL; }
2307 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2308 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2309 return NULL;
2310 }
2311 }
2312 {
2313 PyThreadState* __tstate = wxPyBeginAllowThreads();
2314 wxGridCellEditor_Show(_arg0,_arg1,_arg2);
2315
2316 wxPyEndAllowThreads(__tstate);
2317 if (PyErr_Occurred()) return NULL;
2318 } Py_INCREF(Py_None);
2319 _resultobj = Py_None;
2320 return _resultobj;
2321 }
2322
2323 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2324 static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject * _resultobj;
2326 wxGridCellEditor * _arg0;
2327 wxRect * _arg1;
2328 wxGridCellAttr * _arg2;
2329 PyObject * _argo0 = 0;
2330 wxRect temp;
2331 PyObject * _obj1 = 0;
2332 PyObject * _argo2 = 0;
2333 char *_kwnames[] = { "self","rectCell","attr", NULL };
2334
2335 self = self;
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2337 return NULL;
2338 if (_argo0) {
2339 if (_argo0 == Py_None) { _arg0 = NULL; }
2340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2342 return NULL;
2343 }
2344 }
2345 {
2346 _arg1 = &temp;
2347 if (! wxRect_helper(_obj1, &_arg1))
2348 return NULL;
2349 }
2350 if (_argo2) {
2351 if (_argo2 == Py_None) { _arg2 = NULL; }
2352 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2353 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2354 return NULL;
2355 }
2356 }
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) return NULL;
2363 } Py_INCREF(Py_None);
2364 _resultobj = Py_None;
2365 return _resultobj;
2366 }
2367
2368 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2369 static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject * _resultobj;
2371 bool _result;
2372 wxGridCellEditor * _arg0;
2373 wxKeyEvent * _arg1;
2374 PyObject * _argo0 = 0;
2375 PyObject * _argo1 = 0;
2376 char *_kwnames[] = { "self","event", NULL };
2377
2378 self = self;
2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2380 return NULL;
2381 if (_argo0) {
2382 if (_argo0 == Py_None) { _arg0 = NULL; }
2383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2385 return NULL;
2386 }
2387 }
2388 if (_argo1) {
2389 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2390 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2391 return NULL;
2392 }
2393 }
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) return NULL;
2400 } _resultobj = Py_BuildValue("i",_result);
2401 return _resultobj;
2402 }
2403
2404 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2405 static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2406 PyObject * _resultobj;
2407 wxGridCellEditor * _arg0;
2408 wxKeyEvent * _arg1;
2409 PyObject * _argo0 = 0;
2410 PyObject * _argo1 = 0;
2411 char *_kwnames[] = { "self","event", NULL };
2412
2413 self = self;
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1))
2415 return NULL;
2416 if (_argo0) {
2417 if (_argo0 == Py_None) { _arg0 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2420 return NULL;
2421 }
2422 }
2423 if (_argo1) {
2424 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2426 return NULL;
2427 }
2428 }
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
2431 wxGridCellEditor_StartingKey(_arg0,*_arg1);
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) return NULL;
2435 } Py_INCREF(Py_None);
2436 _resultobj = Py_None;
2437 return _resultobj;
2438 }
2439
2440 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2441 static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject * _resultobj;
2443 wxGridCellEditor * _arg0;
2444 PyObject * _argo0 = 0;
2445 char *_kwnames[] = { "self", NULL };
2446
2447 self = self;
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0))
2449 return NULL;
2450 if (_argo0) {
2451 if (_argo0 == Py_None) { _arg0 = NULL; }
2452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2454 return NULL;
2455 }
2456 }
2457 {
2458 PyThreadState* __tstate = wxPyBeginAllowThreads();
2459 wxGridCellEditor_StartingClick(_arg0);
2460
2461 wxPyEndAllowThreads(__tstate);
2462 if (PyErr_Occurred()) return NULL;
2463 } Py_INCREF(Py_None);
2464 _resultobj = Py_None;
2465 return _resultobj;
2466 }
2467
2468 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2469 static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject * _resultobj;
2471 wxGridCellEditor * _arg0;
2472 wxKeyEvent * _arg1;
2473 PyObject * _argo0 = 0;
2474 PyObject * _argo1 = 0;
2475 char *_kwnames[] = { "self","event", NULL };
2476
2477 self = self;
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1))
2479 return NULL;
2480 if (_argo0) {
2481 if (_argo0 == Py_None) { _arg0 = NULL; }
2482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2484 return NULL;
2485 }
2486 }
2487 if (_argo1) {
2488 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2489 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2490 return NULL;
2491 }
2492 }
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
2495 wxGridCellEditor_HandleReturn(_arg0,*_arg1);
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) return NULL;
2499 } Py_INCREF(Py_None);
2500 _resultobj = Py_None;
2501 return _resultobj;
2502 }
2503
2504 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2505 static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2506 PyObject * _resultobj;
2507 wxGridCellEditor * _arg0;
2508 PyObject * _argo0 = 0;
2509 char *_kwnames[] = { "self", NULL };
2510
2511 self = self;
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0))
2513 return NULL;
2514 if (_argo0) {
2515 if (_argo0 == Py_None) { _arg0 = NULL; }
2516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2518 return NULL;
2519 }
2520 }
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 wxGridCellEditor_Destroy(_arg0);
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) return NULL;
2527 } Py_INCREF(Py_None);
2528 _resultobj = Py_None;
2529 return _resultobj;
2530 }
2531
2532 #define wxGridCellEditor_GetValue(_swigobj) (_swigobj->GetValue())
2533 static PyObject *_wrap_wxGridCellEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2534 PyObject * _resultobj;
2535 wxString * _result;
2536 wxGridCellEditor * _arg0;
2537 PyObject * _argo0 = 0;
2538 char *_kwnames[] = { "self", NULL };
2539
2540 self = self;
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetValue",_kwnames,&_argo0))
2542 return NULL;
2543 if (_argo0) {
2544 if (_argo0 == Py_None) { _arg0 = NULL; }
2545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) {
2546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetValue. Expected _wxGridCellEditor_p.");
2547 return NULL;
2548 }
2549 }
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 _result = new wxString (wxGridCellEditor_GetValue(_arg0));
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) return NULL;
2556 }{
2557 #if wxUSE_UNICODE
2558 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
2559 #else
2560 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2561 #endif
2562 }
2563 {
2564 delete _result;
2565 }
2566 return _resultobj;
2567 }
2568
2569 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) {
2570 wxPyGridCellEditor *src;
2571 wxGridCellEditor *dest;
2572 src = (wxPyGridCellEditor *) ptr;
2573 dest = (wxGridCellEditor *) src;
2574 return (void *) dest;
2575 }
2576
2577 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2578 static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
2579 PyObject * _resultobj;
2580 wxPyGridCellEditor * _result;
2581 char *_kwnames[] = { NULL };
2582 char _ptemp[128];
2583
2584 self = self;
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames))
2586 return NULL;
2587 {
2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
2589 _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor();
2590
2591 wxPyEndAllowThreads(__tstate);
2592 if (PyErr_Occurred()) return NULL;
2593 } if (_result) {
2594 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p");
2595 _resultobj = Py_BuildValue("s",_ptemp);
2596 } else {
2597 Py_INCREF(Py_None);
2598 _resultobj = Py_None;
2599 }
2600 return _resultobj;
2601 }
2602
2603 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2604 static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject * _resultobj;
2606 wxPyGridCellEditor * _arg0;
2607 PyObject * _arg1;
2608 PyObject * _arg2;
2609 PyObject * _argo0 = 0;
2610 PyObject * _obj1 = 0;
2611 PyObject * _obj2 = 0;
2612 char *_kwnames[] = { "self","self","_class", NULL };
2613
2614 self = self;
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2616 return NULL;
2617 if (_argo0) {
2618 if (_argo0 == Py_None) { _arg0 = NULL; }
2619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2621 return NULL;
2622 }
2623 }
2624 {
2625 _arg1 = _obj1;
2626 }
2627 {
2628 _arg2 = _obj2;
2629 }
2630 {
2631 PyThreadState* __tstate = wxPyBeginAllowThreads();
2632 wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2);
2633
2634 wxPyEndAllowThreads(__tstate);
2635 if (PyErr_Occurred()) return NULL;
2636 } Py_INCREF(Py_None);
2637 _resultobj = Py_None;
2638 return _resultobj;
2639 }
2640
2641 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2642 static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject * _resultobj;
2644 wxPyGridCellEditor * _arg0;
2645 wxRect * _arg1;
2646 PyObject * _argo0 = 0;
2647 wxRect temp;
2648 PyObject * _obj1 = 0;
2649 char *_kwnames[] = { "self","rect", NULL };
2650
2651 self = self;
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1))
2653 return NULL;
2654 if (_argo0) {
2655 if (_argo0 == Py_None) { _arg0 = NULL; }
2656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2658 return NULL;
2659 }
2660 }
2661 {
2662 _arg1 = &temp;
2663 if (! wxRect_helper(_obj1, &_arg1))
2664 return NULL;
2665 }
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 wxPyGridCellEditor_base_SetSize(_arg0,*_arg1);
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) return NULL;
2672 } Py_INCREF(Py_None);
2673 _resultobj = Py_None;
2674 return _resultobj;
2675 }
2676
2677 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2678 static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject * _resultobj;
2680 wxPyGridCellEditor * _arg0;
2681 bool _arg1;
2682 wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL;
2683 PyObject * _argo0 = 0;
2684 int tempbool1;
2685 PyObject * _argo2 = 0;
2686 char *_kwnames[] = { "self","show","attr", NULL };
2687
2688 self = self;
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2))
2690 return NULL;
2691 if (_argo0) {
2692 if (_argo0 == Py_None) { _arg0 = NULL; }
2693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2695 return NULL;
2696 }
2697 }
2698 _arg1 = (bool ) tempbool1;
2699 if (_argo2) {
2700 if (_argo2 == Py_None) { _arg2 = NULL; }
2701 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2702 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2703 return NULL;
2704 }
2705 }
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) return NULL;
2712 } Py_INCREF(Py_None);
2713 _resultobj = Py_None;
2714 return _resultobj;
2715 }
2716
2717 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2718 static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2719 PyObject * _resultobj;
2720 wxPyGridCellEditor * _arg0;
2721 wxRect * _arg1;
2722 wxGridCellAttr * _arg2;
2723 PyObject * _argo0 = 0;
2724 wxRect temp;
2725 PyObject * _obj1 = 0;
2726 PyObject * _argo2 = 0;
2727 char *_kwnames[] = { "self","rectCell","attr", NULL };
2728
2729 self = self;
2730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2))
2731 return NULL;
2732 if (_argo0) {
2733 if (_argo0 == Py_None) { _arg0 = NULL; }
2734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2736 return NULL;
2737 }
2738 }
2739 {
2740 _arg1 = &temp;
2741 if (! wxRect_helper(_obj1, &_arg1))
2742 return NULL;
2743 }
2744 if (_argo2) {
2745 if (_argo2 == Py_None) { _arg2 = NULL; }
2746 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
2747 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2748 return NULL;
2749 }
2750 }
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2);
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) return NULL;
2757 } Py_INCREF(Py_None);
2758 _resultobj = Py_None;
2759 return _resultobj;
2760 }
2761
2762 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2763 static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject * _resultobj;
2765 wxPyGridCellEditor * _arg0;
2766 wxKeyEvent * _arg1;
2767 PyObject * _argo0 = 0;
2768 PyObject * _argo1 = 0;
2769 char *_kwnames[] = { "self","event", NULL };
2770
2771 self = self;
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1))
2773 return NULL;
2774 if (_argo0) {
2775 if (_argo0 == Py_None) { _arg0 = NULL; }
2776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2778 return NULL;
2779 }
2780 }
2781 if (_argo1) {
2782 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2783 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2784 return NULL;
2785 }
2786 }
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1);
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) return NULL;
2793 } Py_INCREF(Py_None);
2794 _resultobj = Py_None;
2795 return _resultobj;
2796 }
2797
2798 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2799 static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) {
2800 PyObject * _resultobj;
2801 wxPyGridCellEditor * _arg0;
2802 wxKeyEvent * _arg1;
2803 PyObject * _argo0 = 0;
2804 PyObject * _argo1 = 0;
2805 char *_kwnames[] = { "self","event", NULL };
2806
2807 self = self;
2808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1))
2809 return NULL;
2810 if (_argo0) {
2811 if (_argo0 == Py_None) { _arg0 = NULL; }
2812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2814 return NULL;
2815 }
2816 }
2817 if (_argo1) {
2818 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2819 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2820 return NULL;
2821 }
2822 }
2823 {
2824 PyThreadState* __tstate = wxPyBeginAllowThreads();
2825 wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1);
2826
2827 wxPyEndAllowThreads(__tstate);
2828 if (PyErr_Occurred()) return NULL;
2829 } Py_INCREF(Py_None);
2830 _resultobj = Py_None;
2831 return _resultobj;
2832 }
2833
2834 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2835 static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2836 PyObject * _resultobj;
2837 wxPyGridCellEditor * _arg0;
2838 PyObject * _argo0 = 0;
2839 char *_kwnames[] = { "self", NULL };
2840
2841 self = self;
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0))
2843 return NULL;
2844 if (_argo0) {
2845 if (_argo0 == Py_None) { _arg0 = NULL; }
2846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2848 return NULL;
2849 }
2850 }
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 wxPyGridCellEditor_base_StartingClick(_arg0);
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) return NULL;
2857 } Py_INCREF(Py_None);
2858 _resultobj = Py_None;
2859 return _resultobj;
2860 }
2861
2862 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2863 static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) {
2864 PyObject * _resultobj;
2865 wxPyGridCellEditor * _arg0;
2866 wxKeyEvent * _arg1;
2867 PyObject * _argo0 = 0;
2868 PyObject * _argo1 = 0;
2869 char *_kwnames[] = { "self","event", NULL };
2870
2871 self = self;
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1))
2873 return NULL;
2874 if (_argo0) {
2875 if (_argo0 == Py_None) { _arg0 = NULL; }
2876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2878 return NULL;
2879 }
2880 }
2881 if (_argo1) {
2882 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
2883 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2884 return NULL;
2885 }
2886 }
2887 {
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1);
2890
2891 wxPyEndAllowThreads(__tstate);
2892 if (PyErr_Occurred()) return NULL;
2893 } Py_INCREF(Py_None);
2894 _resultobj = Py_None;
2895 return _resultobj;
2896 }
2897
2898 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2899 static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject * _resultobj;
2901 wxPyGridCellEditor * _arg0;
2902 PyObject * _argo0 = 0;
2903 char *_kwnames[] = { "self", NULL };
2904
2905 self = self;
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0))
2907 return NULL;
2908 if (_argo0) {
2909 if (_argo0 == Py_None) { _arg0 = NULL; }
2910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2912 return NULL;
2913 }
2914 }
2915 {
2916 PyThreadState* __tstate = wxPyBeginAllowThreads();
2917 wxPyGridCellEditor_base_Destroy(_arg0);
2918
2919 wxPyEndAllowThreads(__tstate);
2920 if (PyErr_Occurred()) return NULL;
2921 } Py_INCREF(Py_None);
2922 _resultobj = Py_None;
2923 return _resultobj;
2924 }
2925
2926 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2927 static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) {
2928 PyObject * _resultobj;
2929 wxPyGridCellEditor * _arg0;
2930 wxString * _arg1;
2931 PyObject * _argo0 = 0;
2932 PyObject * _obj1 = 0;
2933 char *_kwnames[] = { "self","params", NULL };
2934
2935 self = self;
2936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1))
2937 return NULL;
2938 if (_argo0) {
2939 if (_argo0 == Py_None) { _arg0 = NULL; }
2940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2942 return NULL;
2943 }
2944 }
2945 {
2946 _arg1 = wxString_in_helper(_obj1);
2947 if (_arg1 == NULL)
2948 return NULL;
2949 }
2950 {
2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
2952 wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1);
2953
2954 wxPyEndAllowThreads(__tstate);
2955 if (PyErr_Occurred()) return NULL;
2956 } Py_INCREF(Py_None);
2957 _resultobj = Py_None;
2958 {
2959 if (_obj1)
2960 delete _arg1;
2961 }
2962 return _resultobj;
2963 }
2964
2965 #define wxPyGridCellEditor_base_GetValue(_swigobj) (_swigobj->base_GetValue())
2966 static PyObject *_wrap_wxPyGridCellEditor_base_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject * _resultobj;
2968 wxString * _result;
2969 wxPyGridCellEditor * _arg0;
2970 PyObject * _argo0 = 0;
2971 char *_kwnames[] = { "self", NULL };
2972
2973 self = self;
2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_GetValue",_kwnames,&_argo0))
2975 return NULL;
2976 if (_argo0) {
2977 if (_argo0 == Py_None) { _arg0 = NULL; }
2978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) {
2979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_GetValue. Expected _wxPyGridCellEditor_p.");
2980 return NULL;
2981 }
2982 }
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 _result = new wxString (wxPyGridCellEditor_base_GetValue(_arg0));
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) return NULL;
2989 }{
2990 #if wxUSE_UNICODE
2991 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
2992 #else
2993 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2994 #endif
2995 }
2996 {
2997 delete _result;
2998 }
2999 return _resultobj;
3000 }
3001
3002 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) {
3003 wxGridCellTextEditor *src;
3004 wxGridCellEditor *dest;
3005 src = (wxGridCellTextEditor *) ptr;
3006 dest = (wxGridCellEditor *) src;
3007 return (void *) dest;
3008 }
3009
3010 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
3011 static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3012 PyObject * _resultobj;
3013 wxGridCellTextEditor * _result;
3014 char *_kwnames[] = { NULL };
3015 char _ptemp[128];
3016
3017 self = self;
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames))
3019 return NULL;
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor();
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) return NULL;
3026 } if (_result) {
3027 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p");
3028 _resultobj = Py_BuildValue("s",_ptemp);
3029 } else {
3030 Py_INCREF(Py_None);
3031 _resultobj = Py_None;
3032 }
3033 return _resultobj;
3034 }
3035
3036 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) {
3037 wxGridCellNumberEditor *src;
3038 wxGridCellTextEditor *dest;
3039 src = (wxGridCellNumberEditor *) ptr;
3040 dest = (wxGridCellTextEditor *) src;
3041 return (void *) dest;
3042 }
3043
3044 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) {
3045 wxGridCellNumberEditor *src;
3046 wxGridCellEditor *dest;
3047 src = (wxGridCellNumberEditor *) ptr;
3048 dest = (wxGridCellEditor *) src;
3049 return (void *) dest;
3050 }
3051
3052 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
3053 static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3054 PyObject * _resultobj;
3055 wxGridCellNumberEditor * _result;
3056 int _arg0 = (int ) -1;
3057 int _arg1 = (int ) -1;
3058 char *_kwnames[] = { "min","max", NULL };
3059 char _ptemp[128];
3060
3061 self = self;
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1))
3063 return NULL;
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1);
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) return NULL;
3070 } if (_result) {
3071 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p");
3072 _resultobj = Py_BuildValue("s",_ptemp);
3073 } else {
3074 Py_INCREF(Py_None);
3075 _resultobj = Py_None;
3076 }
3077 return _resultobj;
3078 }
3079
3080 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) {
3081 wxGridCellFloatEditor *src;
3082 wxGridCellTextEditor *dest;
3083 src = (wxGridCellFloatEditor *) ptr;
3084 dest = (wxGridCellTextEditor *) src;
3085 return (void *) dest;
3086 }
3087
3088 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) {
3089 wxGridCellFloatEditor *src;
3090 wxGridCellEditor *dest;
3091 src = (wxGridCellFloatEditor *) ptr;
3092 dest = (wxGridCellEditor *) src;
3093 return (void *) dest;
3094 }
3095
3096 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
3097 static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject * _resultobj;
3099 wxGridCellFloatEditor * _result;
3100 char *_kwnames[] = { NULL };
3101 char _ptemp[128];
3102
3103 self = self;
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames))
3105 return NULL;
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor();
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) return NULL;
3112 } if (_result) {
3113 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p");
3114 _resultobj = Py_BuildValue("s",_ptemp);
3115 } else {
3116 Py_INCREF(Py_None);
3117 _resultobj = Py_None;
3118 }
3119 return _resultobj;
3120 }
3121
3122 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) {
3123 wxGridCellBoolEditor *src;
3124 wxGridCellEditor *dest;
3125 src = (wxGridCellBoolEditor *) ptr;
3126 dest = (wxGridCellEditor *) src;
3127 return (void *) dest;
3128 }
3129
3130 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
3131 static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject * _resultobj;
3133 wxGridCellBoolEditor * _result;
3134 char *_kwnames[] = { NULL };
3135 char _ptemp[128];
3136
3137 self = self;
3138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames))
3139 return NULL;
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor();
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) return NULL;
3146 } if (_result) {
3147 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p");
3148 _resultobj = Py_BuildValue("s",_ptemp);
3149 } else {
3150 Py_INCREF(Py_None);
3151 _resultobj = Py_None;
3152 }
3153 return _resultobj;
3154 }
3155
3156 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) {
3157 wxGridCellChoiceEditor *src;
3158 wxGridCellEditor *dest;
3159 src = (wxGridCellChoiceEditor *) ptr;
3160 dest = (wxGridCellEditor *) src;
3161 return (void *) dest;
3162 }
3163
3164 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
3165 static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject * _resultobj;
3167 wxGridCellChoiceEditor * _result;
3168 int _arg0 = (int ) 0;
3169 wxString * _arg1 = (wxString *) NULL;
3170 bool _arg2 = (bool ) FALSE;
3171 PyObject * _obj1 = 0;
3172 int tempbool2 = (int) FALSE;
3173 char *_kwnames[] = { "choices","allowOthers", NULL };
3174 char _ptemp[128];
3175
3176 self = self;
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2))
3178 return NULL;
3179 if (_obj1)
3180 {
3181 _arg1 = wxString_LIST_helper(_obj1);
3182 if (_arg1 == NULL) {
3183 return NULL;
3184 }
3185 }
3186 _arg2 = (bool ) tempbool2;
3187 {
3188 if (_obj1) {
3189 _arg0 = PyList_Size(_obj1);
3190 }
3191 else {
3192 _arg0 = 0;
3193 }
3194 }
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) return NULL;
3201 } if (_result) {
3202 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p");
3203 _resultobj = Py_BuildValue("s",_ptemp);
3204 } else {
3205 Py_INCREF(Py_None);
3206 _resultobj = Py_None;
3207 }
3208 {
3209 delete [] _arg1;
3210 }
3211 return _resultobj;
3212 }
3213
3214 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) {
3215 wxGridCellEnumEditor *src;
3216 wxGridCellChoiceEditor *dest;
3217 src = (wxGridCellEnumEditor *) ptr;
3218 dest = (wxGridCellChoiceEditor *) src;
3219 return (void *) dest;
3220 }
3221
3222 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) {
3223 wxGridCellEnumEditor *src;
3224 wxGridCellEditor *dest;
3225 src = (wxGridCellEnumEditor *) ptr;
3226 dest = (wxGridCellEditor *) src;
3227 return (void *) dest;
3228 }
3229
3230 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3231 static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject * _resultobj;
3233 wxGridCellEnumEditor * _result;
3234 wxString * _arg0 = (wxString *) &wxPyEmptyString;
3235 PyObject * _obj0 = 0;
3236 char *_kwnames[] = { "choices", NULL };
3237 char _ptemp[128];
3238
3239 self = self;
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0))
3241 return NULL;
3242 if (_obj0)
3243 {
3244 _arg0 = wxString_LIST_helper(_obj0);
3245 if (_arg0 == NULL) {
3246 return NULL;
3247 }
3248 }
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) return NULL;
3255 } if (_result) {
3256 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p");
3257 _resultobj = Py_BuildValue("s",_ptemp);
3258 } else {
3259 Py_INCREF(Py_None);
3260 _resultobj = Py_None;
3261 }
3262 {
3263 delete [] _arg0;
3264 }
3265 return _resultobj;
3266 }
3267
3268 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) {
3269 wxGridCellAutoWrapStringEditor *src;
3270 wxGridCellTextEditor *dest;
3271 src = (wxGridCellAutoWrapStringEditor *) ptr;
3272 dest = (wxGridCellTextEditor *) src;
3273 return (void *) dest;
3274 }
3275
3276 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) {
3277 wxGridCellAutoWrapStringEditor *src;
3278 wxGridCellEditor *dest;
3279 src = (wxGridCellAutoWrapStringEditor *) ptr;
3280 dest = (wxGridCellEditor *) src;
3281 return (void *) dest;
3282 }
3283
3284 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3285 static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3286 PyObject * _resultobj;
3287 wxGridCellAutoWrapStringEditor * _result;
3288 char *_kwnames[] = { NULL };
3289 char _ptemp[128];
3290
3291 self = self;
3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames))
3293 return NULL;
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor();
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) return NULL;
3300 } if (_result) {
3301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p");
3302 _resultobj = Py_BuildValue("s",_ptemp);
3303 } else {
3304 Py_INCREF(Py_None);
3305 _resultobj = Py_None;
3306 }
3307 return _resultobj;
3308 }
3309
3310 static void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject * _self) {
3311 self->SetClientObject(new wxPyOORClientData(_self));
3312 }
3313 static PyObject *_wrap_wxGridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3314 PyObject * _resultobj;
3315 wxGridCellAttr * _arg0;
3316 PyObject * _arg1;
3317 PyObject * _argo0 = 0;
3318 PyObject * _obj1 = 0;
3319 char *_kwnames[] = { "self","_self", NULL };
3320
3321 self = self;
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr__setOORInfo",_kwnames,&_argo0,&_obj1))
3323 return NULL;
3324 if (_argo0) {
3325 if (_argo0 == Py_None) { _arg0 = NULL; }
3326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3328 return NULL;
3329 }
3330 }
3331 {
3332 _arg1 = _obj1;
3333 }
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 wxGridCellAttr__setOORInfo(_arg0,_arg1);
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) return NULL;
3340 } Py_INCREF(Py_None);
3341 _resultobj = Py_None;
3342 return _resultobj;
3343 }
3344
3345 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3346 static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
3347 PyObject * _resultobj;
3348 wxGridCellAttr * _result;
3349 wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL;
3350 PyObject * _argo0 = 0;
3351 char *_kwnames[] = { "attrDefault", NULL };
3352 char _ptemp[128];
3353
3354 self = self;
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0))
3356 return NULL;
3357 if (_argo0) {
3358 if (_argo0 == Py_None) { _arg0 = NULL; }
3359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3361 return NULL;
3362 }
3363 }
3364 {
3365 PyThreadState* __tstate = wxPyBeginAllowThreads();
3366 _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0);
3367
3368 wxPyEndAllowThreads(__tstate);
3369 if (PyErr_Occurred()) return NULL;
3370 } if (_result) {
3371 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p");
3372 _resultobj = Py_BuildValue("s",_ptemp);
3373 } else {
3374 Py_INCREF(Py_None);
3375 _resultobj = Py_None;
3376 }
3377 return _resultobj;
3378 }
3379
3380 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3381 static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
3382 PyObject * _resultobj;
3383 wxGridCellAttr * _result;
3384 wxGridCellAttr * _arg0;
3385 PyObject * _argo0 = 0;
3386 char *_kwnames[] = { "self", NULL };
3387
3388 self = self;
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0))
3390 return NULL;
3391 if (_argo0) {
3392 if (_argo0 == Py_None) { _arg0 = NULL; }
3393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3395 return NULL;
3396 }
3397 }
3398 {
3399 PyThreadState* __tstate = wxPyBeginAllowThreads();
3400 _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0);
3401
3402 wxPyEndAllowThreads(__tstate);
3403 if (PyErr_Occurred()) return NULL;
3404 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
3405 return _resultobj;
3406 }
3407
3408 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3409 static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) {
3410 PyObject * _resultobj;
3411 wxGridCellAttr * _arg0;
3412 wxGridCellAttr * _arg1;
3413 PyObject * _argo0 = 0;
3414 PyObject * _argo1 = 0;
3415 char *_kwnames[] = { "self","mergefrom", NULL };
3416
3417 self = self;
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1))
3419 return NULL;
3420 if (_argo0) {
3421 if (_argo0 == Py_None) { _arg0 = NULL; }
3422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3424 return NULL;
3425 }
3426 }
3427 if (_argo1) {
3428 if (_argo1 == Py_None) { _arg1 = NULL; }
3429 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
3430 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3431 return NULL;
3432 }
3433 }
3434 {
3435 PyThreadState* __tstate = wxPyBeginAllowThreads();
3436 wxGridCellAttr_MergeWith(_arg0,_arg1);
3437
3438 wxPyEndAllowThreads(__tstate);
3439 if (PyErr_Occurred()) return NULL;
3440 } Py_INCREF(Py_None);
3441 _resultobj = Py_None;
3442 return _resultobj;
3443 }
3444
3445 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3446 static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject * _resultobj;
3448 wxGridCellAttr * _arg0;
3449 PyObject * _argo0 = 0;
3450 char *_kwnames[] = { "self", NULL };
3451
3452 self = self;
3453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0))
3454 return NULL;
3455 if (_argo0) {
3456 if (_argo0 == Py_None) { _arg0 = NULL; }
3457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3459 return NULL;
3460 }
3461 }
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 wxGridCellAttr_IncRef(_arg0);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) return NULL;
3468 } Py_INCREF(Py_None);
3469 _resultobj = Py_None;
3470 return _resultobj;
3471 }
3472
3473 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3474 static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) {
3475 PyObject * _resultobj;
3476 wxGridCellAttr * _arg0;
3477 PyObject * _argo0 = 0;
3478 char *_kwnames[] = { "self", NULL };
3479
3480 self = self;
3481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0))
3482 return NULL;
3483 if (_argo0) {
3484 if (_argo0 == Py_None) { _arg0 = NULL; }
3485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3487 return NULL;
3488 }
3489 }
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 wxGridCellAttr_DecRef(_arg0);
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) return NULL;
3496 } Py_INCREF(Py_None);
3497 _resultobj = Py_None;
3498 return _resultobj;
3499 }
3500
3501 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3502 static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3503 PyObject * _resultobj;
3504 wxGridCellAttr * _arg0;
3505 wxColour * _arg1;
3506 PyObject * _argo0 = 0;
3507 wxColour temp;
3508 PyObject * _obj1 = 0;
3509 char *_kwnames[] = { "self","colText", NULL };
3510
3511 self = self;
3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
3513 return NULL;
3514 if (_argo0) {
3515 if (_argo0 == Py_None) { _arg0 = NULL; }
3516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3518 return NULL;
3519 }
3520 }
3521 {
3522 _arg1 = &temp;
3523 if (! wxColour_helper(_obj1, &_arg1))
3524 return NULL;
3525 }
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 wxGridCellAttr_SetTextColour(_arg0,*_arg1);
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) return NULL;
3532 } Py_INCREF(Py_None);
3533 _resultobj = Py_None;
3534 return _resultobj;
3535 }
3536
3537 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3538 static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3539 PyObject * _resultobj;
3540 wxGridCellAttr * _arg0;
3541 wxColour * _arg1;
3542 PyObject * _argo0 = 0;
3543 wxColour temp;
3544 PyObject * _obj1 = 0;
3545 char *_kwnames[] = { "self","colBack", NULL };
3546
3547 self = self;
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3549 return NULL;
3550 if (_argo0) {
3551 if (_argo0 == Py_None) { _arg0 = NULL; }
3552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3554 return NULL;
3555 }
3556 }
3557 {
3558 _arg1 = &temp;
3559 if (! wxColour_helper(_obj1, &_arg1))
3560 return NULL;
3561 }
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) return NULL;
3568 } Py_INCREF(Py_None);
3569 _resultobj = Py_None;
3570 return _resultobj;
3571 }
3572
3573 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3574 static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject * _resultobj;
3576 wxGridCellAttr * _arg0;
3577 wxFont * _arg1;
3578 PyObject * _argo0 = 0;
3579 PyObject * _argo1 = 0;
3580 char *_kwnames[] = { "self","font", NULL };
3581
3582 self = self;
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1))
3584 return NULL;
3585 if (_argo0) {
3586 if (_argo0 == Py_None) { _arg0 = NULL; }
3587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3589 return NULL;
3590 }
3591 }
3592 if (_argo1) {
3593 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
3594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3595 return NULL;
3596 }
3597 }
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 wxGridCellAttr_SetFont(_arg0,*_arg1);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) return NULL;
3604 } Py_INCREF(Py_None);
3605 _resultobj = Py_None;
3606 return _resultobj;
3607 }
3608
3609 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3610 static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3611 PyObject * _resultobj;
3612 wxGridCellAttr * _arg0;
3613 int _arg1;
3614 int _arg2;
3615 PyObject * _argo0 = 0;
3616 char *_kwnames[] = { "self","hAlign","vAlign", NULL };
3617
3618 self = self;
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
3620 return NULL;
3621 if (_argo0) {
3622 if (_argo0 == Py_None) { _arg0 = NULL; }
3623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3625 return NULL;
3626 }
3627 }
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2);
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) return NULL;
3634 } Py_INCREF(Py_None);
3635 _resultobj = Py_None;
3636 return _resultobj;
3637 }
3638
3639 #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3640 static PyObject *_wrap_wxGridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3641 PyObject * _resultobj;
3642 wxGridCellAttr * _arg0;
3643 int _arg1;
3644 int _arg2;
3645 PyObject * _argo0 = 0;
3646 char *_kwnames[] = { "self","num_rows","num_cols", NULL };
3647
3648 self = self;
3649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
3650 return NULL;
3651 if (_argo0) {
3652 if (_argo0 == Py_None) { _arg0 = NULL; }
3653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetSize. Expected _wxGridCellAttr_p.");
3655 return NULL;
3656 }
3657 }
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 wxGridCellAttr_SetSize(_arg0,_arg1,_arg2);
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) return NULL;
3664 } Py_INCREF(Py_None);
3665 _resultobj = Py_None;
3666 return _resultobj;
3667 }
3668
3669 #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0))
3670 static PyObject *_wrap_wxGridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
3671 PyObject * _resultobj;
3672 wxGridCellAttr * _arg0;
3673 bool _arg1;
3674 PyObject * _argo0 = 0;
3675 int tempbool1;
3676 char *_kwnames[] = { "self","allow", NULL };
3677
3678 self = self;
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetOverflow",_kwnames,&_argo0,&tempbool1))
3680 return NULL;
3681 if (_argo0) {
3682 if (_argo0 == Py_None) { _arg0 = NULL; }
3683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetOverflow. Expected _wxGridCellAttr_p.");
3685 return NULL;
3686 }
3687 }
3688 _arg1 = (bool ) tempbool1;
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 wxGridCellAttr_SetOverflow(_arg0,_arg1);
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) return NULL;
3695 } Py_INCREF(Py_None);
3696 _resultobj = Py_None;
3697 return _resultobj;
3698 }
3699
3700 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3701 static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
3702 PyObject * _resultobj;
3703 wxGridCellAttr * _arg0;
3704 bool _arg1 = (bool ) TRUE;
3705 PyObject * _argo0 = 0;
3706 int tempbool1 = (int) TRUE;
3707 char *_kwnames[] = { "self","isReadOnly", NULL };
3708
3709 self = self;
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1))
3711 return NULL;
3712 if (_argo0) {
3713 if (_argo0 == Py_None) { _arg0 = NULL; }
3714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3716 return NULL;
3717 }
3718 }
3719 _arg1 = (bool ) tempbool1;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 wxGridCellAttr_SetReadOnly(_arg0,_arg1);
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) return NULL;
3726 } Py_INCREF(Py_None);
3727 _resultobj = Py_None;
3728 return _resultobj;
3729 }
3730
3731 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3732 static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3733 PyObject * _resultobj;
3734 wxGridCellAttr * _arg0;
3735 wxGridCellRenderer * _arg1;
3736 PyObject * _argo0 = 0;
3737 PyObject * _argo1 = 0;
3738 char *_kwnames[] = { "self","renderer", NULL };
3739
3740 self = self;
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1))
3742 return NULL;
3743 if (_argo0) {
3744 if (_argo0 == Py_None) { _arg0 = NULL; }
3745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3747 return NULL;
3748 }
3749 }
3750 if (_argo1) {
3751 if (_argo1 == Py_None) { _arg1 = NULL; }
3752 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
3753 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3754 return NULL;
3755 }
3756 }
3757 {
3758 PyThreadState* __tstate = wxPyBeginAllowThreads();
3759 wxGridCellAttr_SetRenderer(_arg0,_arg1);
3760
3761 wxPyEndAllowThreads(__tstate);
3762 if (PyErr_Occurred()) return NULL;
3763 } Py_INCREF(Py_None);
3764 _resultobj = Py_None;
3765 return _resultobj;
3766 }
3767
3768 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3769 static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3770 PyObject * _resultobj;
3771 wxGridCellAttr * _arg0;
3772 wxGridCellEditor * _arg1;
3773 PyObject * _argo0 = 0;
3774 PyObject * _argo1 = 0;
3775 char *_kwnames[] = { "self","editor", NULL };
3776
3777 self = self;
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1))
3779 return NULL;
3780 if (_argo0) {
3781 if (_argo0 == Py_None) { _arg0 = NULL; }
3782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3784 return NULL;
3785 }
3786 }
3787 if (_argo1) {
3788 if (_argo1 == Py_None) { _arg1 = NULL; }
3789 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
3790 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3791 return NULL;
3792 }
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 wxGridCellAttr_SetEditor(_arg0,_arg1);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) return NULL;
3800 } Py_INCREF(Py_None);
3801 _resultobj = Py_None;
3802 return _resultobj;
3803 }
3804
3805 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3806 static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
3807 PyObject * _resultobj;
3808 wxGridCellAttr * _arg0;
3809 wxGridCellAttr::wxAttrKind _arg1;
3810 PyObject * _argo0 = 0;
3811 char *_kwnames[] = { "self","kind", NULL };
3812
3813 self = self;
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1))
3815 return NULL;
3816 if (_argo0) {
3817 if (_argo0 == Py_None) { _arg0 = NULL; }
3818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3820 return NULL;
3821 }
3822 }
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 wxGridCellAttr_SetKind(_arg0,_arg1);
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) return NULL;
3829 } Py_INCREF(Py_None);
3830 _resultobj = Py_None;
3831 return _resultobj;
3832 }
3833
3834 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3835 static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3836 PyObject * _resultobj;
3837 bool _result;
3838 wxGridCellAttr * _arg0;
3839 PyObject * _argo0 = 0;
3840 char *_kwnames[] = { "self", NULL };
3841
3842 self = self;
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0))
3844 return NULL;
3845 if (_argo0) {
3846 if (_argo0 == Py_None) { _arg0 = NULL; }
3847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3849 return NULL;
3850 }
3851 }
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 _result = (bool )wxGridCellAttr_HasTextColour(_arg0);
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) return NULL;
3858 } _resultobj = Py_BuildValue("i",_result);
3859 return _resultobj;
3860 }
3861
3862 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3863 static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject * _resultobj;
3865 bool _result;
3866 wxGridCellAttr * _arg0;
3867 PyObject * _argo0 = 0;
3868 char *_kwnames[] = { "self", NULL };
3869
3870 self = self;
3871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0))
3872 return NULL;
3873 if (_argo0) {
3874 if (_argo0 == Py_None) { _arg0 = NULL; }
3875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3877 return NULL;
3878 }
3879 }
3880 {
3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
3882 _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0);
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) return NULL;
3886 } _resultobj = Py_BuildValue("i",_result);
3887 return _resultobj;
3888 }
3889
3890 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3891 static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
3892 PyObject * _resultobj;
3893 bool _result;
3894 wxGridCellAttr * _arg0;
3895 PyObject * _argo0 = 0;
3896 char *_kwnames[] = { "self", NULL };
3897
3898 self = self;
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0))
3900 return NULL;
3901 if (_argo0) {
3902 if (_argo0 == Py_None) { _arg0 = NULL; }
3903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3905 return NULL;
3906 }
3907 }
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 _result = (bool )wxGridCellAttr_HasFont(_arg0);
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) return NULL;
3914 } _resultobj = Py_BuildValue("i",_result);
3915 return _resultobj;
3916 }
3917
3918 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3919 static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3920 PyObject * _resultobj;
3921 bool _result;
3922 wxGridCellAttr * _arg0;
3923 PyObject * _argo0 = 0;
3924 char *_kwnames[] = { "self", NULL };
3925
3926 self = self;
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0))
3928 return NULL;
3929 if (_argo0) {
3930 if (_argo0 == Py_None) { _arg0 = NULL; }
3931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3933 return NULL;
3934 }
3935 }
3936 {
3937 PyThreadState* __tstate = wxPyBeginAllowThreads();
3938 _result = (bool )wxGridCellAttr_HasAlignment(_arg0);
3939
3940 wxPyEndAllowThreads(__tstate);
3941 if (PyErr_Occurred()) return NULL;
3942 } _resultobj = Py_BuildValue("i",_result);
3943 return _resultobj;
3944 }
3945
3946 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3947 static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
3948 PyObject * _resultobj;
3949 bool _result;
3950 wxGridCellAttr * _arg0;
3951 PyObject * _argo0 = 0;
3952 char *_kwnames[] = { "self", NULL };
3953
3954 self = self;
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0))
3956 return NULL;
3957 if (_argo0) {
3958 if (_argo0 == Py_None) { _arg0 = NULL; }
3959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3961 return NULL;
3962 }
3963 }
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 _result = (bool )wxGridCellAttr_HasRenderer(_arg0);
3967
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) return NULL;
3970 } _resultobj = Py_BuildValue("i",_result);
3971 return _resultobj;
3972 }
3973
3974 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3975 static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
3976 PyObject * _resultobj;
3977 bool _result;
3978 wxGridCellAttr * _arg0;
3979 PyObject * _argo0 = 0;
3980 char *_kwnames[] = { "self", NULL };
3981
3982 self = self;
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0))
3984 return NULL;
3985 if (_argo0) {
3986 if (_argo0 == Py_None) { _arg0 = NULL; }
3987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
3988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3989 return NULL;
3990 }
3991 }
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 _result = (bool )wxGridCellAttr_HasEditor(_arg0);
3995
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) return NULL;
3998 } _resultobj = Py_BuildValue("i",_result);
3999 return _resultobj;
4000 }
4001
4002 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
4003 static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4004 PyObject * _resultobj;
4005 bool _result;
4006 wxGridCellAttr * _arg0;
4007 PyObject * _argo0 = 0;
4008 char *_kwnames[] = { "self", NULL };
4009
4010 self = self;
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0))
4012 return NULL;
4013 if (_argo0) {
4014 if (_argo0 == Py_None) { _arg0 = NULL; }
4015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
4017 return NULL;
4018 }
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) return NULL;
4026 } _resultobj = Py_BuildValue("i",_result);
4027 return _resultobj;
4028 }
4029
4030 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4031 static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4032 PyObject * _resultobj;
4033 wxColour * _result;
4034 wxGridCellAttr * _arg0;
4035 PyObject * _argo0 = 0;
4036 char *_kwnames[] = { "self", NULL };
4037 char _ptemp[128];
4038
4039 self = self;
4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0))
4041 return NULL;
4042 if (_argo0) {
4043 if (_argo0 == Py_None) { _arg0 = NULL; }
4044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
4046 return NULL;
4047 }
4048 }
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0));
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) return NULL;
4055 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4056 _resultobj = Py_BuildValue("s",_ptemp);
4057 return _resultobj;
4058 }
4059
4060 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
4061 static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject * _resultobj;
4063 wxColour * _result;
4064 wxGridCellAttr * _arg0;
4065 PyObject * _argo0 = 0;
4066 char *_kwnames[] = { "self", NULL };
4067 char _ptemp[128];
4068
4069 self = self;
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0))
4071 return NULL;
4072 if (_argo0) {
4073 if (_argo0 == Py_None) { _arg0 = NULL; }
4074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
4076 return NULL;
4077 }
4078 }
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0));
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) return NULL;
4085 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4086 _resultobj = Py_BuildValue("s",_ptemp);
4087 return _resultobj;
4088 }
4089
4090 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
4091 static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4092 PyObject * _resultobj;
4093 wxFont * _result;
4094 wxGridCellAttr * _arg0;
4095 PyObject * _argo0 = 0;
4096 char *_kwnames[] = { "self", NULL };
4097 char _ptemp[128];
4098
4099 self = self;
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0))
4101 return NULL;
4102 if (_argo0) {
4103 if (_argo0 == Py_None) { _arg0 = NULL; }
4104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
4106 return NULL;
4107 }
4108 }
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 _result = new wxFont (wxGridCellAttr_GetFont(_arg0));
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) return NULL;
4115 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
4116 _resultobj = Py_BuildValue("s",_ptemp);
4117 return _resultobj;
4118 }
4119
4120 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
4121 static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
4122 PyObject * _resultobj;
4123 wxGridCellAttr * _arg0;
4124 int * _arg1;
4125 int temp;
4126 int * _arg2;
4127 int temp0;
4128 PyObject * _argo0 = 0;
4129 char *_kwnames[] = { "self", NULL };
4130
4131 self = self;
4132 {
4133 _arg1 = &temp;
4134 }
4135 {
4136 _arg2 = &temp0;
4137 }
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0))
4139 return NULL;
4140 if (_argo0) {
4141 if (_argo0 == Py_None) { _arg0 = NULL; }
4142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
4144 return NULL;
4145 }
4146 }
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2);
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) return NULL;
4153 } Py_INCREF(Py_None);
4154 _resultobj = Py_None;
4155 {
4156 PyObject *o;
4157 o = PyInt_FromLong((long) (*_arg1));
4158 _resultobj = t_output_helper(_resultobj, o);
4159 }
4160 {
4161 PyObject *o;
4162 o = PyInt_FromLong((long) (*_arg2));
4163 _resultobj = t_output_helper(_resultobj, o);
4164 }
4165 return _resultobj;
4166 }
4167
4168 #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4169 static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject * _resultobj;
4171 wxGridCellAttr * _arg0;
4172 int * _arg1;
4173 int * _arg2;
4174 PyObject * _argo0 = 0;
4175 PyObject * _argo1 = 0;
4176 PyObject * _argo2 = 0;
4177 char *_kwnames[] = { "self","num_rows","num_cols", NULL };
4178
4179 self = self;
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellAttr_GetSize",_kwnames,&_argo0,&_argo1,&_argo2))
4181 return NULL;
4182 if (_argo0) {
4183 if (_argo0 == Py_None) { _arg0 = NULL; }
4184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4186 return NULL;
4187 }
4188 }
4189 if (_argo1) {
4190 if (_argo1 == Py_None) { _arg1 = NULL; }
4191 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
4192 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetSize. Expected _int_p.");
4193 return NULL;
4194 }
4195 }
4196 if (_argo2) {
4197 if (_argo2 == Py_None) { _arg2 = NULL; }
4198 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
4199 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellAttr_GetSize. Expected _int_p.");
4200 return NULL;
4201 }
4202 }
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 wxGridCellAttr_GetSize(_arg0,_arg1,_arg2);
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) return NULL;
4209 } Py_INCREF(Py_None);
4210 _resultobj = Py_None;
4211 return _resultobj;
4212 }
4213
4214 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4215 static PyObject *_wrap_wxGridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
4216 PyObject * _resultobj;
4217 bool _result;
4218 wxGridCellAttr * _arg0;
4219 PyObject * _argo0 = 0;
4220 char *_kwnames[] = { "self", NULL };
4221
4222 self = self;
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetOverflow",_kwnames,&_argo0))
4224 return NULL;
4225 if (_argo0) {
4226 if (_argo0 == Py_None) { _arg0 = NULL; }
4227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4229 return NULL;
4230 }
4231 }
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 _result = (bool )wxGridCellAttr_GetOverflow(_arg0);
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) return NULL;
4238 } _resultobj = Py_BuildValue("i",_result);
4239 return _resultobj;
4240 }
4241
4242 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4243 static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
4244 PyObject * _resultobj;
4245 wxGridCellRenderer * _result;
4246 wxGridCellAttr * _arg0;
4247 wxGrid * _arg1;
4248 int _arg2;
4249 int _arg3;
4250 PyObject * _argo0 = 0;
4251 PyObject * _argo1 = 0;
4252 char *_kwnames[] = { "self","grid","row","col", NULL };
4253
4254 self = self;
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4256 return NULL;
4257 if (_argo0) {
4258 if (_argo0 == Py_None) { _arg0 = NULL; }
4259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4261 return NULL;
4262 }
4263 }
4264 if (_argo1) {
4265 if (_argo1 == Py_None) { _arg1 = NULL; }
4266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4268 return NULL;
4269 }
4270 }
4271 {
4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
4273 _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3);
4274
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) return NULL;
4277 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
4278 return _resultobj;
4279 }
4280
4281 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4282 static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
4283 PyObject * _resultobj;
4284 wxGridCellEditor * _result;
4285 wxGridCellAttr * _arg0;
4286 wxGrid * _arg1;
4287 int _arg2;
4288 int _arg3;
4289 PyObject * _argo0 = 0;
4290 PyObject * _argo1 = 0;
4291 char *_kwnames[] = { "self","grid","row","col", NULL };
4292
4293 self = self;
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4295 return NULL;
4296 if (_argo0) {
4297 if (_argo0 == Py_None) { _arg0 = NULL; }
4298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4300 return NULL;
4301 }
4302 }
4303 if (_argo1) {
4304 if (_argo1 == Py_None) { _arg1 = NULL; }
4305 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
4306 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4307 return NULL;
4308 }
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) return NULL;
4316 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
4317 return _resultobj;
4318 }
4319
4320 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4321 static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject * _resultobj;
4323 bool _result;
4324 wxGridCellAttr * _arg0;
4325 PyObject * _argo0 = 0;
4326 char *_kwnames[] = { "self", NULL };
4327
4328 self = self;
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0))
4330 return NULL;
4331 if (_argo0) {
4332 if (_argo0 == Py_None) { _arg0 = NULL; }
4333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4335 return NULL;
4336 }
4337 }
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 _result = (bool )wxGridCellAttr_IsReadOnly(_arg0);
4341
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) return NULL;
4344 } _resultobj = Py_BuildValue("i",_result);
4345 return _resultobj;
4346 }
4347
4348 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4349 static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4350 PyObject * _resultobj;
4351 wxGridCellAttr * _arg0;
4352 wxGridCellAttr * _arg1;
4353 PyObject * _argo0 = 0;
4354 PyObject * _argo1 = 0;
4355 char *_kwnames[] = { "self","defAttr", NULL };
4356
4357 self = self;
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1))
4359 return NULL;
4360 if (_argo0) {
4361 if (_argo0 == Py_None) { _arg0 = NULL; }
4362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) {
4363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4364 return NULL;
4365 }
4366 }
4367 if (_argo1) {
4368 if (_argo1 == Py_None) { _arg1 = NULL; }
4369 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4370 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4371 return NULL;
4372 }
4373 }
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 wxGridCellAttr_SetDefAttr(_arg0,_arg1);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) return NULL;
4380 } Py_INCREF(Py_None);
4381 _resultobj = Py_None;
4382 return _resultobj;
4383 }
4384
4385 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4386 static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4387 PyObject * _resultobj;
4388 wxGridCellAttrProvider * _result;
4389 char *_kwnames[] = { NULL };
4390 char _ptemp[128];
4391
4392 self = self;
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames))
4394 return NULL;
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider();
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) return NULL;
4401 } if (_result) {
4402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p");
4403 _resultobj = Py_BuildValue("s",_ptemp);
4404 } else {
4405 Py_INCREF(Py_None);
4406 _resultobj = Py_None;
4407 }
4408 return _resultobj;
4409 }
4410
4411 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject * _self) {
4412 self->SetClientObject(new wxPyOORClientData(_self));
4413 }
4414 static PyObject *_wrap_wxGridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject * _resultobj;
4416 wxGridCellAttrProvider * _arg0;
4417 PyObject * _arg1;
4418 PyObject * _argo0 = 0;
4419 PyObject * _obj1 = 0;
4420 char *_kwnames[] = { "self","_self", NULL };
4421
4422 self = self;
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames,&_argo0,&_obj1))
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__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4429 return NULL;
4430 }
4431 }
4432 {
4433 _arg1 = _obj1;
4434 }
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 wxGridCellAttrProvider__setOORInfo(_arg0,_arg1);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) return NULL;
4441 } Py_INCREF(Py_None);
4442 _resultobj = Py_None;
4443 return _resultobj;
4444 }
4445
4446 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4447 static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4448 PyObject * _resultobj;
4449 wxGridCellAttr * _result;
4450 wxGridCellAttrProvider * _arg0;
4451 int _arg1;
4452 int _arg2;
4453 wxGridCellAttr::wxAttrKind _arg3;
4454 PyObject * _argo0 = 0;
4455 char *_kwnames[] = { "self","row","col","kind", NULL };
4456
4457 self = self;
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4459 return NULL;
4460 if (_argo0) {
4461 if (_argo0 == Py_None) { _arg0 = NULL; }
4462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4464 return NULL;
4465 }
4466 }
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3);
4470
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) return NULL;
4473 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4474 return _resultobj;
4475 }
4476
4477 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4478 static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4479 PyObject * _resultobj;
4480 wxGridCellAttrProvider * _arg0;
4481 wxGridCellAttr * _arg1;
4482 int _arg2;
4483 int _arg3;
4484 PyObject * _argo0 = 0;
4485 PyObject * _argo1 = 0;
4486 char *_kwnames[] = { "self","attr","row","col", NULL };
4487
4488 self = self;
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4490 return NULL;
4491 if (_argo0) {
4492 if (_argo0 == Py_None) { _arg0 = NULL; }
4493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4495 return NULL;
4496 }
4497 }
4498 if (_argo1) {
4499 if (_argo1 == Py_None) { _arg1 = NULL; }
4500 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4501 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4502 return NULL;
4503 }
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) return NULL;
4511 } Py_INCREF(Py_None);
4512 _resultobj = Py_None;
4513 return _resultobj;
4514 }
4515
4516 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4517 static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject * _resultobj;
4519 wxGridCellAttrProvider * _arg0;
4520 wxGridCellAttr * _arg1;
4521 int _arg2;
4522 PyObject * _argo0 = 0;
4523 PyObject * _argo1 = 0;
4524 char *_kwnames[] = { "self","attr","row", NULL };
4525
4526 self = self;
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4528 return NULL;
4529 if (_argo0) {
4530 if (_argo0 == Py_None) { _arg0 = NULL; }
4531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4533 return NULL;
4534 }
4535 }
4536 if (_argo1) {
4537 if (_argo1 == Py_None) { _arg1 = NULL; }
4538 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4539 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4540 return NULL;
4541 }
4542 }
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2);
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) return NULL;
4549 } Py_INCREF(Py_None);
4550 _resultobj = Py_None;
4551 return _resultobj;
4552 }
4553
4554 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4555 static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject * _resultobj;
4557 wxGridCellAttrProvider * _arg0;
4558 wxGridCellAttr * _arg1;
4559 int _arg2;
4560 PyObject * _argo0 = 0;
4561 PyObject * _argo1 = 0;
4562 char *_kwnames[] = { "self","attr","col", NULL };
4563
4564 self = self;
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4566 return NULL;
4567 if (_argo0) {
4568 if (_argo0 == Py_None) { _arg0 = NULL; }
4569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4571 return NULL;
4572 }
4573 }
4574 if (_argo1) {
4575 if (_argo1 == Py_None) { _arg1 = NULL; }
4576 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4577 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4578 return NULL;
4579 }
4580 }
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) return NULL;
4587 } Py_INCREF(Py_None);
4588 _resultobj = Py_None;
4589 return _resultobj;
4590 }
4591
4592 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4593 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject * _resultobj;
4595 wxGridCellAttrProvider * _arg0;
4596 size_t _arg1;
4597 int _arg2;
4598 PyObject * _argo0 = 0;
4599 char *_kwnames[] = { "self","pos","numRows", NULL };
4600
4601 self = self;
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2))
4603 return NULL;
4604 if (_argo0) {
4605 if (_argo0 == Py_None) { _arg0 = NULL; }
4606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4608 return NULL;
4609 }
4610 }
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2);
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) return NULL;
4617 } Py_INCREF(Py_None);
4618 _resultobj = Py_None;
4619 return _resultobj;
4620 }
4621
4622 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4623 static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) {
4624 PyObject * _resultobj;
4625 wxGridCellAttrProvider * _arg0;
4626 size_t _arg1;
4627 int _arg2;
4628 PyObject * _argo0 = 0;
4629 char *_kwnames[] = { "self","pos","numCols", NULL };
4630
4631 self = self;
4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2))
4633 return NULL;
4634 if (_argo0) {
4635 if (_argo0 == Py_None) { _arg0 = NULL; }
4636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) {
4637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4638 return NULL;
4639 }
4640 }
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2);
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 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) {
4653 wxPyGridCellAttrProvider *src;
4654 wxGridCellAttrProvider *dest;
4655 src = (wxPyGridCellAttrProvider *) ptr;
4656 dest = (wxGridCellAttrProvider *) src;
4657 return (void *) dest;
4658 }
4659
4660 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4661 static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject * _resultobj;
4663 wxPyGridCellAttrProvider * _result;
4664 char *_kwnames[] = { NULL };
4665 char _ptemp[128];
4666
4667 self = self;
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames))
4669 return NULL;
4670 {
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider();
4673
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) return NULL;
4676 } if (_result) {
4677 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p");
4678 _resultobj = Py_BuildValue("s",_ptemp);
4679 } else {
4680 Py_INCREF(Py_None);
4681 _resultobj = Py_None;
4682 }
4683 return _resultobj;
4684 }
4685
4686 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4687 static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4688 PyObject * _resultobj;
4689 wxPyGridCellAttrProvider * _arg0;
4690 PyObject * _arg1;
4691 PyObject * _arg2;
4692 PyObject * _argo0 = 0;
4693 PyObject * _obj1 = 0;
4694 PyObject * _obj2 = 0;
4695 char *_kwnames[] = { "self","self","_class", NULL };
4696
4697 self = self;
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4699 return NULL;
4700 if (_argo0) {
4701 if (_argo0 == Py_None) { _arg0 = NULL; }
4702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4704 return NULL;
4705 }
4706 }
4707 {
4708 _arg1 = _obj1;
4709 }
4710 {
4711 _arg2 = _obj2;
4712 }
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) return NULL;
4719 } Py_INCREF(Py_None);
4720 _resultobj = Py_None;
4721 return _resultobj;
4722 }
4723
4724 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4725 static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4726 PyObject * _resultobj;
4727 wxGridCellAttr * _result;
4728 wxPyGridCellAttrProvider * _arg0;
4729 int _arg1;
4730 int _arg2;
4731 wxGridCellAttr::wxAttrKind _arg3;
4732 PyObject * _argo0 = 0;
4733 char *_kwnames[] = { "self","row","col","kind", NULL };
4734
4735 self = self;
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4737 return NULL;
4738 if (_argo0) {
4739 if (_argo0 == Py_None) { _arg0 = NULL; }
4740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4742 return NULL;
4743 }
4744 }
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) return NULL;
4751 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
4752 return _resultobj;
4753 }
4754
4755 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4756 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject * _resultobj;
4758 wxPyGridCellAttrProvider * _arg0;
4759 wxGridCellAttr * _arg1;
4760 int _arg2;
4761 int _arg3;
4762 PyObject * _argo0 = 0;
4763 PyObject * _argo1 = 0;
4764 char *_kwnames[] = { "self","attr","row","col", NULL };
4765
4766 self = self;
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4768 return NULL;
4769 if (_argo0) {
4770 if (_argo0 == Py_None) { _arg0 = NULL; }
4771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4773 return NULL;
4774 }
4775 }
4776 if (_argo1) {
4777 if (_argo1 == Py_None) { _arg1 = NULL; }
4778 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4779 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4780 return NULL;
4781 }
4782 }
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) return NULL;
4789 } Py_INCREF(Py_None);
4790 _resultobj = Py_None;
4791 return _resultobj;
4792 }
4793
4794 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4795 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject * _resultobj;
4797 wxPyGridCellAttrProvider * _arg0;
4798 wxGridCellAttr * _arg1;
4799 int _arg2;
4800 PyObject * _argo0 = 0;
4801 PyObject * _argo1 = 0;
4802 char *_kwnames[] = { "self","attr","row", NULL };
4803
4804 self = self;
4805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4806 return NULL;
4807 if (_argo0) {
4808 if (_argo0 == Py_None) { _arg0 = NULL; }
4809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4811 return NULL;
4812 }
4813 }
4814 if (_argo1) {
4815 if (_argo1 == Py_None) { _arg1 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4818 return NULL;
4819 }
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) return NULL;
4827 } Py_INCREF(Py_None);
4828 _resultobj = Py_None;
4829 return _resultobj;
4830 }
4831
4832 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4833 static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject * _resultobj;
4835 wxPyGridCellAttrProvider * _arg0;
4836 wxGridCellAttr * _arg1;
4837 int _arg2;
4838 PyObject * _argo0 = 0;
4839 PyObject * _argo1 = 0;
4840 char *_kwnames[] = { "self","attr","col", NULL };
4841
4842 self = self;
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
4844 return NULL;
4845 if (_argo0) {
4846 if (_argo0 == Py_None) { _arg0 = NULL; }
4847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) {
4848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4849 return NULL;
4850 }
4851 }
4852 if (_argo1) {
4853 if (_argo1 == Py_None) { _arg1 = NULL; }
4854 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
4855 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4856 return NULL;
4857 }
4858 }
4859 {
4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4861 wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2);
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) return NULL;
4865 } Py_INCREF(Py_None);
4866 _resultobj = Py_None;
4867 return _resultobj;
4868 }
4869
4870 static void *SwigwxGridTableBaseTowxObject(void *ptr) {
4871 wxGridTableBase *src;
4872 wxObject *dest;
4873 src = (wxGridTableBase *) ptr;
4874 dest = (wxObject *) src;
4875 return (void *) dest;
4876 }
4877
4878 static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject * _self) {
4879 self->SetClientObject(new wxPyOORClientData(_self));
4880 }
4881 static PyObject *_wrap_wxGridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4882 PyObject * _resultobj;
4883 wxGridTableBase * _arg0;
4884 PyObject * _arg1;
4885 PyObject * _argo0 = 0;
4886 PyObject * _obj1 = 0;
4887 char *_kwnames[] = { "self","_self", NULL };
4888
4889 self = self;
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase__setOORInfo",_kwnames,&_argo0,&_obj1))
4891 return NULL;
4892 if (_argo0) {
4893 if (_argo0 == Py_None) { _arg0 = NULL; }
4894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
4896 return NULL;
4897 }
4898 }
4899 {
4900 _arg1 = _obj1;
4901 }
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 wxGridTableBase__setOORInfo(_arg0,_arg1);
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) return NULL;
4908 } Py_INCREF(Py_None);
4909 _resultobj = Py_None;
4910 return _resultobj;
4911 }
4912
4913 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4914 static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4915 PyObject * _resultobj;
4916 wxGridTableBase * _arg0;
4917 wxGridCellAttrProvider * _arg1;
4918 PyObject * _argo0 = 0;
4919 PyObject * _argo1 = 0;
4920 char *_kwnames[] = { "self","attrProvider", NULL };
4921
4922 self = self;
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1))
4924 return NULL;
4925 if (_argo0) {
4926 if (_argo0 == Py_None) { _arg0 = NULL; }
4927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4929 return NULL;
4930 }
4931 }
4932 if (_argo1) {
4933 if (_argo1 == Py_None) { _arg1 = NULL; }
4934 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) {
4935 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4936 return NULL;
4937 }
4938 }
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 wxGridTableBase_SetAttrProvider(_arg0,_arg1);
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) return NULL;
4945 } Py_INCREF(Py_None);
4946 _resultobj = Py_None;
4947 return _resultobj;
4948 }
4949
4950 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4951 static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
4952 PyObject * _resultobj;
4953 wxGridCellAttrProvider * _result;
4954 wxGridTableBase * _arg0;
4955 PyObject * _argo0 = 0;
4956 char *_kwnames[] = { "self", NULL };
4957
4958 self = self;
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0))
4960 return NULL;
4961 if (_argo0) {
4962 if (_argo0 == Py_None) { _arg0 = NULL; }
4963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4965 return NULL;
4966 }
4967 }
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0);
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) return NULL;
4974 }{ _resultobj = wxPyMake_wxGridCellAttrProvider(_result); }
4975 return _resultobj;
4976 }
4977
4978 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4979 static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) {
4980 PyObject * _resultobj;
4981 wxGridTableBase * _arg0;
4982 wxGrid * _arg1;
4983 PyObject * _argo0 = 0;
4984 PyObject * _argo1 = 0;
4985 char *_kwnames[] = { "self","grid", NULL };
4986
4987 self = self;
4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1))
4989 return NULL;
4990 if (_argo0) {
4991 if (_argo0 == Py_None) { _arg0 = NULL; }
4992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
4993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4994 return NULL;
4995 }
4996 }
4997 if (_argo1) {
4998 if (_argo1 == Py_None) { _arg1 = NULL; }
4999 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) {
5000 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
5001 return NULL;
5002 }
5003 }
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 wxGridTableBase_SetView(_arg0,_arg1);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) return NULL;
5010 } Py_INCREF(Py_None);
5011 _resultobj = Py_None;
5012 return _resultobj;
5013 }
5014
5015 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
5016 static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject * _resultobj;
5018 wxGrid * _result;
5019 wxGridTableBase * _arg0;
5020 PyObject * _argo0 = 0;
5021 char *_kwnames[] = { "self", NULL };
5022
5023 self = self;
5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0))
5025 return NULL;
5026 if (_argo0) {
5027 if (_argo0 == Py_None) { _arg0 = NULL; }
5028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
5030 return NULL;
5031 }
5032 }
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 _result = (wxGrid *)wxGridTableBase_GetView(_arg0);
5036
5037 wxPyEndAllowThreads(__tstate);
5038 if (PyErr_Occurred()) return NULL;
5039 }{ _resultobj = wxPyMake_wxObject(_result); }
5040 return _resultobj;
5041 }
5042
5043 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
5044 static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject * _resultobj;
5046 int _result;
5047 wxGridTableBase * _arg0;
5048 PyObject * _argo0 = 0;
5049 char *_kwnames[] = { "self", NULL };
5050
5051 self = self;
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0))
5053 return NULL;
5054 if (_argo0) {
5055 if (_argo0 == Py_None) { _arg0 = NULL; }
5056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
5058 return NULL;
5059 }
5060 }
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 _result = (int )wxGridTableBase_GetNumberRows(_arg0);
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) return NULL;
5067 } _resultobj = Py_BuildValue("i",_result);
5068 return _resultobj;
5069 }
5070
5071 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
5072 static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject * _resultobj;
5074 int _result;
5075 wxGridTableBase * _arg0;
5076 PyObject * _argo0 = 0;
5077 char *_kwnames[] = { "self", NULL };
5078
5079 self = self;
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0))
5081 return NULL;
5082 if (_argo0) {
5083 if (_argo0 == Py_None) { _arg0 = NULL; }
5084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
5086 return NULL;
5087 }
5088 }
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 _result = (int )wxGridTableBase_GetNumberCols(_arg0);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) return NULL;
5095 } _resultobj = Py_BuildValue("i",_result);
5096 return _resultobj;
5097 }
5098
5099 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
5100 static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) {
5101 PyObject * _resultobj;
5102 bool _result;
5103 wxGridTableBase * _arg0;
5104 int _arg1;
5105 int _arg2;
5106 PyObject * _argo0 = 0;
5107 char *_kwnames[] = { "self","row","col", NULL };
5108
5109 self = self;
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2))
5111 return NULL;
5112 if (_argo0) {
5113 if (_argo0 == Py_None) { _arg0 = NULL; }
5114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
5116 return NULL;
5117 }
5118 }
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2);
5122
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) return NULL;
5125 } _resultobj = Py_BuildValue("i",_result);
5126 return _resultobj;
5127 }
5128
5129 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
5130 static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5131 PyObject * _resultobj;
5132 wxString * _result;
5133 wxGridTableBase * _arg0;
5134 int _arg1;
5135 int _arg2;
5136 PyObject * _argo0 = 0;
5137 char *_kwnames[] = { "self","row","col", NULL };
5138
5139 self = self;
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2))
5141 return NULL;
5142 if (_argo0) {
5143 if (_argo0 == Py_None) { _arg0 = NULL; }
5144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5146 return NULL;
5147 }
5148 }
5149 {
5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
5151 _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2));
5152
5153 wxPyEndAllowThreads(__tstate);
5154 if (PyErr_Occurred()) return NULL;
5155 }{
5156 #if wxUSE_UNICODE
5157 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5158 #else
5159 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5160 #endif
5161 }
5162 {
5163 delete _result;
5164 }
5165 return _resultobj;
5166 }
5167
5168 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5169 static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5170 PyObject * _resultobj;
5171 wxGridTableBase * _arg0;
5172 int _arg1;
5173 int _arg2;
5174 wxString * _arg3;
5175 PyObject * _argo0 = 0;
5176 PyObject * _obj3 = 0;
5177 char *_kwnames[] = { "self","row","col","value", NULL };
5178
5179 self = self;
5180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5181 return NULL;
5182 if (_argo0) {
5183 if (_argo0 == Py_None) { _arg0 = NULL; }
5184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5186 return NULL;
5187 }
5188 }
5189 {
5190 _arg3 = wxString_in_helper(_obj3);
5191 if (_arg3 == NULL)
5192 return NULL;
5193 }
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3);
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) return NULL;
5200 } Py_INCREF(Py_None);
5201 _resultobj = Py_None;
5202 {
5203 if (_obj3)
5204 delete _arg3;
5205 }
5206 return _resultobj;
5207 }
5208
5209 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5210 static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
5211 PyObject * _resultobj;
5212 wxString * _result;
5213 wxGridTableBase * _arg0;
5214 int _arg1;
5215 int _arg2;
5216 PyObject * _argo0 = 0;
5217 char *_kwnames[] = { "self","row","col", NULL };
5218
5219 self = self;
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
5221 return NULL;
5222 if (_argo0) {
5223 if (_argo0 == Py_None) { _arg0 = NULL; }
5224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5226 return NULL;
5227 }
5228 }
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2));
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) return NULL;
5235 }{
5236 #if wxUSE_UNICODE
5237 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5238 #else
5239 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5240 #endif
5241 }
5242 {
5243 delete _result;
5244 }
5245 return _resultobj;
5246 }
5247
5248 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5249 static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject * _resultobj;
5251 bool _result;
5252 wxGridTableBase * _arg0;
5253 int _arg1;
5254 int _arg2;
5255 wxString * _arg3;
5256 PyObject * _argo0 = 0;
5257 PyObject * _obj3 = 0;
5258 char *_kwnames[] = { "self","row","col","typeName", NULL };
5259
5260 self = self;
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5262 return NULL;
5263 if (_argo0) {
5264 if (_argo0 == Py_None) { _arg0 = NULL; }
5265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5267 return NULL;
5268 }
5269 }
5270 {
5271 _arg3 = wxString_in_helper(_obj3);
5272 if (_arg3 == NULL)
5273 return NULL;
5274 }
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) return NULL;
5281 } _resultobj = Py_BuildValue("i",_result);
5282 {
5283 if (_obj3)
5284 delete _arg3;
5285 }
5286 return _resultobj;
5287 }
5288
5289 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5290 static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject * _resultobj;
5292 bool _result;
5293 wxGridTableBase * _arg0;
5294 int _arg1;
5295 int _arg2;
5296 wxString * _arg3;
5297 PyObject * _argo0 = 0;
5298 PyObject * _obj3 = 0;
5299 char *_kwnames[] = { "self","row","col","typeName", NULL };
5300
5301 self = self;
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
5303 return NULL;
5304 if (_argo0) {
5305 if (_argo0 == Py_None) { _arg0 = NULL; }
5306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5308 return NULL;
5309 }
5310 }
5311 {
5312 _arg3 = wxString_in_helper(_obj3);
5313 if (_arg3 == NULL)
5314 return NULL;
5315 }
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) return NULL;
5322 } _resultobj = Py_BuildValue("i",_result);
5323 {
5324 if (_obj3)
5325 delete _arg3;
5326 }
5327 return _resultobj;
5328 }
5329
5330 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5331 static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5332 PyObject * _resultobj;
5333 long _result;
5334 wxGridTableBase * _arg0;
5335 int _arg1;
5336 int _arg2;
5337 PyObject * _argo0 = 0;
5338 char *_kwnames[] = { "self","row","col", NULL };
5339
5340 self = self;
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2))
5342 return NULL;
5343 if (_argo0) {
5344 if (_argo0 == Py_None) { _arg0 = NULL; }
5345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5347 return NULL;
5348 }
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) return NULL;
5356 } _resultobj = Py_BuildValue("l",_result);
5357 return _resultobj;
5358 }
5359
5360 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5361 static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5362 PyObject * _resultobj;
5363 double _result;
5364 wxGridTableBase * _arg0;
5365 int _arg1;
5366 int _arg2;
5367 PyObject * _argo0 = 0;
5368 char *_kwnames[] = { "self","row","col", NULL };
5369
5370 self = self;
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2))
5372 return NULL;
5373 if (_argo0) {
5374 if (_argo0 == Py_None) { _arg0 = NULL; }
5375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5377 return NULL;
5378 }
5379 }
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2);
5383
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) return NULL;
5386 } _resultobj = Py_BuildValue("d",_result);
5387 return _resultobj;
5388 }
5389
5390 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5391 static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5392 PyObject * _resultobj;
5393 bool _result;
5394 wxGridTableBase * _arg0;
5395 int _arg1;
5396 int _arg2;
5397 PyObject * _argo0 = 0;
5398 char *_kwnames[] = { "self","row","col", NULL };
5399
5400 self = self;
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2))
5402 return NULL;
5403 if (_argo0) {
5404 if (_argo0 == Py_None) { _arg0 = NULL; }
5405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5407 return NULL;
5408 }
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) return NULL;
5416 } _resultobj = Py_BuildValue("i",_result);
5417 return _resultobj;
5418 }
5419
5420 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5421 static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject * _resultobj;
5423 wxGridTableBase * _arg0;
5424 int _arg1;
5425 int _arg2;
5426 long _arg3;
5427 PyObject * _argo0 = 0;
5428 char *_kwnames[] = { "self","row","col","value", NULL };
5429
5430 self = self;
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5432 return NULL;
5433 if (_argo0) {
5434 if (_argo0 == Py_None) { _arg0 = NULL; }
5435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5437 return NULL;
5438 }
5439 }
5440 {
5441 PyThreadState* __tstate = wxPyBeginAllowThreads();
5442 wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3);
5443
5444 wxPyEndAllowThreads(__tstate);
5445 if (PyErr_Occurred()) return NULL;
5446 } Py_INCREF(Py_None);
5447 _resultobj = Py_None;
5448 return _resultobj;
5449 }
5450
5451 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5452 static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject * _resultobj;
5454 wxGridTableBase * _arg0;
5455 int _arg1;
5456 int _arg2;
5457 double _arg3;
5458 PyObject * _argo0 = 0;
5459 char *_kwnames[] = { "self","row","col","value", NULL };
5460
5461 self = self;
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5463 return NULL;
5464 if (_argo0) {
5465 if (_argo0 == Py_None) { _arg0 = NULL; }
5466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5468 return NULL;
5469 }
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) return NULL;
5477 } Py_INCREF(Py_None);
5478 _resultobj = Py_None;
5479 return _resultobj;
5480 }
5481
5482 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5483 static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) {
5484 PyObject * _resultobj;
5485 wxGridTableBase * _arg0;
5486 int _arg1;
5487 int _arg2;
5488 bool _arg3;
5489 PyObject * _argo0 = 0;
5490 int tempbool3;
5491 char *_kwnames[] = { "self","row","col","value", NULL };
5492
5493 self = self;
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
5495 return NULL;
5496 if (_argo0) {
5497 if (_argo0 == Py_None) { _arg0 = NULL; }
5498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5500 return NULL;
5501 }
5502 }
5503 _arg3 = (bool ) tempbool3;
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) return NULL;
5510 } Py_INCREF(Py_None);
5511 _resultobj = Py_None;
5512 return _resultobj;
5513 }
5514
5515 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5516 static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject * _resultobj;
5518 wxGridTableBase * _arg0;
5519 PyObject * _argo0 = 0;
5520 char *_kwnames[] = { "self", NULL };
5521
5522 self = self;
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0))
5524 return NULL;
5525 if (_argo0) {
5526 if (_argo0 == Py_None) { _arg0 = NULL; }
5527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5529 return NULL;
5530 }
5531 }
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 wxGridTableBase_Clear(_arg0);
5535
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) return NULL;
5538 } Py_INCREF(Py_None);
5539 _resultobj = Py_None;
5540 return _resultobj;
5541 }
5542
5543 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5544 static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject * _resultobj;
5546 bool _result;
5547 wxGridTableBase * _arg0;
5548 size_t _arg1 = (size_t ) 0;
5549 size_t _arg2 = (size_t ) 1;
5550 PyObject * _argo0 = 0;
5551 char *_kwnames[] = { "self","pos","numRows", NULL };
5552
5553 self = self;
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
5555 return NULL;
5556 if (_argo0) {
5557 if (_argo0 == Py_None) { _arg0 = NULL; }
5558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5560 return NULL;
5561 }
5562 }
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2);
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) return NULL;
5569 } _resultobj = Py_BuildValue("i",_result);
5570 return _resultobj;
5571 }
5572
5573 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5574 static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5575 PyObject * _resultobj;
5576 bool _result;
5577 wxGridTableBase * _arg0;
5578 size_t _arg1 = (size_t ) 1;
5579 PyObject * _argo0 = 0;
5580 char *_kwnames[] = { "self","numRows", NULL };
5581
5582 self = self;
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1))
5584 return NULL;
5585 if (_argo0) {
5586 if (_argo0 == Py_None) { _arg0 = NULL; }
5587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5589 return NULL;
5590 }
5591 }
5592 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1);
5595
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) return NULL;
5598 } _resultobj = Py_BuildValue("i",_result);
5599 return _resultobj;
5600 }
5601
5602 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5603 static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject * _resultobj;
5605 bool _result;
5606 wxGridTableBase * _arg0;
5607 size_t _arg1 = (size_t ) 0;
5608 size_t _arg2 = (size_t ) 1;
5609 PyObject * _argo0 = 0;
5610 char *_kwnames[] = { "self","pos","numRows", NULL };
5611
5612 self = self;
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
5614 return NULL;
5615 if (_argo0) {
5616 if (_argo0 == Py_None) { _arg0 = NULL; }
5617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5619 return NULL;
5620 }
5621 }
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2);
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) return NULL;
5628 } _resultobj = Py_BuildValue("i",_result);
5629 return _resultobj;
5630 }
5631
5632 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5633 static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5634 PyObject * _resultobj;
5635 bool _result;
5636 wxGridTableBase * _arg0;
5637 size_t _arg1 = (size_t ) 0;
5638 size_t _arg2 = (size_t ) 1;
5639 PyObject * _argo0 = 0;
5640 char *_kwnames[] = { "self","pos","numCols", NULL };
5641
5642 self = self;
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
5644 return NULL;
5645 if (_argo0) {
5646 if (_argo0 == Py_None) { _arg0 = NULL; }
5647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5649 return NULL;
5650 }
5651 }
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2);
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) return NULL;
5658 } _resultobj = Py_BuildValue("i",_result);
5659 return _resultobj;
5660 }
5661
5662 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5663 static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5664 PyObject * _resultobj;
5665 bool _result;
5666 wxGridTableBase * _arg0;
5667 size_t _arg1 = (size_t ) 1;
5668 PyObject * _argo0 = 0;
5669 char *_kwnames[] = { "self","numCols", NULL };
5670
5671 self = self;
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1))
5673 return NULL;
5674 if (_argo0) {
5675 if (_argo0 == Py_None) { _arg0 = NULL; }
5676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5678 return NULL;
5679 }
5680 }
5681 {
5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
5683 _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1);
5684
5685 wxPyEndAllowThreads(__tstate);
5686 if (PyErr_Occurred()) return NULL;
5687 } _resultobj = Py_BuildValue("i",_result);
5688 return _resultobj;
5689 }
5690
5691 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5692 static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject * _resultobj;
5694 bool _result;
5695 wxGridTableBase * _arg0;
5696 size_t _arg1 = (size_t ) 0;
5697 size_t _arg2 = (size_t ) 1;
5698 PyObject * _argo0 = 0;
5699 char *_kwnames[] = { "self","pos","numCols", NULL };
5700
5701 self = self;
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
5703 return NULL;
5704 if (_argo0) {
5705 if (_argo0 == Py_None) { _arg0 = NULL; }
5706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5708 return NULL;
5709 }
5710 }
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) return NULL;
5717 } _resultobj = Py_BuildValue("i",_result);
5718 return _resultobj;
5719 }
5720
5721 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5722 static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject * _resultobj;
5724 wxString * _result;
5725 wxGridTableBase * _arg0;
5726 int _arg1;
5727 PyObject * _argo0 = 0;
5728 char *_kwnames[] = { "self","row", NULL };
5729
5730 self = self;
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
5732 return NULL;
5733 if (_argo0) {
5734 if (_argo0 == Py_None) { _arg0 = NULL; }
5735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5737 return NULL;
5738 }
5739 }
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1));
5743
5744 wxPyEndAllowThreads(__tstate);
5745 if (PyErr_Occurred()) return NULL;
5746 }{
5747 #if wxUSE_UNICODE
5748 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5749 #else
5750 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5751 #endif
5752 }
5753 {
5754 delete _result;
5755 }
5756 return _resultobj;
5757 }
5758
5759 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5760 static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5761 PyObject * _resultobj;
5762 wxString * _result;
5763 wxGridTableBase * _arg0;
5764 int _arg1;
5765 PyObject * _argo0 = 0;
5766 char *_kwnames[] = { "self","col", NULL };
5767
5768 self = self;
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1))
5770 return NULL;
5771 if (_argo0) {
5772 if (_argo0 == Py_None) { _arg0 = NULL; }
5773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5775 return NULL;
5776 }
5777 }
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1));
5781
5782 wxPyEndAllowThreads(__tstate);
5783 if (PyErr_Occurred()) return NULL;
5784 }{
5785 #if wxUSE_UNICODE
5786 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
5787 #else
5788 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5789 #endif
5790 }
5791 {
5792 delete _result;
5793 }
5794 return _resultobj;
5795 }
5796
5797 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5798 static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5799 PyObject * _resultobj;
5800 wxGridTableBase * _arg0;
5801 int _arg1;
5802 wxString * _arg2;
5803 PyObject * _argo0 = 0;
5804 PyObject * _obj2 = 0;
5805 char *_kwnames[] = { "self","row","value", NULL };
5806
5807 self = self;
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5809 return NULL;
5810 if (_argo0) {
5811 if (_argo0 == Py_None) { _arg0 = NULL; }
5812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5814 return NULL;
5815 }
5816 }
5817 {
5818 _arg2 = wxString_in_helper(_obj2);
5819 if (_arg2 == NULL)
5820 return NULL;
5821 }
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) return NULL;
5828 } Py_INCREF(Py_None);
5829 _resultobj = Py_None;
5830 {
5831 if (_obj2)
5832 delete _arg2;
5833 }
5834 return _resultobj;
5835 }
5836
5837 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5838 static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject * _resultobj;
5840 wxGridTableBase * _arg0;
5841 int _arg1;
5842 wxString * _arg2;
5843 PyObject * _argo0 = 0;
5844 PyObject * _obj2 = 0;
5845 char *_kwnames[] = { "self","col","value", NULL };
5846
5847 self = self;
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
5849 return NULL;
5850 if (_argo0) {
5851 if (_argo0 == Py_None) { _arg0 = NULL; }
5852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5854 return NULL;
5855 }
5856 }
5857 {
5858 _arg2 = wxString_in_helper(_obj2);
5859 if (_arg2 == NULL)
5860 return NULL;
5861 }
5862 {
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2);
5865
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) return NULL;
5868 } Py_INCREF(Py_None);
5869 _resultobj = Py_None;
5870 {
5871 if (_obj2)
5872 delete _arg2;
5873 }
5874 return _resultobj;
5875 }
5876
5877 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5878 static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject * _resultobj;
5880 bool _result;
5881 wxGridTableBase * _arg0;
5882 PyObject * _argo0 = 0;
5883 char *_kwnames[] = { "self", NULL };
5884
5885 self = self;
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0))
5887 return NULL;
5888 if (_argo0) {
5889 if (_argo0 == Py_None) { _arg0 = NULL; }
5890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5892 return NULL;
5893 }
5894 }
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0);
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) return NULL;
5901 } _resultobj = Py_BuildValue("i",_result);
5902 return _resultobj;
5903 }
5904
5905 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5906 static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5907 PyObject * _resultobj;
5908 wxGridCellAttr * _result;
5909 wxGridTableBase * _arg0;
5910 int _arg1;
5911 int _arg2;
5912 wxGridCellAttr::wxAttrKind _arg3;
5913 PyObject * _argo0 = 0;
5914 char *_kwnames[] = { "self","row","col","kind", NULL };
5915
5916 self = self;
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5918 return NULL;
5919 if (_argo0) {
5920 if (_argo0 == Py_None) { _arg0 = NULL; }
5921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5923 return NULL;
5924 }
5925 }
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) return NULL;
5932 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
5933 return _resultobj;
5934 }
5935
5936 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5937 static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject * _resultobj;
5939 wxGridTableBase * _arg0;
5940 wxGridCellAttr * _arg1;
5941 int _arg2;
5942 int _arg3;
5943 PyObject * _argo0 = 0;
5944 PyObject * _argo1 = 0;
5945 char *_kwnames[] = { "self","attr","row","col", NULL };
5946
5947 self = self;
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5949 return NULL;
5950 if (_argo0) {
5951 if (_argo0 == Py_None) { _arg0 = NULL; }
5952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5954 return NULL;
5955 }
5956 }
5957 if (_argo1) {
5958 if (_argo1 == Py_None) { _arg1 = NULL; }
5959 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5961 return NULL;
5962 }
5963 }
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) return NULL;
5970 } Py_INCREF(Py_None);
5971 _resultobj = Py_None;
5972 return _resultobj;
5973 }
5974
5975 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5976 static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5977 PyObject * _resultobj;
5978 wxGridTableBase * _arg0;
5979 wxGridCellAttr * _arg1;
5980 int _arg2;
5981 PyObject * _argo0 = 0;
5982 PyObject * _argo1 = 0;
5983 char *_kwnames[] = { "self","attr","row", NULL };
5984
5985 self = self;
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
5987 return NULL;
5988 if (_argo0) {
5989 if (_argo0 == Py_None) { _arg0 = NULL; }
5990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
5991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5992 return NULL;
5993 }
5994 }
5995 if (_argo1) {
5996 if (_argo1 == Py_None) { _arg1 = NULL; }
5997 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
5998 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5999 return NULL;
6000 }
6001 }
6002 {
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2);
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) return NULL;
6008 } Py_INCREF(Py_None);
6009 _resultobj = Py_None;
6010 return _resultobj;
6011 }
6012
6013 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
6014 static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6015 PyObject * _resultobj;
6016 wxGridTableBase * _arg0;
6017 wxGridCellAttr * _arg1;
6018 int _arg2;
6019 PyObject * _argo0 = 0;
6020 PyObject * _argo1 = 0;
6021 char *_kwnames[] = { "self","attr","col", NULL };
6022
6023 self = self;
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6025 return NULL;
6026 if (_argo0) {
6027 if (_argo0 == Py_None) { _arg0 = NULL; }
6028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
6030 return NULL;
6031 }
6032 }
6033 if (_argo1) {
6034 if (_argo1 == Py_None) { _arg1 = NULL; }
6035 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6036 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
6037 return NULL;
6038 }
6039 }
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2);
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) return NULL;
6046 } Py_INCREF(Py_None);
6047 _resultobj = Py_None;
6048 return _resultobj;
6049 }
6050
6051 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) {
6052 wxPyGridTableBase *src;
6053 wxGridTableBase *dest;
6054 src = (wxPyGridTableBase *) ptr;
6055 dest = (wxGridTableBase *) src;
6056 return (void *) dest;
6057 }
6058
6059 static void *SwigwxPyGridTableBaseTowxObject(void *ptr) {
6060 wxPyGridTableBase *src;
6061 wxObject *dest;
6062 src = (wxPyGridTableBase *) ptr;
6063 dest = (wxObject *) src;
6064 return (void *) dest;
6065 }
6066
6067 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
6068 static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject * _resultobj;
6070 wxPyGridTableBase * _result;
6071 char *_kwnames[] = { NULL };
6072 char _ptemp[128];
6073
6074 self = self;
6075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames))
6076 return NULL;
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 _result = (wxPyGridTableBase *)new_wxPyGridTableBase();
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) return NULL;
6083 } if (_result) {
6084 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p");
6085 _resultobj = Py_BuildValue("s",_ptemp);
6086 } else {
6087 Py_INCREF(Py_None);
6088 _resultobj = Py_None;
6089 }
6090 return _resultobj;
6091 }
6092
6093 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6094 static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject * _resultobj;
6096 wxPyGridTableBase * _arg0;
6097 PyObject * _arg1;
6098 PyObject * _arg2;
6099 PyObject * _argo0 = 0;
6100 PyObject * _obj1 = 0;
6101 PyObject * _obj2 = 0;
6102 char *_kwnames[] = { "self","self","_class", NULL };
6103
6104 self = self;
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
6106 return NULL;
6107 if (_argo0) {
6108 if (_argo0 == Py_None) { _arg0 = NULL; }
6109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
6111 return NULL;
6112 }
6113 }
6114 {
6115 _arg1 = _obj1;
6116 }
6117 {
6118 _arg2 = _obj2;
6119 }
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) return NULL;
6126 } Py_INCREF(Py_None);
6127 _resultobj = Py_None;
6128 return _resultobj;
6129 }
6130
6131 static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; }
6132 static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject * _resultobj;
6134 wxPyGridTableBase * _arg0;
6135 PyObject * _argo0 = 0;
6136 char *_kwnames[] = { "self", NULL };
6137
6138 self = self;
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0))
6140 return NULL;
6141 if (_argo0) {
6142 if (_argo0 == Py_None) { _arg0 = NULL; }
6143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6145 return NULL;
6146 }
6147 }
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 wxPyGridTableBase_Destroy(_arg0);
6151
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) return NULL;
6154 } Py_INCREF(Py_None);
6155 _resultobj = Py_None;
6156 return _resultobj;
6157 }
6158
6159 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6160 static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) {
6161 PyObject * _resultobj;
6162 wxString * _result;
6163 wxPyGridTableBase * _arg0;
6164 int _arg1;
6165 int _arg2;
6166 PyObject * _argo0 = 0;
6167 char *_kwnames[] = { "self","row","col", NULL };
6168
6169 self = self;
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2))
6171 return NULL;
6172 if (_argo0) {
6173 if (_argo0 == Py_None) { _arg0 = NULL; }
6174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6176 return NULL;
6177 }
6178 }
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2));
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) return NULL;
6185 }{
6186 #if wxUSE_UNICODE
6187 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6188 #else
6189 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6190 #endif
6191 }
6192 {
6193 delete _result;
6194 }
6195 return _resultobj;
6196 }
6197
6198 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6199 static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6200 PyObject * _resultobj;
6201 bool _result;
6202 wxPyGridTableBase * _arg0;
6203 int _arg1;
6204 int _arg2;
6205 wxString * _arg3;
6206 PyObject * _argo0 = 0;
6207 PyObject * _obj3 = 0;
6208 char *_kwnames[] = { "self","row","col","typeName", NULL };
6209
6210 self = self;
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6212 return NULL;
6213 if (_argo0) {
6214 if (_argo0 == Py_None) { _arg0 = NULL; }
6215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6217 return NULL;
6218 }
6219 }
6220 {
6221 _arg3 = wxString_in_helper(_obj3);
6222 if (_arg3 == NULL)
6223 return NULL;
6224 }
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3);
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) return NULL;
6231 } _resultobj = Py_BuildValue("i",_result);
6232 {
6233 if (_obj3)
6234 delete _arg3;
6235 }
6236 return _resultobj;
6237 }
6238
6239 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6240 static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject * _resultobj;
6242 bool _result;
6243 wxPyGridTableBase * _arg0;
6244 int _arg1;
6245 int _arg2;
6246 wxString * _arg3;
6247 PyObject * _argo0 = 0;
6248 PyObject * _obj3 = 0;
6249 char *_kwnames[] = { "self","row","col","typeName", NULL };
6250
6251 self = self;
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6253 return NULL;
6254 if (_argo0) {
6255 if (_argo0 == Py_None) { _arg0 = NULL; }
6256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6258 return NULL;
6259 }
6260 }
6261 {
6262 _arg3 = wxString_in_helper(_obj3);
6263 if (_arg3 == NULL)
6264 return NULL;
6265 }
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) return NULL;
6272 } _resultobj = Py_BuildValue("i",_result);
6273 {
6274 if (_obj3)
6275 delete _arg3;
6276 }
6277 return _resultobj;
6278 }
6279
6280 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6281 static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6282 PyObject * _resultobj;
6283 wxPyGridTableBase * _arg0;
6284 PyObject * _argo0 = 0;
6285 char *_kwnames[] = { "self", NULL };
6286
6287 self = self;
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0))
6289 return NULL;
6290 if (_argo0) {
6291 if (_argo0 == Py_None) { _arg0 = NULL; }
6292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6294 return NULL;
6295 }
6296 }
6297 {
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 wxPyGridTableBase_base_Clear(_arg0);
6300
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) return NULL;
6303 } Py_INCREF(Py_None);
6304 _resultobj = Py_None;
6305 return _resultobj;
6306 }
6307
6308 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6309 static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6310 PyObject * _resultobj;
6311 bool _result;
6312 wxPyGridTableBase * _arg0;
6313 size_t _arg1 = (size_t ) 0;
6314 size_t _arg2 = (size_t ) 1;
6315 PyObject * _argo0 = 0;
6316 char *_kwnames[] = { "self","pos","numRows", NULL };
6317
6318 self = self;
6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2))
6320 return NULL;
6321 if (_argo0) {
6322 if (_argo0 == Py_None) { _arg0 = NULL; }
6323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6325 return NULL;
6326 }
6327 }
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2);
6331
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) return NULL;
6334 } _resultobj = Py_BuildValue("i",_result);
6335 return _resultobj;
6336 }
6337
6338 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6339 static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject * _resultobj;
6341 bool _result;
6342 wxPyGridTableBase * _arg0;
6343 size_t _arg1 = (size_t ) 1;
6344 PyObject * _argo0 = 0;
6345 char *_kwnames[] = { "self","numRows", NULL };
6346
6347 self = self;
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1))
6349 return NULL;
6350 if (_argo0) {
6351 if (_argo0 == Py_None) { _arg0 = NULL; }
6352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6354 return NULL;
6355 }
6356 }
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) return NULL;
6363 } _resultobj = Py_BuildValue("i",_result);
6364 return _resultobj;
6365 }
6366
6367 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6368 static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
6369 PyObject * _resultobj;
6370 bool _result;
6371 wxPyGridTableBase * _arg0;
6372 size_t _arg1 = (size_t ) 0;
6373 size_t _arg2 = (size_t ) 1;
6374 PyObject * _argo0 = 0;
6375 char *_kwnames[] = { "self","pos","numRows", NULL };
6376
6377 self = self;
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2))
6379 return NULL;
6380 if (_argo0) {
6381 if (_argo0 == Py_None) { _arg0 = NULL; }
6382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6384 return NULL;
6385 }
6386 }
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2);
6390
6391 wxPyEndAllowThreads(__tstate);
6392 if (PyErr_Occurred()) return NULL;
6393 } _resultobj = Py_BuildValue("i",_result);
6394 return _resultobj;
6395 }
6396
6397 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6398 static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject * _resultobj;
6400 bool _result;
6401 wxPyGridTableBase * _arg0;
6402 size_t _arg1 = (size_t ) 0;
6403 size_t _arg2 = (size_t ) 1;
6404 PyObject * _argo0 = 0;
6405 char *_kwnames[] = { "self","pos","numCols", NULL };
6406
6407 self = self;
6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2))
6409 return NULL;
6410 if (_argo0) {
6411 if (_argo0 == Py_None) { _arg0 = NULL; }
6412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6414 return NULL;
6415 }
6416 }
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2);
6420
6421 wxPyEndAllowThreads(__tstate);
6422 if (PyErr_Occurred()) return NULL;
6423 } _resultobj = Py_BuildValue("i",_result);
6424 return _resultobj;
6425 }
6426
6427 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6428 static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject * _resultobj;
6430 bool _result;
6431 wxPyGridTableBase * _arg0;
6432 size_t _arg1 = (size_t ) 1;
6433 PyObject * _argo0 = 0;
6434 char *_kwnames[] = { "self","numCols", NULL };
6435
6436 self = self;
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1))
6438 return NULL;
6439 if (_argo0) {
6440 if (_argo0 == Py_None) { _arg0 = NULL; }
6441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6443 return NULL;
6444 }
6445 }
6446 {
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1);
6449
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) return NULL;
6452 } _resultobj = Py_BuildValue("i",_result);
6453 return _resultobj;
6454 }
6455
6456 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6457 static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject * _resultobj;
6459 bool _result;
6460 wxPyGridTableBase * _arg0;
6461 size_t _arg1 = (size_t ) 0;
6462 size_t _arg2 = (size_t ) 1;
6463 PyObject * _argo0 = 0;
6464 char *_kwnames[] = { "self","pos","numCols", NULL };
6465
6466 self = self;
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2))
6468 return NULL;
6469 if (_argo0) {
6470 if (_argo0 == Py_None) { _arg0 = NULL; }
6471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6473 return NULL;
6474 }
6475 }
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2);
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) return NULL;
6482 } _resultobj = Py_BuildValue("i",_result);
6483 return _resultobj;
6484 }
6485
6486 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6487 static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6488 PyObject * _resultobj;
6489 wxString * _result;
6490 wxPyGridTableBase * _arg0;
6491 int _arg1;
6492 PyObject * _argo0 = 0;
6493 char *_kwnames[] = { "self","row", NULL };
6494
6495 self = self;
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
6497 return NULL;
6498 if (_argo0) {
6499 if (_argo0 == Py_None) { _arg0 = NULL; }
6500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6502 return NULL;
6503 }
6504 }
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1));
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) return NULL;
6511 }{
6512 #if wxUSE_UNICODE
6513 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6514 #else
6515 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6516 #endif
6517 }
6518 {
6519 delete _result;
6520 }
6521 return _resultobj;
6522 }
6523
6524 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6525 static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject * _resultobj;
6527 wxString * _result;
6528 wxPyGridTableBase * _arg0;
6529 int _arg1;
6530 PyObject * _argo0 = 0;
6531 char *_kwnames[] = { "self","col", NULL };
6532
6533 self = self;
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1))
6535 return NULL;
6536 if (_argo0) {
6537 if (_argo0 == Py_None) { _arg0 = NULL; }
6538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6540 return NULL;
6541 }
6542 }
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1));
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) return NULL;
6549 }{
6550 #if wxUSE_UNICODE
6551 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6552 #else
6553 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6554 #endif
6555 }
6556 {
6557 delete _result;
6558 }
6559 return _resultobj;
6560 }
6561
6562 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6563 static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject * _resultobj;
6565 wxPyGridTableBase * _arg0;
6566 int _arg1;
6567 wxString * _arg2;
6568 PyObject * _argo0 = 0;
6569 PyObject * _obj2 = 0;
6570 char *_kwnames[] = { "self","row","value", NULL };
6571
6572 self = self;
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6574 return NULL;
6575 if (_argo0) {
6576 if (_argo0 == Py_None) { _arg0 = NULL; }
6577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6579 return NULL;
6580 }
6581 }
6582 {
6583 _arg2 = wxString_in_helper(_obj2);
6584 if (_arg2 == NULL)
6585 return NULL;
6586 }
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2);
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) return NULL;
6593 } Py_INCREF(Py_None);
6594 _resultobj = Py_None;
6595 {
6596 if (_obj2)
6597 delete _arg2;
6598 }
6599 return _resultobj;
6600 }
6601
6602 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6603 static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6604 PyObject * _resultobj;
6605 wxPyGridTableBase * _arg0;
6606 int _arg1;
6607 wxString * _arg2;
6608 PyObject * _argo0 = 0;
6609 PyObject * _obj2 = 0;
6610 char *_kwnames[] = { "self","col","value", NULL };
6611
6612 self = self;
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
6614 return NULL;
6615 if (_argo0) {
6616 if (_argo0 == Py_None) { _arg0 = NULL; }
6617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6619 return NULL;
6620 }
6621 }
6622 {
6623 _arg2 = wxString_in_helper(_obj2);
6624 if (_arg2 == NULL)
6625 return NULL;
6626 }
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2);
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) return NULL;
6633 } Py_INCREF(Py_None);
6634 _resultobj = Py_None;
6635 {
6636 if (_obj2)
6637 delete _arg2;
6638 }
6639 return _resultobj;
6640 }
6641
6642 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6643 static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6644 PyObject * _resultobj;
6645 bool _result;
6646 wxPyGridTableBase * _arg0;
6647 PyObject * _argo0 = 0;
6648 char *_kwnames[] = { "self", NULL };
6649
6650 self = self;
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0))
6652 return NULL;
6653 if (_argo0) {
6654 if (_argo0 == Py_None) { _arg0 = NULL; }
6655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6657 return NULL;
6658 }
6659 }
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0);
6663
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) return NULL;
6666 } _resultobj = Py_BuildValue("i",_result);
6667 return _resultobj;
6668 }
6669
6670 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6671 static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6672 PyObject * _resultobj;
6673 wxGridCellAttr * _result;
6674 wxPyGridTableBase * _arg0;
6675 int _arg1;
6676 int _arg2;
6677 wxGridCellAttr::wxAttrKind _arg3;
6678 PyObject * _argo0 = 0;
6679 char *_kwnames[] = { "self","row","col","kind", NULL };
6680
6681 self = self;
6682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6683 return NULL;
6684 if (_argo0) {
6685 if (_argo0 == Py_None) { _arg0 = NULL; }
6686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6688 return NULL;
6689 }
6690 }
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) return NULL;
6697 }{ _resultobj = wxPyMake_wxGridCellAttr(_result); }
6698 return _resultobj;
6699 }
6700
6701 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6702 static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject * _resultobj;
6704 wxPyGridTableBase * _arg0;
6705 wxGridCellAttr * _arg1;
6706 int _arg2;
6707 int _arg3;
6708 PyObject * _argo0 = 0;
6709 PyObject * _argo1 = 0;
6710 char *_kwnames[] = { "self","attr","row","col", NULL };
6711
6712 self = self;
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
6714 return NULL;
6715 if (_argo0) {
6716 if (_argo0 == Py_None) { _arg0 = NULL; }
6717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6719 return NULL;
6720 }
6721 }
6722 if (_argo1) {
6723 if (_argo1 == Py_None) { _arg1 = NULL; }
6724 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6725 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6726 return NULL;
6727 }
6728 }
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) return NULL;
6735 } Py_INCREF(Py_None);
6736 _resultobj = Py_None;
6737 return _resultobj;
6738 }
6739
6740 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6741 static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject * _resultobj;
6743 wxPyGridTableBase * _arg0;
6744 wxGridCellAttr * _arg1;
6745 int _arg2;
6746 PyObject * _argo0 = 0;
6747 PyObject * _argo1 = 0;
6748 char *_kwnames[] = { "self","attr","row", NULL };
6749
6750 self = self;
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6752 return NULL;
6753 if (_argo0) {
6754 if (_argo0 == Py_None) { _arg0 = NULL; }
6755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6757 return NULL;
6758 }
6759 }
6760 if (_argo1) {
6761 if (_argo1 == Py_None) { _arg1 = NULL; }
6762 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6763 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6764 return NULL;
6765 }
6766 }
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2);
6770
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) return NULL;
6773 } Py_INCREF(Py_None);
6774 _resultobj = Py_None;
6775 return _resultobj;
6776 }
6777
6778 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6779 static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject * _resultobj;
6781 wxPyGridTableBase * _arg0;
6782 wxGridCellAttr * _arg1;
6783 int _arg2;
6784 PyObject * _argo0 = 0;
6785 PyObject * _argo1 = 0;
6786 char *_kwnames[] = { "self","attr","col", NULL };
6787
6788 self = self;
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2))
6790 return NULL;
6791 if (_argo0) {
6792 if (_argo0 == Py_None) { _arg0 = NULL; }
6793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) {
6794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6795 return NULL;
6796 }
6797 }
6798 if (_argo1) {
6799 if (_argo1 == Py_None) { _arg1 = NULL; }
6800 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) {
6801 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6802 return NULL;
6803 }
6804 }
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2);
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) return NULL;
6811 } Py_INCREF(Py_None);
6812 _resultobj = Py_None;
6813 return _resultobj;
6814 }
6815
6816 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) {
6817 wxGridStringTable *src;
6818 wxGridTableBase *dest;
6819 src = (wxGridStringTable *) ptr;
6820 dest = (wxGridTableBase *) src;
6821 return (void *) dest;
6822 }
6823
6824 static void *SwigwxGridStringTableTowxObject(void *ptr) {
6825 wxGridStringTable *src;
6826 wxObject *dest;
6827 src = (wxGridStringTable *) ptr;
6828 dest = (wxObject *) src;
6829 return (void *) dest;
6830 }
6831
6832 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6833 static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) {
6834 PyObject * _resultobj;
6835 wxGridStringTable * _result;
6836 int _arg0 = (int ) 0;
6837 int _arg1 = (int ) 0;
6838 char *_kwnames[] = { "numRows","numCols", NULL };
6839 char _ptemp[128];
6840
6841 self = self;
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1))
6843 return NULL;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) return NULL;
6850 } if (_result) {
6851 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p");
6852 _resultobj = Py_BuildValue("s",_ptemp);
6853 } else {
6854 Py_INCREF(Py_None);
6855 _resultobj = Py_None;
6856 }
6857 return _resultobj;
6858 }
6859
6860 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6861 static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject * _resultobj;
6863 wxGridTableMessage * _result;
6864 wxGridTableBase * _arg0;
6865 int _arg1;
6866 int _arg2 = (int ) -1;
6867 int _arg3 = (int ) -1;
6868 PyObject * _argo0 = 0;
6869 char *_kwnames[] = { "table","id","comInt1","comInt2", NULL };
6870 char _ptemp[128];
6871
6872 self = self;
6873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6874 return NULL;
6875 if (_argo0) {
6876 if (_argo0 == Py_None) { _arg0 = NULL; }
6877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) {
6878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6879 return NULL;
6880 }
6881 }
6882 {
6883 PyThreadState* __tstate = wxPyBeginAllowThreads();
6884 _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3);
6885
6886 wxPyEndAllowThreads(__tstate);
6887 if (PyErr_Occurred()) return NULL;
6888 } if (_result) {
6889 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p");
6890 _resultobj = Py_BuildValue("s",_ptemp);
6891 } else {
6892 Py_INCREF(Py_None);
6893 _resultobj = Py_None;
6894 }
6895 return _resultobj;
6896 }
6897
6898 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6899 static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
6900 PyObject * _resultobj;
6901 wxGridTableMessage * _arg0;
6902 PyObject * _argo0 = 0;
6903 char *_kwnames[] = { "self", NULL };
6904
6905 self = self;
6906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0))
6907 return NULL;
6908 if (_argo0) {
6909 if (_argo0 == Py_None) { _arg0 = NULL; }
6910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6912 return NULL;
6913 }
6914 }
6915 {
6916 PyThreadState* __tstate = wxPyBeginAllowThreads();
6917 delete_wxGridTableMessage(_arg0);
6918
6919 wxPyEndAllowThreads(__tstate);
6920 if (PyErr_Occurred()) return NULL;
6921 } Py_INCREF(Py_None);
6922 _resultobj = Py_None;
6923 return _resultobj;
6924 }
6925
6926 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6927 static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject * _resultobj;
6929 wxGridTableMessage * _arg0;
6930 wxGridTableBase * _arg1;
6931 PyObject * _argo0 = 0;
6932 PyObject * _argo1 = 0;
6933 char *_kwnames[] = { "self","table", NULL };
6934
6935 self = self;
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1))
6937 return NULL;
6938 if (_argo0) {
6939 if (_argo0 == Py_None) { _arg0 = NULL; }
6940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
6941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6942 return NULL;
6943 }
6944 }
6945 if (_argo1) {
6946 if (_argo1 == Py_None) { _arg1 = NULL; }
6947 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
6948 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6949 return NULL;
6950 }
6951 }
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 wxGridTableMessage_SetTableObject(_arg0,_arg1);
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) return NULL;
6958 } Py_INCREF(Py_None);
6959 _resultobj = Py_None;
6960 return _resultobj;
6961 }
6962
6963 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6964 static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject * _resultobj;
6966 wxGridTableBase * _result;
6967 wxGridTableMessage * _arg0;
6968 PyObject * _argo0 = 0;
6969 char *_kwnames[] = { "self", NULL };
6970
6971 self = self;
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0))
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_GetTableObject. Expected _wxGridTableMessage_p.");
6978 return NULL;
6979 }
6980 }
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0);
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) return NULL;
6987 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
6988 return _resultobj;
6989 }
6990
6991 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6992 static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6993 PyObject * _resultobj;
6994 wxGridTableMessage * _arg0;
6995 int _arg1;
6996 PyObject * _argo0 = 0;
6997 char *_kwnames[] = { "self","id", NULL };
6998
6999 self = self;
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1))
7001 return NULL;
7002 if (_argo0) {
7003 if (_argo0 == Py_None) { _arg0 = NULL; }
7004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
7006 return NULL;
7007 }
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 wxGridTableMessage_SetId(_arg0,_arg1);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) return NULL;
7015 } Py_INCREF(Py_None);
7016 _resultobj = Py_None;
7017 return _resultobj;
7018 }
7019
7020 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
7021 static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject * _resultobj;
7023 int _result;
7024 wxGridTableMessage * _arg0;
7025 PyObject * _argo0 = 0;
7026 char *_kwnames[] = { "self", NULL };
7027
7028 self = self;
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0))
7030 return NULL;
7031 if (_argo0) {
7032 if (_argo0 == Py_None) { _arg0 = NULL; }
7033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
7035 return NULL;
7036 }
7037 }
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 _result = (int )wxGridTableMessage_GetId(_arg0);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) return NULL;
7044 } _resultobj = Py_BuildValue("i",_result);
7045 return _resultobj;
7046 }
7047
7048 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
7049 static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7050 PyObject * _resultobj;
7051 wxGridTableMessage * _arg0;
7052 int _arg1;
7053 PyObject * _argo0 = 0;
7054 char *_kwnames[] = { "self","comInt1", NULL };
7055
7056 self = self;
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1))
7058 return NULL;
7059 if (_argo0) {
7060 if (_argo0 == Py_None) { _arg0 = NULL; }
7061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
7063 return NULL;
7064 }
7065 }
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 wxGridTableMessage_SetCommandInt(_arg0,_arg1);
7069
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) return NULL;
7072 } Py_INCREF(Py_None);
7073 _resultobj = Py_None;
7074 return _resultobj;
7075 }
7076
7077 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
7078 static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject * _resultobj;
7080 int _result;
7081 wxGridTableMessage * _arg0;
7082 PyObject * _argo0 = 0;
7083 char *_kwnames[] = { "self", NULL };
7084
7085 self = self;
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0))
7087 return NULL;
7088 if (_argo0) {
7089 if (_argo0 == Py_None) { _arg0 = NULL; }
7090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
7092 return NULL;
7093 }
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 _result = (int )wxGridTableMessage_GetCommandInt(_arg0);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) return NULL;
7101 } _resultobj = Py_BuildValue("i",_result);
7102 return _resultobj;
7103 }
7104
7105 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
7106 static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7107 PyObject * _resultobj;
7108 wxGridTableMessage * _arg0;
7109 int _arg1;
7110 PyObject * _argo0 = 0;
7111 char *_kwnames[] = { "self","comInt2", NULL };
7112
7113 self = self;
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1))
7115 return NULL;
7116 if (_argo0) {
7117 if (_argo0 == Py_None) { _arg0 = NULL; }
7118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
7120 return NULL;
7121 }
7122 }
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 wxGridTableMessage_SetCommandInt2(_arg0,_arg1);
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) return NULL;
7129 } Py_INCREF(Py_None);
7130 _resultobj = Py_None;
7131 return _resultobj;
7132 }
7133
7134 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
7135 static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject * _resultobj;
7137 int _result;
7138 wxGridTableMessage * _arg0;
7139 PyObject * _argo0 = 0;
7140 char *_kwnames[] = { "self", NULL };
7141
7142 self = self;
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0))
7144 return NULL;
7145 if (_argo0) {
7146 if (_argo0 == Py_None) { _arg0 = NULL; }
7147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) {
7148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7149 return NULL;
7150 }
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 _result = (int )wxGridTableMessage_GetCommandInt2(_arg0);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) return NULL;
7158 } _resultobj = Py_BuildValue("i",_result);
7159 return _resultobj;
7160 }
7161
7162 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7163 static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject * _resultobj;
7165 wxGridCellCoords * _result;
7166 int _arg0 = (int ) -1;
7167 int _arg1 = (int ) -1;
7168 char *_kwnames[] = { "r","c", NULL };
7169 char _ptemp[128];
7170
7171 self = self;
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1))
7173 return NULL;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) return NULL;
7180 } if (_result) {
7181 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
7182 _resultobj = Py_BuildValue("s",_ptemp);
7183 } else {
7184 Py_INCREF(Py_None);
7185 _resultobj = Py_None;
7186 }
7187 return _resultobj;
7188 }
7189
7190 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7191 static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject * _resultobj;
7193 wxGridCellCoords * _arg0;
7194 PyObject * _argo0 = 0;
7195 char *_kwnames[] = { "self", NULL };
7196
7197 self = self;
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0))
7199 return NULL;
7200 if (_argo0) {
7201 if (_argo0 == Py_None) { _arg0 = NULL; }
7202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7204 return NULL;
7205 }
7206 }
7207 {
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 delete_wxGridCellCoords(_arg0);
7210
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) return NULL;
7213 } Py_INCREF(Py_None);
7214 _resultobj = Py_None;
7215 return _resultobj;
7216 }
7217
7218 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7219 static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject * _resultobj;
7221 int _result;
7222 wxGridCellCoords * _arg0;
7223 PyObject * _argo0 = 0;
7224 char *_kwnames[] = { "self", NULL };
7225
7226 self = self;
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0))
7228 return NULL;
7229 if (_argo0) {
7230 if (_argo0 == Py_None) { _arg0 = NULL; }
7231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
7233 return NULL;
7234 }
7235 }
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 _result = (int )wxGridCellCoords_GetRow(_arg0);
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) return NULL;
7242 } _resultobj = Py_BuildValue("i",_result);
7243 return _resultobj;
7244 }
7245
7246 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7247 static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject * _resultobj;
7249 wxGridCellCoords * _arg0;
7250 int _arg1;
7251 PyObject * _argo0 = 0;
7252 char *_kwnames[] = { "self","n", NULL };
7253
7254 self = self;
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1))
7256 return NULL;
7257 if (_argo0) {
7258 if (_argo0 == Py_None) { _arg0 = NULL; }
7259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7261 return NULL;
7262 }
7263 }
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 wxGridCellCoords_SetRow(_arg0,_arg1);
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) return NULL;
7270 } Py_INCREF(Py_None);
7271 _resultobj = Py_None;
7272 return _resultobj;
7273 }
7274
7275 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7276 static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7277 PyObject * _resultobj;
7278 int _result;
7279 wxGridCellCoords * _arg0;
7280 PyObject * _argo0 = 0;
7281 char *_kwnames[] = { "self", NULL };
7282
7283 self = self;
7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0))
7285 return NULL;
7286 if (_argo0) {
7287 if (_argo0 == Py_None) { _arg0 = NULL; }
7288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7290 return NULL;
7291 }
7292 }
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 _result = (int )wxGridCellCoords_GetCol(_arg0);
7296
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) return NULL;
7299 } _resultobj = Py_BuildValue("i",_result);
7300 return _resultobj;
7301 }
7302
7303 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7304 static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
7305 PyObject * _resultobj;
7306 wxGridCellCoords * _arg0;
7307 int _arg1;
7308 PyObject * _argo0 = 0;
7309 char *_kwnames[] = { "self","n", NULL };
7310
7311 self = self;
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1))
7313 return NULL;
7314 if (_argo0) {
7315 if (_argo0 == Py_None) { _arg0 = NULL; }
7316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7318 return NULL;
7319 }
7320 }
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 wxGridCellCoords_SetCol(_arg0,_arg1);
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) return NULL;
7327 } Py_INCREF(Py_None);
7328 _resultobj = Py_None;
7329 return _resultobj;
7330 }
7331
7332 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7333 static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject * _resultobj;
7335 wxGridCellCoords * _arg0;
7336 int _arg1;
7337 int _arg2;
7338 PyObject * _argo0 = 0;
7339 char *_kwnames[] = { "self","row","col", NULL };
7340
7341 self = self;
7342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2))
7343 return NULL;
7344 if (_argo0) {
7345 if (_argo0 == Py_None) { _arg0 = NULL; }
7346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7348 return NULL;
7349 }
7350 }
7351 {
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 wxGridCellCoords_Set(_arg0,_arg1,_arg2);
7354
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) return NULL;
7357 } Py_INCREF(Py_None);
7358 _resultobj = Py_None;
7359 return _resultobj;
7360 }
7361
7362 static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) {
7363 PyObject* tup = PyTuple_New(2);
7364 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
7365 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
7366 return tup;
7367 }
7368 static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject * _resultobj;
7370 PyObject * _result;
7371 wxGridCellCoords * _arg0;
7372 PyObject * _argo0 = 0;
7373 char *_kwnames[] = { "self", NULL };
7374
7375 self = self;
7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0))
7377 return NULL;
7378 if (_argo0) {
7379 if (_argo0 == Py_None) { _arg0 = NULL; }
7380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7382 return NULL;
7383 }
7384 }
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 _result = (PyObject *)wxGridCellCoords_asTuple(_arg0);
7388
7389 wxPyEndAllowThreads(__tstate);
7390 if (PyErr_Occurred()) return NULL;
7391 }{
7392 _resultobj = _result;
7393 }
7394 return _resultobj;
7395 }
7396
7397 static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) {
7398 return *self != other;
7399 }
7400 static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
7401 PyObject * _resultobj;
7402 int _result;
7403 wxGridCellCoords * _arg0;
7404 wxGridCellCoords * _arg1;
7405 PyObject * _argo0 = 0;
7406 PyObject * _argo1 = 0;
7407 char *_kwnames[] = { "self","other", NULL };
7408
7409 self = self;
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1))
7411 return NULL;
7412 if (_argo0) {
7413 if (_argo0 == Py_None) { _arg0 = NULL; }
7414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) {
7415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7416 return NULL;
7417 }
7418 }
7419 if (_argo1) {
7420 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) {
7421 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7422 return NULL;
7423 }
7424 }
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1);
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) return NULL;
7431 } _resultobj = Py_BuildValue("i",_result);
7432 return _resultobj;
7433 }
7434
7435 static void *SwigwxGridTowxScrolledWindow(void *ptr) {
7436 wxGrid *src;
7437 wxScrolledWindow *dest;
7438 src = (wxGrid *) ptr;
7439 dest = (wxScrolledWindow *) src;
7440 return (void *) dest;
7441 }
7442
7443 static void *SwigwxGridTowxPanel(void *ptr) {
7444 wxGrid *src;
7445 wxPanel *dest;
7446 src = (wxGrid *) ptr;
7447 dest = (wxPanel *) src;
7448 return (void *) dest;
7449 }
7450
7451 static void *SwigwxGridTowxWindow(void *ptr) {
7452 wxGrid *src;
7453 wxWindow *dest;
7454 src = (wxGrid *) ptr;
7455 dest = (wxWindow *) src;
7456 return (void *) dest;
7457 }
7458
7459 static void *SwigwxGridTowxEvtHandler(void *ptr) {
7460 wxGrid *src;
7461 wxEvtHandler *dest;
7462 src = (wxGrid *) ptr;
7463 dest = (wxEvtHandler *) src;
7464 return (void *) dest;
7465 }
7466
7467 static void *SwigwxGridTowxObject(void *ptr) {
7468 wxGrid *src;
7469 wxObject *dest;
7470 src = (wxGrid *) ptr;
7471 dest = (wxObject *) src;
7472 return (void *) dest;
7473 }
7474
7475 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7476 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject * _resultobj;
7478 wxGrid * _result;
7479 wxWindow * _arg0;
7480 wxWindowID _arg1;
7481 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7482 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7483 long _arg4 = (long ) wxWANTS_CHARS;
7484 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
7485 PyObject * _argo0 = 0;
7486 wxPoint temp;
7487 PyObject * _obj2 = 0;
7488 wxSize temp0;
7489 PyObject * _obj3 = 0;
7490 PyObject * _obj5 = 0;
7491 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
7492 char _ptemp[128];
7493
7494 self = self;
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
7496 return NULL;
7497 if (_argo0) {
7498 if (_argo0 == Py_None) { _arg0 = NULL; }
7499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7501 return NULL;
7502 }
7503 }
7504 if (_obj2)
7505 {
7506 _arg2 = &temp;
7507 if (! wxPoint_helper(_obj2, &_arg2))
7508 return NULL;
7509 }
7510 if (_obj3)
7511 {
7512 _arg3 = &temp0;
7513 if (! wxSize_helper(_obj3, &_arg3))
7514 return NULL;
7515 }
7516 if (_obj5)
7517 {
7518 _arg5 = wxString_in_helper(_obj5);
7519 if (_arg5 == NULL)
7520 return NULL;
7521 }
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) return NULL;
7528 } if (_result) {
7529 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
7530 _resultobj = Py_BuildValue("s",_ptemp);
7531 } else {
7532 Py_INCREF(Py_None);
7533 _resultobj = Py_None;
7534 }
7535 {
7536 if (_obj5)
7537 delete _arg5;
7538 }
7539 return _resultobj;
7540 }
7541
7542 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7543 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject * _resultobj;
7545 bool _result;
7546 wxGrid * _arg0;
7547 int _arg1;
7548 int _arg2;
7549 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7550 PyObject * _argo0 = 0;
7551 char *_kwnames[] = { "self","numRows","numCols","selmode", NULL };
7552
7553 self = self;
7554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
7555 return NULL;
7556 if (_argo0) {
7557 if (_argo0 == Py_None) { _arg0 = NULL; }
7558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7560 return NULL;
7561 }
7562 }
7563 {
7564 PyThreadState* __tstate = wxPyBeginAllowThreads();
7565 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3);
7566
7567 wxPyEndAllowThreads(__tstate);
7568 if (PyErr_Occurred()) return NULL;
7569 } _resultobj = Py_BuildValue("i",_result);
7570 return _resultobj;
7571 }
7572
7573 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7574 static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject * _resultobj;
7576 wxGrid * _arg0;
7577 WXGRIDSELECTIONMODES _arg1;
7578 PyObject * _argo0 = 0;
7579 char *_kwnames[] = { "self","selmode", NULL };
7580
7581 self = self;
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1))
7583 return NULL;
7584 if (_argo0) {
7585 if (_argo0 == Py_None) { _arg0 = NULL; }
7586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7588 return NULL;
7589 }
7590 }
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 wxGrid_SetSelectionMode(_arg0,_arg1);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) return NULL;
7597 } Py_INCREF(Py_None);
7598 _resultobj = Py_None;
7599 return _resultobj;
7600 }
7601
7602 #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7603 static PyObject *_wrap_wxGrid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject * _resultobj;
7605 WXGRIDSELECTIONMODES _result;
7606 wxGrid * _arg0;
7607 PyObject * _argo0 = 0;
7608 char *_kwnames[] = { "self", NULL };
7609
7610 self = self;
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionMode",_kwnames,&_argo0))
7612 return NULL;
7613 if (_argo0) {
7614 if (_argo0 == Py_None) { _arg0 = NULL; }
7615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionMode. Expected _wxGrid_p.");
7617 return NULL;
7618 }
7619 }
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 _result = (WXGRIDSELECTIONMODES )wxGrid_GetSelectionMode(_arg0);
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) return NULL;
7626 } _resultobj = Py_BuildValue("i",_result);
7627 return _resultobj;
7628 }
7629
7630 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7631 static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject * _resultobj;
7633 int _result;
7634 wxGrid * _arg0;
7635 PyObject * _argo0 = 0;
7636 char *_kwnames[] = { "self", NULL };
7637
7638 self = self;
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0))
7640 return NULL;
7641 if (_argo0) {
7642 if (_argo0 == Py_None) { _arg0 = NULL; }
7643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7645 return NULL;
7646 }
7647 }
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 _result = (int )wxGrid_GetNumberRows(_arg0);
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) return NULL;
7654 } _resultobj = Py_BuildValue("i",_result);
7655 return _resultobj;
7656 }
7657
7658 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7659 static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject * _resultobj;
7661 int _result;
7662 wxGrid * _arg0;
7663 PyObject * _argo0 = 0;
7664 char *_kwnames[] = { "self", NULL };
7665
7666 self = self;
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0))
7668 return NULL;
7669 if (_argo0) {
7670 if (_argo0 == Py_None) { _arg0 = NULL; }
7671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7673 return NULL;
7674 }
7675 }
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 _result = (int )wxGrid_GetNumberCols(_arg0);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) return NULL;
7682 } _resultobj = Py_BuildValue("i",_result);
7683 return _resultobj;
7684 }
7685
7686 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7687 static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject * _resultobj;
7689 bool _result;
7690 wxGrid * _arg0;
7691 wxGridTableMessage * _arg1;
7692 PyObject * _argo0 = 0;
7693 PyObject * _argo1 = 0;
7694 char *_kwnames[] = { "self","arg2", NULL };
7695
7696 self = self;
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1))
7698 return NULL;
7699 if (_argo0) {
7700 if (_argo0 == Py_None) { _arg0 = NULL; }
7701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7703 return NULL;
7704 }
7705 }
7706 if (_argo1) {
7707 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) {
7708 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7709 return NULL;
7710 }
7711 }
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1);
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) return NULL;
7718 } _resultobj = Py_BuildValue("i",_result);
7719 return _resultobj;
7720 }
7721
7722 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7723 static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject * _resultobj;
7725 wxGridTableBase * _result;
7726 wxGrid * _arg0;
7727 PyObject * _argo0 = 0;
7728 char *_kwnames[] = { "self", NULL };
7729
7730 self = self;
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0))
7732 return NULL;
7733 if (_argo0) {
7734 if (_argo0 == Py_None) { _arg0 = NULL; }
7735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7737 return NULL;
7738 }
7739 }
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 _result = (wxGridTableBase *)wxGrid_GetTable(_arg0);
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) return NULL;
7746 }{ _resultobj = wxPyMake_wxGridTableBase(_result); }
7747 return _resultobj;
7748 }
7749
7750 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7751 static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) {
7752 PyObject * _resultobj;
7753 bool _result;
7754 wxGrid * _arg0;
7755 wxGridTableBase * _arg1;
7756 bool _arg2 = (bool ) FALSE;
7757 WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells;
7758 PyObject * _argo0 = 0;
7759 PyObject * _argo1 = 0;
7760 int tempbool2 = (int) FALSE;
7761 char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL };
7762
7763 self = self;
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3))
7765 return NULL;
7766 if (_argo0) {
7767 if (_argo0 == Py_None) { _arg0 = NULL; }
7768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7770 return NULL;
7771 }
7772 }
7773 if (_argo1) {
7774 if (_argo1 == Py_None) { _arg1 = NULL; }
7775 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) {
7776 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7777 return NULL;
7778 }
7779 }
7780 _arg2 = (bool ) tempbool2;
7781 {
7782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7783 _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3);
7784
7785 wxPyEndAllowThreads(__tstate);
7786 if (PyErr_Occurred()) return NULL;
7787 } _resultobj = Py_BuildValue("i",_result);
7788 return _resultobj;
7789 }
7790
7791 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7792 static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
7793 PyObject * _resultobj;
7794 wxGrid * _arg0;
7795 PyObject * _argo0 = 0;
7796 char *_kwnames[] = { "self", NULL };
7797
7798 self = self;
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0))
7800 return NULL;
7801 if (_argo0) {
7802 if (_argo0 == Py_None) { _arg0 = NULL; }
7803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7805 return NULL;
7806 }
7807 }
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 wxGrid_ClearGrid(_arg0);
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) return NULL;
7814 } Py_INCREF(Py_None);
7815 _resultobj = Py_None;
7816 return _resultobj;
7817 }
7818
7819 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7820 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7821 PyObject * _resultobj;
7822 bool _result;
7823 wxGrid * _arg0;
7824 int _arg1 = (int ) 0;
7825 int _arg2 = (int ) 1;
7826 bool _arg3 = (bool ) TRUE;
7827 PyObject * _argo0 = 0;
7828 int tempbool3 = (int) TRUE;
7829 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7830
7831 self = self;
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7833 return NULL;
7834 if (_argo0) {
7835 if (_argo0 == Py_None) { _arg0 = NULL; }
7836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7838 return NULL;
7839 }
7840 }
7841 _arg3 = (bool ) tempbool3;
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) return NULL;
7848 } _resultobj = Py_BuildValue("i",_result);
7849 return _resultobj;
7850 }
7851
7852 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7853 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7854 PyObject * _resultobj;
7855 bool _result;
7856 wxGrid * _arg0;
7857 int _arg1 = (int ) 1;
7858 bool _arg2 = (bool ) TRUE;
7859 PyObject * _argo0 = 0;
7860 int tempbool2 = (int) TRUE;
7861 char *_kwnames[] = { "self","numRows","updateLabels", NULL };
7862
7863 self = self;
7864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
7865 return NULL;
7866 if (_argo0) {
7867 if (_argo0 == Py_None) { _arg0 = NULL; }
7868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7870 return NULL;
7871 }
7872 }
7873 _arg2 = (bool ) tempbool2;
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) return NULL;
7880 } _resultobj = Py_BuildValue("i",_result);
7881 return _resultobj;
7882 }
7883
7884 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7885 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
7886 PyObject * _resultobj;
7887 bool _result;
7888 wxGrid * _arg0;
7889 int _arg1 = (int ) 0;
7890 int _arg2 = (int ) 1;
7891 bool _arg3 = (bool ) TRUE;
7892 PyObject * _argo0 = 0;
7893 int tempbool3 = (int) TRUE;
7894 char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL };
7895
7896 self = self;
7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7898 return NULL;
7899 if (_argo0) {
7900 if (_argo0 == Py_None) { _arg0 = NULL; }
7901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7903 return NULL;
7904 }
7905 }
7906 _arg3 = (bool ) tempbool3;
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) return NULL;
7913 } _resultobj = Py_BuildValue("i",_result);
7914 return _resultobj;
7915 }
7916
7917 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7918 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7919 PyObject * _resultobj;
7920 bool _result;
7921 wxGrid * _arg0;
7922 int _arg1 = (int ) 0;
7923 int _arg2 = (int ) 1;
7924 bool _arg3 = (bool ) TRUE;
7925 PyObject * _argo0 = 0;
7926 int tempbool3 = (int) TRUE;
7927 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7928
7929 self = self;
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7931 return NULL;
7932 if (_argo0) {
7933 if (_argo0 == Py_None) { _arg0 = NULL; }
7934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7936 return NULL;
7937 }
7938 }
7939 _arg3 = (bool ) tempbool3;
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) return NULL;
7946 } _resultobj = Py_BuildValue("i",_result);
7947 return _resultobj;
7948 }
7949
7950 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7951 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject * _resultobj;
7953 bool _result;
7954 wxGrid * _arg0;
7955 int _arg1 = (int ) 1;
7956 bool _arg2 = (bool ) TRUE;
7957 PyObject * _argo0 = 0;
7958 int tempbool2 = (int) TRUE;
7959 char *_kwnames[] = { "self","numCols","updateLabels", NULL };
7960
7961 self = self;
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
7963 return NULL;
7964 if (_argo0) {
7965 if (_argo0 == Py_None) { _arg0 = NULL; }
7966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
7967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7968 return NULL;
7969 }
7970 }
7971 _arg2 = (bool ) tempbool2;
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) return NULL;
7978 } _resultobj = Py_BuildValue("i",_result);
7979 return _resultobj;
7980 }
7981
7982 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7983 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
7984 PyObject * _resultobj;
7985 bool _result;
7986 wxGrid * _arg0;
7987 int _arg1 = (int ) 0;
7988 int _arg2 = (int ) 1;
7989 bool _arg3 = (bool ) TRUE;
7990 PyObject * _argo0 = 0;
7991 int tempbool3 = (int) TRUE;
7992 char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL };
7993
7994 self = self;
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
7996 return NULL;
7997 if (_argo0) {
7998 if (_argo0 == Py_None) { _arg0 = NULL; }
7999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
8001 return NULL;
8002 }
8003 }
8004 _arg3 = (bool ) tempbool3;
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) return NULL;
8011 } _resultobj = Py_BuildValue("i",_result);
8012 return _resultobj;
8013 }
8014
8015 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
8016 static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8017 PyObject * _resultobj;
8018 wxGrid * _arg0;
8019 wxDC * _arg1;
8020 wxGridCellAttr * _arg2;
8021 PyObject * _argo0 = 0;
8022 PyObject * _argo1 = 0;
8023 PyObject * _argo2 = 0;
8024 char *_kwnames[] = { "self","dc","attr", NULL };
8025
8026 self = self;
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2))
8028 return NULL;
8029 if (_argo0) {
8030 if (_argo0 == Py_None) { _arg0 = NULL; }
8031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
8033 return NULL;
8034 }
8035 }
8036 if (_argo1) {
8037 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8038 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
8039 return NULL;
8040 }
8041 }
8042 if (_argo2) {
8043 if (_argo2 == Py_None) { _arg2 = NULL; }
8044 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
8045 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
8046 return NULL;
8047 }
8048 }
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2);
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) return NULL;
8055 } Py_INCREF(Py_None);
8056 _resultobj = Py_None;
8057 return _resultobj;
8058 }
8059
8060 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8061 static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8062 PyObject * _resultobj;
8063 wxGrid * _arg0;
8064 wxDC * _arg1;
8065 wxString * _arg2;
8066 wxRect * _arg3;
8067 int _arg4 = (int ) wxLEFT;
8068 int _arg5 = (int ) wxTOP;
8069 int _arg6 = (int ) wxHORIZONTAL;
8070 PyObject * _argo0 = 0;
8071 PyObject * _argo1 = 0;
8072 PyObject * _obj2 = 0;
8073 wxRect temp;
8074 PyObject * _obj3 = 0;
8075 char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment","textOrientation", NULL };
8076
8077 self = self;
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5,&_arg6))
8079 return NULL;
8080 if (_argo0) {
8081 if (_argo0 == Py_None) { _arg0 = NULL; }
8082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
8084 return NULL;
8085 }
8086 }
8087 if (_argo1) {
8088 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8089 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
8090 return NULL;
8091 }
8092 }
8093 {
8094 _arg2 = wxString_in_helper(_obj2);
8095 if (_arg2 == NULL)
8096 return NULL;
8097 }
8098 {
8099 _arg3 = &temp;
8100 if (! wxRect_helper(_obj3, &_arg3))
8101 return NULL;
8102 }
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6);
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) return NULL;
8109 } Py_INCREF(Py_None);
8110 _resultobj = Py_None;
8111 {
8112 if (_obj2)
8113 delete _arg2;
8114 }
8115 return _resultobj;
8116 }
8117
8118 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8119 static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject * _resultobj;
8121 wxGrid * _arg0;
8122 wxDC * _arg1;
8123 wxArrayString * _arg2;
8124 long * _arg3;
8125 long temp;
8126 long * _arg4;
8127 long temp0;
8128 PyObject * _argo0 = 0;
8129 PyObject * _argo1 = 0;
8130 PyObject * _obj2 = 0;
8131 char *_kwnames[] = { "self","dc","lines", NULL };
8132
8133 self = self;
8134 {
8135 _arg3 = &temp;
8136 }
8137 {
8138 _arg4 = &temp0;
8139 }
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2))
8141 return NULL;
8142 if (_argo0) {
8143 if (_argo0 == Py_None) { _arg0 = NULL; }
8144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8146 return NULL;
8147 }
8148 }
8149 if (_argo1) {
8150 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8151 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8152 return NULL;
8153 }
8154 }
8155 {
8156 if (! PySequence_Check(_obj2)) {
8157 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8158 return NULL;
8159 }
8160 _arg2 = new wxArrayString;
8161 int i, len=PySequence_Length(_obj2);
8162 for (i=0; i<len; i++) {
8163 PyObject* item = PySequence_GetItem(_obj2, i);
8164 #if wxUSE_UNICODE
8165 PyObject* str = PyObject_Unicode(item);
8166 #else
8167 PyObject* str = PyObject_Str(item);
8168 #endif
8169 _arg2->Add(Py2wxString(str));
8170 Py_DECREF(item);
8171 Py_DECREF(str);
8172 }
8173 }
8174 {
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4);
8177
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) return NULL;
8180 } Py_INCREF(Py_None);
8181 _resultobj = Py_None;
8182 {
8183 PyObject *o;
8184 o = PyInt_FromLong((long) (*_arg3));
8185 _resultobj = t_output_helper(_resultobj, o);
8186 }
8187 {
8188 PyObject *o;
8189 o = PyInt_FromLong((long) (*_arg4));
8190 _resultobj = t_output_helper(_resultobj, o);
8191 }
8192 {
8193 if (_obj2)
8194 delete _arg2;
8195 }
8196 return _resultobj;
8197 }
8198
8199 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8200 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8201 PyObject * _resultobj;
8202 wxGrid * _arg0;
8203 PyObject * _argo0 = 0;
8204 char *_kwnames[] = { "self", NULL };
8205
8206 self = self;
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
8208 return NULL;
8209 if (_argo0) {
8210 if (_argo0 == Py_None) { _arg0 = NULL; }
8211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
8213 return NULL;
8214 }
8215 }
8216 {
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 wxGrid_BeginBatch(_arg0);
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) return NULL;
8222 } Py_INCREF(Py_None);
8223 _resultobj = Py_None;
8224 return _resultobj;
8225 }
8226
8227 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8228 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8229 PyObject * _resultobj;
8230 wxGrid * _arg0;
8231 PyObject * _argo0 = 0;
8232 char *_kwnames[] = { "self", NULL };
8233
8234 self = self;
8235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
8236 return NULL;
8237 if (_argo0) {
8238 if (_argo0 == Py_None) { _arg0 = NULL; }
8239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8241 return NULL;
8242 }
8243 }
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 wxGrid_EndBatch(_arg0);
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) return NULL;
8250 } Py_INCREF(Py_None);
8251 _resultobj = Py_None;
8252 return _resultobj;
8253 }
8254
8255 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8256 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8257 PyObject * _resultobj;
8258 int _result;
8259 wxGrid * _arg0;
8260 PyObject * _argo0 = 0;
8261 char *_kwnames[] = { "self", NULL };
8262
8263 self = self;
8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
8265 return NULL;
8266 if (_argo0) {
8267 if (_argo0 == Py_None) { _arg0 = NULL; }
8268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8270 return NULL;
8271 }
8272 }
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 _result = (int )wxGrid_GetBatchCount(_arg0);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) return NULL;
8279 } _resultobj = Py_BuildValue("i",_result);
8280 return _resultobj;
8281 }
8282
8283 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8284 static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8285 PyObject * _resultobj;
8286 wxGrid * _arg0;
8287 PyObject * _argo0 = 0;
8288 char *_kwnames[] = { "self", NULL };
8289
8290 self = self;
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0))
8292 return NULL;
8293 if (_argo0) {
8294 if (_argo0 == Py_None) { _arg0 = NULL; }
8295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8297 return NULL;
8298 }
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 wxGrid_ForceRefresh(_arg0);
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) return NULL;
8306 } Py_INCREF(Py_None);
8307 _resultobj = Py_None;
8308 return _resultobj;
8309 }
8310
8311 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8312 static PyObject *_wrap_wxGrid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject * _resultobj;
8314 wxGrid * _arg0;
8315 bool _arg1 = (bool ) TRUE;
8316 wxRect * _arg2 = (wxRect *) NULL;
8317 PyObject * _argo0 = 0;
8318 int tempbool1 = (int) TRUE;
8319 wxRect temp;
8320 PyObject * _obj2 = 0;
8321 char *_kwnames[] = { "self","eraseb","rect", NULL };
8322
8323 self = self;
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxGrid_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2))
8325 return NULL;
8326 if (_argo0) {
8327 if (_argo0 == Py_None) { _arg0 = NULL; }
8328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8330 return NULL;
8331 }
8332 }
8333 _arg1 = (bool ) tempbool1;
8334 if (_obj2)
8335 {
8336 _arg2 = &temp;
8337 if (! wxRect_helper(_obj2, &_arg2))
8338 return NULL;
8339 }
8340 {
8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
8342 wxGrid_Refresh(_arg0,_arg1,_arg2);
8343
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) return NULL;
8346 } Py_INCREF(Py_None);
8347 _resultobj = Py_None;
8348 return _resultobj;
8349 }
8350
8351 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8352 static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject * _resultobj;
8354 bool _result;
8355 wxGrid * _arg0;
8356 PyObject * _argo0 = 0;
8357 char *_kwnames[] = { "self", NULL };
8358
8359 self = self;
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0))
8361 return NULL;
8362 if (_argo0) {
8363 if (_argo0 == Py_None) { _arg0 = NULL; }
8364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8366 return NULL;
8367 }
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 _result = (bool )wxGrid_IsEditable(_arg0);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) return NULL;
8375 } _resultobj = Py_BuildValue("i",_result);
8376 return _resultobj;
8377 }
8378
8379 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8380 static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) {
8381 PyObject * _resultobj;
8382 wxGrid * _arg0;
8383 bool _arg1;
8384 PyObject * _argo0 = 0;
8385 int tempbool1;
8386 char *_kwnames[] = { "self","edit", NULL };
8387
8388 self = self;
8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1))
8390 return NULL;
8391 if (_argo0) {
8392 if (_argo0 == Py_None) { _arg0 = NULL; }
8393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8395 return NULL;
8396 }
8397 }
8398 _arg1 = (bool ) tempbool1;
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 wxGrid_EnableEditing(_arg0,_arg1);
8402
8403 wxPyEndAllowThreads(__tstate);
8404 if (PyErr_Occurred()) return NULL;
8405 } Py_INCREF(Py_None);
8406 _resultobj = Py_None;
8407 return _resultobj;
8408 }
8409
8410 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8411 static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8412 PyObject * _resultobj;
8413 wxGrid * _arg0;
8414 bool _arg1 = (bool ) TRUE;
8415 PyObject * _argo0 = 0;
8416 int tempbool1 = (int) TRUE;
8417 char *_kwnames[] = { "self","enable", NULL };
8418
8419 self = self;
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1))
8421 return NULL;
8422 if (_argo0) {
8423 if (_argo0 == Py_None) { _arg0 = NULL; }
8424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8426 return NULL;
8427 }
8428 }
8429 _arg1 = (bool ) tempbool1;
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 wxGrid_EnableCellEditControl(_arg0,_arg1);
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) return NULL;
8436 } Py_INCREF(Py_None);
8437 _resultobj = Py_None;
8438 return _resultobj;
8439 }
8440
8441 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8442 static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject * _resultobj;
8444 wxGrid * _arg0;
8445 PyObject * _argo0 = 0;
8446 char *_kwnames[] = { "self", NULL };
8447
8448 self = self;
8449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0))
8450 return NULL;
8451 if (_argo0) {
8452 if (_argo0 == Py_None) { _arg0 = NULL; }
8453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8455 return NULL;
8456 }
8457 }
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 wxGrid_DisableCellEditControl(_arg0);
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) return NULL;
8464 } Py_INCREF(Py_None);
8465 _resultobj = Py_None;
8466 return _resultobj;
8467 }
8468
8469 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8470 static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject * _resultobj;
8472 bool _result;
8473 wxGrid * _arg0;
8474 PyObject * _argo0 = 0;
8475 char *_kwnames[] = { "self", NULL };
8476
8477 self = self;
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0))
8479 return NULL;
8480 if (_argo0) {
8481 if (_argo0 == Py_None) { _arg0 = NULL; }
8482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8484 return NULL;
8485 }
8486 }
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 _result = (bool )wxGrid_CanEnableCellControl(_arg0);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) return NULL;
8493 } _resultobj = Py_BuildValue("i",_result);
8494 return _resultobj;
8495 }
8496
8497 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8498 static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject * _resultobj;
8500 bool _result;
8501 wxGrid * _arg0;
8502 PyObject * _argo0 = 0;
8503 char *_kwnames[] = { "self", NULL };
8504
8505 self = self;
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0))
8507 return NULL;
8508 if (_argo0) {
8509 if (_argo0 == Py_None) { _arg0 = NULL; }
8510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8512 return NULL;
8513 }
8514 }
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) return NULL;
8521 } _resultobj = Py_BuildValue("i",_result);
8522 return _resultobj;
8523 }
8524
8525 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8526 static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) {
8527 PyObject * _resultobj;
8528 bool _result;
8529 wxGrid * _arg0;
8530 PyObject * _argo0 = 0;
8531 char *_kwnames[] = { "self", NULL };
8532
8533 self = self;
8534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0))
8535 return NULL;
8536 if (_argo0) {
8537 if (_argo0 == Py_None) { _arg0 = NULL; }
8538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8540 return NULL;
8541 }
8542 }
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 _result = (bool )wxGrid_IsCellEditControlShown(_arg0);
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) return NULL;
8549 } _resultobj = Py_BuildValue("i",_result);
8550 return _resultobj;
8551 }
8552
8553 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8554 static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
8555 PyObject * _resultobj;
8556 bool _result;
8557 wxGrid * _arg0;
8558 PyObject * _argo0 = 0;
8559 char *_kwnames[] = { "self", NULL };
8560
8561 self = self;
8562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0))
8563 return NULL;
8564 if (_argo0) {
8565 if (_argo0 == Py_None) { _arg0 = NULL; }
8566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8568 return NULL;
8569 }
8570 }
8571 {
8572 PyThreadState* __tstate = wxPyBeginAllowThreads();
8573 _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0);
8574
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) return NULL;
8577 } _resultobj = Py_BuildValue("i",_result);
8578 return _resultobj;
8579 }
8580
8581 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8582 static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8583 PyObject * _resultobj;
8584 wxGrid * _arg0;
8585 PyObject * _argo0 = 0;
8586 char *_kwnames[] = { "self", NULL };
8587
8588 self = self;
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0))
8590 return NULL;
8591 if (_argo0) {
8592 if (_argo0 == Py_None) { _arg0 = NULL; }
8593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8595 return NULL;
8596 }
8597 }
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 wxGrid_ShowCellEditControl(_arg0);
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) return NULL;
8604 } Py_INCREF(Py_None);
8605 _resultobj = Py_None;
8606 return _resultobj;
8607 }
8608
8609 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8610 static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8611 PyObject * _resultobj;
8612 wxGrid * _arg0;
8613 PyObject * _argo0 = 0;
8614 char *_kwnames[] = { "self", NULL };
8615
8616 self = self;
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0))
8618 return NULL;
8619 if (_argo0) {
8620 if (_argo0 == Py_None) { _arg0 = NULL; }
8621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8623 return NULL;
8624 }
8625 }
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 wxGrid_HideCellEditControl(_arg0);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) return NULL;
8632 } Py_INCREF(Py_None);
8633 _resultobj = Py_None;
8634 return _resultobj;
8635 }
8636
8637 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8638 static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject * _resultobj;
8640 wxGrid * _arg0;
8641 PyObject * _argo0 = 0;
8642 char *_kwnames[] = { "self", NULL };
8643
8644 self = self;
8645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0))
8646 return NULL;
8647 if (_argo0) {
8648 if (_argo0 == Py_None) { _arg0 = NULL; }
8649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8651 return NULL;
8652 }
8653 }
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 wxGrid_SaveEditControlValue(_arg0);
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) return NULL;
8660 } Py_INCREF(Py_None);
8661 _resultobj = Py_None;
8662 return _resultobj;
8663 }
8664
8665 static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) {
8666 wxGridCellCoords rv;
8667 self->XYToCell(x, y, rv);
8668 return new wxGridCellCoords(rv);
8669 }
8670 static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject * _resultobj;
8672 wxGridCellCoords * _result;
8673 wxGrid * _arg0;
8674 int _arg1;
8675 int _arg2;
8676 PyObject * _argo0 = 0;
8677 char *_kwnames[] = { "self","x","y", NULL };
8678 char _ptemp[128];
8679
8680 self = self;
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2))
8682 return NULL;
8683 if (_argo0) {
8684 if (_argo0 == Py_None) { _arg0 = NULL; }
8685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8687 return NULL;
8688 }
8689 }
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) return NULL;
8696 } if (_result) {
8697 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p");
8698 _resultobj = Py_BuildValue("s",_ptemp);
8699 } else {
8700 Py_INCREF(Py_None);
8701 _resultobj = Py_None;
8702 }
8703 return _resultobj;
8704 }
8705
8706 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8707 static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject * _resultobj;
8709 int _result;
8710 wxGrid * _arg0;
8711 int _arg1;
8712 PyObject * _argo0 = 0;
8713 char *_kwnames[] = { "self","y", NULL };
8714
8715 self = self;
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1))
8717 return NULL;
8718 if (_argo0) {
8719 if (_argo0 == Py_None) { _arg0 = NULL; }
8720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8722 return NULL;
8723 }
8724 }
8725 {
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 _result = (int )wxGrid_YToRow(_arg0,_arg1);
8728
8729 wxPyEndAllowThreads(__tstate);
8730 if (PyErr_Occurred()) return NULL;
8731 } _resultobj = Py_BuildValue("i",_result);
8732 return _resultobj;
8733 }
8734
8735 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8736 static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject * _resultobj;
8738 int _result;
8739 wxGrid * _arg0;
8740 int _arg1;
8741 PyObject * _argo0 = 0;
8742 char *_kwnames[] = { "self","x", NULL };
8743
8744 self = self;
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1))
8746 return NULL;
8747 if (_argo0) {
8748 if (_argo0 == Py_None) { _arg0 = NULL; }
8749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8751 return NULL;
8752 }
8753 }
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 _result = (int )wxGrid_XToCol(_arg0,_arg1);
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) return NULL;
8760 } _resultobj = Py_BuildValue("i",_result);
8761 return _resultobj;
8762 }
8763
8764 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8765 static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject * _resultobj;
8767 int _result;
8768 wxGrid * _arg0;
8769 int _arg1;
8770 PyObject * _argo0 = 0;
8771 char *_kwnames[] = { "self","y", NULL };
8772
8773 self = self;
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1))
8775 return NULL;
8776 if (_argo0) {
8777 if (_argo0 == Py_None) { _arg0 = NULL; }
8778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8780 return NULL;
8781 }
8782 }
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1);
8786
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) return NULL;
8789 } _resultobj = Py_BuildValue("i",_result);
8790 return _resultobj;
8791 }
8792
8793 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8794 static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8795 PyObject * _resultobj;
8796 int _result;
8797 wxGrid * _arg0;
8798 int _arg1;
8799 PyObject * _argo0 = 0;
8800 char *_kwnames[] = { "self","x", NULL };
8801
8802 self = self;
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1))
8804 return NULL;
8805 if (_argo0) {
8806 if (_argo0 == Py_None) { _arg0 = NULL; }
8807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8809 return NULL;
8810 }
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) return NULL;
8818 } _resultobj = Py_BuildValue("i",_result);
8819 return _resultobj;
8820 }
8821
8822 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8823 static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8824 PyObject * _resultobj;
8825 wxRect * _result;
8826 wxGrid * _arg0;
8827 int _arg1;
8828 int _arg2;
8829 PyObject * _argo0 = 0;
8830 char *_kwnames[] = { "self","row","col", NULL };
8831 char _ptemp[128];
8832
8833 self = self;
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2))
8835 return NULL;
8836 if (_argo0) {
8837 if (_argo0 == Py_None) { _arg0 = NULL; }
8838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8840 return NULL;
8841 }
8842 }
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2));
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) return NULL;
8849 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
8850 _resultobj = Py_BuildValue("s",_ptemp);
8851 return _resultobj;
8852 }
8853
8854 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8855 static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject * _resultobj;
8857 int _result;
8858 wxGrid * _arg0;
8859 PyObject * _argo0 = 0;
8860 char *_kwnames[] = { "self", NULL };
8861
8862 self = self;
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0))
8864 return NULL;
8865 if (_argo0) {
8866 if (_argo0 == Py_None) { _arg0 = NULL; }
8867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8869 return NULL;
8870 }
8871 }
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 _result = (int )wxGrid_GetGridCursorRow(_arg0);
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) return NULL;
8878 } _resultobj = Py_BuildValue("i",_result);
8879 return _resultobj;
8880 }
8881
8882 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8883 static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) {
8884 PyObject * _resultobj;
8885 int _result;
8886 wxGrid * _arg0;
8887 PyObject * _argo0 = 0;
8888 char *_kwnames[] = { "self", NULL };
8889
8890 self = self;
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0))
8892 return NULL;
8893 if (_argo0) {
8894 if (_argo0 == Py_None) { _arg0 = NULL; }
8895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8897 return NULL;
8898 }
8899 }
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 _result = (int )wxGrid_GetGridCursorCol(_arg0);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) return NULL;
8906 } _resultobj = Py_BuildValue("i",_result);
8907 return _resultobj;
8908 }
8909
8910 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8911 static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject * _resultobj;
8913 bool _result;
8914 wxGrid * _arg0;
8915 int _arg1;
8916 int _arg2;
8917 bool _arg3 = (bool ) TRUE;
8918 PyObject * _argo0 = 0;
8919 int tempbool3 = (int) TRUE;
8920 char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL };
8921
8922 self = self;
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
8924 return NULL;
8925 if (_argo0) {
8926 if (_argo0 == Py_None) { _arg0 = NULL; }
8927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8929 return NULL;
8930 }
8931 }
8932 _arg3 = (bool ) tempbool3;
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3);
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) return NULL;
8939 } _resultobj = Py_BuildValue("i",_result);
8940 return _resultobj;
8941 }
8942
8943 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8944 static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8945 PyObject * _resultobj;
8946 wxGrid * _arg0;
8947 int _arg1;
8948 int _arg2;
8949 PyObject * _argo0 = 0;
8950 char *_kwnames[] = { "self","row","col", NULL };
8951
8952 self = self;
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2))
8954 return NULL;
8955 if (_argo0) {
8956 if (_argo0 == Py_None) { _arg0 = NULL; }
8957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8959 return NULL;
8960 }
8961 }
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 wxGrid_MakeCellVisible(_arg0,_arg1,_arg2);
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) return NULL;
8968 } Py_INCREF(Py_None);
8969 _resultobj = Py_None;
8970 return _resultobj;
8971 }
8972
8973 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8974 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8975 PyObject * _resultobj;
8976 wxGrid * _arg0;
8977 int _arg1;
8978 int _arg2;
8979 PyObject * _argo0 = 0;
8980 char *_kwnames[] = { "self","row","col", NULL };
8981
8982 self = self;
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
8984 return NULL;
8985 if (_argo0) {
8986 if (_argo0 == Py_None) { _arg0 = NULL; }
8987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
8988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8989 return NULL;
8990 }
8991 }
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) return NULL;
8998 } Py_INCREF(Py_None);
8999 _resultobj = Py_None;
9000 return _resultobj;
9001 }
9002
9003 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
9004 static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject * _resultobj;
9006 bool _result;
9007 wxGrid * _arg0;
9008 bool _arg1;
9009 PyObject * _argo0 = 0;
9010 int tempbool1;
9011 char *_kwnames[] = { "self","expandSelection", NULL };
9012
9013 self = self;
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1))
9015 return NULL;
9016 if (_argo0) {
9017 if (_argo0 == Py_None) { _arg0 = NULL; }
9018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
9020 return NULL;
9021 }
9022 }
9023 _arg1 = (bool ) tempbool1;
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1);
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) return NULL;
9030 } _resultobj = Py_BuildValue("i",_result);
9031 return _resultobj;
9032 }
9033
9034 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
9035 static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject * _resultobj;
9037 bool _result;
9038 wxGrid * _arg0;
9039 bool _arg1;
9040 PyObject * _argo0 = 0;
9041 int tempbool1;
9042 char *_kwnames[] = { "self","expandSelection", NULL };
9043
9044 self = self;
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1))
9046 return NULL;
9047 if (_argo0) {
9048 if (_argo0 == Py_None) { _arg0 = NULL; }
9049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
9051 return NULL;
9052 }
9053 }
9054 _arg1 = (bool ) tempbool1;
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1);
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) return NULL;
9061 } _resultobj = Py_BuildValue("i",_result);
9062 return _resultobj;
9063 }
9064
9065 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
9066 static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9067 PyObject * _resultobj;
9068 bool _result;
9069 wxGrid * _arg0;
9070 bool _arg1;
9071 PyObject * _argo0 = 0;
9072 int tempbool1;
9073 char *_kwnames[] = { "self","expandSelection", NULL };
9074
9075 self = self;
9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1))
9077 return NULL;
9078 if (_argo0) {
9079 if (_argo0 == Py_None) { _arg0 = NULL; }
9080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
9082 return NULL;
9083 }
9084 }
9085 _arg1 = (bool ) tempbool1;
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) return NULL;
9092 } _resultobj = Py_BuildValue("i",_result);
9093 return _resultobj;
9094 }
9095
9096 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
9097 static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9098 PyObject * _resultobj;
9099 bool _result;
9100 wxGrid * _arg0;
9101 bool _arg1;
9102 PyObject * _argo0 = 0;
9103 int tempbool1;
9104 char *_kwnames[] = { "self","expandSelection", NULL };
9105
9106 self = self;
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1))
9108 return NULL;
9109 if (_argo0) {
9110 if (_argo0 == Py_None) { _arg0 = NULL; }
9111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
9113 return NULL;
9114 }
9115 }
9116 _arg1 = (bool ) tempbool1;
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1);
9120
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) return NULL;
9123 } _resultobj = Py_BuildValue("i",_result);
9124 return _resultobj;
9125 }
9126
9127 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
9128 static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9129 PyObject * _resultobj;
9130 bool _result;
9131 wxGrid * _arg0;
9132 PyObject * _argo0 = 0;
9133 char *_kwnames[] = { "self", NULL };
9134
9135 self = self;
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0))
9137 return NULL;
9138 if (_argo0) {
9139 if (_argo0 == Py_None) { _arg0 = NULL; }
9140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
9142 return NULL;
9143 }
9144 }
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 _result = (bool )wxGrid_MovePageDown(_arg0);
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) return NULL;
9151 } _resultobj = Py_BuildValue("i",_result);
9152 return _resultobj;
9153 }
9154
9155 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9156 static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9157 PyObject * _resultobj;
9158 bool _result;
9159 wxGrid * _arg0;
9160 PyObject * _argo0 = 0;
9161 char *_kwnames[] = { "self", NULL };
9162
9163 self = self;
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0))
9165 return NULL;
9166 if (_argo0) {
9167 if (_argo0 == Py_None) { _arg0 = NULL; }
9168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
9170 return NULL;
9171 }
9172 }
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 _result = (bool )wxGrid_MovePageUp(_arg0);
9176
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) return NULL;
9179 } _resultobj = Py_BuildValue("i",_result);
9180 return _resultobj;
9181 }
9182
9183 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9184 static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject * _resultobj;
9186 bool _result;
9187 wxGrid * _arg0;
9188 bool _arg1;
9189 PyObject * _argo0 = 0;
9190 int tempbool1;
9191 char *_kwnames[] = { "self","expandSelection", NULL };
9192
9193 self = self;
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1))
9195 return NULL;
9196 if (_argo0) {
9197 if (_argo0 == Py_None) { _arg0 = NULL; }
9198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9200 return NULL;
9201 }
9202 }
9203 _arg1 = (bool ) tempbool1;
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1);
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) return NULL;
9210 } _resultobj = Py_BuildValue("i",_result);
9211 return _resultobj;
9212 }
9213
9214 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9215 static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject * _resultobj;
9217 bool _result;
9218 wxGrid * _arg0;
9219 bool _arg1;
9220 PyObject * _argo0 = 0;
9221 int tempbool1;
9222 char *_kwnames[] = { "self","expandSelection", NULL };
9223
9224 self = self;
9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1))
9226 return NULL;
9227 if (_argo0) {
9228 if (_argo0 == Py_None) { _arg0 = NULL; }
9229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9231 return NULL;
9232 }
9233 }
9234 _arg1 = (bool ) tempbool1;
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1);
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) return NULL;
9241 } _resultobj = Py_BuildValue("i",_result);
9242 return _resultobj;
9243 }
9244
9245 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9246 static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject * _resultobj;
9248 bool _result;
9249 wxGrid * _arg0;
9250 bool _arg1;
9251 PyObject * _argo0 = 0;
9252 int tempbool1;
9253 char *_kwnames[] = { "self","expandSelection", NULL };
9254
9255 self = self;
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1))
9257 return NULL;
9258 if (_argo0) {
9259 if (_argo0 == Py_None) { _arg0 = NULL; }
9260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9262 return NULL;
9263 }
9264 }
9265 _arg1 = (bool ) tempbool1;
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
9268 _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1);
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) return NULL;
9272 } _resultobj = Py_BuildValue("i",_result);
9273 return _resultobj;
9274 }
9275
9276 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9277 static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject * _resultobj;
9279 bool _result;
9280 wxGrid * _arg0;
9281 bool _arg1;
9282 PyObject * _argo0 = 0;
9283 int tempbool1;
9284 char *_kwnames[] = { "self","expandSelection", NULL };
9285
9286 self = self;
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1))
9288 return NULL;
9289 if (_argo0) {
9290 if (_argo0 == Py_None) { _arg0 = NULL; }
9291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9293 return NULL;
9294 }
9295 }
9296 _arg1 = (bool ) tempbool1;
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1);
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) return NULL;
9303 } _resultobj = Py_BuildValue("i",_result);
9304 return _resultobj;
9305 }
9306
9307 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9308 static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject * _resultobj;
9310 int _result;
9311 wxGrid * _arg0;
9312 PyObject * _argo0 = 0;
9313 char *_kwnames[] = { "self", NULL };
9314
9315 self = self;
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0))
9317 return NULL;
9318 if (_argo0) {
9319 if (_argo0 == Py_None) { _arg0 = NULL; }
9320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9322 return NULL;
9323 }
9324 }
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0);
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) return NULL;
9331 } _resultobj = Py_BuildValue("i",_result);
9332 return _resultobj;
9333 }
9334
9335 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9336 static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject * _resultobj;
9338 int _result;
9339 wxGrid * _arg0;
9340 PyObject * _argo0 = 0;
9341 char *_kwnames[] = { "self", NULL };
9342
9343 self = self;
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0))
9345 return NULL;
9346 if (_argo0) {
9347 if (_argo0 == Py_None) { _arg0 = NULL; }
9348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9350 return NULL;
9351 }
9352 }
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 _result = (int )wxGrid_GetRowLabelSize(_arg0);
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) return NULL;
9359 } _resultobj = Py_BuildValue("i",_result);
9360 return _resultobj;
9361 }
9362
9363 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9364 static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject * _resultobj;
9366 int _result;
9367 wxGrid * _arg0;
9368 PyObject * _argo0 = 0;
9369 char *_kwnames[] = { "self", NULL };
9370
9371 self = self;
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0))
9373 return NULL;
9374 if (_argo0) {
9375 if (_argo0 == Py_None) { _arg0 = NULL; }
9376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9378 return NULL;
9379 }
9380 }
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 _result = (int )wxGrid_GetDefaultColLabelSize(_arg0);
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) return NULL;
9387 } _resultobj = Py_BuildValue("i",_result);
9388 return _resultobj;
9389 }
9390
9391 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9392 static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject * _resultobj;
9394 int _result;
9395 wxGrid * _arg0;
9396 PyObject * _argo0 = 0;
9397 char *_kwnames[] = { "self", NULL };
9398
9399 self = self;
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0))
9401 return NULL;
9402 if (_argo0) {
9403 if (_argo0 == Py_None) { _arg0 = NULL; }
9404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9406 return NULL;
9407 }
9408 }
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 _result = (int )wxGrid_GetColLabelSize(_arg0);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) return NULL;
9415 } _resultobj = Py_BuildValue("i",_result);
9416 return _resultobj;
9417 }
9418
9419 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9420 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject * _resultobj;
9422 wxColour * _result;
9423 wxGrid * _arg0;
9424 PyObject * _argo0 = 0;
9425 char *_kwnames[] = { "self", NULL };
9426 char _ptemp[128];
9427
9428 self = self;
9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
9430 return NULL;
9431 if (_argo0) {
9432 if (_argo0 == Py_None) { _arg0 = NULL; }
9433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9435 return NULL;
9436 }
9437 }
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0));
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) return NULL;
9444 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9445 _resultobj = Py_BuildValue("s",_ptemp);
9446 return _resultobj;
9447 }
9448
9449 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9450 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject * _resultobj;
9452 wxColour * _result;
9453 wxGrid * _arg0;
9454 PyObject * _argo0 = 0;
9455 char *_kwnames[] = { "self", NULL };
9456 char _ptemp[128];
9457
9458 self = self;
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
9460 return NULL;
9461 if (_argo0) {
9462 if (_argo0 == Py_None) { _arg0 = NULL; }
9463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9465 return NULL;
9466 }
9467 }
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 _result = new wxColour (wxGrid_GetLabelTextColour(_arg0));
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) return NULL;
9474 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9475 _resultobj = Py_BuildValue("s",_ptemp);
9476 return _resultobj;
9477 }
9478
9479 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9480 static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject * _resultobj;
9482 wxFont * _result;
9483 wxGrid * _arg0;
9484 PyObject * _argo0 = 0;
9485 char *_kwnames[] = { "self", NULL };
9486 char _ptemp[128];
9487
9488 self = self;
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0))
9490 return NULL;
9491 if (_argo0) {
9492 if (_argo0 == Py_None) { _arg0 = NULL; }
9493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9495 return NULL;
9496 }
9497 }
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 _result = new wxFont (wxGrid_GetLabelFont(_arg0));
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) return NULL;
9504 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
9505 _resultobj = Py_BuildValue("s",_ptemp);
9506 return _resultobj;
9507 }
9508
9509 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9510 static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9511 PyObject * _resultobj;
9512 wxGrid * _arg0;
9513 int * _arg1;
9514 int temp;
9515 int * _arg2;
9516 int temp0;
9517 PyObject * _argo0 = 0;
9518 char *_kwnames[] = { "self", NULL };
9519
9520 self = self;
9521 {
9522 _arg1 = &temp;
9523 }
9524 {
9525 _arg2 = &temp0;
9526 }
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0))
9528 return NULL;
9529 if (_argo0) {
9530 if (_argo0 == Py_None) { _arg0 = NULL; }
9531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9533 return NULL;
9534 }
9535 }
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) return NULL;
9542 } Py_INCREF(Py_None);
9543 _resultobj = Py_None;
9544 {
9545 PyObject *o;
9546 o = PyInt_FromLong((long) (*_arg1));
9547 _resultobj = t_output_helper(_resultobj, o);
9548 }
9549 {
9550 PyObject *o;
9551 o = PyInt_FromLong((long) (*_arg2));
9552 _resultobj = t_output_helper(_resultobj, o);
9553 }
9554 return _resultobj;
9555 }
9556
9557 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9558 static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject * _resultobj;
9560 wxGrid * _arg0;
9561 int * _arg1;
9562 int temp;
9563 int * _arg2;
9564 int temp0;
9565 PyObject * _argo0 = 0;
9566 char *_kwnames[] = { "self", NULL };
9567
9568 self = self;
9569 {
9570 _arg1 = &temp;
9571 }
9572 {
9573 _arg2 = &temp0;
9574 }
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0))
9576 return NULL;
9577 if (_argo0) {
9578 if (_argo0 == Py_None) { _arg0 = NULL; }
9579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9581 return NULL;
9582 }
9583 }
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2);
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) return NULL;
9590 } Py_INCREF(Py_None);
9591 _resultobj = Py_None;
9592 {
9593 PyObject *o;
9594 o = PyInt_FromLong((long) (*_arg1));
9595 _resultobj = t_output_helper(_resultobj, o);
9596 }
9597 {
9598 PyObject *o;
9599 o = PyInt_FromLong((long) (*_arg2));
9600 _resultobj = t_output_helper(_resultobj, o);
9601 }
9602 return _resultobj;
9603 }
9604
9605 #define wxGrid_GetColLabelTextOrientation(_swigobj) (_swigobj->GetColLabelTextOrientation())
9606 static PyObject *_wrap_wxGrid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
9607 PyObject * _resultobj;
9608 int _result;
9609 wxGrid * _arg0;
9610 PyObject * _argo0 = 0;
9611 char *_kwnames[] = { "self", NULL };
9612
9613 self = self;
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelTextOrientation",_kwnames,&_argo0))
9615 return NULL;
9616 if (_argo0) {
9617 if (_argo0 == Py_None) { _arg0 = NULL; }
9618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelTextOrientation. Expected _wxGrid_p.");
9620 return NULL;
9621 }
9622 }
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 _result = (int )wxGrid_GetColLabelTextOrientation(_arg0);
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) return NULL;
9629 } _resultobj = Py_BuildValue("i",_result);
9630 return _resultobj;
9631 }
9632
9633 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9634 static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject * _resultobj;
9636 wxString * _result;
9637 wxGrid * _arg0;
9638 int _arg1;
9639 PyObject * _argo0 = 0;
9640 char *_kwnames[] = { "self","row", NULL };
9641
9642 self = self;
9643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1))
9644 return NULL;
9645 if (_argo0) {
9646 if (_argo0 == Py_None) { _arg0 = NULL; }
9647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9649 return NULL;
9650 }
9651 }
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1));
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) return NULL;
9658 }{
9659 #if wxUSE_UNICODE
9660 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9661 #else
9662 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9663 #endif
9664 }
9665 {
9666 delete _result;
9667 }
9668 return _resultobj;
9669 }
9670
9671 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9672 static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9673 PyObject * _resultobj;
9674 wxString * _result;
9675 wxGrid * _arg0;
9676 int _arg1;
9677 PyObject * _argo0 = 0;
9678 char *_kwnames[] = { "self","col", NULL };
9679
9680 self = self;
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1))
9682 return NULL;
9683 if (_argo0) {
9684 if (_argo0 == Py_None) { _arg0 = NULL; }
9685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9687 return NULL;
9688 }
9689 }
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1));
9693
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) return NULL;
9696 }{
9697 #if wxUSE_UNICODE
9698 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9699 #else
9700 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9701 #endif
9702 }
9703 {
9704 delete _result;
9705 }
9706 return _resultobj;
9707 }
9708
9709 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9710 static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject * _resultobj;
9712 wxColour * _result;
9713 wxGrid * _arg0;
9714 PyObject * _argo0 = 0;
9715 char *_kwnames[] = { "self", NULL };
9716 char _ptemp[128];
9717
9718 self = self;
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0))
9720 return NULL;
9721 if (_argo0) {
9722 if (_argo0 == Py_None) { _arg0 = NULL; }
9723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9725 return NULL;
9726 }
9727 }
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 _result = new wxColour (wxGrid_GetGridLineColour(_arg0));
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) return NULL;
9734 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9735 _resultobj = Py_BuildValue("s",_ptemp);
9736 return _resultobj;
9737 }
9738
9739 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9740 static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject * _resultobj;
9742 wxColour * _result;
9743 wxGrid * _arg0;
9744 PyObject * _argo0 = 0;
9745 char *_kwnames[] = { "self", NULL };
9746 char _ptemp[128];
9747
9748 self = self;
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0))
9750 return NULL;
9751 if (_argo0) {
9752 if (_argo0 == Py_None) { _arg0 = NULL; }
9753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9755 return NULL;
9756 }
9757 }
9758 {
9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
9760 _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0));
9761
9762 wxPyEndAllowThreads(__tstate);
9763 if (PyErr_Occurred()) return NULL;
9764 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
9765 _resultobj = Py_BuildValue("s",_ptemp);
9766 return _resultobj;
9767 }
9768
9769 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9770 static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9771 PyObject * _resultobj;
9772 int _result;
9773 wxGrid * _arg0;
9774 PyObject * _argo0 = 0;
9775 char *_kwnames[] = { "self", NULL };
9776
9777 self = self;
9778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0))
9779 return NULL;
9780 if (_argo0) {
9781 if (_argo0 == Py_None) { _arg0 = NULL; }
9782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9784 return NULL;
9785 }
9786 }
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0);
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) return NULL;
9793 } _resultobj = Py_BuildValue("i",_result);
9794 return _resultobj;
9795 }
9796
9797 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9798 static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9799 PyObject * _resultobj;
9800 int _result;
9801 wxGrid * _arg0;
9802 PyObject * _argo0 = 0;
9803 char *_kwnames[] = { "self", NULL };
9804
9805 self = self;
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0))
9807 return NULL;
9808 if (_argo0) {
9809 if (_argo0 == Py_None) { _arg0 = NULL; }
9810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9812 return NULL;
9813 }
9814 }
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) return NULL;
9821 } _resultobj = Py_BuildValue("i",_result);
9822 return _resultobj;
9823 }
9824
9825 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9826 static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9827 PyObject * _resultobj;
9828 wxGrid * _arg0;
9829 int _arg1;
9830 PyObject * _argo0 = 0;
9831 char *_kwnames[] = { "self","width", NULL };
9832
9833 self = self;
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1))
9835 return NULL;
9836 if (_argo0) {
9837 if (_argo0 == Py_None) { _arg0 = NULL; }
9838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9840 return NULL;
9841 }
9842 }
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 wxGrid_SetRowLabelSize(_arg0,_arg1);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) return NULL;
9849 } Py_INCREF(Py_None);
9850 _resultobj = Py_None;
9851 return _resultobj;
9852 }
9853
9854 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9855 static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9856 PyObject * _resultobj;
9857 wxGrid * _arg0;
9858 int _arg1;
9859 PyObject * _argo0 = 0;
9860 char *_kwnames[] = { "self","height", NULL };
9861
9862 self = self;
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1))
9864 return NULL;
9865 if (_argo0) {
9866 if (_argo0 == Py_None) { _arg0 = NULL; }
9867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9869 return NULL;
9870 }
9871 }
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 wxGrid_SetColLabelSize(_arg0,_arg1);
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) return NULL;
9878 } Py_INCREF(Py_None);
9879 _resultobj = Py_None;
9880 return _resultobj;
9881 }
9882
9883 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9884 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9885 PyObject * _resultobj;
9886 wxGrid * _arg0;
9887 wxColour * _arg1;
9888 PyObject * _argo0 = 0;
9889 wxColour temp;
9890 PyObject * _obj1 = 0;
9891 char *_kwnames[] = { "self","arg2", NULL };
9892
9893 self = self;
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1))
9895 return NULL;
9896 if (_argo0) {
9897 if (_argo0 == Py_None) { _arg0 = NULL; }
9898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9900 return NULL;
9901 }
9902 }
9903 {
9904 _arg1 = &temp;
9905 if (! wxColour_helper(_obj1, &_arg1))
9906 return NULL;
9907 }
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) return NULL;
9914 } Py_INCREF(Py_None);
9915 _resultobj = Py_None;
9916 return _resultobj;
9917 }
9918
9919 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9920 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject * _resultobj;
9922 wxGrid * _arg0;
9923 wxColour * _arg1;
9924 PyObject * _argo0 = 0;
9925 wxColour temp;
9926 PyObject * _obj1 = 0;
9927 char *_kwnames[] = { "self","arg2", NULL };
9928
9929 self = self;
9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1))
9931 return NULL;
9932 if (_argo0) {
9933 if (_argo0 == Py_None) { _arg0 = NULL; }
9934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9936 return NULL;
9937 }
9938 }
9939 {
9940 _arg1 = &temp;
9941 if (! wxColour_helper(_obj1, &_arg1))
9942 return NULL;
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 wxGrid_SetLabelTextColour(_arg0,*_arg1);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) return NULL;
9950 } Py_INCREF(Py_None);
9951 _resultobj = Py_None;
9952 return _resultobj;
9953 }
9954
9955 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9956 static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject * _resultobj;
9958 wxGrid * _arg0;
9959 wxFont * _arg1;
9960 PyObject * _argo0 = 0;
9961 PyObject * _argo1 = 0;
9962 char *_kwnames[] = { "self","arg2", NULL };
9963
9964 self = self;
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1))
9966 return NULL;
9967 if (_argo0) {
9968 if (_argo0 == Py_None) { _arg0 = NULL; }
9969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
9970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9971 return NULL;
9972 }
9973 }
9974 if (_argo1) {
9975 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9976 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9977 return NULL;
9978 }
9979 }
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 wxGrid_SetLabelFont(_arg0,*_arg1);
9983
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) return NULL;
9986 } Py_INCREF(Py_None);
9987 _resultobj = Py_None;
9988 return _resultobj;
9989 }
9990
9991 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9992 static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject * _resultobj;
9994 wxGrid * _arg0;
9995 int _arg1;
9996 int _arg2;
9997 PyObject * _argo0 = 0;
9998 char *_kwnames[] = { "self","horiz","vert", NULL };
9999
10000 self = self;
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10002 return NULL;
10003 if (_argo0) {
10004 if (_argo0 == Py_None) { _arg0 = NULL; }
10005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
10007 return NULL;
10008 }
10009 }
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2);
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) return NULL;
10016 } Py_INCREF(Py_None);
10017 _resultobj = Py_None;
10018 return _resultobj;
10019 }
10020
10021 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
10022 static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject * _resultobj;
10024 wxGrid * _arg0;
10025 int _arg1;
10026 int _arg2;
10027 PyObject * _argo0 = 0;
10028 char *_kwnames[] = { "self","horiz","vert", NULL };
10029
10030 self = self;
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
10032 return NULL;
10033 if (_argo0) {
10034 if (_argo0 == Py_None) { _arg0 = NULL; }
10035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
10037 return NULL;
10038 }
10039 }
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2);
10043
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) return NULL;
10046 } Py_INCREF(Py_None);
10047 _resultobj = Py_None;
10048 return _resultobj;
10049 }
10050
10051 #define wxGrid_SetColLabelTextOrientation(_swigobj,_swigarg0) (_swigobj->SetColLabelTextOrientation(_swigarg0))
10052 static PyObject *_wrap_wxGrid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject * _resultobj;
10054 wxGrid * _arg0;
10055 int _arg1;
10056 PyObject * _argo0 = 0;
10057 char *_kwnames[] = { "self","textOrientation", NULL };
10058
10059 self = self;
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelTextOrientation",_kwnames,&_argo0,&_arg1))
10061 return NULL;
10062 if (_argo0) {
10063 if (_argo0 == Py_None) { _arg0 = NULL; }
10064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelTextOrientation. Expected _wxGrid_p.");
10066 return NULL;
10067 }
10068 }
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 wxGrid_SetColLabelTextOrientation(_arg0,_arg1);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) return NULL;
10075 } Py_INCREF(Py_None);
10076 _resultobj = Py_None;
10077 return _resultobj;
10078 }
10079
10080 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
10081 static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject * _resultobj;
10083 wxGrid * _arg0;
10084 int _arg1;
10085 wxString * _arg2;
10086 PyObject * _argo0 = 0;
10087 PyObject * _obj2 = 0;
10088 char *_kwnames[] = { "self","row","arg3", NULL };
10089
10090 self = self;
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
10092 return NULL;
10093 if (_argo0) {
10094 if (_argo0 == Py_None) { _arg0 = NULL; }
10095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
10097 return NULL;
10098 }
10099 }
10100 {
10101 _arg2 = wxString_in_helper(_obj2);
10102 if (_arg2 == NULL)
10103 return NULL;
10104 }
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2);
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) return NULL;
10111 } Py_INCREF(Py_None);
10112 _resultobj = Py_None;
10113 {
10114 if (_obj2)
10115 delete _arg2;
10116 }
10117 return _resultobj;
10118 }
10119
10120 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
10121 static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject * _resultobj;
10123 wxGrid * _arg0;
10124 int _arg1;
10125 wxString * _arg2;
10126 PyObject * _argo0 = 0;
10127 PyObject * _obj2 = 0;
10128 char *_kwnames[] = { "self","col","arg3", NULL };
10129
10130 self = self;
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2))
10132 return NULL;
10133 if (_argo0) {
10134 if (_argo0 == Py_None) { _arg0 = NULL; }
10135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
10137 return NULL;
10138 }
10139 }
10140 {
10141 _arg2 = wxString_in_helper(_obj2);
10142 if (_arg2 == NULL)
10143 return NULL;
10144 }
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2);
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) return NULL;
10151 } Py_INCREF(Py_None);
10152 _resultobj = Py_None;
10153 {
10154 if (_obj2)
10155 delete _arg2;
10156 }
10157 return _resultobj;
10158 }
10159
10160 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
10161 static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10162 PyObject * _resultobj;
10163 wxGrid * _arg0;
10164 wxColour * _arg1;
10165 PyObject * _argo0 = 0;
10166 wxColour temp;
10167 PyObject * _obj1 = 0;
10168 char *_kwnames[] = { "self","arg2", NULL };
10169
10170 self = self;
10171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1))
10172 return NULL;
10173 if (_argo0) {
10174 if (_argo0 == Py_None) { _arg0 = NULL; }
10175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
10177 return NULL;
10178 }
10179 }
10180 {
10181 _arg1 = &temp;
10182 if (! wxColour_helper(_obj1, &_arg1))
10183 return NULL;
10184 }
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 wxGrid_SetGridLineColour(_arg0,*_arg1);
10188
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) return NULL;
10191 } Py_INCREF(Py_None);
10192 _resultobj = Py_None;
10193 return _resultobj;
10194 }
10195
10196 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10197 static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10198 PyObject * _resultobj;
10199 wxGrid * _arg0;
10200 wxColour * _arg1;
10201 PyObject * _argo0 = 0;
10202 wxColour temp;
10203 PyObject * _obj1 = 0;
10204 char *_kwnames[] = { "self","arg2", NULL };
10205
10206 self = self;
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1))
10208 return NULL;
10209 if (_argo0) {
10210 if (_argo0 == Py_None) { _arg0 = NULL; }
10211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10213 return NULL;
10214 }
10215 }
10216 {
10217 _arg1 = &temp;
10218 if (! wxColour_helper(_obj1, &_arg1))
10219 return NULL;
10220 }
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 wxGrid_SetCellHighlightColour(_arg0,*_arg1);
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) return NULL;
10227 } Py_INCREF(Py_None);
10228 _resultobj = Py_None;
10229 return _resultobj;
10230 }
10231
10232 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10233 static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject * _resultobj;
10235 wxGrid * _arg0;
10236 int _arg1;
10237 PyObject * _argo0 = 0;
10238 char *_kwnames[] = { "self","width", NULL };
10239
10240 self = self;
10241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1))
10242 return NULL;
10243 if (_argo0) {
10244 if (_argo0 == Py_None) { _arg0 = NULL; }
10245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10247 return NULL;
10248 }
10249 }
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 wxGrid_SetCellHighlightPenWidth(_arg0,_arg1);
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) return NULL;
10256 } Py_INCREF(Py_None);
10257 _resultobj = Py_None;
10258 return _resultobj;
10259 }
10260
10261 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10262 static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject * _resultobj;
10264 wxGrid * _arg0;
10265 int _arg1;
10266 PyObject * _argo0 = 0;
10267 char *_kwnames[] = { "self","width", NULL };
10268
10269 self = self;
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1))
10271 return NULL;
10272 if (_argo0) {
10273 if (_argo0 == Py_None) { _arg0 = NULL; }
10274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10276 return NULL;
10277 }
10278 }
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1);
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) return NULL;
10285 } Py_INCREF(Py_None);
10286 _resultobj = Py_None;
10287 return _resultobj;
10288 }
10289
10290 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10291 static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10292 PyObject * _resultobj;
10293 wxGrid * _arg0;
10294 bool _arg1 = (bool ) TRUE;
10295 PyObject * _argo0 = 0;
10296 int tempbool1 = (int) TRUE;
10297 char *_kwnames[] = { "self","enable", NULL };
10298
10299 self = self;
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1))
10301 return NULL;
10302 if (_argo0) {
10303 if (_argo0 == Py_None) { _arg0 = NULL; }
10304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10306 return NULL;
10307 }
10308 }
10309 _arg1 = (bool ) tempbool1;
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 wxGrid_EnableDragRowSize(_arg0,_arg1);
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) return NULL;
10316 } Py_INCREF(Py_None);
10317 _resultobj = Py_None;
10318 return _resultobj;
10319 }
10320
10321 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10322 static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject * _resultobj;
10324 wxGrid * _arg0;
10325 PyObject * _argo0 = 0;
10326 char *_kwnames[] = { "self", NULL };
10327
10328 self = self;
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0))
10330 return NULL;
10331 if (_argo0) {
10332 if (_argo0 == Py_None) { _arg0 = NULL; }
10333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10335 return NULL;
10336 }
10337 }
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 wxGrid_DisableDragRowSize(_arg0);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) return NULL;
10344 } Py_INCREF(Py_None);
10345 _resultobj = Py_None;
10346 return _resultobj;
10347 }
10348
10349 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10350 static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject * _resultobj;
10352 bool _result;
10353 wxGrid * _arg0;
10354 PyObject * _argo0 = 0;
10355 char *_kwnames[] = { "self", NULL };
10356
10357 self = self;
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0))
10359 return NULL;
10360 if (_argo0) {
10361 if (_argo0 == Py_None) { _arg0 = NULL; }
10362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10364 return NULL;
10365 }
10366 }
10367 {
10368 PyThreadState* __tstate = wxPyBeginAllowThreads();
10369 _result = (bool )wxGrid_CanDragRowSize(_arg0);
10370
10371 wxPyEndAllowThreads(__tstate);
10372 if (PyErr_Occurred()) return NULL;
10373 } _resultobj = Py_BuildValue("i",_result);
10374 return _resultobj;
10375 }
10376
10377 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10378 static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10379 PyObject * _resultobj;
10380 wxGrid * _arg0;
10381 bool _arg1 = (bool ) TRUE;
10382 PyObject * _argo0 = 0;
10383 int tempbool1 = (int) TRUE;
10384 char *_kwnames[] = { "self","enable", NULL };
10385
10386 self = self;
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1))
10388 return NULL;
10389 if (_argo0) {
10390 if (_argo0 == Py_None) { _arg0 = NULL; }
10391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10393 return NULL;
10394 }
10395 }
10396 _arg1 = (bool ) tempbool1;
10397 {
10398 PyThreadState* __tstate = wxPyBeginAllowThreads();
10399 wxGrid_EnableDragColSize(_arg0,_arg1);
10400
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) return NULL;
10403 } Py_INCREF(Py_None);
10404 _resultobj = Py_None;
10405 return _resultobj;
10406 }
10407
10408 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10409 static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject * _resultobj;
10411 wxGrid * _arg0;
10412 PyObject * _argo0 = 0;
10413 char *_kwnames[] = { "self", NULL };
10414
10415 self = self;
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0))
10417 return NULL;
10418 if (_argo0) {
10419 if (_argo0 == Py_None) { _arg0 = NULL; }
10420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10422 return NULL;
10423 }
10424 }
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 wxGrid_DisableDragColSize(_arg0);
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) return NULL;
10431 } Py_INCREF(Py_None);
10432 _resultobj = Py_None;
10433 return _resultobj;
10434 }
10435
10436 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10437 static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10438 PyObject * _resultobj;
10439 bool _result;
10440 wxGrid * _arg0;
10441 PyObject * _argo0 = 0;
10442 char *_kwnames[] = { "self", NULL };
10443
10444 self = self;
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0))
10446 return NULL;
10447 if (_argo0) {
10448 if (_argo0 == Py_None) { _arg0 = NULL; }
10449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10451 return NULL;
10452 }
10453 }
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 _result = (bool )wxGrid_CanDragColSize(_arg0);
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) return NULL;
10460 } _resultobj = Py_BuildValue("i",_result);
10461 return _resultobj;
10462 }
10463
10464 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10465 static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10466 PyObject * _resultobj;
10467 wxGrid * _arg0;
10468 bool _arg1 = (bool ) TRUE;
10469 PyObject * _argo0 = 0;
10470 int tempbool1 = (int) TRUE;
10471 char *_kwnames[] = { "self","enable", NULL };
10472
10473 self = self;
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1))
10475 return NULL;
10476 if (_argo0) {
10477 if (_argo0 == Py_None) { _arg0 = NULL; }
10478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10480 return NULL;
10481 }
10482 }
10483 _arg1 = (bool ) tempbool1;
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 wxGrid_EnableDragGridSize(_arg0,_arg1);
10487
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) return NULL;
10490 } Py_INCREF(Py_None);
10491 _resultobj = Py_None;
10492 return _resultobj;
10493 }
10494
10495 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10496 static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10497 PyObject * _resultobj;
10498 wxGrid * _arg0;
10499 PyObject * _argo0 = 0;
10500 char *_kwnames[] = { "self", NULL };
10501
10502 self = self;
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0))
10504 return NULL;
10505 if (_argo0) {
10506 if (_argo0 == Py_None) { _arg0 = NULL; }
10507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10509 return NULL;
10510 }
10511 }
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 wxGrid_DisableDragGridSize(_arg0);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) return NULL;
10518 } Py_INCREF(Py_None);
10519 _resultobj = Py_None;
10520 return _resultobj;
10521 }
10522
10523 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10524 static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10525 PyObject * _resultobj;
10526 bool _result;
10527 wxGrid * _arg0;
10528 PyObject * _argo0 = 0;
10529 char *_kwnames[] = { "self", NULL };
10530
10531 self = self;
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0))
10533 return NULL;
10534 if (_argo0) {
10535 if (_argo0 == Py_None) { _arg0 = NULL; }
10536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10538 return NULL;
10539 }
10540 }
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 _result = (bool )wxGrid_CanDragGridSize(_arg0);
10544
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) return NULL;
10547 } _resultobj = Py_BuildValue("i",_result);
10548 return _resultobj;
10549 }
10550
10551 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10552 static PyObject *_wrap_wxGrid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10553 PyObject * _resultobj;
10554 wxGrid * _arg0;
10555 int _arg1;
10556 int _arg2;
10557 wxGridCellAttr * _arg3;
10558 PyObject * _argo0 = 0;
10559 PyObject * _argo3 = 0;
10560 char *_kwnames[] = { "self","row","col","attr", NULL };
10561
10562 self = self;
10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
10564 return NULL;
10565 if (_argo0) {
10566 if (_argo0 == Py_None) { _arg0 = NULL; }
10567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10569 return NULL;
10570 }
10571 }
10572 if (_argo3) {
10573 if (_argo3 == Py_None) { _arg3 = NULL; }
10574 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellAttr_p")) {
10575 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10576 return NULL;
10577 }
10578 }
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 wxGrid_SetAttr(_arg0,_arg1,_arg2,_arg3);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) return NULL;
10585 } Py_INCREF(Py_None);
10586 _resultobj = Py_None;
10587 return _resultobj;
10588 }
10589
10590 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10591 static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10592 PyObject * _resultobj;
10593 wxGrid * _arg0;
10594 int _arg1;
10595 wxGridCellAttr * _arg2;
10596 PyObject * _argo0 = 0;
10597 PyObject * _argo2 = 0;
10598 char *_kwnames[] = { "self","row","attr", NULL };
10599
10600 self = self;
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10602 return NULL;
10603 if (_argo0) {
10604 if (_argo0 == Py_None) { _arg0 = NULL; }
10605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10607 return NULL;
10608 }
10609 }
10610 if (_argo2) {
10611 if (_argo2 == Py_None) { _arg2 = NULL; }
10612 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10613 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10614 return NULL;
10615 }
10616 }
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 wxGrid_SetRowAttr(_arg0,_arg1,_arg2);
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) return NULL;
10623 } Py_INCREF(Py_None);
10624 _resultobj = Py_None;
10625 return _resultobj;
10626 }
10627
10628 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10629 static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10630 PyObject * _resultobj;
10631 wxGrid * _arg0;
10632 int _arg1;
10633 wxGridCellAttr * _arg2;
10634 PyObject * _argo0 = 0;
10635 PyObject * _argo2 = 0;
10636 char *_kwnames[] = { "self","col","attr", NULL };
10637
10638 self = self;
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2))
10640 return NULL;
10641 if (_argo0) {
10642 if (_argo0 == Py_None) { _arg0 = NULL; }
10643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10645 return NULL;
10646 }
10647 }
10648 if (_argo2) {
10649 if (_argo2 == Py_None) { _arg2 = NULL; }
10650 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) {
10651 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10652 return NULL;
10653 }
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 wxGrid_SetColAttr(_arg0,_arg1,_arg2);
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) return NULL;
10661 } Py_INCREF(Py_None);
10662 _resultobj = Py_None;
10663 return _resultobj;
10664 }
10665
10666 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10667 static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) {
10668 PyObject * _resultobj;
10669 wxGrid * _arg0;
10670 int _arg1;
10671 PyObject * _argo0 = 0;
10672 char *_kwnames[] = { "self","col", NULL };
10673
10674 self = self;
10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1))
10676 return NULL;
10677 if (_argo0) {
10678 if (_argo0 == Py_None) { _arg0 = NULL; }
10679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10681 return NULL;
10682 }
10683 }
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 wxGrid_SetColFormatBool(_arg0,_arg1);
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) return NULL;
10690 } Py_INCREF(Py_None);
10691 _resultobj = Py_None;
10692 return _resultobj;
10693 }
10694
10695 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10696 static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject * _resultobj;
10698 wxGrid * _arg0;
10699 int _arg1;
10700 PyObject * _argo0 = 0;
10701 char *_kwnames[] = { "self","col", NULL };
10702
10703 self = self;
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1))
10705 return NULL;
10706 if (_argo0) {
10707 if (_argo0 == Py_None) { _arg0 = NULL; }
10708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10710 return NULL;
10711 }
10712 }
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 wxGrid_SetColFormatNumber(_arg0,_arg1);
10716
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) return NULL;
10719 } Py_INCREF(Py_None);
10720 _resultobj = Py_None;
10721 return _resultobj;
10722 }
10723
10724 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10725 static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject * _resultobj;
10727 wxGrid * _arg0;
10728 int _arg1;
10729 int _arg2 = (int ) -1;
10730 int _arg3 = (int ) -1;
10731 PyObject * _argo0 = 0;
10732 char *_kwnames[] = { "self","col","width","precision", NULL };
10733
10734 self = self;
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
10736 return NULL;
10737 if (_argo0) {
10738 if (_argo0 == Py_None) { _arg0 = NULL; }
10739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10741 return NULL;
10742 }
10743 }
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) return NULL;
10750 } Py_INCREF(Py_None);
10751 _resultobj = Py_None;
10752 return _resultobj;
10753 }
10754
10755 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10756 static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject * _resultobj;
10758 wxGrid * _arg0;
10759 int _arg1;
10760 wxString * _arg2;
10761 PyObject * _argo0 = 0;
10762 PyObject * _obj2 = 0;
10763 char *_kwnames[] = { "self","col","typeName", NULL };
10764
10765 self = self;
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2))
10767 return NULL;
10768 if (_argo0) {
10769 if (_argo0 == Py_None) { _arg0 = NULL; }
10770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10772 return NULL;
10773 }
10774 }
10775 {
10776 _arg2 = wxString_in_helper(_obj2);
10777 if (_arg2 == NULL)
10778 return NULL;
10779 }
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) return NULL;
10786 } Py_INCREF(Py_None);
10787 _resultobj = Py_None;
10788 {
10789 if (_obj2)
10790 delete _arg2;
10791 }
10792 return _resultobj;
10793 }
10794
10795 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10796 static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) {
10797 PyObject * _resultobj;
10798 wxGrid * _arg0;
10799 bool _arg1 = (bool ) TRUE;
10800 PyObject * _argo0 = 0;
10801 int tempbool1 = (int) TRUE;
10802 char *_kwnames[] = { "self","enable", NULL };
10803
10804 self = self;
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1))
10806 return NULL;
10807 if (_argo0) {
10808 if (_argo0 == Py_None) { _arg0 = NULL; }
10809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10811 return NULL;
10812 }
10813 }
10814 _arg1 = (bool ) tempbool1;
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 wxGrid_EnableGridLines(_arg0,_arg1);
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) return NULL;
10821 } Py_INCREF(Py_None);
10822 _resultobj = Py_None;
10823 return _resultobj;
10824 }
10825
10826 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10827 static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10828 PyObject * _resultobj;
10829 bool _result;
10830 wxGrid * _arg0;
10831 PyObject * _argo0 = 0;
10832 char *_kwnames[] = { "self", NULL };
10833
10834 self = self;
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0))
10836 return NULL;
10837 if (_argo0) {
10838 if (_argo0 == Py_None) { _arg0 = NULL; }
10839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10841 return NULL;
10842 }
10843 }
10844 {
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 _result = (bool )wxGrid_GridLinesEnabled(_arg0);
10847
10848 wxPyEndAllowThreads(__tstate);
10849 if (PyErr_Occurred()) return NULL;
10850 } _resultobj = Py_BuildValue("i",_result);
10851 return _resultobj;
10852 }
10853
10854 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10855 static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10856 PyObject * _resultobj;
10857 int _result;
10858 wxGrid * _arg0;
10859 PyObject * _argo0 = 0;
10860 char *_kwnames[] = { "self", NULL };
10861
10862 self = self;
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0))
10864 return NULL;
10865 if (_argo0) {
10866 if (_argo0 == Py_None) { _arg0 = NULL; }
10867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10869 return NULL;
10870 }
10871 }
10872 {
10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
10874 _result = (int )wxGrid_GetDefaultRowSize(_arg0);
10875
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) return NULL;
10878 } _resultobj = Py_BuildValue("i",_result);
10879 return _resultobj;
10880 }
10881
10882 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10883 static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject * _resultobj;
10885 int _result;
10886 wxGrid * _arg0;
10887 int _arg1;
10888 PyObject * _argo0 = 0;
10889 char *_kwnames[] = { "self","row", NULL };
10890
10891 self = self;
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1))
10893 return NULL;
10894 if (_argo0) {
10895 if (_argo0 == Py_None) { _arg0 = NULL; }
10896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10898 return NULL;
10899 }
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 _result = (int )wxGrid_GetRowSize(_arg0,_arg1);
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) return NULL;
10907 } _resultobj = Py_BuildValue("i",_result);
10908 return _resultobj;
10909 }
10910
10911 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10912 static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject * _resultobj;
10914 int _result;
10915 wxGrid * _arg0;
10916 PyObject * _argo0 = 0;
10917 char *_kwnames[] = { "self", NULL };
10918
10919 self = self;
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0))
10921 return NULL;
10922 if (_argo0) {
10923 if (_argo0 == Py_None) { _arg0 = NULL; }
10924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10926 return NULL;
10927 }
10928 }
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 _result = (int )wxGrid_GetDefaultColSize(_arg0);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) return NULL;
10935 } _resultobj = Py_BuildValue("i",_result);
10936 return _resultobj;
10937 }
10938
10939 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10940 static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10941 PyObject * _resultobj;
10942 int _result;
10943 wxGrid * _arg0;
10944 int _arg1;
10945 PyObject * _argo0 = 0;
10946 char *_kwnames[] = { "self","col", NULL };
10947
10948 self = self;
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1))
10950 return NULL;
10951 if (_argo0) {
10952 if (_argo0 == Py_None) { _arg0 = NULL; }
10953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10955 return NULL;
10956 }
10957 }
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 _result = (int )wxGrid_GetColSize(_arg0,_arg1);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) return NULL;
10964 } _resultobj = Py_BuildValue("i",_result);
10965 return _resultobj;
10966 }
10967
10968 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10969 static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10970 PyObject * _resultobj;
10971 wxColour * _result;
10972 wxGrid * _arg0;
10973 PyObject * _argo0 = 0;
10974 char *_kwnames[] = { "self", NULL };
10975 char _ptemp[128];
10976
10977 self = self;
10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0))
10979 return NULL;
10980 if (_argo0) {
10981 if (_argo0 == Py_None) { _arg0 = NULL; }
10982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
10983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10984 return NULL;
10985 }
10986 }
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0));
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) return NULL;
10993 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
10994 _resultobj = Py_BuildValue("s",_ptemp);
10995 return _resultobj;
10996 }
10997
10998 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10999 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11000 PyObject * _resultobj;
11001 wxColour * _result;
11002 wxGrid * _arg0;
11003 int _arg1;
11004 int _arg2;
11005 PyObject * _argo0 = 0;
11006 char *_kwnames[] = { "self","row","col", NULL };
11007 char _ptemp[128];
11008
11009 self = self;
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
11011 return NULL;
11012 if (_argo0) {
11013 if (_argo0 == Py_None) { _arg0 = NULL; }
11014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
11016 return NULL;
11017 }
11018 }
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2));
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) return NULL;
11025 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11026 _resultobj = Py_BuildValue("s",_ptemp);
11027 return _resultobj;
11028 }
11029
11030 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
11031 static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11032 PyObject * _resultobj;
11033 wxColour * _result;
11034 wxGrid * _arg0;
11035 PyObject * _argo0 = 0;
11036 char *_kwnames[] = { "self", NULL };
11037 char _ptemp[128];
11038
11039 self = self;
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0))
11041 return NULL;
11042 if (_argo0) {
11043 if (_argo0 == Py_None) { _arg0 = NULL; }
11044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
11046 return NULL;
11047 }
11048 }
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0));
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) return NULL;
11055 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11056 _resultobj = Py_BuildValue("s",_ptemp);
11057 return _resultobj;
11058 }
11059
11060 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
11061 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject * _resultobj;
11063 wxColour * _result;
11064 wxGrid * _arg0;
11065 int _arg1;
11066 int _arg2;
11067 PyObject * _argo0 = 0;
11068 char *_kwnames[] = { "self","row","col", NULL };
11069 char _ptemp[128];
11070
11071 self = self;
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
11073 return NULL;
11074 if (_argo0) {
11075 if (_argo0 == Py_None) { _arg0 = NULL; }
11076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
11078 return NULL;
11079 }
11080 }
11081 {
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2));
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) return NULL;
11087 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
11088 _resultobj = Py_BuildValue("s",_ptemp);
11089 return _resultobj;
11090 }
11091
11092 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
11093 static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject * _resultobj;
11095 wxFont * _result;
11096 wxGrid * _arg0;
11097 PyObject * _argo0 = 0;
11098 char *_kwnames[] = { "self", NULL };
11099 char _ptemp[128];
11100
11101 self = self;
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0))
11103 return NULL;
11104 if (_argo0) {
11105 if (_argo0 == Py_None) { _arg0 = NULL; }
11106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
11108 return NULL;
11109 }
11110 }
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0));
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) return NULL;
11117 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11118 _resultobj = Py_BuildValue("s",_ptemp);
11119 return _resultobj;
11120 }
11121
11122 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
11123 static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11124 PyObject * _resultobj;
11125 wxFont * _result;
11126 wxGrid * _arg0;
11127 int _arg1;
11128 int _arg2;
11129 PyObject * _argo0 = 0;
11130 char *_kwnames[] = { "self","row","col", NULL };
11131 char _ptemp[128];
11132
11133 self = self;
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2))
11135 return NULL;
11136 if (_argo0) {
11137 if (_argo0 == Py_None) { _arg0 = NULL; }
11138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
11140 return NULL;
11141 }
11142 }
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2));
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) return NULL;
11149 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
11150 _resultobj = Py_BuildValue("s",_ptemp);
11151 return _resultobj;
11152 }
11153
11154 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
11155 static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject * _resultobj;
11157 wxGrid * _arg0;
11158 int * _arg1;
11159 int * _arg2;
11160 PyObject * _argo0 = 0;
11161 PyObject * _argo1 = 0;
11162 PyObject * _argo2 = 0;
11163 char *_kwnames[] = { "self","horiz","vert", NULL };
11164
11165 self = self;
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2))
11167 return NULL;
11168 if (_argo0) {
11169 if (_argo0 == Py_None) { _arg0 = NULL; }
11170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
11172 return NULL;
11173 }
11174 }
11175 if (_argo1) {
11176 if (_argo1 == Py_None) { _arg1 = NULL; }
11177 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
11178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
11179 return NULL;
11180 }
11181 }
11182 if (_argo2) {
11183 if (_argo2 == Py_None) { _arg2 = NULL; }
11184 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) {
11185 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
11186 return NULL;
11187 }
11188 }
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2);
11192
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) return NULL;
11195 } Py_INCREF(Py_None);
11196 _resultobj = Py_None;
11197 return _resultobj;
11198 }
11199
11200 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11201 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11202 PyObject * _resultobj;
11203 wxGrid * _arg0;
11204 int _arg1;
11205 int _arg2;
11206 int * _arg3;
11207 int * _arg4;
11208 PyObject * _argo0 = 0;
11209 PyObject * _argo3 = 0;
11210 PyObject * _argo4 = 0;
11211 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
11212
11213 self = self;
11214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4))
11215 return NULL;
11216 if (_argo0) {
11217 if (_argo0 == Py_None) { _arg0 = NULL; }
11218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11220 return NULL;
11221 }
11222 }
11223 if (_argo3) {
11224 if (_argo3 == Py_None) { _arg3 = NULL; }
11225 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) {
11226 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
11227 return NULL;
11228 }
11229 }
11230 if (_argo4) {
11231 if (_argo4 == Py_None) { _arg4 = NULL; }
11232 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) {
11233 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
11234 return NULL;
11235 }
11236 }
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) return NULL;
11243 } Py_INCREF(Py_None);
11244 _resultobj = Py_None;
11245 return _resultobj;
11246 }
11247
11248 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11249 static PyObject *_wrap_wxGrid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject * _resultobj;
11251 bool _result;
11252 wxGrid * _arg0;
11253 PyObject * _argo0 = 0;
11254 char *_kwnames[] = { "self", NULL };
11255
11256 self = self;
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellOverflow",_kwnames,&_argo0))
11258 return NULL;
11259 if (_argo0) {
11260 if (_argo0 == Py_None) { _arg0 = NULL; }
11261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11263 return NULL;
11264 }
11265 }
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 _result = (bool )wxGrid_GetDefaultCellOverflow(_arg0);
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) return NULL;
11272 } _resultobj = Py_BuildValue("i",_result);
11273 return _resultobj;
11274 }
11275
11276 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11277 static PyObject *_wrap_wxGrid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
11278 PyObject * _resultobj;
11279 bool _result;
11280 wxGrid * _arg0;
11281 int _arg1;
11282 int _arg2;
11283 PyObject * _argo0 = 0;
11284 char *_kwnames[] = { "self","row","col", NULL };
11285
11286 self = self;
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2))
11288 return NULL;
11289 if (_argo0) {
11290 if (_argo0 == Py_None) { _arg0 = NULL; }
11291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11293 return NULL;
11294 }
11295 }
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 _result = (bool )wxGrid_GetCellOverflow(_arg0,_arg1,_arg2);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) return NULL;
11302 } _resultobj = Py_BuildValue("i",_result);
11303 return _resultobj;
11304 }
11305
11306 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11307 static PyObject *_wrap_wxGrid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject * _resultobj;
11309 wxGrid * _arg0;
11310 int _arg1;
11311 int _arg2;
11312 int * _arg3;
11313 int temp;
11314 int * _arg4;
11315 int temp0;
11316 PyObject * _argo0 = 0;
11317 char *_kwnames[] = { "self","row","col", NULL };
11318
11319 self = self;
11320 {
11321 _arg3 = &temp;
11322 }
11323 {
11324 _arg4 = &temp0;
11325 }
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellSize",_kwnames,&_argo0,&_arg1,&_arg2))
11327 return NULL;
11328 if (_argo0) {
11329 if (_argo0 == Py_None) { _arg0 = NULL; }
11330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11332 return NULL;
11333 }
11334 }
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 wxGrid_GetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4);
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) return NULL;
11341 } Py_INCREF(Py_None);
11342 _resultobj = Py_None;
11343 {
11344 PyObject *o;
11345 o = PyInt_FromLong((long) (*_arg3));
11346 _resultobj = t_output_helper(_resultobj, o);
11347 }
11348 {
11349 PyObject *o;
11350 o = PyInt_FromLong((long) (*_arg4));
11351 _resultobj = t_output_helper(_resultobj, o);
11352 }
11353 return _resultobj;
11354 }
11355
11356 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11357 static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11358 PyObject * _resultobj;
11359 wxGrid * _arg0;
11360 int _arg1;
11361 bool _arg2 = (bool ) FALSE;
11362 PyObject * _argo0 = 0;
11363 int tempbool2 = (int) FALSE;
11364 char *_kwnames[] = { "self","height","resizeExistingRows", NULL };
11365
11366 self = self;
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2))
11368 return NULL;
11369 if (_argo0) {
11370 if (_argo0 == Py_None) { _arg0 = NULL; }
11371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11373 return NULL;
11374 }
11375 }
11376 _arg2 = (bool ) tempbool2;
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2);
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) return NULL;
11383 } Py_INCREF(Py_None);
11384 _resultobj = Py_None;
11385 return _resultobj;
11386 }
11387
11388 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11389 static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11390 PyObject * _resultobj;
11391 wxGrid * _arg0;
11392 int _arg1;
11393 int _arg2;
11394 PyObject * _argo0 = 0;
11395 char *_kwnames[] = { "self","row","height", NULL };
11396
11397 self = self;
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2))
11399 return NULL;
11400 if (_argo0) {
11401 if (_argo0 == Py_None) { _arg0 = NULL; }
11402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11404 return NULL;
11405 }
11406 }
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 wxGrid_SetRowSize(_arg0,_arg1,_arg2);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) return NULL;
11413 } Py_INCREF(Py_None);
11414 _resultobj = Py_None;
11415 return _resultobj;
11416 }
11417
11418 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11419 static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11420 PyObject * _resultobj;
11421 wxGrid * _arg0;
11422 int _arg1;
11423 bool _arg2 = (bool ) FALSE;
11424 PyObject * _argo0 = 0;
11425 int tempbool2 = (int) FALSE;
11426 char *_kwnames[] = { "self","width","resizeExistingCols", NULL };
11427
11428 self = self;
11429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2))
11430 return NULL;
11431 if (_argo0) {
11432 if (_argo0 == Py_None) { _arg0 = NULL; }
11433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11435 return NULL;
11436 }
11437 }
11438 _arg2 = (bool ) tempbool2;
11439 {
11440 PyThreadState* __tstate = wxPyBeginAllowThreads();
11441 wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2);
11442
11443 wxPyEndAllowThreads(__tstate);
11444 if (PyErr_Occurred()) return NULL;
11445 } Py_INCREF(Py_None);
11446 _resultobj = Py_None;
11447 return _resultobj;
11448 }
11449
11450 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11451 static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11452 PyObject * _resultobj;
11453 wxGrid * _arg0;
11454 int _arg1;
11455 int _arg2;
11456 PyObject * _argo0 = 0;
11457 char *_kwnames[] = { "self","col","width", NULL };
11458
11459 self = self;
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2))
11461 return NULL;
11462 if (_argo0) {
11463 if (_argo0 == Py_None) { _arg0 = NULL; }
11464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11466 return NULL;
11467 }
11468 }
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 wxGrid_SetColSize(_arg0,_arg1,_arg2);
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) return NULL;
11475 } Py_INCREF(Py_None);
11476 _resultobj = Py_None;
11477 return _resultobj;
11478 }
11479
11480 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11481 static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject * _resultobj;
11483 wxGrid * _arg0;
11484 int _arg1;
11485 bool _arg2 = (bool ) TRUE;
11486 PyObject * _argo0 = 0;
11487 int tempbool2 = (int) TRUE;
11488 char *_kwnames[] = { "self","col","setAsMin", NULL };
11489
11490 self = self;
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2))
11492 return NULL;
11493 if (_argo0) {
11494 if (_argo0 == Py_None) { _arg0 = NULL; }
11495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11497 return NULL;
11498 }
11499 }
11500 _arg2 = (bool ) tempbool2;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) return NULL;
11507 } Py_INCREF(Py_None);
11508 _resultobj = Py_None;
11509 return _resultobj;
11510 }
11511
11512 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11513 static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) {
11514 PyObject * _resultobj;
11515 wxGrid * _arg0;
11516 int _arg1;
11517 bool _arg2 = (bool ) TRUE;
11518 PyObject * _argo0 = 0;
11519 int tempbool2 = (int) TRUE;
11520 char *_kwnames[] = { "self","row","setAsMin", NULL };
11521
11522 self = self;
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2))
11524 return NULL;
11525 if (_argo0) {
11526 if (_argo0 == Py_None) { _arg0 = NULL; }
11527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11529 return NULL;
11530 }
11531 }
11532 _arg2 = (bool ) tempbool2;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 wxGrid_AutoSizeRow(_arg0,_arg1,_arg2);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) return NULL;
11539 } Py_INCREF(Py_None);
11540 _resultobj = Py_None;
11541 return _resultobj;
11542 }
11543
11544 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11545 static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject * _resultobj;
11547 wxGrid * _arg0;
11548 bool _arg1 = (bool ) TRUE;
11549 PyObject * _argo0 = 0;
11550 int tempbool1 = (int) TRUE;
11551 char *_kwnames[] = { "self","setAsMin", NULL };
11552
11553 self = self;
11554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1))
11555 return NULL;
11556 if (_argo0) {
11557 if (_argo0 == Py_None) { _arg0 = NULL; }
11558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11560 return NULL;
11561 }
11562 }
11563 _arg1 = (bool ) tempbool1;
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 wxGrid_AutoSizeColumns(_arg0,_arg1);
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_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11576 static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) {
11577 PyObject * _resultobj;
11578 wxGrid * _arg0;
11579 bool _arg1 = (bool ) TRUE;
11580 PyObject * _argo0 = 0;
11581 int tempbool1 = (int) TRUE;
11582 char *_kwnames[] = { "self","setAsMin", NULL };
11583
11584 self = self;
11585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1))
11586 return NULL;
11587 if (_argo0) {
11588 if (_argo0 == Py_None) { _arg0 = NULL; }
11589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11591 return NULL;
11592 }
11593 }
11594 _arg1 = (bool ) tempbool1;
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 wxGrid_AutoSizeRows(_arg0,_arg1);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) return NULL;
11601 } Py_INCREF(Py_None);
11602 _resultobj = Py_None;
11603 return _resultobj;
11604 }
11605
11606 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11607 static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11608 PyObject * _resultobj;
11609 wxGrid * _arg0;
11610 PyObject * _argo0 = 0;
11611 char *_kwnames[] = { "self", NULL };
11612
11613 self = self;
11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0))
11615 return NULL;
11616 if (_argo0) {
11617 if (_argo0 == Py_None) { _arg0 = NULL; }
11618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11620 return NULL;
11621 }
11622 }
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 wxGrid_AutoSize(_arg0);
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) return NULL;
11629 } Py_INCREF(Py_None);
11630 _resultobj = Py_None;
11631 return _resultobj;
11632 }
11633
11634 #define wxGrid_AutoSizeRowLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeRowLabelSize(_swigarg0))
11635 static PyObject *_wrap_wxGrid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11636 PyObject * _resultobj;
11637 wxGrid * _arg0;
11638 int _arg1;
11639 PyObject * _argo0 = 0;
11640 char *_kwnames[] = { "self","row", NULL };
11641
11642 self = self;
11643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_AutoSizeRowLabelSize",_kwnames,&_argo0,&_arg1))
11644 return NULL;
11645 if (_argo0) {
11646 if (_argo0 == Py_None) { _arg0 = NULL; }
11647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRowLabelSize. Expected _wxGrid_p.");
11649 return NULL;
11650 }
11651 }
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 wxGrid_AutoSizeRowLabelSize(_arg0,_arg1);
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) return NULL;
11658 } Py_INCREF(Py_None);
11659 _resultobj = Py_None;
11660 return _resultobj;
11661 }
11662
11663 #define wxGrid_AutoSizeColLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeColLabelSize(_swigarg0))
11664 static PyObject *_wrap_wxGrid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11665 PyObject * _resultobj;
11666 wxGrid * _arg0;
11667 int _arg1;
11668 PyObject * _argo0 = 0;
11669 char *_kwnames[] = { "self","col", NULL };
11670
11671 self = self;
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_AutoSizeColLabelSize",_kwnames,&_argo0,&_arg1))
11673 return NULL;
11674 if (_argo0) {
11675 if (_argo0 == Py_None) { _arg0 = NULL; }
11676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColLabelSize. Expected _wxGrid_p.");
11678 return NULL;
11679 }
11680 }
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 wxGrid_AutoSizeColLabelSize(_arg0,_arg1);
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) return NULL;
11687 } Py_INCREF(Py_None);
11688 _resultobj = Py_None;
11689 return _resultobj;
11690 }
11691
11692 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11693 static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
11694 PyObject * _resultobj;
11695 wxGrid * _arg0;
11696 int _arg1;
11697 int _arg2;
11698 PyObject * _argo0 = 0;
11699 char *_kwnames[] = { "self","col","width", NULL };
11700
11701 self = self;
11702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2))
11703 return NULL;
11704 if (_argo0) {
11705 if (_argo0 == Py_None) { _arg0 = NULL; }
11706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11708 return NULL;
11709 }
11710 }
11711 {
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2);
11714
11715 wxPyEndAllowThreads(__tstate);
11716 if (PyErr_Occurred()) return NULL;
11717 } Py_INCREF(Py_None);
11718 _resultobj = Py_None;
11719 return _resultobj;
11720 }
11721
11722 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11723 static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject * _resultobj;
11725 wxGrid * _arg0;
11726 int _arg1;
11727 int _arg2;
11728 PyObject * _argo0 = 0;
11729 char *_kwnames[] = { "self","row","width", NULL };
11730
11731 self = self;
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2))
11733 return NULL;
11734 if (_argo0) {
11735 if (_argo0 == Py_None) { _arg0 = NULL; }
11736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11738 return NULL;
11739 }
11740 }
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2);
11744
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) return NULL;
11747 } Py_INCREF(Py_None);
11748 _resultobj = Py_None;
11749 return _resultobj;
11750 }
11751
11752 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11753 static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11754 PyObject * _resultobj;
11755 wxGrid * _arg0;
11756 wxColour * _arg1;
11757 PyObject * _argo0 = 0;
11758 wxColour temp;
11759 PyObject * _obj1 = 0;
11760 char *_kwnames[] = { "self","arg2", NULL };
11761
11762 self = self;
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1))
11764 return NULL;
11765 if (_argo0) {
11766 if (_argo0 == Py_None) { _arg0 = NULL; }
11767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11769 return NULL;
11770 }
11771 }
11772 {
11773 _arg1 = &temp;
11774 if (! wxColour_helper(_obj1, &_arg1))
11775 return NULL;
11776 }
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1);
11780
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) return NULL;
11783 } Py_INCREF(Py_None);
11784 _resultobj = Py_None;
11785 return _resultobj;
11786 }
11787
11788 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11789 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject * _resultobj;
11791 wxGrid * _arg0;
11792 int _arg1;
11793 int _arg2;
11794 wxColour * _arg3;
11795 PyObject * _argo0 = 0;
11796 wxColour temp;
11797 PyObject * _obj3 = 0;
11798 char *_kwnames[] = { "self","row","col","arg4", NULL };
11799
11800 self = self;
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11802 return NULL;
11803 if (_argo0) {
11804 if (_argo0 == Py_None) { _arg0 = NULL; }
11805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11807 return NULL;
11808 }
11809 }
11810 {
11811 _arg3 = &temp;
11812 if (! wxColour_helper(_obj3, &_arg3))
11813 return NULL;
11814 }
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3);
11818
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) return NULL;
11821 } Py_INCREF(Py_None);
11822 _resultobj = Py_None;
11823 return _resultobj;
11824 }
11825
11826 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11827 static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject * _resultobj;
11829 wxGrid * _arg0;
11830 wxColour * _arg1;
11831 PyObject * _argo0 = 0;
11832 wxColour temp;
11833 PyObject * _obj1 = 0;
11834 char *_kwnames[] = { "self","arg2", NULL };
11835
11836 self = self;
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1))
11838 return NULL;
11839 if (_argo0) {
11840 if (_argo0 == Py_None) { _arg0 = NULL; }
11841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11843 return NULL;
11844 }
11845 }
11846 {
11847 _arg1 = &temp;
11848 if (! wxColour_helper(_obj1, &_arg1))
11849 return NULL;
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 wxGrid_SetDefaultCellTextColour(_arg0,*_arg1);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) return NULL;
11857 } Py_INCREF(Py_None);
11858 _resultobj = Py_None;
11859 return _resultobj;
11860 }
11861
11862 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11863 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject * _resultobj;
11865 wxGrid * _arg0;
11866 int _arg1;
11867 int _arg2;
11868 wxColour * _arg3;
11869 PyObject * _argo0 = 0;
11870 wxColour temp;
11871 PyObject * _obj3 = 0;
11872 char *_kwnames[] = { "self","row","col","arg4", NULL };
11873
11874 self = self;
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
11876 return NULL;
11877 if (_argo0) {
11878 if (_argo0 == Py_None) { _arg0 = NULL; }
11879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11881 return NULL;
11882 }
11883 }
11884 {
11885 _arg3 = &temp;
11886 if (! wxColour_helper(_obj3, &_arg3))
11887 return NULL;
11888 }
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3);
11892
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) return NULL;
11895 } Py_INCREF(Py_None);
11896 _resultobj = Py_None;
11897 return _resultobj;
11898 }
11899
11900 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11901 static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11902 PyObject * _resultobj;
11903 wxGrid * _arg0;
11904 wxFont * _arg1;
11905 PyObject * _argo0 = 0;
11906 PyObject * _argo1 = 0;
11907 char *_kwnames[] = { "self","arg2", NULL };
11908
11909 self = self;
11910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1))
11911 return NULL;
11912 if (_argo0) {
11913 if (_argo0 == Py_None) { _arg0 = NULL; }
11914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11916 return NULL;
11917 }
11918 }
11919 if (_argo1) {
11920 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
11921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11922 return NULL;
11923 }
11924 }
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 wxGrid_SetDefaultCellFont(_arg0,*_arg1);
11928
11929 wxPyEndAllowThreads(__tstate);
11930 if (PyErr_Occurred()) return NULL;
11931 } Py_INCREF(Py_None);
11932 _resultobj = Py_None;
11933 return _resultobj;
11934 }
11935
11936 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11937 static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject * _resultobj;
11939 wxGrid * _arg0;
11940 int _arg1;
11941 int _arg2;
11942 wxFont * _arg3;
11943 PyObject * _argo0 = 0;
11944 PyObject * _argo3 = 0;
11945 char *_kwnames[] = { "self","row","col","arg4", NULL };
11946
11947 self = self;
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
11949 return NULL;
11950 if (_argo0) {
11951 if (_argo0 == Py_None) { _arg0 = NULL; }
11952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11954 return NULL;
11955 }
11956 }
11957 if (_argo3) {
11958 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) {
11959 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11960 return NULL;
11961 }
11962 }
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3);
11966
11967 wxPyEndAllowThreads(__tstate);
11968 if (PyErr_Occurred()) return NULL;
11969 } Py_INCREF(Py_None);
11970 _resultobj = Py_None;
11971 return _resultobj;
11972 }
11973
11974 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11975 static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
11976 PyObject * _resultobj;
11977 wxGrid * _arg0;
11978 int _arg1;
11979 int _arg2;
11980 PyObject * _argo0 = 0;
11981 char *_kwnames[] = { "self","horiz","vert", NULL };
11982
11983 self = self;
11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
11985 return NULL;
11986 if (_argo0) {
11987 if (_argo0 == Py_None) { _arg0 = NULL; }
11988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
11989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11990 return NULL;
11991 }
11992 }
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2);
11996
11997 wxPyEndAllowThreads(__tstate);
11998 if (PyErr_Occurred()) return NULL;
11999 } Py_INCREF(Py_None);
12000 _resultobj = Py_None;
12001 return _resultobj;
12002 }
12003
12004 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12005 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
12006 PyObject * _resultobj;
12007 wxGrid * _arg0;
12008 int _arg1;
12009 int _arg2;
12010 int _arg3;
12011 int _arg4;
12012 PyObject * _argo0 = 0;
12013 char *_kwnames[] = { "self","row","col","horiz","vert", NULL };
12014
12015 self = self;
12016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12017 return NULL;
12018 if (_argo0) {
12019 if (_argo0 == Py_None) { _arg0 = NULL; }
12020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
12022 return NULL;
12023 }
12024 }
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4);
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) return NULL;
12031 } Py_INCREF(Py_None);
12032 _resultobj = Py_None;
12033 return _resultobj;
12034 }
12035
12036 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
12037 static PyObject *_wrap_wxGrid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12038 PyObject * _resultobj;
12039 wxGrid * _arg0;
12040 bool _arg1;
12041 PyObject * _argo0 = 0;
12042 int tempbool1;
12043 char *_kwnames[] = { "self","allow", NULL };
12044
12045 self = self;
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames,&_argo0,&tempbool1))
12047 return NULL;
12048 if (_argo0) {
12049 if (_argo0 == Py_None) { _arg0 = NULL; }
12050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
12052 return NULL;
12053 }
12054 }
12055 _arg1 = (bool ) tempbool1;
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 wxGrid_SetDefaultCellOverflow(_arg0,_arg1);
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) return NULL;
12062 } Py_INCREF(Py_None);
12063 _resultobj = Py_None;
12064 return _resultobj;
12065 }
12066
12067 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
12068 static PyObject *_wrap_wxGrid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject * _resultobj;
12070 wxGrid * _arg0;
12071 int _arg1;
12072 int _arg2;
12073 bool _arg3;
12074 PyObject * _argo0 = 0;
12075 int tempbool3;
12076 char *_kwnames[] = { "self","row","col","allow", NULL };
12077
12078 self = self;
12079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
12080 return NULL;
12081 if (_argo0) {
12082 if (_argo0 == Py_None) { _arg0 = NULL; }
12083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
12085 return NULL;
12086 }
12087 }
12088 _arg3 = (bool ) tempbool3;
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 wxGrid_SetCellOverflow(_arg0,_arg1,_arg2,_arg3);
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) return NULL;
12095 } Py_INCREF(Py_None);
12096 _resultobj = Py_None;
12097 return _resultobj;
12098 }
12099
12100 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12101 static PyObject *_wrap_wxGrid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12102 PyObject * _resultobj;
12103 wxGrid * _arg0;
12104 int _arg1;
12105 int _arg2;
12106 int _arg3;
12107 int _arg4;
12108 PyObject * _argo0 = 0;
12109 char *_kwnames[] = { "self","row","col","num_rows","num_cols", NULL };
12110
12111 self = self;
12112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12113 return NULL;
12114 if (_argo0) {
12115 if (_argo0 == Py_None) { _arg0 = NULL; }
12116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
12118 return NULL;
12119 }
12120 }
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 wxGrid_SetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4);
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) return NULL;
12127 } Py_INCREF(Py_None);
12128 _resultobj = Py_None;
12129 return _resultobj;
12130 }
12131
12132 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
12133 static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12134 PyObject * _resultobj;
12135 wxGrid * _arg0;
12136 wxGridCellRenderer * _arg1;
12137 PyObject * _argo0 = 0;
12138 PyObject * _argo1 = 0;
12139 char *_kwnames[] = { "self","renderer", NULL };
12140
12141 self = self;
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1))
12143 return NULL;
12144 if (_argo0) {
12145 if (_argo0 == Py_None) { _arg0 = NULL; }
12146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
12148 return NULL;
12149 }
12150 }
12151 if (_argo1) {
12152 if (_argo1 == Py_None) { _arg1 = NULL; }
12153 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) {
12154 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
12155 return NULL;
12156 }
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 wxGrid_SetDefaultRenderer(_arg0,_arg1);
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) return NULL;
12164 } Py_INCREF(Py_None);
12165 _resultobj = Py_None;
12166 return _resultobj;
12167 }
12168
12169 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
12170 static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject * _resultobj;
12172 wxGrid * _arg0;
12173 int _arg1;
12174 int _arg2;
12175 wxGridCellRenderer * _arg3;
12176 PyObject * _argo0 = 0;
12177 PyObject * _argo3 = 0;
12178 char *_kwnames[] = { "self","row","col","renderer", NULL };
12179
12180 self = self;
12181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
12182 return NULL;
12183 if (_argo0) {
12184 if (_argo0 == Py_None) { _arg0 = NULL; }
12185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
12187 return NULL;
12188 }
12189 }
12190 if (_argo3) {
12191 if (_argo3 == Py_None) { _arg3 = NULL; }
12192 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) {
12193 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
12194 return NULL;
12195 }
12196 }
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3);
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) return NULL;
12203 } Py_INCREF(Py_None);
12204 _resultobj = Py_None;
12205 return _resultobj;
12206 }
12207
12208 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
12209 static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12210 PyObject * _resultobj;
12211 wxGridCellRenderer * _result;
12212 wxGrid * _arg0;
12213 PyObject * _argo0 = 0;
12214 char *_kwnames[] = { "self", NULL };
12215
12216 self = self;
12217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0))
12218 return NULL;
12219 if (_argo0) {
12220 if (_argo0 == Py_None) { _arg0 = NULL; }
12221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
12223 return NULL;
12224 }
12225 }
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0);
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) return NULL;
12232 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12233 return _resultobj;
12234 }
12235
12236 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
12237 static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
12238 PyObject * _resultobj;
12239 wxGridCellRenderer * _result;
12240 wxGrid * _arg0;
12241 int _arg1;
12242 int _arg2;
12243 PyObject * _argo0 = 0;
12244 char *_kwnames[] = { "self","row","col", NULL };
12245
12246 self = self;
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2))
12248 return NULL;
12249 if (_argo0) {
12250 if (_argo0 == Py_None) { _arg0 = NULL; }
12251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12253 return NULL;
12254 }
12255 }
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2);
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) return NULL;
12262 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
12263 return _resultobj;
12264 }
12265
12266 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12267 static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject * _resultobj;
12269 wxGrid * _arg0;
12270 wxGridCellEditor * _arg1;
12271 PyObject * _argo0 = 0;
12272 PyObject * _argo1 = 0;
12273 char *_kwnames[] = { "self","editor", NULL };
12274
12275 self = self;
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1))
12277 return NULL;
12278 if (_argo0) {
12279 if (_argo0 == Py_None) { _arg0 = NULL; }
12280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12282 return NULL;
12283 }
12284 }
12285 if (_argo1) {
12286 if (_argo1 == Py_None) { _arg1 = NULL; }
12287 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) {
12288 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12289 return NULL;
12290 }
12291 }
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 wxGrid_SetDefaultEditor(_arg0,_arg1);
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) return NULL;
12298 } Py_INCREF(Py_None);
12299 _resultobj = Py_None;
12300 return _resultobj;
12301 }
12302
12303 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12304 static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12305 PyObject * _resultobj;
12306 wxGrid * _arg0;
12307 int _arg1;
12308 int _arg2;
12309 wxGridCellEditor * _arg3;
12310 PyObject * _argo0 = 0;
12311 PyObject * _argo3 = 0;
12312 char *_kwnames[] = { "self","row","col","editor", NULL };
12313
12314 self = self;
12315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
12316 return NULL;
12317 if (_argo0) {
12318 if (_argo0 == Py_None) { _arg0 = NULL; }
12319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
12321 return NULL;
12322 }
12323 }
12324 if (_argo3) {
12325 if (_argo3 == Py_None) { _arg3 = NULL; }
12326 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
12327 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12328 return NULL;
12329 }
12330 }
12331 {
12332 PyThreadState* __tstate = wxPyBeginAllowThreads();
12333 wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3);
12334
12335 wxPyEndAllowThreads(__tstate);
12336 if (PyErr_Occurred()) return NULL;
12337 } Py_INCREF(Py_None);
12338 _resultobj = Py_None;
12339 return _resultobj;
12340 }
12341
12342 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12343 static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject * _resultobj;
12345 wxGridCellEditor * _result;
12346 wxGrid * _arg0;
12347 PyObject * _argo0 = 0;
12348 char *_kwnames[] = { "self", NULL };
12349
12350 self = self;
12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0))
12352 return NULL;
12353 if (_argo0) {
12354 if (_argo0 == Py_None) { _arg0 = NULL; }
12355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12357 return NULL;
12358 }
12359 }
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0);
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) return NULL;
12366 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12367 return _resultobj;
12368 }
12369
12370 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12371 static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject * _resultobj;
12373 wxGridCellEditor * _result;
12374 wxGrid * _arg0;
12375 int _arg1;
12376 int _arg2;
12377 PyObject * _argo0 = 0;
12378 char *_kwnames[] = { "self","row","col", NULL };
12379
12380 self = self;
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2))
12382 return NULL;
12383 if (_argo0) {
12384 if (_argo0 == Py_None) { _arg0 = NULL; }
12385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12387 return NULL;
12388 }
12389 }
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) return NULL;
12396 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
12397 return _resultobj;
12398 }
12399
12400 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12401 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject * _resultobj;
12403 wxString * _result;
12404 wxGrid * _arg0;
12405 int _arg1;
12406 int _arg2;
12407 PyObject * _argo0 = 0;
12408 char *_kwnames[] = { "self","row","col", NULL };
12409
12410 self = self;
12411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
12412 return NULL;
12413 if (_argo0) {
12414 if (_argo0 == Py_None) { _arg0 = NULL; }
12415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12417 return NULL;
12418 }
12419 }
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2));
12423
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) return NULL;
12426 }{
12427 #if wxUSE_UNICODE
12428 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
12429 #else
12430 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
12431 #endif
12432 }
12433 {
12434 delete _result;
12435 }
12436 return _resultobj;
12437 }
12438
12439 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12440 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12441 PyObject * _resultobj;
12442 wxGrid * _arg0;
12443 int _arg1;
12444 int _arg2;
12445 wxString * _arg3;
12446 PyObject * _argo0 = 0;
12447 PyObject * _obj3 = 0;
12448 char *_kwnames[] = { "self","row","col","s", NULL };
12449
12450 self = self;
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
12452 return NULL;
12453 if (_argo0) {
12454 if (_argo0 == Py_None) { _arg0 = NULL; }
12455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12457 return NULL;
12458 }
12459 }
12460 {
12461 _arg3 = wxString_in_helper(_obj3);
12462 if (_arg3 == NULL)
12463 return NULL;
12464 }
12465 {
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3);
12468
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) return NULL;
12471 } Py_INCREF(Py_None);
12472 _resultobj = Py_None;
12473 {
12474 if (_obj3)
12475 delete _arg3;
12476 }
12477 return _resultobj;
12478 }
12479
12480 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12481 static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
12482 PyObject * _resultobj;
12483 bool _result;
12484 wxGrid * _arg0;
12485 int _arg1;
12486 int _arg2;
12487 PyObject * _argo0 = 0;
12488 char *_kwnames[] = { "self","row","col", NULL };
12489
12490 self = self;
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2))
12492 return NULL;
12493 if (_argo0) {
12494 if (_argo0 == Py_None) { _arg0 = NULL; }
12495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12497 return NULL;
12498 }
12499 }
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2);
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) return NULL;
12506 } _resultobj = Py_BuildValue("i",_result);
12507 return _resultobj;
12508 }
12509
12510 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12511 static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
12512 PyObject * _resultobj;
12513 wxGrid * _arg0;
12514 int _arg1;
12515 int _arg2;
12516 bool _arg3 = (bool ) TRUE;
12517 PyObject * _argo0 = 0;
12518 int tempbool3 = (int) TRUE;
12519 char *_kwnames[] = { "self","row","col","isReadOnly", NULL };
12520
12521 self = self;
12522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
12523 return NULL;
12524 if (_argo0) {
12525 if (_argo0 == Py_None) { _arg0 = NULL; }
12526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12528 return NULL;
12529 }
12530 }
12531 _arg3 = (bool ) tempbool3;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3);
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) return NULL;
12538 } Py_INCREF(Py_None);
12539 _resultobj = Py_None;
12540 return _resultobj;
12541 }
12542
12543 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12544 static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12545 PyObject * _resultobj;
12546 wxGrid * _arg0;
12547 int _arg1;
12548 bool _arg2 = (bool ) FALSE;
12549 PyObject * _argo0 = 0;
12550 int tempbool2 = (int) FALSE;
12551 char *_kwnames[] = { "self","row","addToSelected", NULL };
12552
12553 self = self;
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2))
12555 return NULL;
12556 if (_argo0) {
12557 if (_argo0 == Py_None) { _arg0 = NULL; }
12558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12560 return NULL;
12561 }
12562 }
12563 _arg2 = (bool ) tempbool2;
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 wxGrid_SelectRow(_arg0,_arg1,_arg2);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) return NULL;
12570 } Py_INCREF(Py_None);
12571 _resultobj = Py_None;
12572 return _resultobj;
12573 }
12574
12575 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12576 static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12577 PyObject * _resultobj;
12578 wxGrid * _arg0;
12579 int _arg1;
12580 bool _arg2 = (bool ) FALSE;
12581 PyObject * _argo0 = 0;
12582 int tempbool2 = (int) FALSE;
12583 char *_kwnames[] = { "self","col","addToSelected", NULL };
12584
12585 self = self;
12586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2))
12587 return NULL;
12588 if (_argo0) {
12589 if (_argo0 == Py_None) { _arg0 = NULL; }
12590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12592 return NULL;
12593 }
12594 }
12595 _arg2 = (bool ) tempbool2;
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 wxGrid_SelectCol(_arg0,_arg1,_arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) return NULL;
12602 } Py_INCREF(Py_None);
12603 _resultobj = Py_None;
12604 return _resultobj;
12605 }
12606
12607 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12608 static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
12609 PyObject * _resultobj;
12610 wxGrid * _arg0;
12611 int _arg1;
12612 int _arg2;
12613 int _arg3;
12614 int _arg4;
12615 bool _arg5 = (bool ) FALSE;
12616 PyObject * _argo0 = 0;
12617 int tempbool5 = (int) FALSE;
12618 char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
12619
12620 self = self;
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
12622 return NULL;
12623 if (_argo0) {
12624 if (_argo0 == Py_None) { _arg0 = NULL; }
12625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12627 return NULL;
12628 }
12629 }
12630 _arg5 = (bool ) tempbool5;
12631 {
12632 PyThreadState* __tstate = wxPyBeginAllowThreads();
12633 wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12634
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) return NULL;
12637 } Py_INCREF(Py_None);
12638 _resultobj = Py_None;
12639 return _resultobj;
12640 }
12641
12642 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12643 static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
12644 PyObject * _resultobj;
12645 wxGrid * _arg0;
12646 PyObject * _argo0 = 0;
12647 char *_kwnames[] = { "self", NULL };
12648
12649 self = self;
12650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0))
12651 return NULL;
12652 if (_argo0) {
12653 if (_argo0 == Py_None) { _arg0 = NULL; }
12654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12656 return NULL;
12657 }
12658 }
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 wxGrid_SelectAll(_arg0);
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) return NULL;
12665 } Py_INCREF(Py_None);
12666 _resultobj = Py_None;
12667 return _resultobj;
12668 }
12669
12670 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12671 static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12672 PyObject * _resultobj;
12673 bool _result;
12674 wxGrid * _arg0;
12675 PyObject * _argo0 = 0;
12676 char *_kwnames[] = { "self", NULL };
12677
12678 self = self;
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0))
12680 return NULL;
12681 if (_argo0) {
12682 if (_argo0 == Py_None) { _arg0 = NULL; }
12683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12685 return NULL;
12686 }
12687 }
12688 {
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 _result = (bool )wxGrid_IsSelection(_arg0);
12691
12692 wxPyEndAllowThreads(__tstate);
12693 if (PyErr_Occurred()) return NULL;
12694 } _resultobj = Py_BuildValue("i",_result);
12695 return _resultobj;
12696 }
12697
12698 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12699 static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12700 PyObject * _resultobj;
12701 wxGrid * _arg0;
12702 PyObject * _argo0 = 0;
12703 char *_kwnames[] = { "self", NULL };
12704
12705 self = self;
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0))
12707 return NULL;
12708 if (_argo0) {
12709 if (_argo0 == Py_None) { _arg0 = NULL; }
12710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12712 return NULL;
12713 }
12714 }
12715 {
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 wxGrid_ClearSelection(_arg0);
12718
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) return NULL;
12721 } Py_INCREF(Py_None);
12722 _resultobj = Py_None;
12723 return _resultobj;
12724 }
12725
12726 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12727 static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12728 PyObject * _resultobj;
12729 bool _result;
12730 wxGrid * _arg0;
12731 int _arg1;
12732 int _arg2;
12733 PyObject * _argo0 = 0;
12734 char *_kwnames[] = { "self","row","col", NULL };
12735
12736 self = self;
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2))
12738 return NULL;
12739 if (_argo0) {
12740 if (_argo0 == Py_None) { _arg0 = NULL; }
12741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12743 return NULL;
12744 }
12745 }
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) return NULL;
12752 } _resultobj = Py_BuildValue("i",_result);
12753 return _resultobj;
12754 }
12755
12756 #define wxGrid_GetSelectedCells(_swigobj) (_swigobj->GetSelectedCells())
12757 static PyObject *_wrap_wxGrid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) {
12758 PyObject * _resultobj;
12759 wxGridCellCoordsArray * _result;
12760 wxGrid * _arg0;
12761 PyObject * _argo0 = 0;
12762 char *_kwnames[] = { "self", NULL };
12763
12764 self = self;
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedCells",_kwnames,&_argo0))
12766 return NULL;
12767 if (_argo0) {
12768 if (_argo0 == Py_None) { _arg0 = NULL; }
12769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedCells. Expected _wxGrid_p.");
12771 return NULL;
12772 }
12773 }
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 _result = new wxGridCellCoordsArray (wxGrid_GetSelectedCells(_arg0));
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) return NULL;
12780 }{
12781 _resultobj = wxGridCellCoordsArray_helper(_result);
12782 }
12783 {
12784 delete _result;
12785 }
12786 return _resultobj;
12787 }
12788
12789 #define wxGrid_GetSelectionBlockTopLeft(_swigobj) (_swigobj->GetSelectionBlockTopLeft())
12790 static PyObject *_wrap_wxGrid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12791 PyObject * _resultobj;
12792 wxGridCellCoordsArray * _result;
12793 wxGrid * _arg0;
12794 PyObject * _argo0 = 0;
12795 char *_kwnames[] = { "self", NULL };
12796
12797 self = self;
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBlockTopLeft",_kwnames,&_argo0))
12799 return NULL;
12800 if (_argo0) {
12801 if (_argo0 == Py_None) { _arg0 = NULL; }
12802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBlockTopLeft. Expected _wxGrid_p.");
12804 return NULL;
12805 }
12806 }
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 _result = new wxGridCellCoordsArray (wxGrid_GetSelectionBlockTopLeft(_arg0));
12810
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) return NULL;
12813 }{
12814 _resultobj = wxGridCellCoordsArray_helper(_result);
12815 }
12816 {
12817 delete _result;
12818 }
12819 return _resultobj;
12820 }
12821
12822 #define wxGrid_GetSelectionBlockBottomRight(_swigobj) (_swigobj->GetSelectionBlockBottomRight())
12823 static PyObject *_wrap_wxGrid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12824 PyObject * _resultobj;
12825 wxGridCellCoordsArray * _result;
12826 wxGrid * _arg0;
12827 PyObject * _argo0 = 0;
12828 char *_kwnames[] = { "self", NULL };
12829
12830 self = self;
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBlockBottomRight",_kwnames,&_argo0))
12832 return NULL;
12833 if (_argo0) {
12834 if (_argo0 == Py_None) { _arg0 = NULL; }
12835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBlockBottomRight. Expected _wxGrid_p.");
12837 return NULL;
12838 }
12839 }
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 _result = new wxGridCellCoordsArray (wxGrid_GetSelectionBlockBottomRight(_arg0));
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) return NULL;
12846 }{
12847 _resultobj = wxGridCellCoordsArray_helper(_result);
12848 }
12849 {
12850 delete _result;
12851 }
12852 return _resultobj;
12853 }
12854
12855 #define wxGrid_GetSelectedRows(_swigobj) (_swigobj->GetSelectedRows())
12856 static PyObject *_wrap_wxGrid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) {
12857 PyObject * _resultobj;
12858 wxArrayInt * _result;
12859 wxGrid * _arg0;
12860 PyObject * _argo0 = 0;
12861 char *_kwnames[] = { "self", NULL };
12862
12863 self = self;
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedRows",_kwnames,&_argo0))
12865 return NULL;
12866 if (_argo0) {
12867 if (_argo0 == Py_None) { _arg0 = NULL; }
12868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedRows. Expected _wxGrid_p.");
12870 return NULL;
12871 }
12872 }
12873 {
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 _result = new wxArrayInt (wxGrid_GetSelectedRows(_arg0));
12876
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) return NULL;
12879 }{
12880 _resultobj = PyList_New(0);
12881 size_t idx;
12882 for (idx = 0; idx < _result->GetCount(); idx += 1) {
12883 PyObject* val = PyInt_FromLong(_result->Item(idx));
12884 PyList_Append(_resultobj, val);
12885 Py_DECREF(val);
12886 }
12887 delete _result;
12888 }
12889 return _resultobj;
12890 }
12891
12892 #define wxGrid_GetSelectedCols(_swigobj) (_swigobj->GetSelectedCols())
12893 static PyObject *_wrap_wxGrid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) {
12894 PyObject * _resultobj;
12895 wxArrayInt * _result;
12896 wxGrid * _arg0;
12897 PyObject * _argo0 = 0;
12898 char *_kwnames[] = { "self", NULL };
12899
12900 self = self;
12901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedCols",_kwnames,&_argo0))
12902 return NULL;
12903 if (_argo0) {
12904 if (_argo0 == Py_None) { _arg0 = NULL; }
12905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedCols. Expected _wxGrid_p.");
12907 return NULL;
12908 }
12909 }
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 _result = new wxArrayInt (wxGrid_GetSelectedCols(_arg0));
12913
12914 wxPyEndAllowThreads(__tstate);
12915 if (PyErr_Occurred()) return NULL;
12916 }{
12917 _resultobj = PyList_New(0);
12918 size_t idx;
12919 for (idx = 0; idx < _result->GetCount(); idx += 1) {
12920 PyObject* val = PyInt_FromLong(_result->Item(idx));
12921 PyList_Append(_resultobj, val);
12922 Py_DECREF(val);
12923 }
12924 delete _result;
12925 }
12926 return _resultobj;
12927 }
12928
12929 #define wxGrid_DeselectRow(_swigobj,_swigarg0) (_swigobj->DeselectRow(_swigarg0))
12930 static PyObject *_wrap_wxGrid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject * _resultobj;
12932 wxGrid * _arg0;
12933 int _arg1;
12934 PyObject * _argo0 = 0;
12935 char *_kwnames[] = { "self","row", NULL };
12936
12937 self = self;
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_DeselectRow",_kwnames,&_argo0,&_arg1))
12939 return NULL;
12940 if (_argo0) {
12941 if (_argo0 == Py_None) { _arg0 = NULL; }
12942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectRow. Expected _wxGrid_p.");
12944 return NULL;
12945 }
12946 }
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 wxGrid_DeselectRow(_arg0,_arg1);
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) return NULL;
12953 } Py_INCREF(Py_None);
12954 _resultobj = Py_None;
12955 return _resultobj;
12956 }
12957
12958 #define wxGrid_DeselectCol(_swigobj,_swigarg0) (_swigobj->DeselectCol(_swigarg0))
12959 static PyObject *_wrap_wxGrid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject * _resultobj;
12961 wxGrid * _arg0;
12962 int _arg1;
12963 PyObject * _argo0 = 0;
12964 char *_kwnames[] = { "self","col", NULL };
12965
12966 self = self;
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_DeselectCol",_kwnames,&_argo0,&_arg1))
12968 return NULL;
12969 if (_argo0) {
12970 if (_argo0 == Py_None) { _arg0 = NULL; }
12971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
12972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectCol. Expected _wxGrid_p.");
12973 return NULL;
12974 }
12975 }
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 wxGrid_DeselectCol(_arg0,_arg1);
12979
12980 wxPyEndAllowThreads(__tstate);
12981 if (PyErr_Occurred()) return NULL;
12982 } Py_INCREF(Py_None);
12983 _resultobj = Py_None;
12984 return _resultobj;
12985 }
12986
12987 #define wxGrid_DeselectCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeselectCell(_swigarg0,_swigarg1))
12988 static PyObject *_wrap_wxGrid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) {
12989 PyObject * _resultobj;
12990 wxGrid * _arg0;
12991 int _arg1;
12992 int _arg2;
12993 PyObject * _argo0 = 0;
12994 char *_kwnames[] = { "self","row","col", NULL };
12995
12996 self = self;
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_DeselectCell",_kwnames,&_argo0,&_arg1,&_arg2))
12998 return NULL;
12999 if (_argo0) {
13000 if (_argo0 == Py_None) { _arg0 = NULL; }
13001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectCell. Expected _wxGrid_p.");
13003 return NULL;
13004 }
13005 }
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 wxGrid_DeselectCell(_arg0,_arg1,_arg2);
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) return NULL;
13012 } Py_INCREF(Py_None);
13013 _resultobj = Py_None;
13014 return _resultobj;
13015 }
13016
13017 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
13018 static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) {
13019 PyObject * _resultobj;
13020 wxRect * _result;
13021 wxGrid * _arg0;
13022 wxGridCellCoords * _arg1;
13023 wxGridCellCoords * _arg2;
13024 PyObject * _argo0 = 0;
13025 wxGridCellCoords temp;
13026 PyObject * _obj1 = 0;
13027 wxGridCellCoords temp0;
13028 PyObject * _obj2 = 0;
13029 char *_kwnames[] = { "self","topLeft","bottomRight", NULL };
13030 char _ptemp[128];
13031
13032 self = self;
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2))
13034 return NULL;
13035 if (_argo0) {
13036 if (_argo0 == Py_None) { _arg0 = NULL; }
13037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
13039 return NULL;
13040 }
13041 }
13042 {
13043 _arg1 = &temp;
13044 if (! wxGridCellCoords_helper(_obj1, &_arg1))
13045 return NULL;
13046 }
13047 {
13048 _arg2 = &temp0;
13049 if (! wxGridCellCoords_helper(_obj2, &_arg2))
13050 return NULL;
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2));
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) return NULL;
13058 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
13059 _resultobj = Py_BuildValue("s",_ptemp);
13060 return _resultobj;
13061 }
13062
13063 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
13064 static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13065 PyObject * _resultobj;
13066 wxColour * _result;
13067 wxGrid * _arg0;
13068 PyObject * _argo0 = 0;
13069 char *_kwnames[] = { "self", NULL };
13070 char _ptemp[128];
13071
13072 self = self;
13073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0))
13074 return NULL;
13075 if (_argo0) {
13076 if (_argo0 == Py_None) { _arg0 = NULL; }
13077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
13079 return NULL;
13080 }
13081 }
13082 {
13083 PyThreadState* __tstate = wxPyBeginAllowThreads();
13084 _result = new wxColour (wxGrid_GetSelectionBackground(_arg0));
13085
13086 wxPyEndAllowThreads(__tstate);
13087 if (PyErr_Occurred()) return NULL;
13088 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
13089 _resultobj = Py_BuildValue("s",_ptemp);
13090 return _resultobj;
13091 }
13092
13093 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
13094 static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13095 PyObject * _resultobj;
13096 wxColour * _result;
13097 wxGrid * _arg0;
13098 PyObject * _argo0 = 0;
13099 char *_kwnames[] = { "self", NULL };
13100 char _ptemp[128];
13101
13102 self = self;
13103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0))
13104 return NULL;
13105 if (_argo0) {
13106 if (_argo0 == Py_None) { _arg0 = NULL; }
13107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
13109 return NULL;
13110 }
13111 }
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 _result = new wxColour (wxGrid_GetSelectionForeground(_arg0));
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) return NULL;
13118 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
13119 _resultobj = Py_BuildValue("s",_ptemp);
13120 return _resultobj;
13121 }
13122
13123 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
13124 static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
13125 PyObject * _resultobj;
13126 wxGrid * _arg0;
13127 wxColour * _arg1;
13128 PyObject * _argo0 = 0;
13129 wxColour temp;
13130 PyObject * _obj1 = 0;
13131 char *_kwnames[] = { "self","c", NULL };
13132
13133 self = self;
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1))
13135 return NULL;
13136 if (_argo0) {
13137 if (_argo0 == Py_None) { _arg0 = NULL; }
13138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
13140 return NULL;
13141 }
13142 }
13143 {
13144 _arg1 = &temp;
13145 if (! wxColour_helper(_obj1, &_arg1))
13146 return NULL;
13147 }
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 wxGrid_SetSelectionBackground(_arg0,*_arg1);
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) return NULL;
13154 } Py_INCREF(Py_None);
13155 _resultobj = Py_None;
13156 return _resultobj;
13157 }
13158
13159 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
13160 static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
13161 PyObject * _resultobj;
13162 wxGrid * _arg0;
13163 wxColour * _arg1;
13164 PyObject * _argo0 = 0;
13165 wxColour temp;
13166 PyObject * _obj1 = 0;
13167 char *_kwnames[] = { "self","c", NULL };
13168
13169 self = self;
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1))
13171 return NULL;
13172 if (_argo0) {
13173 if (_argo0 == Py_None) { _arg0 = NULL; }
13174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
13176 return NULL;
13177 }
13178 }
13179 {
13180 _arg1 = &temp;
13181 if (! wxColour_helper(_obj1, &_arg1))
13182 return NULL;
13183 }
13184 {
13185 PyThreadState* __tstate = wxPyBeginAllowThreads();
13186 wxGrid_SetSelectionForeground(_arg0,*_arg1);
13187
13188 wxPyEndAllowThreads(__tstate);
13189 if (PyErr_Occurred()) return NULL;
13190 } Py_INCREF(Py_None);
13191 _resultobj = Py_None;
13192 return _resultobj;
13193 }
13194
13195 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
13196 static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject * _resultobj;
13198 wxGrid * _arg0;
13199 wxString * _arg1;
13200 wxGridCellRenderer * _arg2;
13201 wxGridCellEditor * _arg3;
13202 PyObject * _argo0 = 0;
13203 PyObject * _obj1 = 0;
13204 PyObject * _argo2 = 0;
13205 PyObject * _argo3 = 0;
13206 char *_kwnames[] = { "self","typeName","renderer","editor", NULL };
13207
13208 self = self;
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
13210 return NULL;
13211 if (_argo0) {
13212 if (_argo0 == Py_None) { _arg0 = NULL; }
13213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
13215 return NULL;
13216 }
13217 }
13218 {
13219 _arg1 = wxString_in_helper(_obj1);
13220 if (_arg1 == NULL)
13221 return NULL;
13222 }
13223 if (_argo2) {
13224 if (_argo2 == Py_None) { _arg2 = NULL; }
13225 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) {
13226 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
13227 return NULL;
13228 }
13229 }
13230 if (_argo3) {
13231 if (_argo3 == Py_None) { _arg3 = NULL; }
13232 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) {
13233 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
13234 return NULL;
13235 }
13236 }
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3);
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) return NULL;
13243 } Py_INCREF(Py_None);
13244 _resultobj = Py_None;
13245 {
13246 if (_obj1)
13247 delete _arg1;
13248 }
13249 return _resultobj;
13250 }
13251
13252 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
13253 static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject * _resultobj;
13255 wxGridCellEditor * _result;
13256 wxGrid * _arg0;
13257 int _arg1;
13258 int _arg2;
13259 PyObject * _argo0 = 0;
13260 char *_kwnames[] = { "self","row","col", NULL };
13261
13262 self = self;
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2))
13264 return NULL;
13265 if (_argo0) {
13266 if (_argo0 == Py_None) { _arg0 = NULL; }
13267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
13269 return NULL;
13270 }
13271 }
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2);
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) return NULL;
13278 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
13279 return _resultobj;
13280 }
13281
13282 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
13283 static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject * _resultobj;
13285 wxGridCellRenderer * _result;
13286 wxGrid * _arg0;
13287 int _arg1;
13288 int _arg2;
13289 PyObject * _argo0 = 0;
13290 char *_kwnames[] = { "self","row","col", NULL };
13291
13292 self = self;
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2))
13294 return NULL;
13295 if (_argo0) {
13296 if (_argo0 == Py_None) { _arg0 = NULL; }
13297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
13299 return NULL;
13300 }
13301 }
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2);
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) return NULL;
13308 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
13309 return _resultobj;
13310 }
13311
13312 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
13313 static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13314 PyObject * _resultobj;
13315 wxGridCellEditor * _result;
13316 wxGrid * _arg0;
13317 wxString * _arg1;
13318 PyObject * _argo0 = 0;
13319 PyObject * _obj1 = 0;
13320 char *_kwnames[] = { "self","typeName", NULL };
13321
13322 self = self;
13323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1))
13324 return NULL;
13325 if (_argo0) {
13326 if (_argo0 == Py_None) { _arg0 = NULL; }
13327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
13329 return NULL;
13330 }
13331 }
13332 {
13333 _arg1 = wxString_in_helper(_obj1);
13334 if (_arg1 == NULL)
13335 return NULL;
13336 }
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1);
13340
13341 wxPyEndAllowThreads(__tstate);
13342 if (PyErr_Occurred()) return NULL;
13343 }{ _resultobj = wxPyMake_wxGridCellEditor(_result); }
13344 {
13345 if (_obj1)
13346 delete _arg1;
13347 }
13348 return _resultobj;
13349 }
13350
13351 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
13352 static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) {
13353 PyObject * _resultobj;
13354 wxGridCellRenderer * _result;
13355 wxGrid * _arg0;
13356 wxString * _arg1;
13357 PyObject * _argo0 = 0;
13358 PyObject * _obj1 = 0;
13359 char *_kwnames[] = { "self","typeName", NULL };
13360
13361 self = self;
13362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1))
13363 return NULL;
13364 if (_argo0) {
13365 if (_argo0 == Py_None) { _arg0 = NULL; }
13366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
13368 return NULL;
13369 }
13370 }
13371 {
13372 _arg1 = wxString_in_helper(_obj1);
13373 if (_arg1 == NULL)
13374 return NULL;
13375 }
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1);
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) return NULL;
13382 }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); }
13383 {
13384 if (_obj1)
13385 delete _arg1;
13386 }
13387 return _resultobj;
13388 }
13389
13390 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
13391 static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject * _resultobj;
13393 wxGrid * _arg0;
13394 int _arg1;
13395 int _arg2;
13396 PyObject * _argo0 = 0;
13397 char *_kwnames[] = { "self","extraWidth","extraHeight", NULL };
13398
13399 self = self;
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
13401 return NULL;
13402 if (_argo0) {
13403 if (_argo0 == Py_None) { _arg0 = NULL; }
13404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
13406 return NULL;
13407 }
13408 }
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 wxGrid_SetMargins(_arg0,_arg1,_arg2);
13412
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) return NULL;
13415 } Py_INCREF(Py_None);
13416 _resultobj = Py_None;
13417 return _resultobj;
13418 }
13419
13420 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
13421 static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13422 PyObject * _resultobj;
13423 wxWindow * _result;
13424 wxGrid * _arg0;
13425 PyObject * _argo0 = 0;
13426 char *_kwnames[] = { "self", NULL };
13427
13428 self = self;
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0))
13430 return NULL;
13431 if (_argo0) {
13432 if (_argo0 == Py_None) { _arg0 = NULL; }
13433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
13435 return NULL;
13436 }
13437 }
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 _result = (wxWindow *)wxGrid_GetGridWindow(_arg0);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) return NULL;
13444 }{ _resultobj = wxPyMake_wxObject(_result); }
13445 return _resultobj;
13446 }
13447
13448 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
13449 static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13450 PyObject * _resultobj;
13451 wxWindow * _result;
13452 wxGrid * _arg0;
13453 PyObject * _argo0 = 0;
13454 char *_kwnames[] = { "self", NULL };
13455
13456 self = self;
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0))
13458 return NULL;
13459 if (_argo0) {
13460 if (_argo0 == Py_None) { _arg0 = NULL; }
13461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
13463 return NULL;
13464 }
13465 }
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0);
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) return NULL;
13472 }{ _resultobj = wxPyMake_wxObject(_result); }
13473 return _resultobj;
13474 }
13475
13476 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
13477 static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13478 PyObject * _resultobj;
13479 wxWindow * _result;
13480 wxGrid * _arg0;
13481 PyObject * _argo0 = 0;
13482 char *_kwnames[] = { "self", NULL };
13483
13484 self = self;
13485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0))
13486 return NULL;
13487 if (_argo0) {
13488 if (_argo0 == Py_None) { _arg0 = NULL; }
13489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
13491 return NULL;
13492 }
13493 }
13494 {
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0);
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) return NULL;
13500 }{ _resultobj = wxPyMake_wxObject(_result); }
13501 return _resultobj;
13502 }
13503
13504 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
13505 static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject * _resultobj;
13507 wxWindow * _result;
13508 wxGrid * _arg0;
13509 PyObject * _argo0 = 0;
13510 char *_kwnames[] = { "self", NULL };
13511
13512 self = self;
13513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0))
13514 return NULL;
13515 if (_argo0) {
13516 if (_argo0 == Py_None) { _arg0 = NULL; }
13517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
13518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13519 return NULL;
13520 }
13521 }
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0);
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) return NULL;
13528 }{ _resultobj = wxPyMake_wxObject(_result); }
13529 return _resultobj;
13530 }
13531
13532 static void *SwigwxGridEventTowxNotifyEvent(void *ptr) {
13533 wxGridEvent *src;
13534 wxNotifyEvent *dest;
13535 src = (wxGridEvent *) ptr;
13536 dest = (wxNotifyEvent *) src;
13537 return (void *) dest;
13538 }
13539
13540 static void *SwigwxGridEventTowxCommandEvent(void *ptr) {
13541 wxGridEvent *src;
13542 wxCommandEvent *dest;
13543 src = (wxGridEvent *) ptr;
13544 dest = (wxCommandEvent *) src;
13545 return (void *) dest;
13546 }
13547
13548 static void *SwigwxGridEventTowxEvent(void *ptr) {
13549 wxGridEvent *src;
13550 wxEvent *dest;
13551 src = (wxGridEvent *) ptr;
13552 dest = (wxEvent *) src;
13553 return (void *) dest;
13554 }
13555
13556 static void *SwigwxGridEventTowxObject(void *ptr) {
13557 wxGridEvent *src;
13558 wxObject *dest;
13559 src = (wxGridEvent *) ptr;
13560 dest = (wxObject *) src;
13561 return (void *) dest;
13562 }
13563
13564 #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))
13565 static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject * _resultobj;
13567 wxGridEvent * _result;
13568 int _arg0;
13569 wxEventType _arg1;
13570 wxGrid * _arg2;
13571 int _arg3 = (int ) -1;
13572 int _arg4 = (int ) -1;
13573 int _arg5 = (int ) -1;
13574 int _arg6 = (int ) -1;
13575 bool _arg7 = (bool ) TRUE;
13576 bool _arg8 = (bool ) FALSE;
13577 bool _arg9 = (bool ) FALSE;
13578 bool _arg10 = (bool ) FALSE;
13579 bool _arg11 = (bool ) FALSE;
13580 PyObject * _argo2 = 0;
13581 int tempbool7 = (int) TRUE;
13582 int tempbool8 = (int) FALSE;
13583 int tempbool9 = (int) FALSE;
13584 int tempbool10 = (int) FALSE;
13585 int tempbool11 = (int) FALSE;
13586 char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL };
13587 char _ptemp[128];
13588
13589 self = self;
13590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11))
13591 return NULL;
13592 if (_argo2) {
13593 if (_argo2 == Py_None) { _arg2 = NULL; }
13594 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13595 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13596 return NULL;
13597 }
13598 }
13599 _arg7 = (bool ) tempbool7;
13600 _arg8 = (bool ) tempbool8;
13601 _arg9 = (bool ) tempbool9;
13602 _arg10 = (bool ) tempbool10;
13603 _arg11 = (bool ) tempbool11;
13604 {
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
13606 _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);
13607
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) return NULL;
13610 } if (_result) {
13611 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p");
13612 _resultobj = Py_BuildValue("s",_ptemp);
13613 } else {
13614 Py_INCREF(Py_None);
13615 _resultobj = Py_None;
13616 }
13617 return _resultobj;
13618 }
13619
13620 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13621 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
13622 PyObject * _resultobj;
13623 int _result;
13624 wxGridEvent * _arg0;
13625 PyObject * _argo0 = 0;
13626 char *_kwnames[] = { "self", NULL };
13627
13628 self = self;
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
13630 return NULL;
13631 if (_argo0) {
13632 if (_argo0 == Py_None) { _arg0 = NULL; }
13633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
13635 return NULL;
13636 }
13637 }
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 _result = (int )wxGridEvent_GetRow(_arg0);
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) return NULL;
13644 } _resultobj = Py_BuildValue("i",_result);
13645 return _resultobj;
13646 }
13647
13648 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13649 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13650 PyObject * _resultobj;
13651 int _result;
13652 wxGridEvent * _arg0;
13653 PyObject * _argo0 = 0;
13654 char *_kwnames[] = { "self", NULL };
13655
13656 self = self;
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
13658 return NULL;
13659 if (_argo0) {
13660 if (_argo0 == Py_None) { _arg0 = NULL; }
13661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13663 return NULL;
13664 }
13665 }
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 _result = (int )wxGridEvent_GetCol(_arg0);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) return NULL;
13672 } _resultobj = Py_BuildValue("i",_result);
13673 return _resultobj;
13674 }
13675
13676 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13677 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject * _resultobj;
13679 wxPoint * _result;
13680 wxGridEvent * _arg0;
13681 PyObject * _argo0 = 0;
13682 char *_kwnames[] = { "self", NULL };
13683 char _ptemp[128];
13684
13685 self = self;
13686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
13687 return NULL;
13688 if (_argo0) {
13689 if (_argo0 == Py_None) { _arg0 = NULL; }
13690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
13692 return NULL;
13693 }
13694 }
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) return NULL;
13701 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
13702 _resultobj = Py_BuildValue("s",_ptemp);
13703 return _resultobj;
13704 }
13705
13706 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
13707 static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
13708 PyObject * _resultobj;
13709 bool _result;
13710 wxGridEvent * _arg0;
13711 PyObject * _argo0 = 0;
13712 char *_kwnames[] = { "self", NULL };
13713
13714 self = self;
13715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0))
13716 return NULL;
13717 if (_argo0) {
13718 if (_argo0 == Py_None) { _arg0 = NULL; }
13719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
13721 return NULL;
13722 }
13723 }
13724 {
13725 PyThreadState* __tstate = wxPyBeginAllowThreads();
13726 _result = (bool )wxGridEvent_Selecting(_arg0);
13727
13728 wxPyEndAllowThreads(__tstate);
13729 if (PyErr_Occurred()) return NULL;
13730 } _resultobj = Py_BuildValue("i",_result);
13731 return _resultobj;
13732 }
13733
13734 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13735 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13736 PyObject * _resultobj;
13737 bool _result;
13738 wxGridEvent * _arg0;
13739 PyObject * _argo0 = 0;
13740 char *_kwnames[] = { "self", NULL };
13741
13742 self = self;
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
13744 return NULL;
13745 if (_argo0) {
13746 if (_argo0 == Py_None) { _arg0 = NULL; }
13747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
13749 return NULL;
13750 }
13751 }
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 _result = (bool )wxGridEvent_ControlDown(_arg0);
13755
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) return NULL;
13758 } _resultobj = Py_BuildValue("i",_result);
13759 return _resultobj;
13760 }
13761
13762 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13763 static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13764 PyObject * _resultobj;
13765 bool _result;
13766 wxGridEvent * _arg0;
13767 PyObject * _argo0 = 0;
13768 char *_kwnames[] = { "self", NULL };
13769
13770 self = self;
13771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0))
13772 return NULL;
13773 if (_argo0) {
13774 if (_argo0 == Py_None) { _arg0 = NULL; }
13775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
13777 return NULL;
13778 }
13779 }
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 _result = (bool )wxGridEvent_MetaDown(_arg0);
13783
13784 wxPyEndAllowThreads(__tstate);
13785 if (PyErr_Occurred()) return NULL;
13786 } _resultobj = Py_BuildValue("i",_result);
13787 return _resultobj;
13788 }
13789
13790 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13791 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13792 PyObject * _resultobj;
13793 bool _result;
13794 wxGridEvent * _arg0;
13795 PyObject * _argo0 = 0;
13796 char *_kwnames[] = { "self", NULL };
13797
13798 self = self;
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
13800 return NULL;
13801 if (_argo0) {
13802 if (_argo0 == Py_None) { _arg0 = NULL; }
13803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
13805 return NULL;
13806 }
13807 }
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 _result = (bool )wxGridEvent_ShiftDown(_arg0);
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) return NULL;
13814 } _resultobj = Py_BuildValue("i",_result);
13815 return _resultobj;
13816 }
13817
13818 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
13819 static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13820 PyObject * _resultobj;
13821 bool _result;
13822 wxGridEvent * _arg0;
13823 PyObject * _argo0 = 0;
13824 char *_kwnames[] = { "self", NULL };
13825
13826 self = self;
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0))
13828 return NULL;
13829 if (_argo0) {
13830 if (_argo0 == Py_None) { _arg0 = NULL; }
13831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
13832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13833 return NULL;
13834 }
13835 }
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 _result = (bool )wxGridEvent_AltDown(_arg0);
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) return NULL;
13842 } _resultobj = Py_BuildValue("i",_result);
13843 return _resultobj;
13844 }
13845
13846 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) {
13847 wxGridSizeEvent *src;
13848 wxNotifyEvent *dest;
13849 src = (wxGridSizeEvent *) ptr;
13850 dest = (wxNotifyEvent *) src;
13851 return (void *) dest;
13852 }
13853
13854 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) {
13855 wxGridSizeEvent *src;
13856 wxCommandEvent *dest;
13857 src = (wxGridSizeEvent *) ptr;
13858 dest = (wxCommandEvent *) src;
13859 return (void *) dest;
13860 }
13861
13862 static void *SwigwxGridSizeEventTowxEvent(void *ptr) {
13863 wxGridSizeEvent *src;
13864 wxEvent *dest;
13865 src = (wxGridSizeEvent *) ptr;
13866 dest = (wxEvent *) src;
13867 return (void *) dest;
13868 }
13869
13870 static void *SwigwxGridSizeEventTowxObject(void *ptr) {
13871 wxGridSizeEvent *src;
13872 wxObject *dest;
13873 src = (wxGridSizeEvent *) ptr;
13874 dest = (wxObject *) src;
13875 return (void *) dest;
13876 }
13877
13878 #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))
13879 static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13880 PyObject * _resultobj;
13881 wxGridSizeEvent * _result;
13882 int _arg0;
13883 wxEventType _arg1;
13884 wxGrid * _arg2;
13885 int _arg3 = (int ) -1;
13886 int _arg4 = (int ) -1;
13887 int _arg5 = (int ) -1;
13888 bool _arg6 = (bool ) FALSE;
13889 bool _arg7 = (bool ) FALSE;
13890 bool _arg8 = (bool ) FALSE;
13891 bool _arg9 = (bool ) FALSE;
13892 PyObject * _argo2 = 0;
13893 int tempbool6 = (int) FALSE;
13894 int tempbool7 = (int) FALSE;
13895 int tempbool8 = (int) FALSE;
13896 int tempbool9 = (int) FALSE;
13897 char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL };
13898 char _ptemp[128];
13899
13900 self = self;
13901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
13902 return NULL;
13903 if (_argo2) {
13904 if (_argo2 == Py_None) { _arg2 = NULL; }
13905 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
13906 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13907 return NULL;
13908 }
13909 }
13910 _arg6 = (bool ) tempbool6;
13911 _arg7 = (bool ) tempbool7;
13912 _arg8 = (bool ) tempbool8;
13913 _arg9 = (bool ) tempbool9;
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
13917
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) return NULL;
13920 } if (_result) {
13921 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p");
13922 _resultobj = Py_BuildValue("s",_ptemp);
13923 } else {
13924 Py_INCREF(Py_None);
13925 _resultobj = Py_None;
13926 }
13927 return _resultobj;
13928 }
13929
13930 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13931 static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) {
13932 PyObject * _resultobj;
13933 int _result;
13934 wxGridSizeEvent * _arg0;
13935 PyObject * _argo0 = 0;
13936 char *_kwnames[] = { "self", NULL };
13937
13938 self = self;
13939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0))
13940 return NULL;
13941 if (_argo0) {
13942 if (_argo0 == Py_None) { _arg0 = NULL; }
13943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13945 return NULL;
13946 }
13947 }
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0);
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) return NULL;
13954 } _resultobj = Py_BuildValue("i",_result);
13955 return _resultobj;
13956 }
13957
13958 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13959 static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13960 PyObject * _resultobj;
13961 wxPoint * _result;
13962 wxGridSizeEvent * _arg0;
13963 PyObject * _argo0 = 0;
13964 char *_kwnames[] = { "self", NULL };
13965 char _ptemp[128];
13966
13967 self = self;
13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0))
13969 return NULL;
13970 if (_argo0) {
13971 if (_argo0 == Py_None) { _arg0 = NULL; }
13972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
13973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13974 return NULL;
13975 }
13976 }
13977 {
13978 PyThreadState* __tstate = wxPyBeginAllowThreads();
13979 _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0));
13980
13981 wxPyEndAllowThreads(__tstate);
13982 if (PyErr_Occurred()) return NULL;
13983 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
13984 _resultobj = Py_BuildValue("s",_ptemp);
13985 return _resultobj;
13986 }
13987
13988 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13989 static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13990 PyObject * _resultobj;
13991 bool _result;
13992 wxGridSizeEvent * _arg0;
13993 PyObject * _argo0 = 0;
13994 char *_kwnames[] = { "self", NULL };
13995
13996 self = self;
13997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0))
13998 return NULL;
13999 if (_argo0) {
14000 if (_argo0 == Py_None) { _arg0 = NULL; }
14001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
14003 return NULL;
14004 }
14005 }
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 _result = (bool )wxGridSizeEvent_ControlDown(_arg0);
14009
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) return NULL;
14012 } _resultobj = Py_BuildValue("i",_result);
14013 return _resultobj;
14014 }
14015
14016 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14017 static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14018 PyObject * _resultobj;
14019 bool _result;
14020 wxGridSizeEvent * _arg0;
14021 PyObject * _argo0 = 0;
14022 char *_kwnames[] = { "self", NULL };
14023
14024 self = self;
14025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0))
14026 return NULL;
14027 if (_argo0) {
14028 if (_argo0 == Py_None) { _arg0 = NULL; }
14029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
14031 return NULL;
14032 }
14033 }
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 _result = (bool )wxGridSizeEvent_MetaDown(_arg0);
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) return NULL;
14040 } _resultobj = Py_BuildValue("i",_result);
14041 return _resultobj;
14042 }
14043
14044 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14045 static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14046 PyObject * _resultobj;
14047 bool _result;
14048 wxGridSizeEvent * _arg0;
14049 PyObject * _argo0 = 0;
14050 char *_kwnames[] = { "self", NULL };
14051
14052 self = self;
14053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0))
14054 return NULL;
14055 if (_argo0) {
14056 if (_argo0 == Py_None) { _arg0 = NULL; }
14057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
14059 return NULL;
14060 }
14061 }
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 _result = (bool )wxGridSizeEvent_ShiftDown(_arg0);
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) return NULL;
14068 } _resultobj = Py_BuildValue("i",_result);
14069 return _resultobj;
14070 }
14071
14072 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
14073 static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14074 PyObject * _resultobj;
14075 bool _result;
14076 wxGridSizeEvent * _arg0;
14077 PyObject * _argo0 = 0;
14078 char *_kwnames[] = { "self", NULL };
14079
14080 self = self;
14081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0))
14082 return NULL;
14083 if (_argo0) {
14084 if (_argo0 == Py_None) { _arg0 = NULL; }
14085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) {
14086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
14087 return NULL;
14088 }
14089 }
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 _result = (bool )wxGridSizeEvent_AltDown(_arg0);
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) return NULL;
14096 } _resultobj = Py_BuildValue("i",_result);
14097 return _resultobj;
14098 }
14099
14100 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) {
14101 wxGridRangeSelectEvent *src;
14102 wxNotifyEvent *dest;
14103 src = (wxGridRangeSelectEvent *) ptr;
14104 dest = (wxNotifyEvent *) src;
14105 return (void *) dest;
14106 }
14107
14108 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) {
14109 wxGridRangeSelectEvent *src;
14110 wxCommandEvent *dest;
14111 src = (wxGridRangeSelectEvent *) ptr;
14112 dest = (wxCommandEvent *) src;
14113 return (void *) dest;
14114 }
14115
14116 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) {
14117 wxGridRangeSelectEvent *src;
14118 wxEvent *dest;
14119 src = (wxGridRangeSelectEvent *) ptr;
14120 dest = (wxEvent *) src;
14121 return (void *) dest;
14122 }
14123
14124 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) {
14125 wxGridRangeSelectEvent *src;
14126 wxObject *dest;
14127 src = (wxGridRangeSelectEvent *) ptr;
14128 dest = (wxObject *) src;
14129 return (void *) dest;
14130 }
14131
14132 #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))
14133 static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14134 PyObject * _resultobj;
14135 wxGridRangeSelectEvent * _result;
14136 int _arg0;
14137 wxEventType _arg1;
14138 wxGrid * _arg2;
14139 wxGridCellCoords * _arg3;
14140 wxGridCellCoords * _arg4;
14141 bool _arg5 = (bool ) TRUE;
14142 bool _arg6 = (bool ) FALSE;
14143 bool _arg7 = (bool ) FALSE;
14144 bool _arg8 = (bool ) FALSE;
14145 bool _arg9 = (bool ) FALSE;
14146 PyObject * _argo2 = 0;
14147 wxGridCellCoords temp;
14148 PyObject * _obj3 = 0;
14149 wxGridCellCoords temp0;
14150 PyObject * _obj4 = 0;
14151 int tempbool5 = (int) TRUE;
14152 int tempbool6 = (int) FALSE;
14153 int tempbool7 = (int) FALSE;
14154 int tempbool8 = (int) FALSE;
14155 int tempbool9 = (int) FALSE;
14156 char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL };
14157 char _ptemp[128];
14158
14159 self = self;
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9))
14161 return NULL;
14162 if (_argo2) {
14163 if (_argo2 == Py_None) { _arg2 = NULL; }
14164 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) {
14165 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
14166 return NULL;
14167 }
14168 }
14169 {
14170 _arg3 = &temp;
14171 if (! wxGridCellCoords_helper(_obj3, &_arg3))
14172 return NULL;
14173 }
14174 {
14175 _arg4 = &temp0;
14176 if (! wxGridCellCoords_helper(_obj4, &_arg4))
14177 return NULL;
14178 }
14179 _arg5 = (bool ) tempbool5;
14180 _arg6 = (bool ) tempbool6;
14181 _arg7 = (bool ) tempbool7;
14182 _arg8 = (bool ) tempbool8;
14183 _arg9 = (bool ) tempbool9;
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) return NULL;
14190 } if (_result) {
14191 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p");
14192 _resultobj = Py_BuildValue("s",_ptemp);
14193 } else {
14194 Py_INCREF(Py_None);
14195 _resultobj = Py_None;
14196 }
14197 return _resultobj;
14198 }
14199
14200 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
14201 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject * _resultobj;
14203 wxGridCellCoords * _result;
14204 wxGridRangeSelectEvent * _arg0;
14205 PyObject * _argo0 = 0;
14206 char *_kwnames[] = { "self", NULL };
14207 char _ptemp[128];
14208
14209 self = self;
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0))
14211 return NULL;
14212 if (_argo0) {
14213 if (_argo0 == Py_None) { _arg0 = NULL; }
14214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
14216 return NULL;
14217 }
14218 }
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0));
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) return NULL;
14225 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
14226 _resultobj = Py_BuildValue("s",_ptemp);
14227 return _resultobj;
14228 }
14229
14230 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
14231 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) {
14232 PyObject * _resultobj;
14233 wxGridCellCoords * _result;
14234 wxGridRangeSelectEvent * _arg0;
14235 PyObject * _argo0 = 0;
14236 char *_kwnames[] = { "self", NULL };
14237 char _ptemp[128];
14238
14239 self = self;
14240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0))
14241 return NULL;
14242 if (_argo0) {
14243 if (_argo0 == Py_None) { _arg0 = NULL; }
14244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
14246 return NULL;
14247 }
14248 }
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0));
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) return NULL;
14255 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p");
14256 _resultobj = Py_BuildValue("s",_ptemp);
14257 return _resultobj;
14258 }
14259
14260 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
14261 static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14262 PyObject * _resultobj;
14263 int _result;
14264 wxGridRangeSelectEvent * _arg0;
14265 PyObject * _argo0 = 0;
14266 char *_kwnames[] = { "self", NULL };
14267
14268 self = self;
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0))
14270 return NULL;
14271 if (_argo0) {
14272 if (_argo0 == Py_None) { _arg0 = NULL; }
14273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
14275 return NULL;
14276 }
14277 }
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0);
14281
14282 wxPyEndAllowThreads(__tstate);
14283 if (PyErr_Occurred()) return NULL;
14284 } _resultobj = Py_BuildValue("i",_result);
14285 return _resultobj;
14286 }
14287
14288 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
14289 static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject * _resultobj;
14291 int _result;
14292 wxGridRangeSelectEvent * _arg0;
14293 PyObject * _argo0 = 0;
14294 char *_kwnames[] = { "self", NULL };
14295
14296 self = self;
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0))
14298 return NULL;
14299 if (_argo0) {
14300 if (_argo0 == Py_None) { _arg0 = NULL; }
14301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
14303 return NULL;
14304 }
14305 }
14306 {
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
14308 _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0);
14309
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) return NULL;
14312 } _resultobj = Py_BuildValue("i",_result);
14313 return _resultobj;
14314 }
14315
14316 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
14317 static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14318 PyObject * _resultobj;
14319 int _result;
14320 wxGridRangeSelectEvent * _arg0;
14321 PyObject * _argo0 = 0;
14322 char *_kwnames[] = { "self", NULL };
14323
14324 self = self;
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0))
14326 return NULL;
14327 if (_argo0) {
14328 if (_argo0 == Py_None) { _arg0 = NULL; }
14329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
14331 return NULL;
14332 }
14333 }
14334 {
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0);
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) return NULL;
14340 } _resultobj = Py_BuildValue("i",_result);
14341 return _resultobj;
14342 }
14343
14344 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
14345 static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14346 PyObject * _resultobj;
14347 int _result;
14348 wxGridRangeSelectEvent * _arg0;
14349 PyObject * _argo0 = 0;
14350 char *_kwnames[] = { "self", NULL };
14351
14352 self = self;
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0))
14354 return NULL;
14355 if (_argo0) {
14356 if (_argo0 == Py_None) { _arg0 = NULL; }
14357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
14359 return NULL;
14360 }
14361 }
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0);
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) return NULL;
14368 } _resultobj = Py_BuildValue("i",_result);
14369 return _resultobj;
14370 }
14371
14372 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
14373 static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) {
14374 PyObject * _resultobj;
14375 bool _result;
14376 wxGridRangeSelectEvent * _arg0;
14377 PyObject * _argo0 = 0;
14378 char *_kwnames[] = { "self", NULL };
14379
14380 self = self;
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0))
14382 return NULL;
14383 if (_argo0) {
14384 if (_argo0 == Py_None) { _arg0 = NULL; }
14385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
14387 return NULL;
14388 }
14389 }
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) return NULL;
14396 } _resultobj = Py_BuildValue("i",_result);
14397 return _resultobj;
14398 }
14399
14400 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14401 static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14402 PyObject * _resultobj;
14403 bool _result;
14404 wxGridRangeSelectEvent * _arg0;
14405 PyObject * _argo0 = 0;
14406 char *_kwnames[] = { "self", NULL };
14407
14408 self = self;
14409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0))
14410 return NULL;
14411 if (_argo0) {
14412 if (_argo0 == Py_None) { _arg0 = NULL; }
14413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
14415 return NULL;
14416 }
14417 }
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0);
14421
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) return NULL;
14424 } _resultobj = Py_BuildValue("i",_result);
14425 return _resultobj;
14426 }
14427
14428 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14429 static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14430 PyObject * _resultobj;
14431 bool _result;
14432 wxGridRangeSelectEvent * _arg0;
14433 PyObject * _argo0 = 0;
14434 char *_kwnames[] = { "self", NULL };
14435
14436 self = self;
14437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0))
14438 return NULL;
14439 if (_argo0) {
14440 if (_argo0 == Py_None) { _arg0 = NULL; }
14441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
14443 return NULL;
14444 }
14445 }
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0);
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) return NULL;
14452 } _resultobj = Py_BuildValue("i",_result);
14453 return _resultobj;
14454 }
14455
14456 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14457 static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject * _resultobj;
14459 bool _result;
14460 wxGridRangeSelectEvent * _arg0;
14461 PyObject * _argo0 = 0;
14462 char *_kwnames[] = { "self", NULL };
14463
14464 self = self;
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0))
14466 return NULL;
14467 if (_argo0) {
14468 if (_argo0 == Py_None) { _arg0 = NULL; }
14469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
14471 return NULL;
14472 }
14473 }
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0);
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) return NULL;
14480 } _resultobj = Py_BuildValue("i",_result);
14481 return _resultobj;
14482 }
14483
14484 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
14485 static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject * _resultobj;
14487 bool _result;
14488 wxGridRangeSelectEvent * _arg0;
14489 PyObject * _argo0 = 0;
14490 char *_kwnames[] = { "self", NULL };
14491
14492 self = self;
14493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0))
14494 return NULL;
14495 if (_argo0) {
14496 if (_argo0 == Py_None) { _arg0 = NULL; }
14497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) {
14498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
14499 return NULL;
14500 }
14501 }
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0);
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) return NULL;
14508 } _resultobj = Py_BuildValue("i",_result);
14509 return _resultobj;
14510 }
14511
14512 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) {
14513 wxGridEditorCreatedEvent *src;
14514 wxCommandEvent *dest;
14515 src = (wxGridEditorCreatedEvent *) ptr;
14516 dest = (wxCommandEvent *) src;
14517 return (void *) dest;
14518 }
14519
14520 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) {
14521 wxGridEditorCreatedEvent *src;
14522 wxEvent *dest;
14523 src = (wxGridEditorCreatedEvent *) ptr;
14524 dest = (wxEvent *) src;
14525 return (void *) dest;
14526 }
14527
14528 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) {
14529 wxGridEditorCreatedEvent *src;
14530 wxObject *dest;
14531 src = (wxGridEditorCreatedEvent *) ptr;
14532 dest = (wxObject *) src;
14533 return (void *) dest;
14534 }
14535
14536 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14537 static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14538 PyObject * _resultobj;
14539 wxGridEditorCreatedEvent * _result;
14540 int _arg0;
14541 wxEventType _arg1;
14542 wxObject * _arg2;
14543 int _arg3;
14544 int _arg4;
14545 wxControl * _arg5;
14546 PyObject * _argo2 = 0;
14547 PyObject * _argo5 = 0;
14548 char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL };
14549 char _ptemp[128];
14550
14551 self = self;
14552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5))
14553 return NULL;
14554 if (_argo2) {
14555 if (_argo2 == Py_None) { _arg2 = NULL; }
14556 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) {
14557 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14558 return NULL;
14559 }
14560 }
14561 if (_argo5) {
14562 if (_argo5 == Py_None) { _arg5 = NULL; }
14563 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) {
14564 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14565 return NULL;
14566 }
14567 }
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
14571
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) return NULL;
14574 } if (_result) {
14575 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p");
14576 _resultobj = Py_BuildValue("s",_ptemp);
14577 } else {
14578 Py_INCREF(Py_None);
14579 _resultobj = Py_None;
14580 }
14581 return _resultobj;
14582 }
14583
14584 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14585 static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14586 PyObject * _resultobj;
14587 int _result;
14588 wxGridEditorCreatedEvent * _arg0;
14589 PyObject * _argo0 = 0;
14590 char *_kwnames[] = { "self", NULL };
14591
14592 self = self;
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0))
14594 return NULL;
14595 if (_argo0) {
14596 if (_argo0 == Py_None) { _arg0 = NULL; }
14597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14599 return NULL;
14600 }
14601 }
14602 {
14603 PyThreadState* __tstate = wxPyBeginAllowThreads();
14604 _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0);
14605
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) return NULL;
14608 } _resultobj = Py_BuildValue("i",_result);
14609 return _resultobj;
14610 }
14611
14612 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14613 static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject * _resultobj;
14615 int _result;
14616 wxGridEditorCreatedEvent * _arg0;
14617 PyObject * _argo0 = 0;
14618 char *_kwnames[] = { "self", NULL };
14619
14620 self = self;
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0))
14622 return NULL;
14623 if (_argo0) {
14624 if (_argo0 == Py_None) { _arg0 = NULL; }
14625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14627 return NULL;
14628 }
14629 }
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0);
14633
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) return NULL;
14636 } _resultobj = Py_BuildValue("i",_result);
14637 return _resultobj;
14638 }
14639
14640 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14641 static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14642 PyObject * _resultobj;
14643 wxControl * _result;
14644 wxGridEditorCreatedEvent * _arg0;
14645 PyObject * _argo0 = 0;
14646 char *_kwnames[] = { "self", NULL };
14647
14648 self = self;
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0))
14650 return NULL;
14651 if (_argo0) {
14652 if (_argo0 == Py_None) { _arg0 = NULL; }
14653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14655 return NULL;
14656 }
14657 }
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0);
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) return NULL;
14664 }{ _resultobj = wxPyMake_wxObject(_result); }
14665 return _resultobj;
14666 }
14667
14668 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
14669 static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
14670 PyObject * _resultobj;
14671 wxGridEditorCreatedEvent * _arg0;
14672 int _arg1;
14673 PyObject * _argo0 = 0;
14674 char *_kwnames[] = { "self","row", NULL };
14675
14676 self = self;
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1))
14678 return NULL;
14679 if (_argo0) {
14680 if (_argo0 == Py_None) { _arg0 = NULL; }
14681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
14683 return NULL;
14684 }
14685 }
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
14688 wxGridEditorCreatedEvent_SetRow(_arg0,_arg1);
14689
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) return NULL;
14692 } Py_INCREF(Py_None);
14693 _resultobj = Py_None;
14694 return _resultobj;
14695 }
14696
14697 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
14698 static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
14699 PyObject * _resultobj;
14700 wxGridEditorCreatedEvent * _arg0;
14701 int _arg1;
14702 PyObject * _argo0 = 0;
14703 char *_kwnames[] = { "self","col", NULL };
14704
14705 self = self;
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1))
14707 return NULL;
14708 if (_argo0) {
14709 if (_argo0 == Py_None) { _arg0 = NULL; }
14710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
14712 return NULL;
14713 }
14714 }
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 wxGridEditorCreatedEvent_SetCol(_arg0,_arg1);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) return NULL;
14721 } Py_INCREF(Py_None);
14722 _resultobj = Py_None;
14723 return _resultobj;
14724 }
14725
14726 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
14727 static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14728 PyObject * _resultobj;
14729 wxGridEditorCreatedEvent * _arg0;
14730 wxControl * _arg1;
14731 PyObject * _argo0 = 0;
14732 PyObject * _argo1 = 0;
14733 char *_kwnames[] = { "self","ctrl", NULL };
14734
14735 self = self;
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1))
14737 return NULL;
14738 if (_argo0) {
14739 if (_argo0 == Py_None) { _arg0 = NULL; }
14740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) {
14741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
14742 return NULL;
14743 }
14744 }
14745 if (_argo1) {
14746 if (_argo1 == Py_None) { _arg1 = NULL; }
14747 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
14748 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
14749 return NULL;
14750 }
14751 }
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 wxGridEditorCreatedEvent_SetControl(_arg0,_arg1);
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) return NULL;
14758 } Py_INCREF(Py_None);
14759 _resultobj = Py_None;
14760 return _resultobj;
14761 }
14762
14763 static PyMethodDef gridcMethods[] = {
14764 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS },
14765 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS },
14766 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS },
14767 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
14768 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
14769 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
14770 { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS },
14771 { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14772 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14773 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14774 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14775 { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
14776 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS },
14777 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS },
14778 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS },
14779 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS },
14780 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS },
14781 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS },
14782 { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS },
14783 { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14784 { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14785 { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14786 { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14787 { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14788 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS },
14789 { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS },
14790 { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
14791 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
14792 { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
14793 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
14794 { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS },
14795 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14796 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
14797 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
14798 { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS },
14799 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS },
14800 { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS },
14801 { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS },
14802 { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS },
14803 { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS },
14804 { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS },
14805 { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS },
14806 { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS },
14807 { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS },
14808 { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS },
14809 { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
14810 { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
14811 { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS },
14812 { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
14813 { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS },
14814 { "wxGrid_DeselectCell", (PyCFunction) _wrap_wxGrid_DeselectCell, METH_VARARGS | METH_KEYWORDS },
14815 { "wxGrid_DeselectCol", (PyCFunction) _wrap_wxGrid_DeselectCol, METH_VARARGS | METH_KEYWORDS },
14816 { "wxGrid_DeselectRow", (PyCFunction) _wrap_wxGrid_DeselectRow, METH_VARARGS | METH_KEYWORDS },
14817 { "wxGrid_GetSelectedCols", (PyCFunction) _wrap_wxGrid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS },
14818 { "wxGrid_GetSelectedRows", (PyCFunction) _wrap_wxGrid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS },
14819 { "wxGrid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_wxGrid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS },
14820 { "wxGrid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_wxGrid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS },
14821 { "wxGrid_GetSelectedCells", (PyCFunction) _wrap_wxGrid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS },
14822 { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS },
14823 { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS },
14824 { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS },
14825 { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS },
14826 { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS },
14827 { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS },
14828 { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS },
14829 { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14830 { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
14831 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
14832 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
14833 { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS },
14834 { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14835 { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS },
14836 { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS },
14837 { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14838 { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14839 { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS },
14840 { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS },
14841 { "wxGrid_SetCellSize", (PyCFunction) _wrap_wxGrid_SetCellSize, METH_VARARGS | METH_KEYWORDS },
14842 { "wxGrid_SetCellOverflow", (PyCFunction) _wrap_wxGrid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS },
14843 { "wxGrid_SetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
14844 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14845 { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14846 { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS },
14847 { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14848 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14849 { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14850 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14851 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14852 { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS },
14853 { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS },
14854 { "wxGrid_AutoSizeColLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS },
14855 { "wxGrid_AutoSizeRowLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14856 { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS },
14857 { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS },
14858 { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS },
14859 { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS },
14860 { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS },
14861 { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS },
14862 { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14863 { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS },
14864 { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14865 { "wxGrid_GetCellSize", (PyCFunction) _wrap_wxGrid_GetCellSize, METH_VARARGS | METH_KEYWORDS },
14866 { "wxGrid_GetCellOverflow", (PyCFunction) _wrap_wxGrid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS },
14867 { "wxGrid_GetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS },
14868 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
14869 { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS },
14870 { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS },
14871 { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS },
14872 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
14873 { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS },
14874 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14875 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14876 { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS },
14877 { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS },
14878 { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS },
14879 { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS },
14880 { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS },
14881 { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS },
14882 { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS },
14883 { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS },
14884 { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS },
14885 { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS },
14886 { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS },
14887 { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
14888 { "wxGrid_SetAttr", (PyCFunction) _wrap_wxGrid_SetAttr, METH_VARARGS | METH_KEYWORDS },
14889 { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS },
14890 { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14891 { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS },
14892 { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS },
14893 { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS },
14894 { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS },
14895 { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS },
14896 { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14897 { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS },
14898 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14899 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14900 { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14901 { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14902 { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14903 { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14904 { "wxGrid_SetColLabelTextOrientation", (PyCFunction) _wrap_wxGrid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
14905 { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14906 { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14907 { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS },
14908 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14909 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14910 { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14911 { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14912 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS },
14913 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS },
14914 { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS },
14915 { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS },
14916 { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
14917 { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
14918 { "wxGrid_GetColLabelTextOrientation", (PyCFunction) _wrap_wxGrid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS },
14919 { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14920 { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS },
14921 { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS },
14922 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
14923 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
14924 { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS },
14925 { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS },
14926 { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14927 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS },
14928 { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS },
14929 { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS },
14930 { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS },
14931 { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS },
14932 { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS },
14933 { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS },
14934 { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS },
14935 { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS },
14936 { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS },
14937 { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS },
14938 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
14939 { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS },
14940 { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS },
14941 { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS },
14942 { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS },
14943 { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS },
14944 { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS },
14945 { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS },
14946 { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS },
14947 { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS },
14948 { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS },
14949 { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS },
14950 { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS },
14951 { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS },
14952 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS },
14953 { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS },
14954 { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS },
14955 { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS },
14956 { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS },
14957 { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS },
14958 { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS },
14959 { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS },
14960 { "wxGrid_Refresh", (PyCFunction) _wrap_wxGrid_Refresh, METH_VARARGS | METH_KEYWORDS },
14961 { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS },
14962 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
14963 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
14964 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
14965 { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS },
14966 { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS },
14967 { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS },
14968 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
14969 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
14970 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
14971 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
14972 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
14973 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
14974 { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS },
14975 { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS },
14976 { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS },
14977 { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS },
14978 { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
14979 { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
14980 { "wxGrid_GetSelectionMode", (PyCFunction) _wrap_wxGrid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14981 { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14982 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
14983 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
14984 { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS },
14985 { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS },
14986 { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS },
14987 { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS },
14988 { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS },
14989 { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS },
14990 { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS },
14991 { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
14992 { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS },
14993 { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS },
14994 { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS },
14995 { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS },
14996 { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS },
14997 { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS },
14998 { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS },
14999 { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS },
15000 { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS },
15001 { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
15002 { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS },
15003 { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS },
15004 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15005 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15006 { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15007 { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15008 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15009 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15010 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15011 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15012 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15013 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15014 { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS },
15015 { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS },
15016 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15017 { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS },
15018 { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS },
15019 { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS },
15020 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15021 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15022 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15023 { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS },
15024 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15025 { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS },
15026 { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15027 { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15028 { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS },
15029 { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS },
15030 { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS },
15031 { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15032 { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15033 { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS },
15034 { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS },
15035 { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS },
15036 { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS },
15037 { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS },
15038 { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS },
15039 { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS },
15040 { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS },
15041 { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS },
15042 { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15043 { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15044 { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15045 { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS },
15046 { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS },
15047 { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS },
15048 { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS },
15049 { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS },
15050 { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS },
15051 { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS },
15052 { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS },
15053 { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS },
15054 { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS },
15055 { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS },
15056 { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS },
15057 { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS },
15058 { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15059 { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS },
15060 { "wxGridTableBase__setOORInfo", (PyCFunction) _wrap_wxGridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15061 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15062 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15063 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS },
15064 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS },
15065 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15066 { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15067 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS },
15068 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS },
15069 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS },
15070 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS },
15071 { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS },
15072 { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS },
15073 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_wxGridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15074 { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS },
15075 { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS },
15076 { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS },
15077 { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS },
15078 { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS },
15079 { "wxGridCellAttr_GetOverflow", (PyCFunction) _wrap_wxGridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS },
15080 { "wxGridCellAttr_GetSize", (PyCFunction) _wrap_wxGridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS },
15081 { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
15082 { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
15083 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15084 { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
15085 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS },
15086 { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS },
15087 { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS },
15088 { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
15089 { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
15090 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15091 { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
15092 { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS },
15093 { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS },
15094 { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS },
15095 { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
15096 { "wxGridCellAttr_SetOverflow", (PyCFunction) _wrap_wxGridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS },
15097 { "wxGridCellAttr_SetSize", (PyCFunction) _wrap_wxGridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS },
15098 { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
15099 { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
15100 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
15101 { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
15102 { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS },
15103 { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS },
15104 { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS },
15105 { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS },
15106 { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS },
15107 { "wxGridCellAttr__setOORInfo", (PyCFunction) _wrap_wxGridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15108 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS },
15109 { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS },
15110 { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS },
15111 { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS },
15112 { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS },
15113 { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS },
15114 { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS },
15115 { "wxPyGridCellEditor_base_GetValue", (PyCFunction) _wrap_wxPyGridCellEditor_base_GetValue, METH_VARARGS | METH_KEYWORDS },
15116 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15117 { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS },
15118 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15119 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS },
15120 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS },
15121 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15122 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15123 { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS },
15124 { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS },
15125 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15126 { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS },
15127 { "wxGridCellEditor_GetValue", (PyCFunction) _wrap_wxGridCellEditor_GetValue, METH_VARARGS | METH_KEYWORDS },
15128 { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS },
15129 { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS },
15130 { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS },
15131 { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS },
15132 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS },
15133 { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS },
15134 { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS },
15135 { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS },
15136 { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS },
15137 { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS },
15138 { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS },
15139 { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS },
15140 { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS },
15141 { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS },
15142 { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS },
15143 { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS },
15144 { "wxGridCellEditor_SetCellAttr", (PyCFunction) _wrap_wxGridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS },
15145 { "wxGridCellEditor_GetCellAttr", (PyCFunction) _wrap_wxGridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS },
15146 { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS },
15147 { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS },
15148 { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS },
15149 { "wxGridCellEditor__setOORInfo", (PyCFunction) _wrap_wxGridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15150 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS },
15151 { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS },
15152 { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS },
15153 { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS },
15154 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS },
15155 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS },
15156 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS },
15157 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS },
15158 { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS },
15159 { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS },
15160 { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS },
15161 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS },
15162 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
15163 { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS },
15164 { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS },
15165 { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS },
15166 { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS },
15167 { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS },
15168 { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS },
15169 { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS },
15170 { "wxGridCellRenderer__setOORInfo", (PyCFunction) _wrap_wxGridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
15171 { NULL, NULL }
15172 };
15173 #ifdef __cplusplus
15174 }
15175 #endif
15176 /*
15177 * This table is used by the pointer type-checker
15178 */
15179 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
15180 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent},
15181 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent},
15182 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent},
15183 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
15184 { "_signed_long","_long",0},
15185 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor},
15186 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
15187 { "_wxPrintQuality","_wxCoord",0},
15188 { "_wxPrintQuality","_int",0},
15189 { "_wxPrintQuality","_signed_int",0},
15190 { "_wxPrintQuality","_unsigned_int",0},
15191 { "_wxPrintQuality","_wxWindowID",0},
15192 { "_wxPrintQuality","_uint",0},
15193 { "_wxPrintQuality","_EBool",0},
15194 { "_wxPrintQuality","_size_t",0},
15195 { "_wxPrintQuality","_time_t",0},
15196 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent},
15197 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent},
15198 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent},
15199 { "_byte","_unsigned_char",0},
15200 { "_long","_unsigned_long",0},
15201 { "_long","_signed_long",0},
15202 { "_size_t","_WXGRIDSELECTIONMODES",0},
15203 { "_size_t","_wxCoord",0},
15204 { "_size_t","_wxPrintQuality",0},
15205 { "_size_t","_time_t",0},
15206 { "_size_t","_unsigned_int",0},
15207 { "_size_t","_int",0},
15208 { "_size_t","_wxWindowID",0},
15209 { "_size_t","_uint",0},
15210 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
15211 { "_uint","_WXGRIDSELECTIONMODES",0},
15212 { "_uint","_wxCoord",0},
15213 { "_uint","_wxPrintQuality",0},
15214 { "_uint","_time_t",0},
15215 { "_uint","_size_t",0},
15216 { "_uint","_unsigned_int",0},
15217 { "_uint","_int",0},
15218 { "_uint","_wxWindowID",0},
15219 { "_wxChar","_char",0},
15220 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent},
15221 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent},
15222 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent},
15223 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent},
15224 { "_char","_wxChar",0},
15225 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer},
15226 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer},
15227 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer},
15228 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer},
15229 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer},
15230 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
15231 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase},
15232 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase},
15233 { "_EBool","_WXGRIDSELECTIONMODES",0},
15234 { "_EBool","_wxCoord",0},
15235 { "_EBool","_wxPrintQuality",0},
15236 { "_EBool","_signed_int",0},
15237 { "_EBool","_int",0},
15238 { "_EBool","_wxWindowID",0},
15239 { "_unsigned_long","_long",0},
15240 { "_WXGRIDSELECTIONMODES","_int",0},
15241 { "_WXGRIDSELECTIONMODES","_signed_int",0},
15242 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
15243 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
15244 { "_WXGRIDSELECTIONMODES","_uint",0},
15245 { "_WXGRIDSELECTIONMODES","_EBool",0},
15246 { "_WXGRIDSELECTIONMODES","_size_t",0},
15247 { "_WXGRIDSELECTIONMODES","_time_t",0},
15248 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
15249 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
15250 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
15251 { "_signed_int","_WXGRIDSELECTIONMODES",0},
15252 { "_signed_int","_wxCoord",0},
15253 { "_signed_int","_wxPrintQuality",0},
15254 { "_signed_int","_EBool",0},
15255 { "_signed_int","_wxWindowID",0},
15256 { "_signed_int","_int",0},
15257 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor},
15258 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor},
15259 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor},
15260 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor},
15261 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor},
15262 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor},
15263 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor},
15264 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor},
15265 { "_WXTYPE","_short",0},
15266 { "_WXTYPE","_signed_short",0},
15267 { "_WXTYPE","_unsigned_short",0},
15268 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider},
15269 { "_unsigned_short","_WXTYPE",0},
15270 { "_unsigned_short","_short",0},
15271 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject},
15272 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject},
15273 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject},
15274 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject},
15275 { "_wxObject","_wxGrid",SwigwxGridTowxObject},
15276 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject},
15277 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject},
15278 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject},
15279 { "_signed_short","_WXTYPE",0},
15280 { "_signed_short","_short",0},
15281 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow},
15282 { "_unsigned_char","_byte",0},
15283 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
15284 { "_unsigned_int","_wxCoord",0},
15285 { "_unsigned_int","_wxPrintQuality",0},
15286 { "_unsigned_int","_time_t",0},
15287 { "_unsigned_int","_size_t",0},
15288 { "_unsigned_int","_uint",0},
15289 { "_unsigned_int","_wxWindowID",0},
15290 { "_unsigned_int","_int",0},
15291 { "_short","_WXTYPE",0},
15292 { "_short","_unsigned_short",0},
15293 { "_short","_signed_short",0},
15294 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
15295 { "_wxWindowID","_wxCoord",0},
15296 { "_wxWindowID","_wxPrintQuality",0},
15297 { "_wxWindowID","_time_t",0},
15298 { "_wxWindowID","_size_t",0},
15299 { "_wxWindowID","_EBool",0},
15300 { "_wxWindowID","_uint",0},
15301 { "_wxWindowID","_int",0},
15302 { "_wxWindowID","_signed_int",0},
15303 { "_wxWindowID","_unsigned_int",0},
15304 { "_int","_WXGRIDSELECTIONMODES",0},
15305 { "_int","_wxCoord",0},
15306 { "_int","_wxPrintQuality",0},
15307 { "_int","_time_t",0},
15308 { "_int","_size_t",0},
15309 { "_int","_EBool",0},
15310 { "_int","_uint",0},
15311 { "_int","_wxWindowID",0},
15312 { "_int","_unsigned_int",0},
15313 { "_int","_signed_int",0},
15314 { "_time_t","_WXGRIDSELECTIONMODES",0},
15315 { "_time_t","_wxCoord",0},
15316 { "_time_t","_wxPrintQuality",0},
15317 { "_time_t","_unsigned_int",0},
15318 { "_time_t","_int",0},
15319 { "_time_t","_wxWindowID",0},
15320 { "_time_t","_uint",0},
15321 { "_time_t","_size_t",0},
15322 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
15323 { "_wxCoord","_int",0},
15324 { "_wxCoord","_signed_int",0},
15325 { "_wxCoord","_unsigned_int",0},
15326 { "_wxCoord","_wxWindowID",0},
15327 { "_wxCoord","_uint",0},
15328 { "_wxCoord","_EBool",0},
15329 { "_wxCoord","_size_t",0},
15330 { "_wxCoord","_time_t",0},
15331 { "_wxCoord","_wxPrintQuality",0},
15332 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer},
15333 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer},
15334 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer},
15335 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer},
15336 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer},
15337 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer},
15338 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer},
15339 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer},
15340 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor},
15341 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor},
15342 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor},
15343 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
15344 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
15345 {0,0,0}};
15346
15347 static PyObject *SWIG_globals;
15348 #ifdef __cplusplus
15349 extern "C"
15350 #endif
15351 SWIGEXPORT(void) initgridc() {
15352 PyObject *m, *d;
15353 SWIG_globals = SWIG_newvarlink();
15354 m = Py_InitModule("gridc", gridcMethods);
15355 d = PyModule_GetDict(m);
15356 PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string"));
15357 PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
15358 PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
15359 PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
15360 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
15361 PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
15362 PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long"));
15363 PyDict_SetItemString(d,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
15364 PyDict_SetItemString(d,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
15365 PyDict_SetItemString(d,"cvar", SWIG_globals);
15366 SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set);
15367 SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set);
15368 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES));
15369 PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES));
15370 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED));
15371 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED));
15372 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED));
15373 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED));
15374 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED));
15375 PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED));
15376 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK));
15377 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK));
15378 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK));
15379 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK));
15380 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK));
15381 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK));
15382 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK));
15383 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK));
15384 PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE));
15385 PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE));
15386 PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT));
15387 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
15388 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
15389 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN));
15390 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN));
15391 PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED));
15392
15393 wxClassInfo::CleanUpClasses();
15394 wxClassInfo::InitializeClasses();
15395 PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any));
15396 PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default));
15397 PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell));
15398 PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row));
15399 PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col));
15400 PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged));
15401 PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells));
15402 PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows));
15403 PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns));
15404 {
15405 int i;
15406 for (i = 0; _swig_mapping[i].n1; i++)
15407 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
15408 }
15409 }