]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | /* |
c368d904 | 2 | * FILE : src/gtk/grid.cpp |
f6bcfd97 BP |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
f6bcfd97 BP |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
3bcd5e1c | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
3bcd5e1c | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
3bcd5e1c | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
3bcd5e1c RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
3bcd5e1c | 44 | |
f6bcfd97 BP |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initgridc | |
55 | ||
56 | #define SWIG_name "gridc" | |
57 | ||
b68dc582 | 58 | #include "export.h" |
f6bcfd97 | 59 | #include <wx/grid.h> |
059a841c | 60 | #include <wx/generic/gridctrl.h> |
f6bcfd97 | 61 | |
f6bcfd97 BP |
62 | |
63 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
64 | PyObject* o2; | |
65 | PyObject* o3; | |
66 | ||
3bcd5e1c | 67 | if (!target) { |
f6bcfd97 | 68 | target = o; |
3bcd5e1c | 69 | } else if (target == Py_None) { |
f6bcfd97 BP |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
3bcd5e1c | 72 | } else { |
f6bcfd97 BP |
73 | if (!PyTuple_Check(target)) { |
74 | o2 = target; | |
75 | target = PyTuple_New(1); | |
76 | PyTuple_SetItem(target, 0, o2); | |
77 | } | |
3bcd5e1c RD |
78 | o3 = PyTuple_New(1); |
79 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
80 | |
81 | o2 = target; | |
3bcd5e1c RD |
82 | target = PySequence_Concat(o2, o3); |
83 | Py_DECREF(o2); | |
f6bcfd97 BP |
84 | Py_DECREF(o3); |
85 | } | |
86 | return target; | |
87 | } | |
88 | ||
9df61a29 RD |
89 | #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \ |
90 | wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ | |
91 | wxGridCellAttr* rval = NULL; \ | |
059a841c | 92 | bool found; \ |
474c48f9 | 93 | wxPyBeginBlockThreads(); \ |
059a841c | 94 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
9df61a29 RD |
95 | PyObject* ro; \ |
96 | wxGridCellAttr* ptr; \ | |
97 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ | |
98 | if (ro) { \ | |
f6bcfd97 | 99 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \ |
9df61a29 RD |
100 | rval = ptr; \ |
101 | Py_DECREF(ro); \ | |
102 | } \ | |
103 | } \ | |
474c48f9 | 104 | wxPyEndBlockThreads(); \ |
059a841c | 105 | if (! found) \ |
9df61a29 | 106 | rval = PCLASS::CBNAME(a, b, c); \ |
9df61a29 RD |
107 | return rval; \ |
108 | } \ | |
109 | wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ | |
110 | return PCLASS::CBNAME(a, b, c); \ | |
f6bcfd97 BP |
111 | } |
112 | ||
113 | ||
114 | ||
059a841c RD |
115 | #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \ |
116 | void CBNAME(wxGridCellAttr *attr, int a, int b) { \ | |
474c48f9 | 117 | wxPyBeginBlockThreads(); \ |
059a841c RD |
118 | bool found; \ |
119 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
b68dc582 RD |
120 | PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\ |
121 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \ | |
059a841c RD |
122 | Py_DECREF(obj); \ |
123 | } \ | |
474c48f9 | 124 | wxPyEndBlockThreads(); \ |
059a841c RD |
125 | if (! found) \ |
126 | PCLASS::CBNAME(attr, a, b); \ | |
127 | } \ | |
128 | void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \ | |
129 | PCLASS::CBNAME(attr, a, b); \ | |
f6bcfd97 BP |
130 | } |
131 | ||
132 | ||
133 | ||
059a841c RD |
134 | #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \ |
135 | void CBNAME(wxGridCellAttr *attr, int val) { \ | |
474c48f9 | 136 | wxPyBeginBlockThreads(); \ |
059a841c RD |
137 | bool found; \ |
138 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
b68dc582 | 139 | PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\ |
059a841c RD |
140 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \ |
141 | Py_DECREF(obj); \ | |
142 | } \ | |
474c48f9 | 143 | wxPyEndBlockThreads(); \ |
059a841c RD |
144 | if (! found) \ |
145 | PCLASS::CBNAME(attr, val); \ | |
146 | } \ | |
147 | void base_##CBNAME(wxGridCellAttr *attr, int val) { \ | |
148 | PCLASS::CBNAME(attr, val); \ | |
f6bcfd97 BP |
149 | } |
150 | ||
151 | ||
152 | ||
059a841c RD |
153 | #define PYCALLBACK_INT__pure(CBNAME) \ |
154 | int CBNAME() { \ | |
474c48f9 | 155 | wxPyBeginBlockThreads(); \ |
059a841c RD |
156 | int rval = 0; \ |
157 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ | |
158 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
474c48f9 | 159 | wxPyEndBlockThreads(); \ |
059a841c | 160 | return rval; \ |
f6bcfd97 BP |
161 | } |
162 | ||
163 | ||
164 | ||
059a841c RD |
165 | #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \ |
166 | bool CBNAME(int a, int b) { \ | |
474c48f9 | 167 | wxPyBeginBlockThreads(); \ |
059a841c RD |
168 | bool rval = 0; \ |
169 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ | |
170 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
474c48f9 | 171 | wxPyEndBlockThreads(); \ |
059a841c | 172 | return rval; \ |
f6bcfd97 | 173 | } |
059a841c RD |
174 | |
175 | ||
c8bc7bb8 | 176 | // TODO: unicode fix |
059a841c RD |
177 | #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \ |
178 | wxString CBNAME(int a, int b) { \ | |
474c48f9 | 179 | wxPyBeginBlockThreads(); \ |
059a841c RD |
180 | wxString rval; \ |
181 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ | |
182 | PyObject* ro; \ | |
183 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
184 | if (ro) { \ | |
185 | PyObject* str = PyObject_Str(ro); \ | |
186 | rval = PyString_AsString(str); \ | |
187 | Py_DECREF(ro); Py_DECREF(str); \ | |
188 | } \ | |
189 | } \ | |
474c48f9 | 190 | wxPyEndBlockThreads(); \ |
059a841c | 191 | return rval; \ |
f6bcfd97 BP |
192 | } |
193 | ||
194 | ||
c8bc7bb8 | 195 | // TODO: unicode fix |
059a841c RD |
196 | #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \ |
197 | void CBNAME(int a, int b, const wxString& c) { \ | |
474c48f9 | 198 | wxPyBeginBlockThreads(); \ |
059a841c RD |
199 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ |
200 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str()));\ | |
474c48f9 | 201 | wxPyEndBlockThreads(); \ |
f6bcfd97 BP |
202 | } |
203 | ||
c8bc7bb8 | 204 | // TODO: unicode fix |
059a841c RD |
205 | #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \ |
206 | wxString CBNAME(int a, int b) { \ | |
207 | bool found; \ | |
474c48f9 | 208 | wxPyBeginBlockThreads(); \ |
059a841c RD |
209 | wxString rval; \ |
210 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
211 | PyObject* ro; \ | |
212 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
213 | if (ro) { \ | |
214 | PyObject* str = PyObject_Str(ro); \ | |
215 | rval = PyString_AsString(str); \ | |
216 | Py_DECREF(ro); Py_DECREF(str); \ | |
217 | } \ | |
218 | } \ | |
474c48f9 | 219 | wxPyEndBlockThreads(); \ |
059a841c RD |
220 | if (! found) \ |
221 | rval = PCLASS::CBNAME(a, b); \ | |
222 | return rval; \ | |
223 | } \ | |
224 | wxString base_##CBNAME(int a, int b) { \ | |
225 | return PCLASS::CBNAME(a, b); \ | |
226 | } | |
227 | ||
f6bcfd97 | 228 | |
c8bc7bb8 | 229 | // TODO: unicode fix |
059a841c RD |
230 | #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \ |
231 | bool CBNAME(int a, int b, const wxString& c) { \ | |
36fd8ec3 | 232 | bool rval = 0; \ |
059a841c | 233 | bool found; \ |
474c48f9 | 234 | wxPyBeginBlockThreads(); \ |
059a841c RD |
235 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
236 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str()));\ | |
474c48f9 | 237 | wxPyEndBlockThreads(); \ |
059a841c RD |
238 | if (! found) \ |
239 | rval = PCLASS::CBNAME(a,b,c); \ | |
240 | return rval; \ | |
241 | } \ | |
242 | bool base_##CBNAME(int a, int b, const wxString& c) { \ | |
243 | return PCLASS::CBNAME(a,b,c); \ | |
f6bcfd97 BP |
244 | } |
245 | ||
246 | ||
247 | ||
059a841c RD |
248 | |
249 | #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \ | |
250 | long CBNAME(int a, int b) { \ | |
251 | long rval; \ | |
252 | bool found; \ | |
474c48f9 | 253 | wxPyBeginBlockThreads(); \ |
059a841c RD |
254 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
255 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
474c48f9 | 256 | wxPyEndBlockThreads(); \ |
059a841c RD |
257 | if (! found) \ |
258 | rval = PCLASS::CBNAME(a,b); \ | |
259 | return rval; \ | |
260 | } \ | |
261 | long base_##CBNAME(int a, int b) { \ | |
262 | return PCLASS::CBNAME(a,b); \ | |
f6bcfd97 BP |
263 | } |
264 | ||
265 | ||
266 | ||
059a841c RD |
267 | #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \ |
268 | bool CBNAME(int a, int b) { \ | |
36fd8ec3 | 269 | bool rval = 0; \ |
059a841c | 270 | bool found; \ |
474c48f9 | 271 | wxPyBeginBlockThreads(); \ |
059a841c RD |
272 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
273 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
474c48f9 | 274 | wxPyEndBlockThreads(); \ |
059a841c RD |
275 | if (! found) \ |
276 | rval = PCLASS::CBNAME(a,b); \ | |
277 | return rval; \ | |
278 | } \ | |
279 | bool base_##CBNAME(int a, int b) { \ | |
280 | return PCLASS::CBNAME(a,b); \ | |
281 | } | |
282 | ||
f6bcfd97 | 283 | |
059a841c RD |
284 | |
285 | #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \ | |
286 | double CBNAME(int a, int b) { \ | |
287 | bool found; \ | |
474c48f9 | 288 | wxPyBeginBlockThreads(); \ |
059a841c RD |
289 | double rval; \ |
290 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
291 | PyObject* ro; \ | |
292 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
293 | if (ro) { \ | |
294 | PyObject* str = PyObject_Str(ro); \ | |
295 | rval = PyFloat_AsDouble(str); \ | |
296 | Py_DECREF(ro); Py_DECREF(str); \ | |
297 | } \ | |
298 | } \ | |
474c48f9 | 299 | wxPyEndBlockThreads(); \ |
059a841c RD |
300 | if (! found) \ |
301 | rval = PCLASS::CBNAME(a, b); \ | |
302 | return rval; \ | |
303 | } \ | |
304 | double base_##CBNAME(int a, int b) { \ | |
305 | return PCLASS::CBNAME(a, b); \ | |
306 | } | |
307 | ||
308 | ||
309 | ||
310 | #define PYCALLBACK__(PCLASS, CBNAME) \ | |
311 | void CBNAME() { \ | |
312 | bool found; \ | |
474c48f9 | 313 | wxPyBeginBlockThreads(); \ |
059a841c RD |
314 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
315 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
474c48f9 | 316 | wxPyEndBlockThreads(); \ |
059a841c RD |
317 | if (! found) \ |
318 | PCLASS::CBNAME(); \ | |
319 | } \ | |
320 | void base_##CBNAME() { \ | |
321 | PCLASS::CBNAME(); \ | |
322 | } | |
323 | ||
324 | ||
325 | ||
326 | ||
327 | #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \ | |
328 | bool CBNAME(size_t a, size_t b) { \ | |
36fd8ec3 | 329 | bool rval = 0; \ |
059a841c | 330 | bool found; \ |
474c48f9 | 331 | wxPyBeginBlockThreads(); \ |
059a841c RD |
332 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
333 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
474c48f9 | 334 | wxPyEndBlockThreads(); \ |
059a841c RD |
335 | if (! found) \ |
336 | rval = PCLASS::CBNAME(a,b); \ | |
337 | return rval; \ | |
338 | } \ | |
339 | bool base_##CBNAME(size_t a, size_t b) { \ | |
340 | return PCLASS::CBNAME(a,b); \ | |
341 | } | |
342 | ||
343 | ||
344 | ||
345 | #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \ | |
346 | bool CBNAME(size_t a) { \ | |
36fd8ec3 | 347 | bool rval = 0; \ |
059a841c | 348 | bool found; \ |
474c48f9 | 349 | wxPyBeginBlockThreads(); \ |
059a841c RD |
350 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
351 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \ | |
474c48f9 | 352 | wxPyEndBlockThreads(); \ |
059a841c RD |
353 | if (! found) \ |
354 | rval = PCLASS::CBNAME(a); \ | |
355 | return rval; \ | |
356 | } \ | |
357 | bool base_##CBNAME(size_t a) { \ | |
358 | return PCLASS::CBNAME(a); \ | |
f6bcfd97 BP |
359 | } |
360 | ||
361 | ||
c8bc7bb8 | 362 | // TODO: unicode fix |
059a841c RD |
363 | #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \ |
364 | wxString CBNAME(int a) { \ | |
365 | bool found; \ | |
474c48f9 | 366 | wxPyBeginBlockThreads(); \ |
059a841c RD |
367 | wxString rval; \ |
368 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
369 | PyObject* ro; \ | |
370 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \ | |
371 | if (ro) { \ | |
372 | PyObject* str = PyObject_Str(ro); \ | |
373 | rval = PyString_AsString(str); \ | |
374 | Py_DECREF(ro); Py_DECREF(str); \ | |
375 | } \ | |
376 | } \ | |
474c48f9 | 377 | wxPyEndBlockThreads(); \ |
059a841c RD |
378 | if (! found) \ |
379 | rval = PCLASS::CBNAME(a); \ | |
380 | return rval; \ | |
381 | } \ | |
382 | wxString base_##CBNAME(int a) { \ | |
383 | return PCLASS::CBNAME(a); \ | |
384 | } | |
385 | ||
386 | ||
c8bc7bb8 | 387 | // TODO: unicode fix |
059a841c RD |
388 | #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \ |
389 | void CBNAME(int a, const wxString& c) { \ | |
390 | bool found; \ | |
474c48f9 | 391 | wxPyBeginBlockThreads(); \ |
059a841c RD |
392 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
393 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \ | |
474c48f9 | 394 | wxPyEndBlockThreads(); \ |
059a841c RD |
395 | if (! found) \ |
396 | PCLASS::CBNAME(a,c); \ | |
397 | } \ | |
398 | void base_##CBNAME(int a, const wxString& c) { \ | |
399 | PCLASS::CBNAME(a,c); \ | |
f6bcfd97 BP |
400 | } |
401 | ||
402 | ||
403 | ||
059a841c RD |
404 | |
405 | #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \ | |
406 | bool CBNAME() { \ | |
36fd8ec3 | 407 | bool rval = 0; \ |
059a841c | 408 | bool found; \ |
474c48f9 | 409 | wxPyBeginBlockThreads(); \ |
059a841c RD |
410 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
411 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
474c48f9 | 412 | wxPyEndBlockThreads(); \ |
059a841c RD |
413 | if (! found) \ |
414 | rval = PCLASS::CBNAME(); \ | |
415 | return rval; \ | |
416 | } \ | |
417 | bool base_##CBNAME() { \ | |
418 | return PCLASS::CBNAME(); \ | |
419 | } | |
420 | ||
421 | ||
422 | ||
423 | #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \ | |
424 | void CBNAME(size_t a, int b) { \ | |
425 | bool found; \ | |
474c48f9 | 426 | wxPyBeginBlockThreads(); \ |
059a841c RD |
427 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
428 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
474c48f9 | 429 | wxPyEndBlockThreads(); \ |
059a841c RD |
430 | if (! found) \ |
431 | PCLASS::CBNAME(a,b); \ | |
432 | } \ | |
433 | void base_##CBNAME(size_t a, int b) { \ | |
434 | PCLASS::CBNAME(a,b); \ | |
435 | } | |
436 | ||
437 | ||
438 | ||
439 | ||
440 | #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \ | |
441 | void CBNAME(int a, int b, long c) { \ | |
442 | bool found; \ | |
474c48f9 | 443 | wxPyBeginBlockThreads(); \ |
059a841c RD |
444 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
445 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ | |
474c48f9 | 446 | wxPyEndBlockThreads(); \ |
059a841c RD |
447 | if (! found) \ |
448 | PCLASS::CBNAME(a,b,c); \ | |
449 | } \ | |
450 | void base_##CBNAME(int a, int b, long c) { \ | |
451 | PCLASS::CBNAME(a,b,c); \ | |
452 | } | |
453 | ||
454 | ||
455 | ||
456 | ||
457 | #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \ | |
458 | void CBNAME(int a, int b, double c) { \ | |
459 | bool found; \ | |
474c48f9 | 460 | wxPyBeginBlockThreads(); \ |
059a841c RD |
461 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
462 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \ | |
474c48f9 | 463 | wxPyEndBlockThreads(); \ |
059a841c RD |
464 | if (! found) \ |
465 | PCLASS::CBNAME(a,b,c); \ | |
466 | } \ | |
467 | void base_##CBNAME(int a, int b, double c) { \ | |
468 | PCLASS::CBNAME(a,b,c); \ | |
469 | } | |
470 | ||
471 | ||
472 | ||
473 | #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \ | |
474 | void CBNAME(int a, int b, bool c) { \ | |
475 | bool found; \ | |
474c48f9 | 476 | wxPyBeginBlockThreads(); \ |
059a841c RD |
477 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
478 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ | |
474c48f9 | 479 | wxPyEndBlockThreads(); \ |
059a841c RD |
480 | if (! found) \ |
481 | PCLASS::CBNAME(a,b,c); \ | |
482 | } \ | |
483 | void base_##CBNAME(int a, int b, bool c) { \ | |
484 | PCLASS::CBNAME(a,b,c); \ | |
f6bcfd97 BP |
485 | } |
486 | ||
487 | ||
488 | ||
489 | ||
490 | ||
491 | class wxPyGridCellRenderer : public wxGridCellRenderer | |
492 | { | |
493 | public: | |
494 | wxPyGridCellRenderer() : wxGridCellRenderer() {}; | |
495 | ||
496 | // Implement Python callback aware virtual methods | |
497 | void Draw(wxGrid& grid, wxGridCellAttr& attr, | |
498 | wxDC& dc, const wxRect& rect, | |
499 | int row, int col, bool isSelected) { | |
474c48f9 | 500 | wxPyBeginBlockThreads(); |
b68dc582 RD |
501 | if (wxPyCBH_findCallback(m_myInst, "Draw")) { |
502 | wxPyCBH_callCallback(m_myInst, | |
f6bcfd97 | 503 | Py_BuildValue("(OOOOiii)", |
b68dc582 RD |
504 | wxPyConstructObject((void*)&grid, "wxGrid", 0), |
505 | wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0), | |
506 | wxPyConstructObject((void*)&dc, "wxDC", 0), | |
507 | wxPyConstructObject((void*)&rect, "wxRect", 0), | |
f6bcfd97 BP |
508 | row, col, isSelected)); |
509 | } | |
474c48f9 | 510 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
511 | } |
512 | ||
513 | wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc, | |
514 | int row, int col) { | |
515 | wxSize rval; | |
474c48f9 | 516 | wxPyBeginBlockThreads(); |
b68dc582 | 517 | if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) { |
f6bcfd97 BP |
518 | PyObject* ro; |
519 | wxSize* ptr; | |
b68dc582 | 520 | ro = wxPyCBH_callCallbackObj(m_myInst, |
f6bcfd97 | 521 | Py_BuildValue("(OOOii)", |
b68dc582 RD |
522 | wxPyConstructObject((void*)&grid, "wxGrid", 0), |
523 | wxPyConstructObject((void*)&attr, "wxGridCellAttr", 0), | |
524 | wxPyConstructObject((void*)&dc, "wxDC", 0), | |
f6bcfd97 BP |
525 | row, col)); |
526 | if (ro) { | |
527 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) | |
528 | rval = *ptr; | |
529 | Py_DECREF(ro); | |
530 | } | |
531 | } | |
474c48f9 | 532 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
533 | return rval; |
534 | } | |
535 | ||
536 | ||
537 | wxGridCellRenderer *Clone() const { | |
538 | wxGridCellRenderer* rval = NULL; | |
474c48f9 | 539 | wxPyBeginBlockThreads(); |
b68dc582 | 540 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
f6bcfd97 BP |
541 | PyObject* ro; |
542 | wxGridCellRenderer* ptr; | |
b68dc582 | 543 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
f6bcfd97 BP |
544 | if (ro) { |
545 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p")) | |
546 | rval = ptr; | |
547 | Py_DECREF(ro); | |
548 | } | |
549 | } | |
474c48f9 | 550 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
551 | return rval; |
552 | } | |
553 | ||
554 | DEC_PYCALLBACK__STRING(SetParameters); | |
555 | ||
556 | PYPRIVATE; | |
557 | }; | |
558 | ||
559 | IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters); | |
560 | ||
561 | ||
562 | class wxPyGridCellEditor : public wxGridCellEditor | |
563 | { | |
564 | public: | |
565 | wxPyGridCellEditor() : wxGridCellEditor() {} | |
566 | ||
567 | void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) { | |
474c48f9 | 568 | wxPyBeginBlockThreads(); |
b68dc582 RD |
569 | if (wxPyCBH_findCallback(m_myInst, "Create")) { |
570 | wxPyCBH_callCallback(m_myInst, | |
f6bcfd97 | 571 | Py_BuildValue("(OiO)", |
b68dc582 | 572 | wxPyConstructObject((void*)parent, "wxWindow", 0), |
f6bcfd97 | 573 | id, |
b68dc582 | 574 | wxPyConstructObject((void*)evtHandler, "wxEvtHandler", 0))); |
f6bcfd97 | 575 | } |
474c48f9 | 576 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
577 | } |
578 | ||
579 | ||
580 | void BeginEdit(int row, int col, wxGrid* grid) { | |
474c48f9 | 581 | wxPyBeginBlockThreads(); |
b68dc582 RD |
582 | if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) { |
583 | wxPyCBH_callCallback(m_myInst, | |
f6bcfd97 | 584 | Py_BuildValue("(iiO)", row, col, |
b68dc582 | 585 | wxPyConstructObject((void*)grid, "wxGrid", 0))); |
f6bcfd97 | 586 | } |
474c48f9 | 587 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
588 | } |
589 | ||
590 | ||
591 | bool EndEdit(int row, int col, wxGrid* grid) { | |
592 | bool rv = FALSE; | |
474c48f9 | 593 | wxPyBeginBlockThreads(); |
b68dc582 RD |
594 | if (wxPyCBH_findCallback(m_myInst, "EndEdit")) { |
595 | rv = wxPyCBH_callCallback(m_myInst, | |
f6bcfd97 | 596 | Py_BuildValue("(iiO)", row, col, |
b68dc582 | 597 | wxPyConstructObject((void*)grid, "wxGrid", 0))); |
f6bcfd97 | 598 | } |
474c48f9 | 599 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
600 | return rv; |
601 | } | |
602 | ||
603 | ||
c368d904 | 604 | wxGridCellEditor*Clone() const { |
f6bcfd97 | 605 | wxGridCellEditor* rval = NULL; |
474c48f9 | 606 | wxPyBeginBlockThreads(); |
b68dc582 | 607 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
f6bcfd97 BP |
608 | PyObject* ro; |
609 | wxGridCellEditor* ptr; | |
b68dc582 | 610 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
f6bcfd97 BP |
611 | if (ro) { |
612 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p")) | |
613 | rval = ptr; | |
614 | Py_DECREF(ro); | |
615 | } | |
616 | } | |
474c48f9 | 617 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
618 | return rval; |
619 | } | |
620 | ||
621 | ||
622 | void Show(bool show, wxGridCellAttr *attr) { | |
059a841c | 623 | bool found; |
474c48f9 | 624 | wxPyBeginBlockThreads(); |
059a841c | 625 | if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) |
b68dc582 | 626 | wxPyCBH_callCallback(m_myInst, |
f6bcfd97 | 627 | Py_BuildValue("(iO)", show, |
b68dc582 | 628 | wxPyConstructObject((void*)attr, "wxGridCellAttr", 0))); |
474c48f9 | 629 | wxPyEndBlockThreads(); |
059a841c | 630 | if (! found) |
f6bcfd97 | 631 | wxGridCellEditor::Show(show, attr); |
f6bcfd97 BP |
632 | } |
633 | void base_Show(bool show, wxGridCellAttr *attr) { | |
634 | wxGridCellEditor::Show(show, attr); | |
635 | } | |
636 | ||
637 | ||
638 | void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { | |
059a841c | 639 | bool found; \ |
474c48f9 | 640 | wxPyBeginBlockThreads(); |
059a841c | 641 | if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) |
b68dc582 | 642 | wxPyCBH_callCallback(m_myInst, |
f6bcfd97 | 643 | Py_BuildValue("(OO)", |
b68dc582 RD |
644 | wxPyConstructObject((void*)&rectCell, "wxRect", 0), |
645 | wxPyConstructObject((void*)attr, "wxGridCellAttr", 0))); | |
474c48f9 | 646 | wxPyEndBlockThreads(); |
059a841c | 647 | if (! found) |
f6bcfd97 | 648 | wxGridCellEditor::PaintBackground(rectCell, attr); |
f6bcfd97 BP |
649 | } |
650 | void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { | |
651 | wxGridCellEditor::PaintBackground(rectCell, attr); | |
652 | } | |
653 | ||
654 | ||
655 | DEC_PYCALLBACK___pure(Reset); | |
656 | DEC_PYCALLBACK__constany(SetSize, wxRect); | |
657 | DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent); | |
658 | DEC_PYCALLBACK__any(StartingKey, wxKeyEvent); | |
659 | DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent); | |
660 | DEC_PYCALLBACK__(StartingClick); | |
661 | DEC_PYCALLBACK__(Destroy); | |
662 | DEC_PYCALLBACK__STRING(SetParameters); | |
663 | ||
664 | PYPRIVATE; | |
665 | }; | |
666 | ||
667 | ||
668 | IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters); | |
669 | IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset); | |
670 | IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect); | |
671 | IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent); | |
672 | IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent); | |
673 | IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent); | |
674 | IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick); | |
675 | IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy); | |
676 | ||
677 | ||
678 | class wxPyGridCellAttrProvider : public wxGridCellAttrProvider | |
679 | { | |
680 | public: | |
681 | wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; | |
682 | ||
9df61a29 | 683 | PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr); |
f6bcfd97 BP |
684 | PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr); |
685 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr); | |
686 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr); | |
687 | ||
688 | PYPRIVATE; | |
689 | }; | |
690 | ||
691 | class wxPyGridTableBase : public wxGridTableBase | |
692 | { | |
693 | public: | |
694 | wxPyGridTableBase() : wxGridTableBase() {} | |
695 | ||
696 | PYCALLBACK_INT__pure(GetNumberRows); | |
697 | PYCALLBACK_INT__pure(GetNumberCols); | |
698 | PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell); | |
699 | PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName); | |
700 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs); | |
701 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs); | |
702 | PYCALLBACK__(wxGridTableBase, Clear); | |
703 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows); | |
704 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows); | |
705 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols); | |
706 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols); | |
707 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows); | |
708 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols); | |
709 | PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue); | |
710 | PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue); | |
711 | PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue); | |
712 | PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue); | |
713 | PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes); | |
9df61a29 | 714 | PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr); |
f6bcfd97 BP |
715 | PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr); |
716 | PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr); | |
717 | PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr); | |
718 | ||
719 | ||
f6bcfd97 | 720 | wxString GetValue(int row, int col) { |
474c48f9 | 721 | wxPyBeginBlockThreads(); |
f6bcfd97 | 722 | wxString rval; |
b68dc582 | 723 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 | 724 | PyObject* ro; |
b68dc582 | 725 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col)); |
f6bcfd97 | 726 | if (ro) { |
c8bc7bb8 RD |
727 | #if wxUSE_UNICODE |
728 | PyObject* str = PyObject_Unicode(ro); | |
729 | rval = PyUnicode_AS_UNICODE(str); | |
730 | #else | |
731 | PyObject* str = PyObject_Str(ro); | |
732 | rval = PyString_AsString(str); | |
733 | #endif | |
f6bcfd97 | 734 | Py_DECREF(ro); |
2cd2fac8 | 735 | Py_DECREF(str); |
f6bcfd97 BP |
736 | } |
737 | } | |
474c48f9 | 738 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
739 | return rval; |
740 | } | |
741 | ||
742 | void SetValue(int row, int col, const wxString& val) { | |
474c48f9 | 743 | wxPyBeginBlockThreads(); |
c8bc7bb8 RD |
744 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
745 | #if wxUSE_UNICODE | |
746 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiu)",row,col,val.c_str())); | |
747 | #else | |
748 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",row,col,val.c_str())); | |
749 | #endif | |
750 | } | |
474c48f9 | 751 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
752 | } |
753 | ||
754 | ||
755 | // Map the Get/Set methods for the standard non-string types to | |
756 | // the GetValue and SetValue python methods. | |
757 | long GetValueAsLong( int row, int col ) { | |
758 | long rval = 0; | |
474c48f9 | 759 | wxPyBeginBlockThreads(); |
b68dc582 | 760 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 BP |
761 | PyObject* ro; |
762 | PyObject* num; | |
b68dc582 | 763 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
f6bcfd97 BP |
764 | if (ro && PyNumber_Check(ro)) { |
765 | num = PyNumber_Int(ro); | |
766 | if (num) { | |
767 | rval = PyInt_AsLong(num); | |
768 | Py_DECREF(num); | |
769 | } | |
770 | Py_DECREF(ro); | |
771 | } | |
772 | } | |
474c48f9 | 773 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
774 | return rval; |
775 | } | |
776 | ||
777 | double GetValueAsDouble( int row, int col ) { | |
778 | double rval = 0.0; | |
474c48f9 | 779 | wxPyBeginBlockThreads(); |
b68dc582 | 780 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 BP |
781 | PyObject* ro; |
782 | PyObject* num; | |
b68dc582 | 783 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
f6bcfd97 BP |
784 | if (ro && PyNumber_Check(ro)) { |
785 | num = PyNumber_Float(ro); | |
786 | if (num) { | |
787 | rval = PyFloat_AsDouble(num); | |
788 | Py_DECREF(num); | |
789 | } | |
790 | Py_DECREF(ro); | |
791 | } | |
792 | } | |
474c48f9 | 793 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
794 | return rval; |
795 | } | |
796 | ||
797 | bool GetValueAsBool( int row, int col ) { | |
798 | return (bool)GetValueAsLong(row, col); | |
799 | } | |
800 | ||
801 | void SetValueAsLong( int row, int col, long value ) { | |
474c48f9 | 802 | wxPyBeginBlockThreads(); |
b68dc582 RD |
803 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
804 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value)); | |
f6bcfd97 | 805 | } |
474c48f9 | 806 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
807 | } |
808 | ||
809 | void SetValueAsDouble( int row, int col, double value ) { | |
474c48f9 | 810 | wxPyBeginBlockThreads(); |
b68dc582 RD |
811 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
812 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value)); | |
f6bcfd97 | 813 | } |
474c48f9 | 814 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
815 | } |
816 | ||
817 | void SetValueAsBool( int row, int col, bool value ) { | |
818 | SetValueAsLong( row, col, (long)value ); | |
819 | } | |
820 | ||
821 | ||
822 | PYPRIVATE; | |
823 | }; | |
824 | ||
825 | bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { | |
826 | ||
827 | // If source is an object instance then it may already be the right type | |
828 | if (PyInstance_Check(source)) { | |
829 | wxGridCellCoords* ptr; | |
830 | if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p")) | |
831 | goto error; | |
832 | *obj = ptr; | |
833 | return TRUE; | |
834 | } | |
835 | // otherwise a 2-tuple of integers is expected | |
836 | else if (PySequence_Check(source) && PyObject_Length(source) == 2) { | |
837 | PyObject* o1 = PySequence_GetItem(source, 0); | |
838 | PyObject* o2 = PySequence_GetItem(source, 1); | |
839 | **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2)); | |
840 | return TRUE; | |
841 | } | |
842 | ||
843 | error: | |
844 | PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object."); | |
845 | return FALSE; | |
846 | } | |
847 | ||
848 | typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES; | |
849 | #ifdef __cplusplus | |
850 | extern "C" { | |
851 | #endif | |
852 | static int _wrap_wxGridNoCellCoords_set(PyObject *val) { | |
853 | ||
854 | PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only."); | |
855 | return 1; | |
856 | } | |
857 | ||
858 | static PyObject *_wrap_wxGridNoCellCoords_get() { | |
859 | PyObject * pyobj; | |
860 | char ptemp[128]; | |
861 | ||
862 | SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p"); | |
863 | pyobj = PyString_FromString(ptemp); | |
864 | return pyobj; | |
865 | } | |
866 | ||
867 | static int _wrap_wxGridNoCellRect_set(PyObject *val) { | |
868 | ||
869 | PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only."); | |
870 | return 1; | |
871 | } | |
872 | ||
873 | static PyObject *_wrap_wxGridNoCellRect_get() { | |
874 | PyObject * pyobj; | |
875 | char ptemp[128]; | |
876 | ||
877 | SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p"); | |
878 | pyobj = PyString_FromString(ptemp); | |
879 | return pyobj; | |
880 | } | |
881 | ||
882 | #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0)) | |
883 | static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
884 | PyObject * _resultobj; | |
885 | wxGridCellRenderer * _arg0; | |
886 | wxString * _arg1; | |
887 | PyObject * _argo0 = 0; | |
888 | PyObject * _obj1 = 0; | |
889 | char *_kwnames[] = { "self","params", NULL }; | |
890 | ||
891 | self = self; | |
892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1)) | |
893 | return NULL; | |
894 | if (_argo0) { | |
895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p."); | |
898 | return NULL; | |
899 | } | |
900 | } | |
901 | { | |
c8bc7bb8 RD |
902 | _arg1 = wxString_in_helper(_obj1); |
903 | if (_arg1 == NULL) | |
2cd2fac8 | 904 | return NULL; |
f6bcfd97 BP |
905 | } |
906 | { | |
474c48f9 | 907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 908 | wxGridCellRenderer_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 909 | |
474c48f9 | 910 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 911 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
912 | } Py_INCREF(Py_None); |
913 | _resultobj = Py_None; | |
914 | { | |
915 | if (_obj1) | |
916 | delete _arg1; | |
917 | } | |
918 | return _resultobj; | |
919 | } | |
920 | ||
921 | #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef()) | |
922 | static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
923 | PyObject * _resultobj; | |
924 | wxGridCellRenderer * _arg0; | |
925 | PyObject * _argo0 = 0; | |
926 | char *_kwnames[] = { "self", NULL }; | |
927 | ||
928 | self = self; | |
929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0)) | |
930 | return NULL; | |
931 | if (_argo0) { | |
932 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
933 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p."); | |
935 | return NULL; | |
936 | } | |
937 | } | |
938 | { | |
474c48f9 | 939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 940 | wxGridCellRenderer_IncRef(_arg0); |
f6bcfd97 | 941 | |
474c48f9 | 942 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 943 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
944 | } Py_INCREF(Py_None); |
945 | _resultobj = Py_None; | |
946 | return _resultobj; | |
947 | } | |
948 | ||
949 | #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef()) | |
950 | static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
951 | PyObject * _resultobj; | |
952 | wxGridCellRenderer * _arg0; | |
953 | PyObject * _argo0 = 0; | |
954 | char *_kwnames[] = { "self", NULL }; | |
955 | ||
956 | self = self; | |
957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0)) | |
958 | return NULL; | |
959 | if (_argo0) { | |
960 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
961 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p."); | |
963 | return NULL; | |
964 | } | |
965 | } | |
966 | { | |
474c48f9 | 967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 968 | wxGridCellRenderer_DecRef(_arg0); |
f6bcfd97 | 969 | |
474c48f9 | 970 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 971 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
972 | } Py_INCREF(Py_None); |
973 | _resultobj = Py_None; | |
974 | return _resultobj; | |
975 | } | |
976 | ||
977 | #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
978 | static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
979 | PyObject * _resultobj; | |
980 | wxGridCellRenderer * _arg0; | |
981 | wxGrid * _arg1; | |
982 | wxGridCellAttr * _arg2; | |
983 | wxDC * _arg3; | |
984 | wxRect * _arg4; | |
985 | int _arg5; | |
986 | int _arg6; | |
987 | bool _arg7; | |
988 | PyObject * _argo0 = 0; | |
989 | PyObject * _argo1 = 0; | |
990 | PyObject * _argo2 = 0; | |
991 | PyObject * _argo3 = 0; | |
992 | wxRect temp; | |
993 | PyObject * _obj4 = 0; | |
994 | int tempbool7; | |
995 | char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL }; | |
996 | ||
997 | self = self; | |
998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7)) | |
999 | return NULL; | |
1000 | if (_argo0) { | |
1001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p."); | |
1004 | return NULL; | |
1005 | } | |
1006 | } | |
1007 | if (_argo1) { | |
1008 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1009 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
1010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p."); | |
1011 | return NULL; | |
1012 | } | |
1013 | } | |
1014 | if (_argo2) { | |
1015 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1016 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
1017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p."); | |
1018 | return NULL; | |
1019 | } | |
1020 | } | |
1021 | if (_argo3) { | |
1022 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1023 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) { | |
1024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p."); | |
1025 | return NULL; | |
1026 | } | |
1027 | } | |
1028 | { | |
1029 | _arg4 = &temp; | |
1030 | if (! wxRect_helper(_obj4, &_arg4)) | |
1031 | return NULL; | |
1032 | } | |
1033 | _arg7 = (bool ) tempbool7; | |
1034 | { | |
474c48f9 | 1035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1036 | wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7); |
f6bcfd97 | 1037 | |
474c48f9 | 1038 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1039 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1040 | } Py_INCREF(Py_None); |
1041 | _resultobj = Py_None; | |
1042 | return _resultobj; | |
1043 | } | |
1044 | ||
1045 | #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1046 | static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1047 | PyObject * _resultobj; | |
1048 | wxSize * _result; | |
1049 | wxGridCellRenderer * _arg0; | |
1050 | wxGrid * _arg1; | |
1051 | wxGridCellAttr * _arg2; | |
1052 | wxDC * _arg3; | |
1053 | int _arg4; | |
1054 | int _arg5; | |
1055 | PyObject * _argo0 = 0; | |
1056 | PyObject * _argo1 = 0; | |
1057 | PyObject * _argo2 = 0; | |
1058 | PyObject * _argo3 = 0; | |
1059 | char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL }; | |
1060 | char _ptemp[128]; | |
1061 | ||
1062 | self = self; | |
1063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5)) | |
1064 | return NULL; | |
1065 | if (_argo0) { | |
1066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p."); | |
1069 | return NULL; | |
1070 | } | |
1071 | } | |
1072 | if (_argo1) { | |
1073 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1074 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
1075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p."); | |
1076 | return NULL; | |
1077 | } | |
1078 | } | |
1079 | if (_argo2) { | |
1080 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1081 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
1082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p."); | |
1083 | return NULL; | |
1084 | } | |
1085 | } | |
1086 | if (_argo3) { | |
1087 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1088 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) { | |
1089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p."); | |
1090 | return NULL; | |
1091 | } | |
1092 | } | |
1093 | { | |
474c48f9 | 1094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1095 | _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5)); |
f6bcfd97 | 1096 | |
474c48f9 | 1097 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1098 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1099 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
1100 | _resultobj = Py_BuildValue("s",_ptemp); | |
1101 | return _resultobj; | |
1102 | } | |
1103 | ||
1104 | #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone()) | |
1105 | static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1106 | PyObject * _resultobj; | |
1107 | wxGridCellRenderer * _result; | |
1108 | wxGridCellRenderer * _arg0; | |
1109 | PyObject * _argo0 = 0; | |
1110 | char *_kwnames[] = { "self", NULL }; | |
1111 | char _ptemp[128]; | |
1112 | ||
1113 | self = self; | |
1114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0)) | |
1115 | return NULL; | |
1116 | if (_argo0) { | |
1117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p."); | |
1120 | return NULL; | |
1121 | } | |
1122 | } | |
1123 | { | |
474c48f9 | 1124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1125 | _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0); |
f6bcfd97 | 1126 | |
474c48f9 | 1127 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1128 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1129 | } if (_result) { |
1130 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p"); | |
1131 | _resultobj = Py_BuildValue("s",_ptemp); | |
1132 | } else { | |
1133 | Py_INCREF(Py_None); | |
1134 | _resultobj = Py_None; | |
1135 | } | |
1136 | return _resultobj; | |
1137 | } | |
1138 | ||
1139 | static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) { | |
1140 | wxPyGridCellRenderer *src; | |
1141 | wxGridCellRenderer *dest; | |
1142 | src = (wxPyGridCellRenderer *) ptr; | |
1143 | dest = (wxGridCellRenderer *) src; | |
1144 | return (void *) dest; | |
1145 | } | |
1146 | ||
1147 | #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer()) | |
1148 | static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1149 | PyObject * _resultobj; | |
1150 | wxPyGridCellRenderer * _result; | |
1151 | char *_kwnames[] = { NULL }; | |
1152 | char _ptemp[128]; | |
1153 | ||
1154 | self = self; | |
1155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames)) | |
1156 | return NULL; | |
1157 | { | |
474c48f9 | 1158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1159 | _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer(); |
f6bcfd97 | 1160 | |
474c48f9 | 1161 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1162 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1163 | } if (_result) { |
1164 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p"); | |
1165 | _resultobj = Py_BuildValue("s",_ptemp); | |
1166 | } else { | |
1167 | Py_INCREF(Py_None); | |
1168 | _resultobj = Py_None; | |
1169 | } | |
1170 | return _resultobj; | |
1171 | } | |
1172 | ||
0220cbc1 RD |
1173 | #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
1174 | static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1175 | PyObject * _resultobj; |
1176 | wxPyGridCellRenderer * _arg0; | |
1177 | PyObject * _arg1; | |
1178 | PyObject * _arg2; | |
1179 | PyObject * _argo0 = 0; | |
1180 | PyObject * _obj1 = 0; | |
1181 | PyObject * _obj2 = 0; | |
1182 | char *_kwnames[] = { "self","self","_class", NULL }; | |
1183 | ||
1184 | self = self; | |
0220cbc1 | 1185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
1186 | return NULL; |
1187 | if (_argo0) { | |
1188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) { | |
0220cbc1 | 1190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p."); |
f6bcfd97 BP |
1191 | return NULL; |
1192 | } | |
1193 | } | |
1194 | { | |
1195 | _arg1 = _obj1; | |
1196 | } | |
1197 | { | |
1198 | _arg2 = _obj2; | |
1199 | } | |
1200 | { | |
474c48f9 | 1201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1202 | wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 1203 | |
474c48f9 | 1204 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1205 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1206 | } Py_INCREF(Py_None); |
1207 | _resultobj = Py_None; | |
1208 | return _resultobj; | |
1209 | } | |
1210 | ||
1211 | #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0)) | |
1212 | static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1213 | PyObject * _resultobj; | |
1214 | wxPyGridCellRenderer * _arg0; | |
1215 | wxString * _arg1; | |
1216 | PyObject * _argo0 = 0; | |
1217 | PyObject * _obj1 = 0; | |
1218 | char *_kwnames[] = { "self","params", NULL }; | |
1219 | ||
1220 | self = self; | |
1221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1222 | return NULL; | |
1223 | if (_argo0) { | |
1224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) { | |
1226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p."); | |
1227 | return NULL; | |
1228 | } | |
1229 | } | |
1230 | { | |
c8bc7bb8 RD |
1231 | _arg1 = wxString_in_helper(_obj1); |
1232 | if (_arg1 == NULL) | |
2cd2fac8 | 1233 | return NULL; |
f6bcfd97 BP |
1234 | } |
1235 | { | |
474c48f9 | 1236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1237 | wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1238 | |
474c48f9 | 1239 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1240 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1241 | } Py_INCREF(Py_None); |
1242 | _resultobj = Py_None; | |
1243 | { | |
1244 | if (_obj1) | |
1245 | delete _arg1; | |
1246 | } | |
1247 | return _resultobj; | |
1248 | } | |
1249 | ||
1250 | static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) { | |
1251 | wxGridCellStringRenderer *src; | |
1252 | wxGridCellRenderer *dest; | |
1253 | src = (wxGridCellStringRenderer *) ptr; | |
1254 | dest = (wxGridCellRenderer *) src; | |
1255 | return (void *) dest; | |
1256 | } | |
1257 | ||
1258 | #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer()) | |
1259 | static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1260 | PyObject * _resultobj; | |
1261 | wxGridCellStringRenderer * _result; | |
1262 | char *_kwnames[] = { NULL }; | |
1263 | char _ptemp[128]; | |
1264 | ||
1265 | self = self; | |
1266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames)) | |
1267 | return NULL; | |
1268 | { | |
474c48f9 | 1269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1270 | _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer(); |
f6bcfd97 | 1271 | |
474c48f9 | 1272 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1273 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1274 | } if (_result) { |
1275 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p"); | |
1276 | _resultobj = Py_BuildValue("s",_ptemp); | |
1277 | } else { | |
1278 | Py_INCREF(Py_None); | |
1279 | _resultobj = Py_None; | |
1280 | } | |
1281 | return _resultobj; | |
1282 | } | |
1283 | ||
1284 | static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) { | |
1285 | wxGridCellNumberRenderer *src; | |
1286 | wxGridCellStringRenderer *dest; | |
1287 | src = (wxGridCellNumberRenderer *) ptr; | |
1288 | dest = (wxGridCellStringRenderer *) src; | |
1289 | return (void *) dest; | |
1290 | } | |
1291 | ||
1292 | static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) { | |
1293 | wxGridCellNumberRenderer *src; | |
1294 | wxGridCellRenderer *dest; | |
1295 | src = (wxGridCellNumberRenderer *) ptr; | |
1296 | dest = (wxGridCellRenderer *) src; | |
1297 | return (void *) dest; | |
1298 | } | |
1299 | ||
1300 | #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer()) | |
1301 | static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1302 | PyObject * _resultobj; | |
1303 | wxGridCellNumberRenderer * _result; | |
1304 | char *_kwnames[] = { NULL }; | |
1305 | char _ptemp[128]; | |
1306 | ||
1307 | self = self; | |
1308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames)) | |
1309 | return NULL; | |
1310 | { | |
474c48f9 | 1311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1312 | _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer(); |
f6bcfd97 | 1313 | |
474c48f9 | 1314 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1315 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1316 | } if (_result) { |
1317 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p"); | |
1318 | _resultobj = Py_BuildValue("s",_ptemp); | |
1319 | } else { | |
1320 | Py_INCREF(Py_None); | |
1321 | _resultobj = Py_None; | |
1322 | } | |
1323 | return _resultobj; | |
1324 | } | |
1325 | ||
1326 | static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) { | |
1327 | wxGridCellFloatRenderer *src; | |
1328 | wxGridCellStringRenderer *dest; | |
1329 | src = (wxGridCellFloatRenderer *) ptr; | |
1330 | dest = (wxGridCellStringRenderer *) src; | |
1331 | return (void *) dest; | |
1332 | } | |
1333 | ||
1334 | static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) { | |
1335 | wxGridCellFloatRenderer *src; | |
1336 | wxGridCellRenderer *dest; | |
1337 | src = (wxGridCellFloatRenderer *) ptr; | |
1338 | dest = (wxGridCellRenderer *) src; | |
1339 | return (void *) dest; | |
1340 | } | |
1341 | ||
1342 | #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1)) | |
1343 | static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1344 | PyObject * _resultobj; | |
1345 | wxGridCellFloatRenderer * _result; | |
1346 | int _arg0 = (int ) -1; | |
1347 | int _arg1 = (int ) -1; | |
1348 | char *_kwnames[] = { "width","precision", NULL }; | |
1349 | char _ptemp[128]; | |
1350 | ||
1351 | self = self; | |
1352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1)) | |
1353 | return NULL; | |
1354 | { | |
474c48f9 | 1355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1356 | _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1); |
f6bcfd97 | 1357 | |
474c48f9 | 1358 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1359 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1360 | } if (_result) { |
1361 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p"); | |
1362 | _resultobj = Py_BuildValue("s",_ptemp); | |
1363 | } else { | |
1364 | Py_INCREF(Py_None); | |
1365 | _resultobj = Py_None; | |
1366 | } | |
1367 | return _resultobj; | |
1368 | } | |
1369 | ||
1370 | #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1371 | static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1372 | PyObject * _resultobj; | |
1373 | int _result; | |
1374 | wxGridCellFloatRenderer * _arg0; | |
1375 | PyObject * _argo0 = 0; | |
1376 | char *_kwnames[] = { "self", NULL }; | |
1377 | ||
1378 | self = self; | |
1379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0)) | |
1380 | return NULL; | |
1381 | if (_argo0) { | |
1382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p."); | |
1385 | return NULL; | |
1386 | } | |
1387 | } | |
1388 | { | |
474c48f9 | 1389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1390 | _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0); |
f6bcfd97 | 1391 | |
474c48f9 | 1392 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1393 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1394 | } _resultobj = Py_BuildValue("i",_result); |
1395 | return _resultobj; | |
1396 | } | |
1397 | ||
1398 | #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
1399 | static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1400 | PyObject * _resultobj; | |
1401 | wxGridCellFloatRenderer * _arg0; | |
1402 | int _arg1; | |
1403 | PyObject * _argo0 = 0; | |
1404 | char *_kwnames[] = { "self","width", NULL }; | |
1405 | ||
1406 | self = self; | |
1407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1)) | |
1408 | return NULL; | |
1409 | if (_argo0) { | |
1410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p."); | |
1413 | return NULL; | |
1414 | } | |
1415 | } | |
1416 | { | |
474c48f9 | 1417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1418 | wxGridCellFloatRenderer_SetWidth(_arg0,_arg1); |
f6bcfd97 | 1419 | |
474c48f9 | 1420 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1421 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1422 | } Py_INCREF(Py_None); |
1423 | _resultobj = Py_None; | |
1424 | return _resultobj; | |
1425 | } | |
1426 | ||
1427 | #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision()) | |
1428 | static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1429 | PyObject * _resultobj; | |
1430 | int _result; | |
1431 | wxGridCellFloatRenderer * _arg0; | |
1432 | PyObject * _argo0 = 0; | |
1433 | char *_kwnames[] = { "self", NULL }; | |
1434 | ||
1435 | self = self; | |
1436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0)) | |
1437 | return NULL; | |
1438 | if (_argo0) { | |
1439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p."); | |
1442 | return NULL; | |
1443 | } | |
1444 | } | |
1445 | { | |
474c48f9 | 1446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1447 | _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0); |
f6bcfd97 | 1448 | |
474c48f9 | 1449 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1450 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1451 | } _resultobj = Py_BuildValue("i",_result); |
1452 | return _resultobj; | |
1453 | } | |
1454 | ||
1455 | #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0)) | |
1456 | static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1457 | PyObject * _resultobj; | |
1458 | wxGridCellFloatRenderer * _arg0; | |
1459 | int _arg1; | |
1460 | PyObject * _argo0 = 0; | |
1461 | char *_kwnames[] = { "self","precision", NULL }; | |
1462 | ||
1463 | self = self; | |
1464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1)) | |
1465 | return NULL; | |
1466 | if (_argo0) { | |
1467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p."); | |
1470 | return NULL; | |
1471 | } | |
1472 | } | |
1473 | { | |
474c48f9 | 1474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1475 | wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1); |
f6bcfd97 | 1476 | |
474c48f9 | 1477 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1478 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1479 | } Py_INCREF(Py_None); |
1480 | _resultobj = Py_None; | |
1481 | return _resultobj; | |
1482 | } | |
1483 | ||
1484 | static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) { | |
1485 | wxGridCellBoolRenderer *src; | |
1486 | wxGridCellRenderer *dest; | |
1487 | src = (wxGridCellBoolRenderer *) ptr; | |
1488 | dest = (wxGridCellRenderer *) src; | |
1489 | return (void *) dest; | |
1490 | } | |
1491 | ||
1492 | #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer()) | |
1493 | static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1494 | PyObject * _resultobj; | |
1495 | wxGridCellBoolRenderer * _result; | |
1496 | char *_kwnames[] = { NULL }; | |
1497 | char _ptemp[128]; | |
1498 | ||
1499 | self = self; | |
1500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames)) | |
1501 | return NULL; | |
1502 | { | |
474c48f9 | 1503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1504 | _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer(); |
f6bcfd97 | 1505 | |
474c48f9 | 1506 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1507 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1508 | } if (_result) { |
1509 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p"); | |
1510 | _resultobj = Py_BuildValue("s",_ptemp); | |
1511 | } else { | |
1512 | Py_INCREF(Py_None); | |
1513 | _resultobj = Py_None; | |
1514 | } | |
1515 | return _resultobj; | |
1516 | } | |
1517 | ||
059a841c RD |
1518 | static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) { |
1519 | wxGridCellDateTimeRenderer *src; | |
1520 | wxGridCellStringRenderer *dest; | |
1521 | src = (wxGridCellDateTimeRenderer *) ptr; | |
1522 | dest = (wxGridCellStringRenderer *) src; | |
1523 | return (void *) dest; | |
1524 | } | |
1525 | ||
1526 | static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) { | |
1527 | wxGridCellDateTimeRenderer *src; | |
1528 | wxGridCellRenderer *dest; | |
1529 | src = (wxGridCellDateTimeRenderer *) ptr; | |
1530 | dest = (wxGridCellRenderer *) src; | |
1531 | return (void *) dest; | |
1532 | } | |
1533 | ||
1534 | #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1)) | |
1535 | static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1536 | PyObject * _resultobj; | |
1537 | wxGridCellDateTimeRenderer * _result; | |
1538 | wxString * _arg0 = (wxString *) &"%c"; | |
1539 | wxString * _arg1 = (wxString *) &"%c"; | |
1540 | PyObject * _obj0 = 0; | |
1541 | PyObject * _obj1 = 0; | |
1542 | char *_kwnames[] = { "outformat","informat", NULL }; | |
1543 | char _ptemp[128]; | |
1544 | ||
1545 | self = self; | |
1546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1)) | |
1547 | return NULL; | |
1548 | if (_obj0) | |
1549 | { | |
c8bc7bb8 RD |
1550 | _arg0 = wxString_in_helper(_obj0); |
1551 | if (_arg0 == NULL) | |
059a841c | 1552 | return NULL; |
059a841c RD |
1553 | } |
1554 | if (_obj1) | |
1555 | { | |
c8bc7bb8 RD |
1556 | _arg1 = wxString_in_helper(_obj1); |
1557 | if (_arg1 == NULL) | |
059a841c | 1558 | return NULL; |
059a841c RD |
1559 | } |
1560 | { | |
474c48f9 | 1561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1562 | _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1); |
059a841c | 1563 | |
474c48f9 | 1564 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
1565 | if (PyErr_Occurred()) return NULL; |
1566 | } if (_result) { | |
1567 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p"); | |
1568 | _resultobj = Py_BuildValue("s",_ptemp); | |
1569 | } else { | |
1570 | Py_INCREF(Py_None); | |
1571 | _resultobj = Py_None; | |
1572 | } | |
1573 | { | |
1574 | if (_obj0) | |
1575 | delete _arg0; | |
1576 | } | |
1577 | { | |
1578 | if (_obj1) | |
1579 | delete _arg1; | |
1580 | } | |
1581 | return _resultobj; | |
1582 | } | |
1583 | ||
1584 | static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) { | |
1585 | wxGridCellEnumRenderer *src; | |
1586 | wxGridCellStringRenderer *dest; | |
1587 | src = (wxGridCellEnumRenderer *) ptr; | |
1588 | dest = (wxGridCellStringRenderer *) src; | |
1589 | return (void *) dest; | |
1590 | } | |
1591 | ||
1592 | static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) { | |
1593 | wxGridCellEnumRenderer *src; | |
1594 | wxGridCellRenderer *dest; | |
1595 | src = (wxGridCellEnumRenderer *) ptr; | |
1596 | dest = (wxGridCellRenderer *) src; | |
1597 | return (void *) dest; | |
1598 | } | |
1599 | ||
1600 | #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0)) | |
1601 | static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1602 | PyObject * _resultobj; | |
1603 | wxGridCellEnumRenderer * _result; | |
1604 | wxString * _arg0 = (wxString *) &""; | |
1605 | PyObject * _obj0 = 0; | |
1606 | char *_kwnames[] = { "choices", NULL }; | |
1607 | char _ptemp[128]; | |
1608 | ||
1609 | self = self; | |
1610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0)) | |
1611 | return NULL; | |
1612 | if (_obj0) | |
1613 | { | |
1614 | _arg0 = wxString_LIST_helper(_obj0); | |
1615 | if (_arg0 == NULL) { | |
1616 | return NULL; | |
1617 | } | |
1618 | } | |
1619 | { | |
474c48f9 | 1620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1621 | _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0); |
059a841c | 1622 | |
474c48f9 | 1623 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
1624 | if (PyErr_Occurred()) return NULL; |
1625 | } if (_result) { | |
1626 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p"); | |
1627 | _resultobj = Py_BuildValue("s",_ptemp); | |
1628 | } else { | |
1629 | Py_INCREF(Py_None); | |
1630 | _resultobj = Py_None; | |
1631 | } | |
1632 | { | |
1633 | delete [] _arg0; | |
1634 | } | |
1635 | return _resultobj; | |
1636 | } | |
1637 | ||
1638 | static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) { | |
1639 | wxGridCellAutoWrapStringRenderer *src; | |
1640 | wxGridCellStringRenderer *dest; | |
1641 | src = (wxGridCellAutoWrapStringRenderer *) ptr; | |
1642 | dest = (wxGridCellStringRenderer *) src; | |
1643 | return (void *) dest; | |
1644 | } | |
1645 | ||
1646 | static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) { | |
1647 | wxGridCellAutoWrapStringRenderer *src; | |
1648 | wxGridCellRenderer *dest; | |
1649 | src = (wxGridCellAutoWrapStringRenderer *) ptr; | |
1650 | dest = (wxGridCellRenderer *) src; | |
1651 | return (void *) dest; | |
1652 | } | |
1653 | ||
1654 | #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer()) | |
1655 | static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1656 | PyObject * _resultobj; | |
1657 | wxGridCellAutoWrapStringRenderer * _result; | |
1658 | char *_kwnames[] = { NULL }; | |
1659 | char _ptemp[128]; | |
1660 | ||
1661 | self = self; | |
1662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames)) | |
1663 | return NULL; | |
1664 | { | |
474c48f9 | 1665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1666 | _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer(); |
059a841c | 1667 | |
474c48f9 | 1668 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
1669 | if (PyErr_Occurred()) return NULL; |
1670 | } if (_result) { | |
1671 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p"); | |
1672 | _resultobj = Py_BuildValue("s",_ptemp); | |
1673 | } else { | |
1674 | Py_INCREF(Py_None); | |
1675 | _resultobj = Py_None; | |
1676 | } | |
1677 | return _resultobj; | |
1678 | } | |
1679 | ||
f6bcfd97 BP |
1680 | #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated()) |
1681 | static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1682 | PyObject * _resultobj; | |
1683 | bool _result; | |
1684 | wxGridCellEditor * _arg0; | |
1685 | PyObject * _argo0 = 0; | |
1686 | char *_kwnames[] = { "self", NULL }; | |
1687 | ||
1688 | self = self; | |
1689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0)) | |
1690 | return NULL; | |
1691 | if (_argo0) { | |
1692 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1693 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p."); | |
1695 | return NULL; | |
1696 | } | |
1697 | } | |
1698 | { | |
474c48f9 | 1699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1700 | _result = (bool )wxGridCellEditor_IsCreated(_arg0); |
f6bcfd97 | 1701 | |
474c48f9 | 1702 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1703 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1704 | } _resultobj = Py_BuildValue("i",_result); |
1705 | return _resultobj; | |
1706 | } | |
1707 | ||
1708 | #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl()) | |
1709 | static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1710 | PyObject * _resultobj; | |
1711 | wxControl * _result; | |
1712 | wxGridCellEditor * _arg0; | |
1713 | PyObject * _argo0 = 0; | |
1714 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
1715 | |
1716 | self = self; | |
1717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0)) | |
1718 | return NULL; | |
1719 | if (_argo0) { | |
1720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p."); | |
1723 | return NULL; | |
1724 | } | |
1725 | } | |
1726 | { | |
474c48f9 | 1727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1728 | _result = (wxControl *)wxGridCellEditor_GetControl(_arg0); |
f6bcfd97 | 1729 | |
474c48f9 | 1730 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1731 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 1732 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
1733 | return _resultobj; |
1734 | } | |
1735 | ||
1736 | #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0)) | |
1737 | static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1738 | PyObject * _resultobj; | |
1739 | wxGridCellEditor * _arg0; | |
1740 | wxControl * _arg1; | |
1741 | PyObject * _argo0 = 0; | |
1742 | PyObject * _argo1 = 0; | |
1743 | char *_kwnames[] = { "self","control", NULL }; | |
1744 | ||
1745 | self = self; | |
1746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1)) | |
1747 | return NULL; | |
1748 | if (_argo0) { | |
1749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p."); | |
1752 | return NULL; | |
1753 | } | |
1754 | } | |
1755 | if (_argo1) { | |
1756 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1757 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
1758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p."); | |
1759 | return NULL; | |
1760 | } | |
1761 | } | |
1762 | { | |
474c48f9 | 1763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1764 | wxGridCellEditor_SetControl(_arg0,_arg1); |
f6bcfd97 | 1765 | |
474c48f9 | 1766 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1767 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1768 | } Py_INCREF(Py_None); |
1769 | _resultobj = Py_None; | |
1770 | return _resultobj; | |
1771 | } | |
1772 | ||
1773 | #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0)) | |
1774 | static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1775 | PyObject * _resultobj; | |
1776 | wxGridCellEditor * _arg0; | |
1777 | wxString * _arg1; | |
1778 | PyObject * _argo0 = 0; | |
1779 | PyObject * _obj1 = 0; | |
1780 | char *_kwnames[] = { "self","params", NULL }; | |
1781 | ||
1782 | self = self; | |
1783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1784 | return NULL; | |
1785 | if (_argo0) { | |
1786 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1787 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p."); | |
1789 | return NULL; | |
1790 | } | |
1791 | } | |
1792 | { | |
c8bc7bb8 RD |
1793 | _arg1 = wxString_in_helper(_obj1); |
1794 | if (_arg1 == NULL) | |
2cd2fac8 | 1795 | return NULL; |
f6bcfd97 BP |
1796 | } |
1797 | { | |
474c48f9 | 1798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1799 | wxGridCellEditor_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1800 | |
474c48f9 | 1801 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1802 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1803 | } Py_INCREF(Py_None); |
1804 | _resultobj = Py_None; | |
1805 | { | |
1806 | if (_obj1) | |
1807 | delete _arg1; | |
1808 | } | |
1809 | return _resultobj; | |
1810 | } | |
1811 | ||
1812 | #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef()) | |
1813 | static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1814 | PyObject * _resultobj; | |
1815 | wxGridCellEditor * _arg0; | |
1816 | PyObject * _argo0 = 0; | |
1817 | char *_kwnames[] = { "self", NULL }; | |
1818 | ||
1819 | self = self; | |
1820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0)) | |
1821 | return NULL; | |
1822 | if (_argo0) { | |
1823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p."); | |
1826 | return NULL; | |
1827 | } | |
1828 | } | |
1829 | { | |
474c48f9 | 1830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1831 | wxGridCellEditor_IncRef(_arg0); |
f6bcfd97 | 1832 | |
474c48f9 | 1833 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1834 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1835 | } Py_INCREF(Py_None); |
1836 | _resultobj = Py_None; | |
1837 | return _resultobj; | |
1838 | } | |
1839 | ||
1840 | #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef()) | |
1841 | static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1842 | PyObject * _resultobj; | |
1843 | wxGridCellEditor * _arg0; | |
1844 | PyObject * _argo0 = 0; | |
1845 | char *_kwnames[] = { "self", NULL }; | |
1846 | ||
1847 | self = self; | |
1848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0)) | |
1849 | return NULL; | |
1850 | if (_argo0) { | |
1851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p."); | |
1854 | return NULL; | |
1855 | } | |
1856 | } | |
1857 | { | |
474c48f9 | 1858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1859 | wxGridCellEditor_DecRef(_arg0); |
f6bcfd97 | 1860 | |
474c48f9 | 1861 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1862 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1863 | } Py_INCREF(Py_None); |
1864 | _resultobj = Py_None; | |
1865 | return _resultobj; | |
1866 | } | |
1867 | ||
1868 | #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2)) | |
1869 | static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1870 | PyObject * _resultobj; | |
1871 | wxGridCellEditor * _arg0; | |
1872 | wxWindow * _arg1; | |
1873 | wxWindowID _arg2; | |
1874 | wxEvtHandler * _arg3; | |
1875 | PyObject * _argo0 = 0; | |
1876 | PyObject * _argo1 = 0; | |
1877 | PyObject * _argo3 = 0; | |
1878 | char *_kwnames[] = { "self","parent","id","evtHandler", NULL }; | |
1879 | ||
1880 | self = self; | |
1881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3)) | |
1882 | return NULL; | |
1883 | if (_argo0) { | |
1884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p."); | |
1887 | return NULL; | |
1888 | } | |
1889 | } | |
1890 | if (_argo1) { | |
1891 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1892 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p."); | |
1894 | return NULL; | |
1895 | } | |
1896 | } | |
1897 | if (_argo3) { | |
1898 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1899 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) { | |
1900 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p."); | |
1901 | return NULL; | |
1902 | } | |
1903 | } | |
1904 | { | |
474c48f9 | 1905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1906 | wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 1907 | |
474c48f9 | 1908 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1909 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1910 | } Py_INCREF(Py_None); |
1911 | _resultobj = Py_None; | |
1912 | return _resultobj; | |
1913 | } | |
1914 | ||
1915 | #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2)) | |
1916 | static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1917 | PyObject * _resultobj; | |
1918 | wxGridCellEditor * _arg0; | |
1919 | int _arg1; | |
1920 | int _arg2; | |
1921 | wxGrid * _arg3; | |
1922 | PyObject * _argo0 = 0; | |
1923 | PyObject * _argo3 = 0; | |
1924 | char *_kwnames[] = { "self","row","col","grid", NULL }; | |
1925 | ||
1926 | self = self; | |
1927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
1928 | return NULL; | |
1929 | if (_argo0) { | |
1930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p."); | |
1933 | return NULL; | |
1934 | } | |
1935 | } | |
1936 | if (_argo3) { | |
1937 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1938 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) { | |
1939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p."); | |
1940 | return NULL; | |
1941 | } | |
1942 | } | |
1943 | { | |
474c48f9 | 1944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1945 | wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 1946 | |
474c48f9 | 1947 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1948 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1949 | } Py_INCREF(Py_None); |
1950 | _resultobj = Py_None; | |
1951 | return _resultobj; | |
1952 | } | |
1953 | ||
1954 | #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2)) | |
1955 | static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1956 | PyObject * _resultobj; | |
1957 | bool _result; | |
1958 | wxGridCellEditor * _arg0; | |
1959 | int _arg1; | |
1960 | int _arg2; | |
1961 | wxGrid * _arg3; | |
1962 | PyObject * _argo0 = 0; | |
1963 | PyObject * _argo3 = 0; | |
1964 | char *_kwnames[] = { "self","row","col","grid", NULL }; | |
1965 | ||
1966 | self = self; | |
1967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
1968 | return NULL; | |
1969 | if (_argo0) { | |
1970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p."); | |
1973 | return NULL; | |
1974 | } | |
1975 | } | |
1976 | if (_argo3) { | |
1977 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1978 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) { | |
1979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p."); | |
1980 | return NULL; | |
1981 | } | |
1982 | } | |
1983 | { | |
474c48f9 | 1984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1985 | _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 1986 | |
474c48f9 | 1987 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1988 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1989 | } _resultobj = Py_BuildValue("i",_result); |
1990 | return _resultobj; | |
1991 | } | |
1992 | ||
1993 | #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset()) | |
1994 | static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1995 | PyObject * _resultobj; | |
1996 | wxGridCellEditor * _arg0; | |
1997 | PyObject * _argo0 = 0; | |
1998 | char *_kwnames[] = { "self", NULL }; | |
1999 | ||
2000 | self = self; | |
2001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0)) | |
2002 | return NULL; | |
2003 | if (_argo0) { | |
2004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p."); | |
2007 | return NULL; | |
2008 | } | |
2009 | } | |
2010 | { | |
474c48f9 | 2011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2012 | wxGridCellEditor_Reset(_arg0); |
f6bcfd97 | 2013 | |
474c48f9 | 2014 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2015 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2016 | } Py_INCREF(Py_None); |
2017 | _resultobj = Py_None; | |
2018 | return _resultobj; | |
2019 | } | |
2020 | ||
2021 | #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone()) | |
2022 | static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2023 | PyObject * _resultobj; | |
2024 | wxGridCellEditor * _result; | |
2025 | wxGridCellEditor * _arg0; | |
2026 | PyObject * _argo0 = 0; | |
2027 | char *_kwnames[] = { "self", NULL }; | |
2028 | char _ptemp[128]; | |
2029 | ||
2030 | self = self; | |
2031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0)) | |
2032 | return NULL; | |
2033 | if (_argo0) { | |
2034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p."); | |
2037 | return NULL; | |
2038 | } | |
2039 | } | |
2040 | { | |
474c48f9 | 2041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2042 | _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0); |
f6bcfd97 | 2043 | |
474c48f9 | 2044 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2045 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2046 | } if (_result) { |
2047 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p"); | |
2048 | _resultobj = Py_BuildValue("s",_ptemp); | |
2049 | } else { | |
2050 | Py_INCREF(Py_None); | |
2051 | _resultobj = Py_None; | |
2052 | } | |
2053 | return _resultobj; | |
2054 | } | |
2055 | ||
2056 | #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
2057 | static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2058 | PyObject * _resultobj; | |
2059 | wxGridCellEditor * _arg0; | |
2060 | wxRect * _arg1; | |
2061 | PyObject * _argo0 = 0; | |
2062 | wxRect temp; | |
2063 | PyObject * _obj1 = 0; | |
2064 | char *_kwnames[] = { "self","rect", NULL }; | |
2065 | ||
2066 | self = self; | |
2067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1)) | |
2068 | return NULL; | |
2069 | if (_argo0) { | |
2070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p."); | |
2073 | return NULL; | |
2074 | } | |
2075 | } | |
2076 | { | |
2077 | _arg1 = &temp; | |
2078 | if (! wxRect_helper(_obj1, &_arg1)) | |
2079 | return NULL; | |
2080 | } | |
2081 | { | |
474c48f9 | 2082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2083 | wxGridCellEditor_SetSize(_arg0,*_arg1); |
f6bcfd97 | 2084 | |
474c48f9 | 2085 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2086 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2087 | } Py_INCREF(Py_None); |
2088 | _resultobj = Py_None; | |
2089 | return _resultobj; | |
2090 | } | |
2091 | ||
2092 | #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1)) | |
2093 | static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2094 | PyObject * _resultobj; | |
2095 | wxGridCellEditor * _arg0; | |
2096 | bool _arg1; | |
2097 | wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL; | |
2098 | PyObject * _argo0 = 0; | |
2099 | int tempbool1; | |
2100 | PyObject * _argo2 = 0; | |
2101 | char *_kwnames[] = { "self","show","attr", NULL }; | |
2102 | ||
2103 | self = self; | |
2104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
2105 | return NULL; | |
2106 | if (_argo0) { | |
2107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p."); | |
2110 | return NULL; | |
2111 | } | |
2112 | } | |
2113 | _arg1 = (bool ) tempbool1; | |
2114 | if (_argo2) { | |
2115 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2116 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p."); | |
2118 | return NULL; | |
2119 | } | |
2120 | } | |
2121 | { | |
474c48f9 | 2122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2123 | wxGridCellEditor_Show(_arg0,_arg1,_arg2); |
f6bcfd97 | 2124 | |
474c48f9 | 2125 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2126 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2127 | } Py_INCREF(Py_None); |
2128 | _resultobj = Py_None; | |
2129 | return _resultobj; | |
2130 | } | |
2131 | ||
2132 | #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1)) | |
2133 | static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2134 | PyObject * _resultobj; | |
2135 | wxGridCellEditor * _arg0; | |
2136 | wxRect * _arg1; | |
2137 | wxGridCellAttr * _arg2; | |
2138 | PyObject * _argo0 = 0; | |
2139 | wxRect temp; | |
2140 | PyObject * _obj1 = 0; | |
2141 | PyObject * _argo2 = 0; | |
2142 | char *_kwnames[] = { "self","rectCell","attr", NULL }; | |
2143 | ||
2144 | self = self; | |
2145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2)) | |
2146 | return NULL; | |
2147 | if (_argo0) { | |
2148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p."); | |
2151 | return NULL; | |
2152 | } | |
2153 | } | |
2154 | { | |
2155 | _arg1 = &temp; | |
2156 | if (! wxRect_helper(_obj1, &_arg1)) | |
2157 | return NULL; | |
2158 | } | |
2159 | if (_argo2) { | |
2160 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2161 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p."); | |
2163 | return NULL; | |
2164 | } | |
2165 | } | |
2166 | { | |
474c48f9 | 2167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2168 | wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2); |
f6bcfd97 | 2169 | |
474c48f9 | 2170 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2171 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2172 | } Py_INCREF(Py_None); |
2173 | _resultobj = Py_None; | |
2174 | return _resultobj; | |
2175 | } | |
2176 | ||
2177 | #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0)) | |
2178 | static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2179 | PyObject * _resultobj; | |
2180 | bool _result; | |
2181 | wxGridCellEditor * _arg0; | |
2182 | wxKeyEvent * _arg1; | |
2183 | PyObject * _argo0 = 0; | |
2184 | PyObject * _argo1 = 0; | |
2185 | char *_kwnames[] = { "self","event", NULL }; | |
2186 | ||
2187 | self = self; | |
2188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1)) | |
2189 | return NULL; | |
2190 | if (_argo0) { | |
2191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p."); | |
2194 | return NULL; | |
2195 | } | |
2196 | } | |
2197 | if (_argo1) { | |
2198 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2199 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p."); | |
2201 | return NULL; | |
2202 | } | |
2203 | } | |
2204 | { | |
474c48f9 | 2205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2206 | _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1); |
f6bcfd97 | 2207 | |
474c48f9 | 2208 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2209 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2210 | } _resultobj = Py_BuildValue("i",_result); |
2211 | return _resultobj; | |
2212 | } | |
2213 | ||
2214 | #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0)) | |
2215 | static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2216 | PyObject * _resultobj; | |
2217 | wxGridCellEditor * _arg0; | |
2218 | wxKeyEvent * _arg1; | |
2219 | PyObject * _argo0 = 0; | |
2220 | PyObject * _argo1 = 0; | |
2221 | char *_kwnames[] = { "self","event", NULL }; | |
2222 | ||
2223 | self = self; | |
2224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1)) | |
2225 | return NULL; | |
2226 | if (_argo0) { | |
2227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p."); | |
2230 | return NULL; | |
2231 | } | |
2232 | } | |
2233 | if (_argo1) { | |
2234 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2235 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p."); | |
2237 | return NULL; | |
2238 | } | |
2239 | } | |
2240 | { | |
474c48f9 | 2241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2242 | wxGridCellEditor_StartingKey(_arg0,*_arg1); |
f6bcfd97 | 2243 | |
474c48f9 | 2244 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2245 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2246 | } Py_INCREF(Py_None); |
2247 | _resultobj = Py_None; | |
2248 | return _resultobj; | |
2249 | } | |
2250 | ||
2251 | #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick()) | |
2252 | static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2253 | PyObject * _resultobj; | |
2254 | wxGridCellEditor * _arg0; | |
2255 | PyObject * _argo0 = 0; | |
2256 | char *_kwnames[] = { "self", NULL }; | |
2257 | ||
2258 | self = self; | |
2259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0)) | |
2260 | return NULL; | |
2261 | if (_argo0) { | |
2262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p."); | |
2265 | return NULL; | |
2266 | } | |
2267 | } | |
2268 | { | |
474c48f9 | 2269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2270 | wxGridCellEditor_StartingClick(_arg0); |
f6bcfd97 | 2271 | |
474c48f9 | 2272 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2273 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2274 | } Py_INCREF(Py_None); |
2275 | _resultobj = Py_None; | |
2276 | return _resultobj; | |
2277 | } | |
2278 | ||
2279 | #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0)) | |
2280 | static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2281 | PyObject * _resultobj; | |
2282 | wxGridCellEditor * _arg0; | |
2283 | wxKeyEvent * _arg1; | |
2284 | PyObject * _argo0 = 0; | |
2285 | PyObject * _argo1 = 0; | |
2286 | char *_kwnames[] = { "self","event", NULL }; | |
2287 | ||
2288 | self = self; | |
2289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1)) | |
2290 | return NULL; | |
2291 | if (_argo0) { | |
2292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p."); | |
2295 | return NULL; | |
2296 | } | |
2297 | } | |
2298 | if (_argo1) { | |
2299 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2300 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p."); | |
2302 | return NULL; | |
2303 | } | |
2304 | } | |
2305 | { | |
474c48f9 | 2306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2307 | wxGridCellEditor_HandleReturn(_arg0,*_arg1); |
f6bcfd97 | 2308 | |
474c48f9 | 2309 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2310 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2311 | } Py_INCREF(Py_None); |
2312 | _resultobj = Py_None; | |
2313 | return _resultobj; | |
2314 | } | |
2315 | ||
2316 | #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy()) | |
2317 | static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2318 | PyObject * _resultobj; | |
2319 | wxGridCellEditor * _arg0; | |
2320 | PyObject * _argo0 = 0; | |
2321 | char *_kwnames[] = { "self", NULL }; | |
2322 | ||
2323 | self = self; | |
2324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0)) | |
2325 | return NULL; | |
2326 | if (_argo0) { | |
2327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p."); | |
2330 | return NULL; | |
2331 | } | |
2332 | } | |
2333 | { | |
474c48f9 | 2334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2335 | wxGridCellEditor_Destroy(_arg0); |
f6bcfd97 | 2336 | |
474c48f9 | 2337 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2338 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2339 | } Py_INCREF(Py_None); |
2340 | _resultobj = Py_None; | |
2341 | return _resultobj; | |
2342 | } | |
2343 | ||
2344 | static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) { | |
2345 | wxPyGridCellEditor *src; | |
2346 | wxGridCellEditor *dest; | |
2347 | src = (wxPyGridCellEditor *) ptr; | |
2348 | dest = (wxGridCellEditor *) src; | |
2349 | return (void *) dest; | |
2350 | } | |
2351 | ||
2352 | #define new_wxPyGridCellEditor() (new wxPyGridCellEditor()) | |
2353 | static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2354 | PyObject * _resultobj; | |
2355 | wxPyGridCellEditor * _result; | |
2356 | char *_kwnames[] = { NULL }; | |
2357 | char _ptemp[128]; | |
2358 | ||
2359 | self = self; | |
2360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames)) | |
2361 | return NULL; | |
2362 | { | |
474c48f9 | 2363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2364 | _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor(); |
f6bcfd97 | 2365 | |
474c48f9 | 2366 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2367 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2368 | } if (_result) { |
2369 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p"); | |
2370 | _resultobj = Py_BuildValue("s",_ptemp); | |
2371 | } else { | |
2372 | Py_INCREF(Py_None); | |
2373 | _resultobj = Py_None; | |
2374 | } | |
2375 | return _resultobj; | |
2376 | } | |
2377 | ||
0220cbc1 RD |
2378 | #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
2379 | static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2380 | PyObject * _resultobj; |
2381 | wxPyGridCellEditor * _arg0; | |
2382 | PyObject * _arg1; | |
2383 | PyObject * _arg2; | |
2384 | PyObject * _argo0 = 0; | |
2385 | PyObject * _obj1 = 0; | |
2386 | PyObject * _obj2 = 0; | |
2387 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2388 | ||
2389 | self = self; | |
0220cbc1 | 2390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
2391 | return NULL; |
2392 | if (_argo0) { | |
2393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
0220cbc1 | 2395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p."); |
f6bcfd97 BP |
2396 | return NULL; |
2397 | } | |
2398 | } | |
2399 | { | |
2400 | _arg1 = _obj1; | |
2401 | } | |
2402 | { | |
2403 | _arg2 = _obj2; | |
2404 | } | |
2405 | { | |
474c48f9 | 2406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2407 | wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 2408 | |
474c48f9 | 2409 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2410 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2411 | } Py_INCREF(Py_None); |
2412 | _resultobj = Py_None; | |
2413 | return _resultobj; | |
2414 | } | |
2415 | ||
2416 | #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0)) | |
2417 | static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2418 | PyObject * _resultobj; | |
2419 | wxPyGridCellEditor * _arg0; | |
2420 | wxRect * _arg1; | |
2421 | PyObject * _argo0 = 0; | |
2422 | wxRect temp; | |
2423 | PyObject * _obj1 = 0; | |
2424 | char *_kwnames[] = { "self","rect", NULL }; | |
2425 | ||
2426 | self = self; | |
2427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1)) | |
2428 | return NULL; | |
2429 | if (_argo0) { | |
2430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p."); | |
2433 | return NULL; | |
2434 | } | |
2435 | } | |
2436 | { | |
2437 | _arg1 = &temp; | |
2438 | if (! wxRect_helper(_obj1, &_arg1)) | |
2439 | return NULL; | |
2440 | } | |
2441 | { | |
474c48f9 | 2442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2443 | wxPyGridCellEditor_base_SetSize(_arg0,*_arg1); |
f6bcfd97 | 2444 | |
474c48f9 | 2445 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2446 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2447 | } Py_INCREF(Py_None); |
2448 | _resultobj = Py_None; | |
2449 | return _resultobj; | |
2450 | } | |
2451 | ||
2452 | #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1)) | |
2453 | static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2454 | PyObject * _resultobj; | |
2455 | wxPyGridCellEditor * _arg0; | |
2456 | bool _arg1; | |
2457 | wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL; | |
2458 | PyObject * _argo0 = 0; | |
2459 | int tempbool1; | |
2460 | PyObject * _argo2 = 0; | |
2461 | char *_kwnames[] = { "self","show","attr", NULL }; | |
2462 | ||
2463 | self = self; | |
2464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
2465 | return NULL; | |
2466 | if (_argo0) { | |
2467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p."); | |
2470 | return NULL; | |
2471 | } | |
2472 | } | |
2473 | _arg1 = (bool ) tempbool1; | |
2474 | if (_argo2) { | |
2475 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2476 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p."); | |
2478 | return NULL; | |
2479 | } | |
2480 | } | |
2481 | { | |
474c48f9 | 2482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2483 | wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2); |
f6bcfd97 | 2484 | |
474c48f9 | 2485 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2486 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2487 | } Py_INCREF(Py_None); |
2488 | _resultobj = Py_None; | |
2489 | return _resultobj; | |
2490 | } | |
2491 | ||
2492 | #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1)) | |
2493 | static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2494 | PyObject * _resultobj; | |
2495 | wxPyGridCellEditor * _arg0; | |
2496 | wxRect * _arg1; | |
2497 | wxGridCellAttr * _arg2; | |
2498 | PyObject * _argo0 = 0; | |
2499 | wxRect temp; | |
2500 | PyObject * _obj1 = 0; | |
2501 | PyObject * _argo2 = 0; | |
2502 | char *_kwnames[] = { "self","rectCell","attr", NULL }; | |
2503 | ||
2504 | self = self; | |
2505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2)) | |
2506 | return NULL; | |
2507 | if (_argo0) { | |
2508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p."); | |
2511 | return NULL; | |
2512 | } | |
2513 | } | |
2514 | { | |
2515 | _arg1 = &temp; | |
2516 | if (! wxRect_helper(_obj1, &_arg1)) | |
2517 | return NULL; | |
2518 | } | |
2519 | if (_argo2) { | |
2520 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2521 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p."); | |
2523 | return NULL; | |
2524 | } | |
2525 | } | |
2526 | { | |
474c48f9 | 2527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2528 | wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2); |
f6bcfd97 | 2529 | |
474c48f9 | 2530 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2531 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2532 | } Py_INCREF(Py_None); |
2533 | _resultobj = Py_None; | |
2534 | return _resultobj; | |
2535 | } | |
2536 | ||
2cd2fac8 RD |
2537 | #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0)) |
2538 | static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2539 | PyObject * _resultobj; | |
2540 | wxPyGridCellEditor * _arg0; | |
2541 | wxKeyEvent * _arg1; | |
2542 | PyObject * _argo0 = 0; | |
2543 | PyObject * _argo1 = 0; | |
2544 | char *_kwnames[] = { "self","event", NULL }; | |
2545 | ||
2546 | self = self; | |
2547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1)) | |
2548 | return NULL; | |
2549 | if (_argo0) { | |
2550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p."); | |
2553 | return NULL; | |
2554 | } | |
2555 | } | |
2556 | if (_argo1) { | |
2557 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2558 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p."); | |
2560 | return NULL; | |
2561 | } | |
2562 | } | |
2563 | { | |
474c48f9 | 2564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2565 | wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1); |
2cd2fac8 | 2566 | |
474c48f9 | 2567 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2568 | if (PyErr_Occurred()) return NULL; |
2cd2fac8 RD |
2569 | } Py_INCREF(Py_None); |
2570 | _resultobj = Py_None; | |
2571 | return _resultobj; | |
2572 | } | |
2573 | ||
f6bcfd97 BP |
2574 | #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0)) |
2575 | static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2576 | PyObject * _resultobj; | |
2577 | wxPyGridCellEditor * _arg0; | |
2578 | wxKeyEvent * _arg1; | |
2579 | PyObject * _argo0 = 0; | |
2580 | PyObject * _argo1 = 0; | |
2581 | char *_kwnames[] = { "self","event", NULL }; | |
2582 | ||
2583 | self = self; | |
2584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1)) | |
2585 | return NULL; | |
2586 | if (_argo0) { | |
2587 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2588 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2589 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p."); | |
2590 | return NULL; | |
2591 | } | |
2592 | } | |
2593 | if (_argo1) { | |
2594 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2595 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p."); | |
2597 | return NULL; | |
2598 | } | |
2599 | } | |
2600 | { | |
474c48f9 | 2601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2602 | wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1); |
f6bcfd97 | 2603 | |
474c48f9 | 2604 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2605 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2606 | } Py_INCREF(Py_None); |
2607 | _resultobj = Py_None; | |
2608 | return _resultobj; | |
2609 | } | |
2610 | ||
2611 | #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick()) | |
2612 | static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2613 | PyObject * _resultobj; | |
2614 | wxPyGridCellEditor * _arg0; | |
2615 | PyObject * _argo0 = 0; | |
2616 | char *_kwnames[] = { "self", NULL }; | |
2617 | ||
2618 | self = self; | |
2619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0)) | |
2620 | return NULL; | |
2621 | if (_argo0) { | |
2622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p."); | |
2625 | return NULL; | |
2626 | } | |
2627 | } | |
2628 | { | |
474c48f9 | 2629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2630 | wxPyGridCellEditor_base_StartingClick(_arg0); |
f6bcfd97 | 2631 | |
474c48f9 | 2632 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2633 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2634 | } Py_INCREF(Py_None); |
2635 | _resultobj = Py_None; | |
2636 | return _resultobj; | |
2637 | } | |
2638 | ||
2639 | #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0)) | |
2640 | static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2641 | PyObject * _resultobj; | |
2642 | wxPyGridCellEditor * _arg0; | |
2643 | wxKeyEvent * _arg1; | |
2644 | PyObject * _argo0 = 0; | |
2645 | PyObject * _argo1 = 0; | |
2646 | char *_kwnames[] = { "self","event", NULL }; | |
2647 | ||
2648 | self = self; | |
2649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1)) | |
2650 | return NULL; | |
2651 | if (_argo0) { | |
2652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p."); | |
2655 | return NULL; | |
2656 | } | |
2657 | } | |
2658 | if (_argo1) { | |
2659 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2660 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p."); | |
2662 | return NULL; | |
2663 | } | |
2664 | } | |
2665 | { | |
474c48f9 | 2666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2667 | wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1); |
f6bcfd97 | 2668 | |
474c48f9 | 2669 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2670 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2671 | } Py_INCREF(Py_None); |
2672 | _resultobj = Py_None; | |
2673 | return _resultobj; | |
2674 | } | |
2675 | ||
2676 | #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy()) | |
2677 | static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2678 | PyObject * _resultobj; | |
2679 | wxPyGridCellEditor * _arg0; | |
2680 | PyObject * _argo0 = 0; | |
2681 | char *_kwnames[] = { "self", NULL }; | |
2682 | ||
2683 | self = self; | |
2684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0)) | |
2685 | return NULL; | |
2686 | if (_argo0) { | |
2687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p."); | |
2690 | return NULL; | |
2691 | } | |
2692 | } | |
2693 | { | |
474c48f9 | 2694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2695 | wxPyGridCellEditor_base_Destroy(_arg0); |
f6bcfd97 | 2696 | |
474c48f9 | 2697 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2698 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2699 | } Py_INCREF(Py_None); |
2700 | _resultobj = Py_None; | |
2701 | return _resultobj; | |
2702 | } | |
2703 | ||
2704 | #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0)) | |
2705 | static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2706 | PyObject * _resultobj; | |
2707 | wxPyGridCellEditor * _arg0; | |
2708 | wxString * _arg1; | |
2709 | PyObject * _argo0 = 0; | |
2710 | PyObject * _obj1 = 0; | |
2711 | char *_kwnames[] = { "self","params", NULL }; | |
2712 | ||
2713 | self = self; | |
2714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1)) | |
2715 | return NULL; | |
2716 | if (_argo0) { | |
2717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p."); | |
2720 | return NULL; | |
2721 | } | |
2722 | } | |
2723 | { | |
c8bc7bb8 RD |
2724 | _arg1 = wxString_in_helper(_obj1); |
2725 | if (_arg1 == NULL) | |
2cd2fac8 | 2726 | return NULL; |
f6bcfd97 BP |
2727 | } |
2728 | { | |
474c48f9 | 2729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2730 | wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 2731 | |
474c48f9 | 2732 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2733 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2734 | } Py_INCREF(Py_None); |
2735 | _resultobj = Py_None; | |
2736 | { | |
2737 | if (_obj1) | |
2738 | delete _arg1; | |
2739 | } | |
2740 | return _resultobj; | |
2741 | } | |
2742 | ||
2743 | static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) { | |
2744 | wxGridCellTextEditor *src; | |
2745 | wxGridCellEditor *dest; | |
2746 | src = (wxGridCellTextEditor *) ptr; | |
2747 | dest = (wxGridCellEditor *) src; | |
2748 | return (void *) dest; | |
2749 | } | |
2750 | ||
2751 | #define new_wxGridCellTextEditor() (new wxGridCellTextEditor()) | |
2752 | static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2753 | PyObject * _resultobj; | |
2754 | wxGridCellTextEditor * _result; | |
2755 | char *_kwnames[] = { NULL }; | |
2756 | char _ptemp[128]; | |
2757 | ||
2758 | self = self; | |
2759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames)) | |
2760 | return NULL; | |
2761 | { | |
474c48f9 | 2762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2763 | _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor(); |
f6bcfd97 | 2764 | |
474c48f9 | 2765 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2766 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2767 | } if (_result) { |
2768 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p"); | |
2769 | _resultobj = Py_BuildValue("s",_ptemp); | |
2770 | } else { | |
2771 | Py_INCREF(Py_None); | |
2772 | _resultobj = Py_None; | |
2773 | } | |
2774 | return _resultobj; | |
2775 | } | |
2776 | ||
2777 | static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) { | |
2778 | wxGridCellNumberEditor *src; | |
2779 | wxGridCellTextEditor *dest; | |
2780 | src = (wxGridCellNumberEditor *) ptr; | |
2781 | dest = (wxGridCellTextEditor *) src; | |
2782 | return (void *) dest; | |
2783 | } | |
2784 | ||
2785 | static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) { | |
2786 | wxGridCellNumberEditor *src; | |
2787 | wxGridCellEditor *dest; | |
2788 | src = (wxGridCellNumberEditor *) ptr; | |
2789 | dest = (wxGridCellEditor *) src; | |
2790 | return (void *) dest; | |
2791 | } | |
2792 | ||
2793 | #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1)) | |
2794 | static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2795 | PyObject * _resultobj; | |
2796 | wxGridCellNumberEditor * _result; | |
2797 | int _arg0 = (int ) -1; | |
2798 | int _arg1 = (int ) -1; | |
2799 | char *_kwnames[] = { "min","max", NULL }; | |
2800 | char _ptemp[128]; | |
2801 | ||
2802 | self = self; | |
2803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1)) | |
2804 | return NULL; | |
2805 | { | |
474c48f9 | 2806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2807 | _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1); |
f6bcfd97 | 2808 | |
474c48f9 | 2809 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2810 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2811 | } if (_result) { |
2812 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p"); | |
2813 | _resultobj = Py_BuildValue("s",_ptemp); | |
2814 | } else { | |
2815 | Py_INCREF(Py_None); | |
2816 | _resultobj = Py_None; | |
2817 | } | |
2818 | return _resultobj; | |
2819 | } | |
2820 | ||
2821 | static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) { | |
2822 | wxGridCellFloatEditor *src; | |
2823 | wxGridCellTextEditor *dest; | |
2824 | src = (wxGridCellFloatEditor *) ptr; | |
2825 | dest = (wxGridCellTextEditor *) src; | |
2826 | return (void *) dest; | |
2827 | } | |
2828 | ||
2829 | static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) { | |
2830 | wxGridCellFloatEditor *src; | |
2831 | wxGridCellEditor *dest; | |
2832 | src = (wxGridCellFloatEditor *) ptr; | |
2833 | dest = (wxGridCellEditor *) src; | |
2834 | return (void *) dest; | |
2835 | } | |
2836 | ||
2837 | #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor()) | |
2838 | static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2839 | PyObject * _resultobj; | |
2840 | wxGridCellFloatEditor * _result; | |
2841 | char *_kwnames[] = { NULL }; | |
2842 | char _ptemp[128]; | |
2843 | ||
2844 | self = self; | |
2845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames)) | |
2846 | return NULL; | |
2847 | { | |
474c48f9 | 2848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2849 | _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor(); |
f6bcfd97 | 2850 | |
474c48f9 | 2851 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2852 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2853 | } if (_result) { |
2854 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p"); | |
2855 | _resultobj = Py_BuildValue("s",_ptemp); | |
2856 | } else { | |
2857 | Py_INCREF(Py_None); | |
2858 | _resultobj = Py_None; | |
2859 | } | |
2860 | return _resultobj; | |
2861 | } | |
2862 | ||
2863 | static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) { | |
2864 | wxGridCellBoolEditor *src; | |
2865 | wxGridCellEditor *dest; | |
2866 | src = (wxGridCellBoolEditor *) ptr; | |
2867 | dest = (wxGridCellEditor *) src; | |
2868 | return (void *) dest; | |
2869 | } | |
2870 | ||
2871 | #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor()) | |
2872 | static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2873 | PyObject * _resultobj; | |
2874 | wxGridCellBoolEditor * _result; | |
2875 | char *_kwnames[] = { NULL }; | |
2876 | char _ptemp[128]; | |
2877 | ||
2878 | self = self; | |
2879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames)) | |
2880 | return NULL; | |
2881 | { | |
474c48f9 | 2882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2883 | _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor(); |
f6bcfd97 | 2884 | |
474c48f9 | 2885 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2886 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2887 | } if (_result) { |
2888 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p"); | |
2889 | _resultobj = Py_BuildValue("s",_ptemp); | |
2890 | } else { | |
2891 | Py_INCREF(Py_None); | |
2892 | _resultobj = Py_None; | |
2893 | } | |
2894 | return _resultobj; | |
2895 | } | |
2896 | ||
2897 | static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) { | |
2898 | wxGridCellChoiceEditor *src; | |
2899 | wxGridCellEditor *dest; | |
2900 | src = (wxGridCellChoiceEditor *) ptr; | |
2901 | dest = (wxGridCellEditor *) src; | |
2902 | return (void *) dest; | |
2903 | } | |
2904 | ||
2905 | #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2)) | |
2906 | static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2907 | PyObject * _resultobj; | |
2908 | wxGridCellChoiceEditor * _result; | |
2909 | int _arg0 = (int ) 0; | |
2910 | wxString * _arg1 = (wxString *) NULL; | |
2911 | bool _arg2 = (bool ) FALSE; | |
2912 | PyObject * _obj1 = 0; | |
2913 | int tempbool2 = (int) FALSE; | |
2914 | char *_kwnames[] = { "choices","allowOthers", NULL }; | |
2915 | char _ptemp[128]; | |
2916 | ||
2917 | self = self; | |
2918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2)) | |
2919 | return NULL; | |
2920 | if (_obj1) | |
2921 | { | |
2922 | _arg1 = wxString_LIST_helper(_obj1); | |
2923 | if (_arg1 == NULL) { | |
2924 | return NULL; | |
2925 | } | |
2926 | } | |
2927 | _arg2 = (bool ) tempbool2; | |
2928 | { | |
2929 | if (_obj1) { | |
2930 | _arg0 = PyList_Size(_obj1); | |
2931 | } | |
2932 | else { | |
2933 | _arg0 = 0; | |
2934 | } | |
2935 | } | |
2936 | { | |
474c48f9 | 2937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2938 | _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2); |
f6bcfd97 | 2939 | |
474c48f9 | 2940 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2941 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2942 | } if (_result) { |
2943 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p"); | |
2944 | _resultobj = Py_BuildValue("s",_ptemp); | |
2945 | } else { | |
2946 | Py_INCREF(Py_None); | |
2947 | _resultobj = Py_None; | |
2948 | } | |
2949 | { | |
2950 | delete [] _arg1; | |
2951 | } | |
2952 | return _resultobj; | |
2953 | } | |
2954 | ||
059a841c RD |
2955 | static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) { |
2956 | wxGridCellEnumEditor *src; | |
2957 | wxGridCellChoiceEditor *dest; | |
2958 | src = (wxGridCellEnumEditor *) ptr; | |
2959 | dest = (wxGridCellChoiceEditor *) src; | |
2960 | return (void *) dest; | |
2961 | } | |
2962 | ||
2963 | static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) { | |
2964 | wxGridCellEnumEditor *src; | |
2965 | wxGridCellEditor *dest; | |
2966 | src = (wxGridCellEnumEditor *) ptr; | |
2967 | dest = (wxGridCellEditor *) src; | |
2968 | return (void *) dest; | |
2969 | } | |
2970 | ||
2971 | #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0)) | |
2972 | static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2973 | PyObject * _resultobj; | |
2974 | wxGridCellEnumEditor * _result; | |
2975 | wxString * _arg0 = (wxString *) &""; | |
2976 | PyObject * _obj0 = 0; | |
2977 | char *_kwnames[] = { "choices", NULL }; | |
2978 | char _ptemp[128]; | |
2979 | ||
2980 | self = self; | |
2981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0)) | |
2982 | return NULL; | |
2983 | if (_obj0) | |
2984 | { | |
2985 | _arg0 = wxString_LIST_helper(_obj0); | |
2986 | if (_arg0 == NULL) { | |
2987 | return NULL; | |
2988 | } | |
2989 | } | |
2990 | { | |
474c48f9 | 2991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2992 | _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0); |
059a841c | 2993 | |
474c48f9 | 2994 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
2995 | if (PyErr_Occurred()) return NULL; |
2996 | } if (_result) { | |
2997 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p"); | |
2998 | _resultobj = Py_BuildValue("s",_ptemp); | |
2999 | } else { | |
3000 | Py_INCREF(Py_None); | |
3001 | _resultobj = Py_None; | |
3002 | } | |
3003 | { | |
3004 | delete [] _arg0; | |
3005 | } | |
3006 | return _resultobj; | |
3007 | } | |
3008 | ||
3009 | static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) { | |
3010 | wxGridCellAutoWrapStringEditor *src; | |
3011 | wxGridCellTextEditor *dest; | |
3012 | src = (wxGridCellAutoWrapStringEditor *) ptr; | |
3013 | dest = (wxGridCellTextEditor *) src; | |
3014 | return (void *) dest; | |
3015 | } | |
3016 | ||
3017 | static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) { | |
3018 | wxGridCellAutoWrapStringEditor *src; | |
3019 | wxGridCellEditor *dest; | |
3020 | src = (wxGridCellAutoWrapStringEditor *) ptr; | |
3021 | dest = (wxGridCellEditor *) src; | |
3022 | return (void *) dest; | |
3023 | } | |
3024 | ||
3025 | #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor()) | |
3026 | static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3027 | PyObject * _resultobj; | |
3028 | wxGridCellAutoWrapStringEditor * _result; | |
3029 | char *_kwnames[] = { NULL }; | |
3030 | char _ptemp[128]; | |
3031 | ||
3032 | self = self; | |
3033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames)) | |
3034 | return NULL; | |
3035 | { | |
474c48f9 | 3036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3037 | _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor(); |
059a841c | 3038 | |
474c48f9 | 3039 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
3040 | if (PyErr_Occurred()) return NULL; |
3041 | } if (_result) { | |
3042 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p"); | |
3043 | _resultobj = Py_BuildValue("s",_ptemp); | |
3044 | } else { | |
3045 | Py_INCREF(Py_None); | |
3046 | _resultobj = Py_None; | |
3047 | } | |
3048 | return _resultobj; | |
3049 | } | |
3050 | ||
1893b029 | 3051 | #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0)) |
f6bcfd97 BP |
3052 | static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
3053 | PyObject * _resultobj; | |
3054 | wxGridCellAttr * _result; | |
1893b029 RD |
3055 | wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL; |
3056 | PyObject * _argo0 = 0; | |
3057 | char *_kwnames[] = { "attrDefault", NULL }; | |
f6bcfd97 BP |
3058 | char _ptemp[128]; |
3059 | ||
3060 | self = self; | |
1893b029 | 3061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0)) |
f6bcfd97 | 3062 | return NULL; |
1893b029 RD |
3063 | if (_argo0) { |
3064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p."); | |
3067 | return NULL; | |
3068 | } | |
3069 | } | |
f6bcfd97 | 3070 | { |
474c48f9 | 3071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3072 | _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0); |
f6bcfd97 | 3073 | |
474c48f9 | 3074 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3075 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3076 | } if (_result) { |
3077 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
3078 | _resultobj = Py_BuildValue("s",_ptemp); | |
3079 | } else { | |
3080 | Py_INCREF(Py_None); | |
3081 | _resultobj = Py_None; | |
3082 | } | |
3083 | return _resultobj; | |
3084 | } | |
3085 | ||
3086 | #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone()) | |
3087 | static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3088 | PyObject * _resultobj; | |
3089 | wxGridCellAttr * _result; | |
3090 | wxGridCellAttr * _arg0; | |
3091 | PyObject * _argo0 = 0; | |
3092 | char *_kwnames[] = { "self", NULL }; | |
3093 | char _ptemp[128]; | |
3094 | ||
3095 | self = self; | |
3096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0)) | |
3097 | return NULL; | |
3098 | if (_argo0) { | |
3099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p."); | |
3102 | return NULL; | |
3103 | } | |
3104 | } | |
3105 | { | |
474c48f9 | 3106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3107 | _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0); |
f6bcfd97 | 3108 | |
474c48f9 | 3109 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3110 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3111 | } if (_result) { |
3112 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
3113 | _resultobj = Py_BuildValue("s",_ptemp); | |
3114 | } else { | |
3115 | Py_INCREF(Py_None); | |
3116 | _resultobj = Py_None; | |
3117 | } | |
3118 | return _resultobj; | |
3119 | } | |
3120 | ||
9df61a29 RD |
3121 | #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0)) |
3122 | static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3123 | PyObject * _resultobj; | |
3124 | wxGridCellAttr * _arg0; | |
3125 | wxGridCellAttr * _arg1; | |
3126 | PyObject * _argo0 = 0; | |
3127 | PyObject * _argo1 = 0; | |
3128 | char *_kwnames[] = { "self","mergefrom", NULL }; | |
3129 | ||
3130 | self = self; | |
3131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1)) | |
3132 | return NULL; | |
3133 | if (_argo0) { | |
3134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p."); | |
3137 | return NULL; | |
3138 | } | |
3139 | } | |
3140 | if (_argo1) { | |
3141 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3142 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
3143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p."); | |
3144 | return NULL; | |
3145 | } | |
3146 | } | |
3147 | { | |
474c48f9 | 3148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3149 | wxGridCellAttr_MergeWith(_arg0,_arg1); |
9df61a29 | 3150 | |
474c48f9 | 3151 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3152 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
3153 | } Py_INCREF(Py_None); |
3154 | _resultobj = Py_None; | |
3155 | return _resultobj; | |
3156 | } | |
3157 | ||
f6bcfd97 BP |
3158 | #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef()) |
3159 | static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3160 | PyObject * _resultobj; | |
3161 | wxGridCellAttr * _arg0; | |
3162 | PyObject * _argo0 = 0; | |
3163 | char *_kwnames[] = { "self", NULL }; | |
3164 | ||
3165 | self = self; | |
3166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0)) | |
3167 | return NULL; | |
3168 | if (_argo0) { | |
3169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p."); | |
3172 | return NULL; | |
3173 | } | |
3174 | } | |
3175 | { | |
474c48f9 | 3176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3177 | wxGridCellAttr_IncRef(_arg0); |
f6bcfd97 | 3178 | |
474c48f9 | 3179 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3180 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3181 | } Py_INCREF(Py_None); |
3182 | _resultobj = Py_None; | |
3183 | return _resultobj; | |
3184 | } | |
3185 | ||
3186 | #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef()) | |
3187 | static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3188 | PyObject * _resultobj; | |
3189 | wxGridCellAttr * _arg0; | |
3190 | PyObject * _argo0 = 0; | |
3191 | char *_kwnames[] = { "self", NULL }; | |
3192 | ||
3193 | self = self; | |
3194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0)) | |
3195 | return NULL; | |
3196 | if (_argo0) { | |
3197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p."); | |
3200 | return NULL; | |
3201 | } | |
3202 | } | |
3203 | { | |
474c48f9 | 3204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3205 | wxGridCellAttr_DecRef(_arg0); |
f6bcfd97 | 3206 | |
474c48f9 | 3207 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3208 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3209 | } Py_INCREF(Py_None); |
3210 | _resultobj = Py_None; | |
3211 | return _resultobj; | |
3212 | } | |
3213 | ||
3214 | #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
3215 | static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3216 | PyObject * _resultobj; | |
3217 | wxGridCellAttr * _arg0; | |
3218 | wxColour * _arg1; | |
3219 | PyObject * _argo0 = 0; | |
3220 | wxColour temp; | |
3221 | PyObject * _obj1 = 0; | |
3222 | char *_kwnames[] = { "self","colText", NULL }; | |
3223 | ||
3224 | self = self; | |
3225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
3226 | return NULL; | |
3227 | if (_argo0) { | |
3228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p."); | |
3231 | return NULL; | |
3232 | } | |
3233 | } | |
3234 | { | |
3235 | _arg1 = &temp; | |
3236 | if (! wxColour_helper(_obj1, &_arg1)) | |
3237 | return NULL; | |
3238 | } | |
3239 | { | |
474c48f9 | 3240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3241 | wxGridCellAttr_SetTextColour(_arg0,*_arg1); |
f6bcfd97 | 3242 | |
474c48f9 | 3243 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3244 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3245 | } Py_INCREF(Py_None); |
3246 | _resultobj = Py_None; | |
3247 | return _resultobj; | |
3248 | } | |
3249 | ||
3250 | #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
3251 | static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3252 | PyObject * _resultobj; | |
3253 | wxGridCellAttr * _arg0; | |
3254 | wxColour * _arg1; | |
3255 | PyObject * _argo0 = 0; | |
3256 | wxColour temp; | |
3257 | PyObject * _obj1 = 0; | |
3258 | char *_kwnames[] = { "self","colBack", NULL }; | |
3259 | ||
3260 | self = self; | |
3261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
3262 | return NULL; | |
3263 | if (_argo0) { | |
3264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p."); | |
3267 | return NULL; | |
3268 | } | |
3269 | } | |
3270 | { | |
3271 | _arg1 = &temp; | |
3272 | if (! wxColour_helper(_obj1, &_arg1)) | |
3273 | return NULL; | |
3274 | } | |
3275 | { | |
474c48f9 | 3276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3277 | wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 3278 | |
474c48f9 | 3279 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3280 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3281 | } Py_INCREF(Py_None); |
3282 | _resultobj = Py_None; | |
3283 | return _resultobj; | |
3284 | } | |
3285 | ||
3286 | #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
3287 | static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3288 | PyObject * _resultobj; | |
3289 | wxGridCellAttr * _arg0; | |
3290 | wxFont * _arg1; | |
3291 | PyObject * _argo0 = 0; | |
3292 | PyObject * _argo1 = 0; | |
3293 | char *_kwnames[] = { "self","font", NULL }; | |
3294 | ||
3295 | self = self; | |
3296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1)) | |
3297 | return NULL; | |
3298 | if (_argo0) { | |
3299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p."); | |
3302 | return NULL; | |
3303 | } | |
3304 | } | |
3305 | if (_argo1) { | |
3306 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3307 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
3308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p."); | |
3309 | return NULL; | |
3310 | } | |
3311 | } | |
3312 | { | |
474c48f9 | 3313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3314 | wxGridCellAttr_SetFont(_arg0,*_arg1); |
f6bcfd97 | 3315 | |
474c48f9 | 3316 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3317 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3318 | } Py_INCREF(Py_None); |
3319 | _resultobj = Py_None; | |
3320 | return _resultobj; | |
3321 | } | |
3322 | ||
3323 | #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1)) | |
3324 | static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3325 | PyObject * _resultobj; | |
3326 | wxGridCellAttr * _arg0; | |
3327 | int _arg1; | |
3328 | int _arg2; | |
3329 | PyObject * _argo0 = 0; | |
3330 | char *_kwnames[] = { "self","hAlign","vAlign", NULL }; | |
3331 | ||
3332 | self = self; | |
3333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3334 | return NULL; | |
3335 | if (_argo0) { | |
3336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p."); | |
3339 | return NULL; | |
3340 | } | |
3341 | } | |
3342 | { | |
474c48f9 | 3343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3344 | wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 3345 | |
474c48f9 | 3346 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3347 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3348 | } Py_INCREF(Py_None); |
3349 | _resultobj = Py_None; | |
3350 | return _resultobj; | |
3351 | } | |
3352 | ||
3353 | #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) | |
3354 | static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3355 | PyObject * _resultobj; | |
3356 | wxGridCellAttr * _arg0; | |
3357 | bool _arg1 = (bool ) TRUE; | |
3358 | PyObject * _argo0 = 0; | |
3359 | int tempbool1 = (int) TRUE; | |
3360 | char *_kwnames[] = { "self","isReadOnly", NULL }; | |
3361 | ||
3362 | self = self; | |
3363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1)) | |
3364 | return NULL; | |
3365 | if (_argo0) { | |
3366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p."); | |
3369 | return NULL; | |
3370 | } | |
3371 | } | |
3372 | _arg1 = (bool ) tempbool1; | |
3373 | { | |
474c48f9 | 3374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3375 | wxGridCellAttr_SetReadOnly(_arg0,_arg1); |
f6bcfd97 | 3376 | |
474c48f9 | 3377 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3378 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3379 | } Py_INCREF(Py_None); |
3380 | _resultobj = Py_None; | |
3381 | return _resultobj; | |
3382 | } | |
3383 | ||
3384 | #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0)) | |
3385 | static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3386 | PyObject * _resultobj; | |
3387 | wxGridCellAttr * _arg0; | |
3388 | wxGridCellRenderer * _arg1; | |
3389 | PyObject * _argo0 = 0; | |
3390 | PyObject * _argo1 = 0; | |
3391 | char *_kwnames[] = { "self","renderer", NULL }; | |
3392 | ||
3393 | self = self; | |
3394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1)) | |
3395 | return NULL; | |
3396 | if (_argo0) { | |
3397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p."); | |
3400 | return NULL; | |
3401 | } | |
3402 | } | |
3403 | if (_argo1) { | |
3404 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3405 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) { | |
3406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p."); | |
3407 | return NULL; | |
3408 | } | |
3409 | } | |
3410 | { | |
474c48f9 | 3411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3412 | wxGridCellAttr_SetRenderer(_arg0,_arg1); |
f6bcfd97 | 3413 | |
474c48f9 | 3414 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3415 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3416 | } Py_INCREF(Py_None); |
3417 | _resultobj = Py_None; | |
3418 | return _resultobj; | |
3419 | } | |
3420 | ||
3421 | #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0)) | |
3422 | static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3423 | PyObject * _resultobj; | |
3424 | wxGridCellAttr * _arg0; | |
3425 | wxGridCellEditor * _arg1; | |
3426 | PyObject * _argo0 = 0; | |
3427 | PyObject * _argo1 = 0; | |
3428 | char *_kwnames[] = { "self","editor", NULL }; | |
3429 | ||
3430 | self = self; | |
3431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1)) | |
3432 | return NULL; | |
3433 | if (_argo0) { | |
3434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p."); | |
3437 | return NULL; | |
3438 | } | |
3439 | } | |
3440 | if (_argo1) { | |
3441 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3442 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) { | |
3443 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p."); | |
3444 | return NULL; | |
3445 | } | |
3446 | } | |
3447 | { | |
474c48f9 | 3448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3449 | wxGridCellAttr_SetEditor(_arg0,_arg1); |
f6bcfd97 | 3450 | |
474c48f9 | 3451 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3452 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3453 | } Py_INCREF(Py_None); |
3454 | _resultobj = Py_None; | |
3455 | return _resultobj; | |
3456 | } | |
3457 | ||
9df61a29 RD |
3458 | #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0)) |
3459 | static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3460 | PyObject * _resultobj; | |
3461 | wxGridCellAttr * _arg0; | |
3462 | wxGridCellAttr::wxAttrKind _arg1; | |
3463 | PyObject * _argo0 = 0; | |
3464 | char *_kwnames[] = { "self","kind", NULL }; | |
3465 | ||
3466 | self = self; | |
3467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1)) | |
3468 | return NULL; | |
3469 | if (_argo0) { | |
3470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p."); | |
3473 | return NULL; | |
3474 | } | |
3475 | } | |
3476 | { | |
474c48f9 | 3477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3478 | wxGridCellAttr_SetKind(_arg0,_arg1); |
9df61a29 | 3479 | |
474c48f9 | 3480 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3481 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
3482 | } Py_INCREF(Py_None); |
3483 | _resultobj = Py_None; | |
3484 | return _resultobj; | |
3485 | } | |
3486 | ||
f6bcfd97 BP |
3487 | #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour()) |
3488 | static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3489 | PyObject * _resultobj; | |
3490 | bool _result; | |
3491 | wxGridCellAttr * _arg0; | |
3492 | PyObject * _argo0 = 0; | |
3493 | char *_kwnames[] = { "self", NULL }; | |
3494 | ||
3495 | self = self; | |
3496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0)) | |
3497 | return NULL; | |
3498 | if (_argo0) { | |
3499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p."); | |
3502 | return NULL; | |
3503 | } | |
3504 | } | |
3505 | { | |
474c48f9 | 3506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3507 | _result = (bool )wxGridCellAttr_HasTextColour(_arg0); |
f6bcfd97 | 3508 | |
474c48f9 | 3509 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3510 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3511 | } _resultobj = Py_BuildValue("i",_result); |
3512 | return _resultobj; | |
3513 | } | |
3514 | ||
3515 | #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour()) | |
3516 | static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3517 | PyObject * _resultobj; | |
3518 | bool _result; | |
3519 | wxGridCellAttr * _arg0; | |
3520 | PyObject * _argo0 = 0; | |
3521 | char *_kwnames[] = { "self", NULL }; | |
3522 | ||
3523 | self = self; | |
3524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0)) | |
3525 | return NULL; | |
3526 | if (_argo0) { | |
3527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p."); | |
3530 | return NULL; | |
3531 | } | |
3532 | } | |
3533 | { | |
474c48f9 | 3534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3535 | _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0); |
f6bcfd97 | 3536 | |
474c48f9 | 3537 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3538 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3539 | } _resultobj = Py_BuildValue("i",_result); |
3540 | return _resultobj; | |
3541 | } | |
3542 | ||
3543 | #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont()) | |
3544 | static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3545 | PyObject * _resultobj; | |
3546 | bool _result; | |
3547 | wxGridCellAttr * _arg0; | |
3548 | PyObject * _argo0 = 0; | |
3549 | char *_kwnames[] = { "self", NULL }; | |
3550 | ||
3551 | self = self; | |
3552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0)) | |
3553 | return NULL; | |
3554 | if (_argo0) { | |
3555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p."); | |
3558 | return NULL; | |
3559 | } | |
3560 | } | |
3561 | { | |
474c48f9 | 3562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3563 | _result = (bool )wxGridCellAttr_HasFont(_arg0); |
f6bcfd97 | 3564 | |
474c48f9 | 3565 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3566 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3567 | } _resultobj = Py_BuildValue("i",_result); |
3568 | return _resultobj; | |
3569 | } | |
3570 | ||
3571 | #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment()) | |
3572 | static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3573 | PyObject * _resultobj; | |
3574 | bool _result; | |
3575 | wxGridCellAttr * _arg0; | |
3576 | PyObject * _argo0 = 0; | |
3577 | char *_kwnames[] = { "self", NULL }; | |
3578 | ||
3579 | self = self; | |
3580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0)) | |
3581 | return NULL; | |
3582 | if (_argo0) { | |
3583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p."); | |
3586 | return NULL; | |
3587 | } | |
3588 | } | |
3589 | { | |
474c48f9 | 3590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3591 | _result = (bool )wxGridCellAttr_HasAlignment(_arg0); |
f6bcfd97 | 3592 | |
474c48f9 | 3593 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3594 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3595 | } _resultobj = Py_BuildValue("i",_result); |
3596 | return _resultobj; | |
3597 | } | |
3598 | ||
3599 | #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer()) | |
3600 | static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3601 | PyObject * _resultobj; | |
3602 | bool _result; | |
3603 | wxGridCellAttr * _arg0; | |
3604 | PyObject * _argo0 = 0; | |
3605 | char *_kwnames[] = { "self", NULL }; | |
3606 | ||
3607 | self = self; | |
3608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0)) | |
3609 | return NULL; | |
3610 | if (_argo0) { | |
3611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p."); | |
3614 | return NULL; | |
3615 | } | |
3616 | } | |
3617 | { | |
474c48f9 | 3618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3619 | _result = (bool )wxGridCellAttr_HasRenderer(_arg0); |
f6bcfd97 | 3620 | |
474c48f9 | 3621 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3622 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3623 | } _resultobj = Py_BuildValue("i",_result); |
3624 | return _resultobj; | |
3625 | } | |
3626 | ||
3627 | #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor()) | |
3628 | static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3629 | PyObject * _resultobj; | |
3630 | bool _result; | |
3631 | wxGridCellAttr * _arg0; | |
3632 | PyObject * _argo0 = 0; | |
3633 | char *_kwnames[] = { "self", NULL }; | |
3634 | ||
3635 | self = self; | |
3636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0)) | |
3637 | return NULL; | |
3638 | if (_argo0) { | |
3639 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3640 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p."); | |
3642 | return NULL; | |
3643 | } | |
3644 | } | |
3645 | { | |
474c48f9 | 3646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3647 | _result = (bool )wxGridCellAttr_HasEditor(_arg0); |
f6bcfd97 | 3648 | |
474c48f9 | 3649 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3650 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3651 | } _resultobj = Py_BuildValue("i",_result); |
3652 | return _resultobj; | |
3653 | } | |
3654 | ||
9df61a29 RD |
3655 | #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode()) |
3656 | static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3657 | PyObject * _resultobj; | |
3658 | bool _result; | |
3659 | wxGridCellAttr * _arg0; | |
3660 | PyObject * _argo0 = 0; | |
3661 | char *_kwnames[] = { "self", NULL }; | |
3662 | ||
3663 | self = self; | |
3664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0)) | |
3665 | return NULL; | |
3666 | if (_argo0) { | |
3667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p."); | |
3670 | return NULL; | |
3671 | } | |
3672 | } | |
3673 | { | |
474c48f9 | 3674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3675 | _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0); |
9df61a29 | 3676 | |
474c48f9 | 3677 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3678 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
3679 | } _resultobj = Py_BuildValue("i",_result); |
3680 | return _resultobj; | |
3681 | } | |
3682 | ||
f6bcfd97 BP |
3683 | #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour()) |
3684 | static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3685 | PyObject * _resultobj; | |
3686 | wxColour * _result; | |
3687 | wxGridCellAttr * _arg0; | |
3688 | PyObject * _argo0 = 0; | |
3689 | char *_kwnames[] = { "self", NULL }; | |
3690 | char _ptemp[128]; | |
3691 | ||
3692 | self = self; | |
3693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0)) | |
3694 | return NULL; | |
3695 | if (_argo0) { | |
3696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p."); | |
3699 | return NULL; | |
3700 | } | |
3701 | } | |
3702 | { | |
474c48f9 | 3703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3704 | _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0)); |
f6bcfd97 | 3705 | |
474c48f9 | 3706 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3707 | if (PyErr_Occurred()) return NULL; |
3e212503 RD |
3708 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3709 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3710 | return _resultobj; |
3711 | } | |
3712 | ||
3713 | #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
3714 | static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3715 | PyObject * _resultobj; | |
3716 | wxColour * _result; | |
3717 | wxGridCellAttr * _arg0; | |
3718 | PyObject * _argo0 = 0; | |
3719 | char *_kwnames[] = { "self", NULL }; | |
3720 | char _ptemp[128]; | |
3721 | ||
3722 | self = self; | |
3723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0)) | |
3724 | return NULL; | |
3725 | if (_argo0) { | |
3726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p."); | |
3729 | return NULL; | |
3730 | } | |
3731 | } | |
3732 | { | |
474c48f9 | 3733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3734 | _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0)); |
f6bcfd97 | 3735 | |
474c48f9 | 3736 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3737 | if (PyErr_Occurred()) return NULL; |
3e212503 RD |
3738 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3739 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3740 | return _resultobj; |
3741 | } | |
3742 | ||
3743 | #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont()) | |
3744 | static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3745 | PyObject * _resultobj; | |
3746 | wxFont * _result; | |
3747 | wxGridCellAttr * _arg0; | |
3748 | PyObject * _argo0 = 0; | |
3749 | char *_kwnames[] = { "self", NULL }; | |
3750 | char _ptemp[128]; | |
3751 | ||
3752 | self = self; | |
3753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0)) | |
3754 | return NULL; | |
3755 | if (_argo0) { | |
3756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p."); | |
3759 | return NULL; | |
3760 | } | |
3761 | } | |
3762 | { | |
474c48f9 | 3763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3764 | _result = new wxFont (wxGridCellAttr_GetFont(_arg0)); |
f6bcfd97 | 3765 | |
474c48f9 | 3766 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3767 | if (PyErr_Occurred()) return NULL; |
3e212503 RD |
3768 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
3769 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3770 | return _resultobj; |
3771 | } | |
3772 | ||
3773 | #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1)) | |
3774 | static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3775 | PyObject * _resultobj; | |
3776 | wxGridCellAttr * _arg0; | |
3777 | int * _arg1; | |
3778 | int temp; | |
3779 | int * _arg2; | |
3780 | int temp0; | |
3781 | PyObject * _argo0 = 0; | |
3782 | char *_kwnames[] = { "self", NULL }; | |
3783 | ||
3784 | self = self; | |
3785 | { | |
3786 | _arg1 = &temp; | |
3787 | } | |
3788 | { | |
3789 | _arg2 = &temp0; | |
3790 | } | |
3791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0)) | |
3792 | return NULL; | |
3793 | if (_argo0) { | |
3794 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3795 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p."); | |
3797 | return NULL; | |
3798 | } | |
3799 | } | |
3800 | { | |
474c48f9 | 3801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3802 | wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 3803 | |
474c48f9 | 3804 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3805 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3806 | } Py_INCREF(Py_None); |
3807 | _resultobj = Py_None; | |
3808 | { | |
3809 | PyObject *o; | |
3810 | o = PyInt_FromLong((long) (*_arg1)); | |
3811 | _resultobj = t_output_helper(_resultobj, o); | |
3812 | } | |
3813 | { | |
3814 | PyObject *o; | |
3815 | o = PyInt_FromLong((long) (*_arg2)); | |
3816 | _resultobj = t_output_helper(_resultobj, o); | |
3817 | } | |
3818 | return _resultobj; | |
3819 | } | |
3820 | ||
3821 | #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2)) | |
3822 | static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3823 | PyObject * _resultobj; | |
3824 | wxGridCellRenderer * _result; | |
3825 | wxGridCellAttr * _arg0; | |
3826 | wxGrid * _arg1; | |
3827 | int _arg2; | |
3828 | int _arg3; | |
3829 | PyObject * _argo0 = 0; | |
3830 | PyObject * _argo1 = 0; | |
3831 | char *_kwnames[] = { "self","grid","row","col", NULL }; | |
3832 | char _ptemp[128]; | |
3833 | ||
3834 | self = self; | |
3835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
3836 | return NULL; | |
3837 | if (_argo0) { | |
3838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p."); | |
3841 | return NULL; | |
3842 | } | |
3843 | } | |
3844 | if (_argo1) { | |
3845 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3846 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
3847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p."); | |
3848 | return NULL; | |
3849 | } | |
3850 | } | |
3851 | { | |
474c48f9 | 3852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3853 | _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 3854 | |
474c48f9 | 3855 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3856 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3857 | } if (_result) { |
3858 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p"); | |
3859 | _resultobj = Py_BuildValue("s",_ptemp); | |
3860 | } else { | |
3861 | Py_INCREF(Py_None); | |
3862 | _resultobj = Py_None; | |
3863 | } | |
3864 | return _resultobj; | |
3865 | } | |
3866 | ||
3867 | #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2)) | |
3868 | static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3869 | PyObject * _resultobj; | |
3870 | wxGridCellEditor * _result; | |
3871 | wxGridCellAttr * _arg0; | |
3872 | wxGrid * _arg1; | |
3873 | int _arg2; | |
3874 | int _arg3; | |
3875 | PyObject * _argo0 = 0; | |
3876 | PyObject * _argo1 = 0; | |
3877 | char *_kwnames[] = { "self","grid","row","col", NULL }; | |
3878 | char _ptemp[128]; | |
3879 | ||
3880 | self = self; | |
3881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
3882 | return NULL; | |
3883 | if (_argo0) { | |
3884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p."); | |
3887 | return NULL; | |
3888 | } | |
3889 | } | |
3890 | if (_argo1) { | |
3891 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3892 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
3893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p."); | |
3894 | return NULL; | |
3895 | } | |
3896 | } | |
3897 | { | |
474c48f9 | 3898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3899 | _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 3900 | |
474c48f9 | 3901 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3902 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3903 | } if (_result) { |
3904 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p"); | |
3905 | _resultobj = Py_BuildValue("s",_ptemp); | |
3906 | } else { | |
3907 | Py_INCREF(Py_None); | |
3908 | _resultobj = Py_None; | |
3909 | } | |
3910 | return _resultobj; | |
3911 | } | |
3912 | ||
3913 | #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly()) | |
3914 | static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3915 | PyObject * _resultobj; | |
3916 | bool _result; | |
3917 | wxGridCellAttr * _arg0; | |
3918 | PyObject * _argo0 = 0; | |
3919 | char *_kwnames[] = { "self", NULL }; | |
3920 | ||
3921 | self = self; | |
3922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0)) | |
3923 | return NULL; | |
3924 | if (_argo0) { | |
3925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p."); | |
3928 | return NULL; | |
3929 | } | |
3930 | } | |
3931 | { | |
474c48f9 | 3932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3933 | _result = (bool )wxGridCellAttr_IsReadOnly(_arg0); |
f6bcfd97 | 3934 | |
474c48f9 | 3935 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3936 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3937 | } _resultobj = Py_BuildValue("i",_result); |
3938 | return _resultobj; | |
3939 | } | |
3940 | ||
3941 | #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0)) | |
3942 | static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3943 | PyObject * _resultobj; | |
3944 | wxGridCellAttr * _arg0; | |
3945 | wxGridCellAttr * _arg1; | |
3946 | PyObject * _argo0 = 0; | |
3947 | PyObject * _argo1 = 0; | |
3948 | char *_kwnames[] = { "self","defAttr", NULL }; | |
3949 | ||
3950 | self = self; | |
3951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1)) | |
3952 | return NULL; | |
3953 | if (_argo0) { | |
3954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p."); | |
3957 | return NULL; | |
3958 | } | |
3959 | } | |
3960 | if (_argo1) { | |
3961 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3962 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
3963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p."); | |
3964 | return NULL; | |
3965 | } | |
3966 | } | |
3967 | { | |
474c48f9 | 3968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3969 | wxGridCellAttr_SetDefAttr(_arg0,_arg1); |
f6bcfd97 | 3970 | |
474c48f9 | 3971 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3972 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3973 | } Py_INCREF(Py_None); |
3974 | _resultobj = Py_None; | |
3975 | return _resultobj; | |
3976 | } | |
3977 | ||
3978 | #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider()) | |
3979 | static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3980 | PyObject * _resultobj; | |
3981 | wxGridCellAttrProvider * _result; | |
3982 | char *_kwnames[] = { NULL }; | |
3983 | char _ptemp[128]; | |
3984 | ||
3985 | self = self; | |
3986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames)) | |
3987 | return NULL; | |
3988 | { | |
474c48f9 | 3989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3990 | _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider(); |
f6bcfd97 | 3991 | |
474c48f9 | 3992 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3993 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3994 | } if (_result) { |
3995 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p"); | |
3996 | _resultobj = Py_BuildValue("s",_ptemp); | |
3997 | } else { | |
3998 | Py_INCREF(Py_None); | |
3999 | _resultobj = Py_None; | |
4000 | } | |
4001 | return _resultobj; | |
4002 | } | |
4003 | ||
9df61a29 | 4004 | #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
4005 | static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
4006 | PyObject * _resultobj; | |
4007 | wxGridCellAttr * _result; | |
4008 | wxGridCellAttrProvider * _arg0; | |
4009 | int _arg1; | |
4010 | int _arg2; | |
9df61a29 | 4011 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 4012 | PyObject * _argo0 = 0; |
9df61a29 | 4013 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
4014 | char _ptemp[128]; |
4015 | ||
4016 | self = self; | |
9df61a29 | 4017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
4018 | return NULL; |
4019 | if (_argo0) { | |
4020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p."); | |
4023 | return NULL; | |
4024 | } | |
4025 | } | |
4026 | { | |
474c48f9 | 4027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4028 | _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4029 | |
474c48f9 | 4030 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4031 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4032 | } if (_result) { |
4033 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
4034 | _resultobj = Py_BuildValue("s",_ptemp); | |
4035 | } else { | |
4036 | Py_INCREF(Py_None); | |
4037 | _resultobj = Py_None; | |
4038 | } | |
4039 | return _resultobj; | |
4040 | } | |
4041 | ||
4042 | #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
4043 | static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4044 | PyObject * _resultobj; | |
4045 | wxGridCellAttrProvider * _arg0; | |
4046 | wxGridCellAttr * _arg1; | |
4047 | int _arg2; | |
4048 | int _arg3; | |
4049 | PyObject * _argo0 = 0; | |
4050 | PyObject * _argo1 = 0; | |
4051 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
4052 | ||
4053 | self = self; | |
4054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4055 | return NULL; | |
4056 | if (_argo0) { | |
4057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p."); | |
4060 | return NULL; | |
4061 | } | |
4062 | } | |
4063 | if (_argo1) { | |
4064 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4065 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p."); | |
4067 | return NULL; | |
4068 | } | |
4069 | } | |
4070 | { | |
474c48f9 | 4071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4072 | wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4073 | |
474c48f9 | 4074 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4075 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4076 | } Py_INCREF(Py_None); |
4077 | _resultobj = Py_None; | |
4078 | return _resultobj; | |
4079 | } | |
4080 | ||
4081 | #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
4082 | static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4083 | PyObject * _resultobj; | |
4084 | wxGridCellAttrProvider * _arg0; | |
4085 | wxGridCellAttr * _arg1; | |
4086 | int _arg2; | |
4087 | PyObject * _argo0 = 0; | |
4088 | PyObject * _argo1 = 0; | |
4089 | char *_kwnames[] = { "self","attr","row", NULL }; | |
4090 | ||
4091 | self = self; | |
4092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4093 | return NULL; | |
4094 | if (_argo0) { | |
4095 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4096 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p."); | |
4098 | return NULL; | |
4099 | } | |
4100 | } | |
4101 | if (_argo1) { | |
4102 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4103 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p."); | |
4105 | return NULL; | |
4106 | } | |
4107 | } | |
4108 | { | |
474c48f9 | 4109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4110 | wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4111 | |
474c48f9 | 4112 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4113 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4114 | } Py_INCREF(Py_None); |
4115 | _resultobj = Py_None; | |
4116 | return _resultobj; | |
4117 | } | |
4118 | ||
4119 | #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
4120 | static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4121 | PyObject * _resultobj; | |
4122 | wxGridCellAttrProvider * _arg0; | |
4123 | wxGridCellAttr * _arg1; | |
4124 | int _arg2; | |
4125 | PyObject * _argo0 = 0; | |
4126 | PyObject * _argo1 = 0; | |
4127 | char *_kwnames[] = { "self","attr","col", NULL }; | |
4128 | ||
4129 | self = self; | |
4130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4131 | return NULL; | |
4132 | if (_argo0) { | |
4133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p."); | |
4136 | return NULL; | |
4137 | } | |
4138 | } | |
4139 | if (_argo1) { | |
4140 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4141 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p."); | |
4143 | return NULL; | |
4144 | } | |
4145 | } | |
4146 | { | |
474c48f9 | 4147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4148 | wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4149 | |
474c48f9 | 4150 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4151 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4152 | } Py_INCREF(Py_None); |
4153 | _resultobj = Py_None; | |
4154 | return _resultobj; | |
4155 | } | |
4156 | ||
4157 | #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1)) | |
4158 | static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4159 | PyObject * _resultobj; | |
4160 | wxGridCellAttrProvider * _arg0; | |
4161 | size_t _arg1; | |
4162 | int _arg2; | |
4163 | PyObject * _argo0 = 0; | |
4164 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
4165 | ||
4166 | self = self; | |
4167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4168 | return NULL; | |
4169 | if (_argo0) { | |
4170 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4171 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p."); | |
4173 | return NULL; | |
4174 | } | |
4175 | } | |
4176 | { | |
474c48f9 | 4177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4178 | wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 4179 | |
474c48f9 | 4180 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4181 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4182 | } Py_INCREF(Py_None); |
4183 | _resultobj = Py_None; | |
4184 | return _resultobj; | |
4185 | } | |
4186 | ||
4187 | #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1)) | |
4188 | static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4189 | PyObject * _resultobj; | |
4190 | wxGridCellAttrProvider * _arg0; | |
4191 | size_t _arg1; | |
4192 | int _arg2; | |
4193 | PyObject * _argo0 = 0; | |
4194 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
4195 | ||
4196 | self = self; | |
4197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4198 | return NULL; | |
4199 | if (_argo0) { | |
4200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p."); | |
4203 | return NULL; | |
4204 | } | |
4205 | } | |
4206 | { | |
474c48f9 | 4207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4208 | wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 4209 | |
474c48f9 | 4210 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4211 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4212 | } Py_INCREF(Py_None); |
4213 | _resultobj = Py_None; | |
4214 | return _resultobj; | |
4215 | } | |
4216 | ||
4217 | static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) { | |
4218 | wxPyGridCellAttrProvider *src; | |
4219 | wxGridCellAttrProvider *dest; | |
4220 | src = (wxPyGridCellAttrProvider *) ptr; | |
4221 | dest = (wxGridCellAttrProvider *) src; | |
4222 | return (void *) dest; | |
4223 | } | |
4224 | ||
4225 | #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider()) | |
4226 | static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4227 | PyObject * _resultobj; | |
4228 | wxPyGridCellAttrProvider * _result; | |
4229 | char *_kwnames[] = { NULL }; | |
4230 | char _ptemp[128]; | |
4231 | ||
4232 | self = self; | |
4233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames)) | |
4234 | return NULL; | |
4235 | { | |
474c48f9 | 4236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4237 | _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider(); |
f6bcfd97 | 4238 | |
474c48f9 | 4239 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4240 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4241 | } if (_result) { |
4242 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p"); | |
4243 | _resultobj = Py_BuildValue("s",_ptemp); | |
4244 | } else { | |
4245 | Py_INCREF(Py_None); | |
4246 | _resultobj = Py_None; | |
4247 | } | |
4248 | return _resultobj; | |
4249 | } | |
4250 | ||
0220cbc1 RD |
4251 | #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
4252 | static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4253 | PyObject * _resultobj; |
4254 | wxPyGridCellAttrProvider * _arg0; | |
4255 | PyObject * _arg1; | |
4256 | PyObject * _arg2; | |
4257 | PyObject * _argo0 = 0; | |
4258 | PyObject * _obj1 = 0; | |
4259 | PyObject * _obj2 = 0; | |
4260 | char *_kwnames[] = { "self","self","_class", NULL }; | |
4261 | ||
4262 | self = self; | |
0220cbc1 | 4263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
4264 | return NULL; |
4265 | if (_argo0) { | |
4266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
0220cbc1 | 4268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p."); |
f6bcfd97 BP |
4269 | return NULL; |
4270 | } | |
4271 | } | |
4272 | { | |
4273 | _arg1 = _obj1; | |
4274 | } | |
4275 | { | |
4276 | _arg2 = _obj2; | |
4277 | } | |
4278 | { | |
474c48f9 | 4279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4280 | wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 4281 | |
474c48f9 | 4282 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4283 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4284 | } Py_INCREF(Py_None); |
4285 | _resultobj = Py_None; | |
4286 | return _resultobj; | |
4287 | } | |
4288 | ||
9df61a29 | 4289 | #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
4290 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
4291 | PyObject * _resultobj; | |
4292 | wxGridCellAttr * _result; | |
4293 | wxPyGridCellAttrProvider * _arg0; | |
4294 | int _arg1; | |
4295 | int _arg2; | |
9df61a29 | 4296 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 4297 | PyObject * _argo0 = 0; |
9df61a29 | 4298 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
4299 | char _ptemp[128]; |
4300 | ||
4301 | self = self; | |
9df61a29 | 4302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
4303 | return NULL; |
4304 | if (_argo0) { | |
4305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4308 | return NULL; | |
4309 | } | |
4310 | } | |
4311 | { | |
474c48f9 | 4312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4313 | _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4314 | |
474c48f9 | 4315 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4316 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4317 | } if (_result) { |
4318 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
4319 | _resultobj = Py_BuildValue("s",_ptemp); | |
4320 | } else { | |
4321 | Py_INCREF(Py_None); | |
4322 | _resultobj = Py_None; | |
4323 | } | |
4324 | return _resultobj; | |
4325 | } | |
4326 | ||
4327 | #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
4328 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4329 | PyObject * _resultobj; | |
4330 | wxPyGridCellAttrProvider * _arg0; | |
4331 | wxGridCellAttr * _arg1; | |
4332 | int _arg2; | |
4333 | int _arg3; | |
4334 | PyObject * _argo0 = 0; | |
4335 | PyObject * _argo1 = 0; | |
4336 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
4337 | ||
4338 | self = self; | |
4339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4340 | return NULL; | |
4341 | if (_argo0) { | |
4342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4345 | return NULL; | |
4346 | } | |
4347 | } | |
4348 | if (_argo1) { | |
4349 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4350 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p."); | |
4352 | return NULL; | |
4353 | } | |
4354 | } | |
4355 | { | |
474c48f9 | 4356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4357 | wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4358 | |
474c48f9 | 4359 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4360 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4361 | } Py_INCREF(Py_None); |
4362 | _resultobj = Py_None; | |
4363 | return _resultobj; | |
4364 | } | |
4365 | ||
4366 | #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1)) | |
4367 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4368 | PyObject * _resultobj; | |
4369 | wxPyGridCellAttrProvider * _arg0; | |
4370 | wxGridCellAttr * _arg1; | |
4371 | int _arg2; | |
4372 | PyObject * _argo0 = 0; | |
4373 | PyObject * _argo1 = 0; | |
4374 | char *_kwnames[] = { "self","attr","row", NULL }; | |
4375 | ||
4376 | self = self; | |
4377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4378 | return NULL; | |
4379 | if (_argo0) { | |
4380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4383 | return NULL; | |
4384 | } | |
4385 | } | |
4386 | if (_argo1) { | |
4387 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4388 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p."); | |
4390 | return NULL; | |
4391 | } | |
4392 | } | |
4393 | { | |
474c48f9 | 4394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4395 | wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4396 | |
474c48f9 | 4397 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4398 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4399 | } Py_INCREF(Py_None); |
4400 | _resultobj = Py_None; | |
4401 | return _resultobj; | |
4402 | } | |
4403 | ||
4404 | #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1)) | |
4405 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4406 | PyObject * _resultobj; | |
4407 | wxPyGridCellAttrProvider * _arg0; | |
4408 | wxGridCellAttr * _arg1; | |
4409 | int _arg2; | |
4410 | PyObject * _argo0 = 0; | |
4411 | PyObject * _argo1 = 0; | |
4412 | char *_kwnames[] = { "self","attr","col", NULL }; | |
4413 | ||
4414 | self = self; | |
4415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4416 | return NULL; | |
4417 | if (_argo0) { | |
4418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4421 | return NULL; | |
4422 | } | |
4423 | } | |
4424 | if (_argo1) { | |
4425 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4426 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p."); | |
4428 | return NULL; | |
4429 | } | |
4430 | } | |
4431 | { | |
474c48f9 | 4432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4433 | wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4434 | |
474c48f9 | 4435 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4436 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4437 | } Py_INCREF(Py_None); |
4438 | _resultobj = Py_None; | |
4439 | return _resultobj; | |
4440 | } | |
4441 | ||
9df61a29 RD |
4442 | static void *SwigwxGridTableBaseTowxObject(void *ptr) { |
4443 | wxGridTableBase *src; | |
4444 | wxObject *dest; | |
4445 | src = (wxGridTableBase *) ptr; | |
4446 | dest = (wxObject *) src; | |
4447 | return (void *) dest; | |
4448 | } | |
4449 | ||
f6bcfd97 BP |
4450 | #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0)) |
4451 | static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4452 | PyObject * _resultobj; | |
4453 | wxGridTableBase * _arg0; | |
4454 | wxGridCellAttrProvider * _arg1; | |
4455 | PyObject * _argo0 = 0; | |
4456 | PyObject * _argo1 = 0; | |
4457 | char *_kwnames[] = { "self","attrProvider", NULL }; | |
4458 | ||
4459 | self = self; | |
4460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1)) | |
4461 | return NULL; | |
4462 | if (_argo0) { | |
4463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p."); | |
4466 | return NULL; | |
4467 | } | |
4468 | } | |
4469 | if (_argo1) { | |
4470 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4471 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) { | |
4472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p."); | |
4473 | return NULL; | |
4474 | } | |
4475 | } | |
4476 | { | |
474c48f9 | 4477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4478 | wxGridTableBase_SetAttrProvider(_arg0,_arg1); |
f6bcfd97 | 4479 | |
474c48f9 | 4480 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4481 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4482 | } Py_INCREF(Py_None); |
4483 | _resultobj = Py_None; | |
4484 | return _resultobj; | |
4485 | } | |
4486 | ||
4487 | #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider()) | |
4488 | static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4489 | PyObject * _resultobj; | |
4490 | wxGridCellAttrProvider * _result; | |
4491 | wxGridTableBase * _arg0; | |
4492 | PyObject * _argo0 = 0; | |
4493 | char *_kwnames[] = { "self", NULL }; | |
4494 | char _ptemp[128]; | |
4495 | ||
4496 | self = self; | |
4497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0)) | |
4498 | return NULL; | |
4499 | if (_argo0) { | |
4500 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4501 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p."); | |
4503 | return NULL; | |
4504 | } | |
4505 | } | |
4506 | { | |
474c48f9 | 4507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4508 | _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0); |
f6bcfd97 | 4509 | |
474c48f9 | 4510 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4511 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4512 | } if (_result) { |
4513 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p"); | |
4514 | _resultobj = Py_BuildValue("s",_ptemp); | |
4515 | } else { | |
4516 | Py_INCREF(Py_None); | |
4517 | _resultobj = Py_None; | |
4518 | } | |
4519 | return _resultobj; | |
4520 | } | |
4521 | ||
4522 | #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0)) | |
4523 | static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4524 | PyObject * _resultobj; | |
4525 | wxGridTableBase * _arg0; | |
4526 | wxGrid * _arg1; | |
4527 | PyObject * _argo0 = 0; | |
4528 | PyObject * _argo1 = 0; | |
4529 | char *_kwnames[] = { "self","grid", NULL }; | |
4530 | ||
4531 | self = self; | |
4532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1)) | |
4533 | return NULL; | |
4534 | if (_argo0) { | |
4535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p."); | |
4538 | return NULL; | |
4539 | } | |
4540 | } | |
4541 | if (_argo1) { | |
4542 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4543 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
4544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p."); | |
4545 | return NULL; | |
4546 | } | |
4547 | } | |
4548 | { | |
474c48f9 | 4549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4550 | wxGridTableBase_SetView(_arg0,_arg1); |
f6bcfd97 | 4551 | |
474c48f9 | 4552 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4553 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4554 | } Py_INCREF(Py_None); |
4555 | _resultobj = Py_None; | |
4556 | return _resultobj; | |
4557 | } | |
4558 | ||
4559 | #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView()) | |
4560 | static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4561 | PyObject * _resultobj; | |
4562 | wxGrid * _result; | |
4563 | wxGridTableBase * _arg0; | |
4564 | PyObject * _argo0 = 0; | |
4565 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
4566 | |
4567 | self = self; | |
4568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0)) | |
4569 | return NULL; | |
4570 | if (_argo0) { | |
4571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p."); | |
4574 | return NULL; | |
4575 | } | |
4576 | } | |
4577 | { | |
474c48f9 | 4578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4579 | _result = (wxGrid *)wxGridTableBase_GetView(_arg0); |
f6bcfd97 | 4580 | |
474c48f9 | 4581 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4582 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 4583 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
4584 | return _resultobj; |
4585 | } | |
4586 | ||
4587 | #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows()) | |
4588 | static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4589 | PyObject * _resultobj; | |
4590 | int _result; | |
4591 | wxGridTableBase * _arg0; | |
4592 | PyObject * _argo0 = 0; | |
4593 | char *_kwnames[] = { "self", NULL }; | |
4594 | ||
4595 | self = self; | |
4596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0)) | |
4597 | return NULL; | |
4598 | if (_argo0) { | |
4599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p."); | |
4602 | return NULL; | |
4603 | } | |
4604 | } | |
4605 | { | |
474c48f9 | 4606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4607 | _result = (int )wxGridTableBase_GetNumberRows(_arg0); |
f6bcfd97 | 4608 | |
474c48f9 | 4609 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4610 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4611 | } _resultobj = Py_BuildValue("i",_result); |
4612 | return _resultobj; | |
4613 | } | |
4614 | ||
4615 | #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols()) | |
4616 | static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4617 | PyObject * _resultobj; | |
4618 | int _result; | |
4619 | wxGridTableBase * _arg0; | |
4620 | PyObject * _argo0 = 0; | |
4621 | char *_kwnames[] = { "self", NULL }; | |
4622 | ||
4623 | self = self; | |
4624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0)) | |
4625 | return NULL; | |
4626 | if (_argo0) { | |
4627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p."); | |
4630 | return NULL; | |
4631 | } | |
4632 | } | |
4633 | { | |
474c48f9 | 4634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4635 | _result = (int )wxGridTableBase_GetNumberCols(_arg0); |
f6bcfd97 | 4636 | |
474c48f9 | 4637 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4638 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4639 | } _resultobj = Py_BuildValue("i",_result); |
4640 | return _resultobj; | |
4641 | } | |
4642 | ||
4643 | #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1)) | |
4644 | static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4645 | PyObject * _resultobj; | |
4646 | bool _result; | |
4647 | wxGridTableBase * _arg0; | |
4648 | int _arg1; | |
4649 | int _arg2; | |
4650 | PyObject * _argo0 = 0; | |
4651 | char *_kwnames[] = { "self","row","col", NULL }; | |
4652 | ||
4653 | self = self; | |
4654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4655 | return NULL; | |
4656 | if (_argo0) { | |
4657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p."); | |
4660 | return NULL; | |
4661 | } | |
4662 | } | |
4663 | { | |
474c48f9 | 4664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4665 | _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 4666 | |
474c48f9 | 4667 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4668 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4669 | } _resultobj = Py_BuildValue("i",_result); |
4670 | return _resultobj; | |
4671 | } | |
4672 | ||
4673 | #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1)) | |
4674 | static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4675 | PyObject * _resultobj; | |
4676 | wxString * _result; | |
4677 | wxGridTableBase * _arg0; | |
4678 | int _arg1; | |
4679 | int _arg2; | |
4680 | PyObject * _argo0 = 0; | |
4681 | char *_kwnames[] = { "self","row","col", NULL }; | |
4682 | ||
4683 | self = self; | |
4684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4685 | return NULL; | |
4686 | if (_argo0) { | |
4687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p."); | |
4690 | return NULL; | |
4691 | } | |
4692 | } | |
4693 | { | |
474c48f9 | 4694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4695 | _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2)); |
f6bcfd97 | 4696 | |
474c48f9 | 4697 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4698 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 4699 | }{ |
c8bc7bb8 RD |
4700 | #if wxUSE_UNICODE |
4701 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4702 | #else | |
f6bcfd97 | 4703 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4704 | #endif |
f6bcfd97 BP |
4705 | } |
4706 | { | |
4707 | delete _result; | |
4708 | } | |
4709 | return _resultobj; | |
4710 | } | |
4711 | ||
4712 | #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2)) | |
4713 | static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4714 | PyObject * _resultobj; | |
4715 | wxGridTableBase * _arg0; | |
4716 | int _arg1; | |
4717 | int _arg2; | |
4718 | wxString * _arg3; | |
4719 | PyObject * _argo0 = 0; | |
4720 | PyObject * _obj3 = 0; | |
4721 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
4722 | ||
4723 | self = self; | |
4724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
4725 | return NULL; | |
4726 | if (_argo0) { | |
4727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p."); | |
4730 | return NULL; | |
4731 | } | |
4732 | } | |
4733 | { | |
c8bc7bb8 RD |
4734 | _arg3 = wxString_in_helper(_obj3); |
4735 | if (_arg3 == NULL) | |
f6bcfd97 | 4736 | return NULL; |
f6bcfd97 BP |
4737 | } |
4738 | { | |
474c48f9 | 4739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4740 | wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 4741 | |
474c48f9 | 4742 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4743 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4744 | } Py_INCREF(Py_None); |
4745 | _resultobj = Py_None; | |
4746 | { | |
4747 | if (_obj3) | |
4748 | delete _arg3; | |
4749 | } | |
4750 | return _resultobj; | |
4751 | } | |
4752 | ||
4753 | #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1)) | |
4754 | static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4755 | PyObject * _resultobj; | |
4756 | wxString * _result; | |
4757 | wxGridTableBase * _arg0; | |
4758 | int _arg1; | |
4759 | int _arg2; | |
4760 | PyObject * _argo0 = 0; | |
4761 | char *_kwnames[] = { "self","row","col", NULL }; | |
4762 | ||
4763 | self = self; | |
4764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4765 | return NULL; | |
4766 | if (_argo0) { | |
4767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p."); | |
4770 | return NULL; | |
4771 | } | |
4772 | } | |
4773 | { | |
474c48f9 | 4774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4775 | _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2)); |
f6bcfd97 | 4776 | |
474c48f9 | 4777 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4778 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 4779 | }{ |
c8bc7bb8 RD |
4780 | #if wxUSE_UNICODE |
4781 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4782 | #else | |
f6bcfd97 | 4783 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4784 | #endif |
f6bcfd97 BP |
4785 | } |
4786 | { | |
4787 | delete _result; | |
4788 | } | |
4789 | return _resultobj; | |
4790 | } | |
4791 | ||
4792 | #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
4793 | static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4794 | PyObject * _resultobj; | |
4795 | bool _result; | |
4796 | wxGridTableBase * _arg0; | |
4797 | int _arg1; | |
4798 | int _arg2; | |
4799 | wxString * _arg3; | |
4800 | PyObject * _argo0 = 0; | |
4801 | PyObject * _obj3 = 0; | |
4802 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
4803 | ||
4804 | self = self; | |
4805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
4806 | return NULL; | |
4807 | if (_argo0) { | |
4808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p."); | |
4811 | return NULL; | |
4812 | } | |
4813 | } | |
4814 | { | |
c8bc7bb8 RD |
4815 | _arg3 = wxString_in_helper(_obj3); |
4816 | if (_arg3 == NULL) | |
2cd2fac8 | 4817 | return NULL; |
f6bcfd97 BP |
4818 | } |
4819 | { | |
474c48f9 | 4820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4821 | _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 4822 | |
474c48f9 | 4823 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4824 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4825 | } _resultobj = Py_BuildValue("i",_result); |
4826 | { | |
4827 | if (_obj3) | |
4828 | delete _arg3; | |
4829 | } | |
4830 | return _resultobj; | |
4831 | } | |
4832 | ||
4833 | #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
4834 | static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4835 | PyObject * _resultobj; | |
4836 | bool _result; | |
4837 | wxGridTableBase * _arg0; | |
4838 | int _arg1; | |
4839 | int _arg2; | |
4840 | wxString * _arg3; | |
4841 | PyObject * _argo0 = 0; | |
4842 | PyObject * _obj3 = 0; | |
4843 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
4844 | ||
4845 | self = self; | |
4846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
4847 | return NULL; | |
4848 | if (_argo0) { | |
4849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p."); | |
4852 | return NULL; | |
4853 | } | |
4854 | } | |
4855 | { | |
c8bc7bb8 RD |
4856 | _arg3 = wxString_in_helper(_obj3); |
4857 | if (_arg3 == NULL) | |
2cd2fac8 | 4858 | return NULL; |
f6bcfd97 BP |
4859 | } |
4860 | { | |
474c48f9 | 4861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4862 | _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 4863 | |
474c48f9 | 4864 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4865 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4866 | } _resultobj = Py_BuildValue("i",_result); |
4867 | { | |
4868 | if (_obj3) | |
4869 | delete _arg3; | |
4870 | } | |
4871 | return _resultobj; | |
4872 | } | |
4873 | ||
4874 | #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1)) | |
4875 | static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4876 | PyObject * _resultobj; | |
4877 | long _result; | |
4878 | wxGridTableBase * _arg0; | |
4879 | int _arg1; | |
4880 | int _arg2; | |
4881 | PyObject * _argo0 = 0; | |
4882 | char *_kwnames[] = { "self","row","col", NULL }; | |
4883 | ||
4884 | self = self; | |
4885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4886 | return NULL; | |
4887 | if (_argo0) { | |
4888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p."); | |
4891 | return NULL; | |
4892 | } | |
4893 | } | |
4894 | { | |
474c48f9 | 4895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4896 | _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2); |
f6bcfd97 | 4897 | |
474c48f9 | 4898 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4899 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4900 | } _resultobj = Py_BuildValue("l",_result); |
4901 | return _resultobj; | |
4902 | } | |
4903 | ||
4904 | #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1)) | |
4905 | static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4906 | PyObject * _resultobj; | |
4907 | double _result; | |
4908 | wxGridTableBase * _arg0; | |
4909 | int _arg1; | |
4910 | int _arg2; | |
4911 | PyObject * _argo0 = 0; | |
4912 | char *_kwnames[] = { "self","row","col", NULL }; | |
4913 | ||
4914 | self = self; | |
4915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4916 | return NULL; | |
4917 | if (_argo0) { | |
4918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p."); | |
4921 | return NULL; | |
4922 | } | |
4923 | } | |
4924 | { | |
474c48f9 | 4925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4926 | _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2); |
f6bcfd97 | 4927 | |
474c48f9 | 4928 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4929 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4930 | } _resultobj = Py_BuildValue("d",_result); |
4931 | return _resultobj; | |
4932 | } | |
4933 | ||
4934 | #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1)) | |
4935 | static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4936 | PyObject * _resultobj; | |
4937 | bool _result; | |
4938 | wxGridTableBase * _arg0; | |
4939 | int _arg1; | |
4940 | int _arg2; | |
4941 | PyObject * _argo0 = 0; | |
4942 | char *_kwnames[] = { "self","row","col", NULL }; | |
4943 | ||
4944 | self = self; | |
4945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4946 | return NULL; | |
4947 | if (_argo0) { | |
4948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p."); | |
4951 | return NULL; | |
4952 | } | |
4953 | } | |
4954 | { | |
474c48f9 | 4955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4956 | _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2); |
f6bcfd97 | 4957 | |
474c48f9 | 4958 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4959 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4960 | } _resultobj = Py_BuildValue("i",_result); |
4961 | return _resultobj; | |
4962 | } | |
4963 | ||
4964 | #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2)) | |
4965 | static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4966 | PyObject * _resultobj; | |
4967 | wxGridTableBase * _arg0; | |
4968 | int _arg1; | |
4969 | int _arg2; | |
4970 | long _arg3; | |
4971 | PyObject * _argo0 = 0; | |
4972 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
4973 | ||
4974 | self = self; | |
4975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
4976 | return NULL; | |
4977 | if (_argo0) { | |
4978 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4979 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p."); | |
4981 | return NULL; | |
4982 | } | |
4983 | } | |
4984 | { | |
474c48f9 | 4985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4986 | wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4987 | |
474c48f9 | 4988 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4989 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4990 | } Py_INCREF(Py_None); |
4991 | _resultobj = Py_None; | |
4992 | return _resultobj; | |
4993 | } | |
4994 | ||
4995 | #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2)) | |
4996 | static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4997 | PyObject * _resultobj; | |
4998 | wxGridTableBase * _arg0; | |
4999 | int _arg1; | |
5000 | int _arg2; | |
5001 | double _arg3; | |
5002 | PyObject * _argo0 = 0; | |
5003 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5004 | ||
5005 | self = self; | |
5006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5007 | return NULL; | |
5008 | if (_argo0) { | |
5009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p."); | |
5012 | return NULL; | |
5013 | } | |
5014 | } | |
5015 | { | |
474c48f9 | 5016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5017 | wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5018 | |
474c48f9 | 5019 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5020 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5021 | } Py_INCREF(Py_None); |
5022 | _resultobj = Py_None; | |
5023 | return _resultobj; | |
5024 | } | |
5025 | ||
5026 | #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2)) | |
5027 | static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5028 | PyObject * _resultobj; | |
5029 | wxGridTableBase * _arg0; | |
5030 | int _arg1; | |
5031 | int _arg2; | |
5032 | bool _arg3; | |
5033 | PyObject * _argo0 = 0; | |
5034 | int tempbool3; | |
5035 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5036 | ||
5037 | self = self; | |
5038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
5039 | return NULL; | |
5040 | if (_argo0) { | |
5041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p."); | |
5044 | return NULL; | |
5045 | } | |
5046 | } | |
5047 | _arg3 = (bool ) tempbool3; | |
5048 | { | |
474c48f9 | 5049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5050 | wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5051 | |
474c48f9 | 5052 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5053 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5054 | } Py_INCREF(Py_None); |
5055 | _resultobj = Py_None; | |
5056 | return _resultobj; | |
5057 | } | |
5058 | ||
5059 | #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear()) | |
5060 | static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5061 | PyObject * _resultobj; | |
5062 | wxGridTableBase * _arg0; | |
5063 | PyObject * _argo0 = 0; | |
5064 | char *_kwnames[] = { "self", NULL }; | |
5065 | ||
5066 | self = self; | |
5067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0)) | |
5068 | return NULL; | |
5069 | if (_argo0) { | |
5070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p."); | |
5073 | return NULL; | |
5074 | } | |
5075 | } | |
5076 | { | |
474c48f9 | 5077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5078 | wxGridTableBase_Clear(_arg0); |
f6bcfd97 | 5079 | |
474c48f9 | 5080 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5081 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5082 | } Py_INCREF(Py_None); |
5083 | _resultobj = Py_None; | |
5084 | return _resultobj; | |
5085 | } | |
5086 | ||
5087 | #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1)) | |
5088 | static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5089 | PyObject * _resultobj; | |
5090 | bool _result; | |
5091 | wxGridTableBase * _arg0; | |
5092 | size_t _arg1 = (size_t ) 0; | |
5093 | size_t _arg2 = (size_t ) 1; | |
5094 | PyObject * _argo0 = 0; | |
5095 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5096 | ||
5097 | self = self; | |
5098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5099 | return NULL; | |
5100 | if (_argo0) { | |
5101 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5102 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p."); | |
5104 | return NULL; | |
5105 | } | |
5106 | } | |
5107 | { | |
474c48f9 | 5108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5109 | _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5110 | |
474c48f9 | 5111 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5112 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5113 | } _resultobj = Py_BuildValue("i",_result); |
5114 | return _resultobj; | |
5115 | } | |
5116 | ||
5117 | #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0)) | |
5118 | static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5119 | PyObject * _resultobj; | |
5120 | bool _result; | |
5121 | wxGridTableBase * _arg0; | |
5122 | size_t _arg1 = (size_t ) 1; | |
5123 | PyObject * _argo0 = 0; | |
5124 | char *_kwnames[] = { "self","numRows", NULL }; | |
5125 | ||
5126 | self = self; | |
5127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1)) | |
5128 | return NULL; | |
5129 | if (_argo0) { | |
5130 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5131 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p."); | |
5133 | return NULL; | |
5134 | } | |
5135 | } | |
5136 | { | |
474c48f9 | 5137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5138 | _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1); |
f6bcfd97 | 5139 | |
474c48f9 | 5140 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5141 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5142 | } _resultobj = Py_BuildValue("i",_result); |
5143 | return _resultobj; | |
5144 | } | |
5145 | ||
5146 | #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1)) | |
5147 | static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5148 | PyObject * _resultobj; | |
5149 | bool _result; | |
5150 | wxGridTableBase * _arg0; | |
5151 | size_t _arg1 = (size_t ) 0; | |
5152 | size_t _arg2 = (size_t ) 1; | |
5153 | PyObject * _argo0 = 0; | |
5154 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5155 | ||
5156 | self = self; | |
5157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5158 | return NULL; | |
5159 | if (_argo0) { | |
5160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p."); | |
5163 | return NULL; | |
5164 | } | |
5165 | } | |
5166 | { | |
474c48f9 | 5167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5168 | _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5169 | |
474c48f9 | 5170 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5171 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5172 | } _resultobj = Py_BuildValue("i",_result); |
5173 | return _resultobj; | |
5174 | } | |
5175 | ||
5176 | #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1)) | |
5177 | static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5178 | PyObject * _resultobj; | |
5179 | bool _result; | |
5180 | wxGridTableBase * _arg0; | |
5181 | size_t _arg1 = (size_t ) 0; | |
5182 | size_t _arg2 = (size_t ) 1; | |
5183 | PyObject * _argo0 = 0; | |
5184 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5185 | ||
5186 | self = self; | |
5187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5188 | return NULL; | |
5189 | if (_argo0) { | |
5190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p."); | |
5193 | return NULL; | |
5194 | } | |
5195 | } | |
5196 | { | |
474c48f9 | 5197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5198 | _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5199 | |
474c48f9 | 5200 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5201 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5202 | } _resultobj = Py_BuildValue("i",_result); |
5203 | return _resultobj; | |
5204 | } | |
5205 | ||
5206 | #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0)) | |
5207 | static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5208 | PyObject * _resultobj; | |
5209 | bool _result; | |
5210 | wxGridTableBase * _arg0; | |
5211 | size_t _arg1 = (size_t ) 1; | |
5212 | PyObject * _argo0 = 0; | |
5213 | char *_kwnames[] = { "self","numCols", NULL }; | |
5214 | ||
5215 | self = self; | |
5216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1)) | |
5217 | return NULL; | |
5218 | if (_argo0) { | |
5219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p."); | |
5222 | return NULL; | |
5223 | } | |
5224 | } | |
5225 | { | |
474c48f9 | 5226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5227 | _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1); |
f6bcfd97 | 5228 | |
474c48f9 | 5229 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5230 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5231 | } _resultobj = Py_BuildValue("i",_result); |
5232 | return _resultobj; | |
5233 | } | |
5234 | ||
5235 | #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1)) | |
5236 | static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5237 | PyObject * _resultobj; | |
5238 | bool _result; | |
5239 | wxGridTableBase * _arg0; | |
5240 | size_t _arg1 = (size_t ) 0; | |
5241 | size_t _arg2 = (size_t ) 1; | |
5242 | PyObject * _argo0 = 0; | |
5243 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5244 | ||
5245 | self = self; | |
5246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5247 | return NULL; | |
5248 | if (_argo0) { | |
5249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p."); | |
5252 | return NULL; | |
5253 | } | |
5254 | } | |
5255 | { | |
474c48f9 | 5256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5257 | _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5258 | |
474c48f9 | 5259 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5260 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5261 | } _resultobj = Py_BuildValue("i",_result); |
5262 | return _resultobj; | |
5263 | } | |
5264 | ||
5265 | #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0)) | |
5266 | static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5267 | PyObject * _resultobj; | |
5268 | wxString * _result; | |
5269 | wxGridTableBase * _arg0; | |
5270 | int _arg1; | |
5271 | PyObject * _argo0 = 0; | |
5272 | char *_kwnames[] = { "self","row", NULL }; | |
5273 | ||
5274 | self = self; | |
5275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
5276 | return NULL; | |
5277 | if (_argo0) { | |
5278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p."); | |
5281 | return NULL; | |
5282 | } | |
5283 | } | |
5284 | { | |
474c48f9 | 5285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5286 | _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 5287 | |
474c48f9 | 5288 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5289 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5290 | }{ |
c8bc7bb8 RD |
5291 | #if wxUSE_UNICODE |
5292 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5293 | #else | |
f6bcfd97 | 5294 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5295 | #endif |
f6bcfd97 BP |
5296 | } |
5297 | { | |
5298 | delete _result; | |
5299 | } | |
5300 | return _resultobj; | |
5301 | } | |
5302 | ||
5303 | #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0)) | |
5304 | static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5305 | PyObject * _resultobj; | |
5306 | wxString * _result; | |
5307 | wxGridTableBase * _arg0; | |
5308 | int _arg1; | |
5309 | PyObject * _argo0 = 0; | |
5310 | char *_kwnames[] = { "self","col", NULL }; | |
5311 | ||
5312 | self = self; | |
5313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
5314 | return NULL; | |
5315 | if (_argo0) { | |
5316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p."); | |
5319 | return NULL; | |
5320 | } | |
5321 | } | |
5322 | { | |
474c48f9 | 5323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5324 | _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 5325 | |
474c48f9 | 5326 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5327 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5328 | }{ |
c8bc7bb8 RD |
5329 | #if wxUSE_UNICODE |
5330 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5331 | #else | |
f6bcfd97 | 5332 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5333 | #endif |
f6bcfd97 BP |
5334 | } |
5335 | { | |
5336 | delete _result; | |
5337 | } | |
5338 | return _resultobj; | |
5339 | } | |
5340 | ||
5341 | #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1)) | |
5342 | static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5343 | PyObject * _resultobj; | |
5344 | wxGridTableBase * _arg0; | |
5345 | int _arg1; | |
5346 | wxString * _arg2; | |
5347 | PyObject * _argo0 = 0; | |
5348 | PyObject * _obj2 = 0; | |
5349 | char *_kwnames[] = { "self","row","value", NULL }; | |
5350 | ||
5351 | self = self; | |
5352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5353 | return NULL; | |
5354 | if (_argo0) { | |
5355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p."); | |
5358 | return NULL; | |
5359 | } | |
5360 | } | |
5361 | { | |
c8bc7bb8 RD |
5362 | _arg2 = wxString_in_helper(_obj2); |
5363 | if (_arg2 == NULL) | |
2cd2fac8 | 5364 | return NULL; |
f6bcfd97 BP |
5365 | } |
5366 | { | |
474c48f9 | 5367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5368 | wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5369 | |
474c48f9 | 5370 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5371 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5372 | } Py_INCREF(Py_None); |
5373 | _resultobj = Py_None; | |
5374 | { | |
5375 | if (_obj2) | |
5376 | delete _arg2; | |
5377 | } | |
5378 | return _resultobj; | |
5379 | } | |
5380 | ||
5381 | #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1)) | |
5382 | static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5383 | PyObject * _resultobj; | |
5384 | wxGridTableBase * _arg0; | |
5385 | int _arg1; | |
5386 | wxString * _arg2; | |
5387 | PyObject * _argo0 = 0; | |
5388 | PyObject * _obj2 = 0; | |
5389 | char *_kwnames[] = { "self","col","value", NULL }; | |
5390 | ||
5391 | self = self; | |
5392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5393 | return NULL; | |
5394 | if (_argo0) { | |
5395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p."); | |
5398 | return NULL; | |
5399 | } | |
5400 | } | |
5401 | { | |
c8bc7bb8 RD |
5402 | _arg2 = wxString_in_helper(_obj2); |
5403 | if (_arg2 == NULL) | |
2cd2fac8 | 5404 | return NULL; |
f6bcfd97 BP |
5405 | } |
5406 | { | |
474c48f9 | 5407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5408 | wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5409 | |
474c48f9 | 5410 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5411 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5412 | } Py_INCREF(Py_None); |
5413 | _resultobj = Py_None; | |
5414 | { | |
5415 | if (_obj2) | |
5416 | delete _arg2; | |
5417 | } | |
5418 | return _resultobj; | |
5419 | } | |
5420 | ||
5421 | #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes()) | |
5422 | static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5423 | PyObject * _resultobj; | |
5424 | bool _result; | |
5425 | wxGridTableBase * _arg0; | |
5426 | PyObject * _argo0 = 0; | |
5427 | char *_kwnames[] = { "self", NULL }; | |
5428 | ||
5429 | self = self; | |
5430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0)) | |
5431 | return NULL; | |
5432 | if (_argo0) { | |
5433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p."); | |
5436 | return NULL; | |
5437 | } | |
5438 | } | |
5439 | { | |
474c48f9 | 5440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5441 | _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0); |
f6bcfd97 | 5442 | |
474c48f9 | 5443 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5444 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5445 | } _resultobj = Py_BuildValue("i",_result); |
5446 | return _resultobj; | |
5447 | } | |
5448 | ||
9df61a29 | 5449 | #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
5450 | static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
5451 | PyObject * _resultobj; | |
5452 | wxGridCellAttr * _result; | |
5453 | wxGridTableBase * _arg0; | |
5454 | int _arg1; | |
5455 | int _arg2; | |
9df61a29 | 5456 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 5457 | PyObject * _argo0 = 0; |
9df61a29 | 5458 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
5459 | char _ptemp[128]; |
5460 | ||
5461 | self = self; | |
9df61a29 | 5462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
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_GetAttr. Expected _wxGridTableBase_p."); | |
5468 | return NULL; | |
5469 | } | |
5470 | } | |
5471 | { | |
474c48f9 | 5472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5473 | _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5474 | |
474c48f9 | 5475 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5476 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5477 | } if (_result) { |
5478 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
5479 | _resultobj = Py_BuildValue("s",_ptemp); | |
5480 | } else { | |
5481 | Py_INCREF(Py_None); | |
5482 | _resultobj = Py_None; | |
5483 | } | |
5484 | return _resultobj; | |
5485 | } | |
5486 | ||
5487 | #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
5488 | static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5489 | PyObject * _resultobj; | |
5490 | wxGridTableBase * _arg0; | |
5491 | wxGridCellAttr * _arg1; | |
5492 | int _arg2; | |
5493 | int _arg3; | |
5494 | PyObject * _argo0 = 0; | |
5495 | PyObject * _argo1 = 0; | |
5496 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
5497 | ||
5498 | self = self; | |
5499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
5500 | return NULL; | |
5501 | if (_argo0) { | |
5502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p."); | |
5505 | return NULL; | |
5506 | } | |
5507 | } | |
5508 | if (_argo1) { | |
5509 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5510 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p."); | |
5512 | return NULL; | |
5513 | } | |
5514 | } | |
5515 | { | |
474c48f9 | 5516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5517 | wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5518 | |
474c48f9 | 5519 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5520 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5521 | } Py_INCREF(Py_None); |
5522 | _resultobj = Py_None; | |
5523 | return _resultobj; | |
5524 | } | |
5525 | ||
5526 | #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
5527 | static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5528 | PyObject * _resultobj; | |
5529 | wxGridTableBase * _arg0; | |
5530 | wxGridCellAttr * _arg1; | |
5531 | int _arg2; | |
5532 | PyObject * _argo0 = 0; | |
5533 | PyObject * _argo1 = 0; | |
5534 | char *_kwnames[] = { "self","attr","row", NULL }; | |
5535 | ||
5536 | self = self; | |
5537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5538 | return NULL; | |
5539 | if (_argo0) { | |
5540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p."); | |
5543 | return NULL; | |
5544 | } | |
5545 | } | |
5546 | if (_argo1) { | |
5547 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5548 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p."); | |
5550 | return NULL; | |
5551 | } | |
5552 | } | |
5553 | { | |
474c48f9 | 5554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5555 | wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 5556 | |
474c48f9 | 5557 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5558 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5559 | } Py_INCREF(Py_None); |
5560 | _resultobj = Py_None; | |
5561 | return _resultobj; | |
5562 | } | |
5563 | ||
5564 | #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
5565 | static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5566 | PyObject * _resultobj; | |
5567 | wxGridTableBase * _arg0; | |
5568 | wxGridCellAttr * _arg1; | |
5569 | int _arg2; | |
5570 | PyObject * _argo0 = 0; | |
5571 | PyObject * _argo1 = 0; | |
5572 | char *_kwnames[] = { "self","attr","col", NULL }; | |
5573 | ||
5574 | self = self; | |
5575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5576 | return NULL; | |
5577 | if (_argo0) { | |
5578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p."); | |
5581 | return NULL; | |
5582 | } | |
5583 | } | |
5584 | if (_argo1) { | |
5585 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5586 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p."); | |
5588 | return NULL; | |
5589 | } | |
5590 | } | |
5591 | { | |
474c48f9 | 5592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5593 | wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 5594 | |
474c48f9 | 5595 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5596 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5597 | } Py_INCREF(Py_None); |
5598 | _resultobj = Py_None; | |
5599 | return _resultobj; | |
5600 | } | |
5601 | ||
5602 | static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) { | |
5603 | wxPyGridTableBase *src; | |
5604 | wxGridTableBase *dest; | |
5605 | src = (wxPyGridTableBase *) ptr; | |
5606 | dest = (wxGridTableBase *) src; | |
5607 | return (void *) dest; | |
5608 | } | |
5609 | ||
9df61a29 RD |
5610 | static void *SwigwxPyGridTableBaseTowxObject(void *ptr) { |
5611 | wxPyGridTableBase *src; | |
5612 | wxObject *dest; | |
5613 | src = (wxPyGridTableBase *) ptr; | |
5614 | dest = (wxObject *) src; | |
5615 | return (void *) dest; | |
5616 | } | |
5617 | ||
f6bcfd97 BP |
5618 | #define new_wxPyGridTableBase() (new wxPyGridTableBase()) |
5619 | static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5620 | PyObject * _resultobj; | |
5621 | wxPyGridTableBase * _result; | |
5622 | char *_kwnames[] = { NULL }; | |
5623 | char _ptemp[128]; | |
5624 | ||
5625 | self = self; | |
5626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames)) | |
5627 | return NULL; | |
5628 | { | |
474c48f9 | 5629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5630 | _result = (wxPyGridTableBase *)new_wxPyGridTableBase(); |
f6bcfd97 | 5631 | |
474c48f9 | 5632 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5633 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5634 | } if (_result) { |
5635 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p"); | |
5636 | _resultobj = Py_BuildValue("s",_ptemp); | |
5637 | } else { | |
5638 | Py_INCREF(Py_None); | |
5639 | _resultobj = Py_None; | |
5640 | } | |
5641 | return _resultobj; | |
5642 | } | |
5643 | ||
0220cbc1 RD |
5644 | #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
5645 | static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5646 | PyObject * _resultobj; |
5647 | wxPyGridTableBase * _arg0; | |
5648 | PyObject * _arg1; | |
5649 | PyObject * _arg2; | |
5650 | PyObject * _argo0 = 0; | |
5651 | PyObject * _obj1 = 0; | |
5652 | PyObject * _obj2 = 0; | |
5653 | char *_kwnames[] = { "self","self","_class", NULL }; | |
5654 | ||
5655 | self = self; | |
0220cbc1 | 5656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
5657 | return NULL; |
5658 | if (_argo0) { | |
5659 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5660 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
0220cbc1 | 5661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p."); |
f6bcfd97 BP |
5662 | return NULL; |
5663 | } | |
5664 | } | |
5665 | { | |
5666 | _arg1 = _obj1; | |
5667 | } | |
5668 | { | |
5669 | _arg2 = _obj2; | |
5670 | } | |
5671 | { | |
474c48f9 | 5672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5673 | wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 5674 | |
474c48f9 | 5675 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5676 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5677 | } Py_INCREF(Py_None); |
5678 | _resultobj = Py_None; | |
5679 | return _resultobj; | |
5680 | } | |
5681 | ||
5682 | static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; } | |
5683 | static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5684 | PyObject * _resultobj; | |
5685 | wxPyGridTableBase * _arg0; | |
5686 | PyObject * _argo0 = 0; | |
5687 | char *_kwnames[] = { "self", NULL }; | |
5688 | ||
5689 | self = self; | |
5690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0)) | |
5691 | return NULL; | |
5692 | if (_argo0) { | |
5693 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5694 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p."); | |
5696 | return NULL; | |
5697 | } | |
5698 | } | |
5699 | { | |
474c48f9 | 5700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5701 | wxPyGridTableBase_Destroy(_arg0); |
f6bcfd97 | 5702 | |
474c48f9 | 5703 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5704 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5705 | } Py_INCREF(Py_None); |
5706 | _resultobj = Py_None; | |
5707 | return _resultobj; | |
5708 | } | |
5709 | ||
5710 | #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1)) | |
5711 | static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5712 | PyObject * _resultobj; | |
5713 | wxString * _result; | |
5714 | wxPyGridTableBase * _arg0; | |
5715 | int _arg1; | |
5716 | int _arg2; | |
5717 | PyObject * _argo0 = 0; | |
5718 | char *_kwnames[] = { "self","row","col", NULL }; | |
5719 | ||
5720 | self = self; | |
5721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5722 | return NULL; | |
5723 | if (_argo0) { | |
5724 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5725 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p."); | |
5727 | return NULL; | |
5728 | } | |
5729 | } | |
5730 | { | |
474c48f9 | 5731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5732 | _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2)); |
f6bcfd97 | 5733 | |
474c48f9 | 5734 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5735 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5736 | }{ |
c8bc7bb8 RD |
5737 | #if wxUSE_UNICODE |
5738 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5739 | #else | |
f6bcfd97 | 5740 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5741 | #endif |
f6bcfd97 BP |
5742 | } |
5743 | { | |
5744 | delete _result; | |
5745 | } | |
5746 | return _resultobj; | |
5747 | } | |
5748 | ||
5749 | #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5750 | static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5751 | PyObject * _resultobj; | |
5752 | bool _result; | |
5753 | wxPyGridTableBase * _arg0; | |
5754 | int _arg1; | |
5755 | int _arg2; | |
5756 | wxString * _arg3; | |
5757 | PyObject * _argo0 = 0; | |
5758 | PyObject * _obj3 = 0; | |
5759 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5760 | ||
5761 | self = self; | |
5762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5763 | return NULL; | |
5764 | if (_argo0) { | |
5765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p."); | |
5768 | return NULL; | |
5769 | } | |
5770 | } | |
5771 | { | |
c8bc7bb8 RD |
5772 | _arg3 = wxString_in_helper(_obj3); |
5773 | if (_arg3 == NULL) | |
2cd2fac8 | 5774 | return NULL; |
f6bcfd97 BP |
5775 | } |
5776 | { | |
474c48f9 | 5777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5778 | _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5779 | |
474c48f9 | 5780 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5781 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5782 | } _resultobj = Py_BuildValue("i",_result); |
5783 | { | |
5784 | if (_obj3) | |
5785 | delete _arg3; | |
5786 | } | |
5787 | return _resultobj; | |
5788 | } | |
5789 | ||
5790 | #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5791 | static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5792 | PyObject * _resultobj; | |
5793 | bool _result; | |
5794 | wxPyGridTableBase * _arg0; | |
5795 | int _arg1; | |
5796 | int _arg2; | |
5797 | wxString * _arg3; | |
5798 | PyObject * _argo0 = 0; | |
5799 | PyObject * _obj3 = 0; | |
5800 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5801 | ||
5802 | self = self; | |
5803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5804 | return NULL; | |
5805 | if (_argo0) { | |
5806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p."); | |
5809 | return NULL; | |
5810 | } | |
5811 | } | |
5812 | { | |
c8bc7bb8 RD |
5813 | _arg3 = wxString_in_helper(_obj3); |
5814 | if (_arg3 == NULL) | |
2cd2fac8 | 5815 | return NULL; |
f6bcfd97 BP |
5816 | } |
5817 | { | |
474c48f9 | 5818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5819 | _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5820 | |
474c48f9 | 5821 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5822 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5823 | } _resultobj = Py_BuildValue("i",_result); |
5824 | { | |
5825 | if (_obj3) | |
5826 | delete _arg3; | |
5827 | } | |
5828 | return _resultobj; | |
5829 | } | |
5830 | ||
5831 | #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear()) | |
5832 | static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5833 | PyObject * _resultobj; | |
5834 | wxPyGridTableBase * _arg0; | |
5835 | PyObject * _argo0 = 0; | |
5836 | char *_kwnames[] = { "self", NULL }; | |
5837 | ||
5838 | self = self; | |
5839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0)) | |
5840 | return NULL; | |
5841 | if (_argo0) { | |
5842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p."); | |
5845 | return NULL; | |
5846 | } | |
5847 | } | |
5848 | { | |
474c48f9 | 5849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5850 | wxPyGridTableBase_base_Clear(_arg0); |
f6bcfd97 | 5851 | |
474c48f9 | 5852 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5853 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5854 | } Py_INCREF(Py_None); |
5855 | _resultobj = Py_None; | |
5856 | return _resultobj; | |
5857 | } | |
5858 | ||
5859 | #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1)) | |
5860 | static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5861 | PyObject * _resultobj; | |
5862 | bool _result; | |
5863 | wxPyGridTableBase * _arg0; | |
5864 | size_t _arg1 = (size_t ) 0; | |
5865 | size_t _arg2 = (size_t ) 1; | |
5866 | PyObject * _argo0 = 0; | |
5867 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5868 | ||
5869 | self = self; | |
5870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5871 | return NULL; | |
5872 | if (_argo0) { | |
5873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p."); | |
5876 | return NULL; | |
5877 | } | |
5878 | } | |
5879 | { | |
474c48f9 | 5880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5881 | _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5882 | |
474c48f9 | 5883 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5884 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5885 | } _resultobj = Py_BuildValue("i",_result); |
5886 | return _resultobj; | |
5887 | } | |
5888 | ||
5889 | #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0)) | |
5890 | static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5891 | PyObject * _resultobj; | |
5892 | bool _result; | |
5893 | wxPyGridTableBase * _arg0; | |
5894 | size_t _arg1 = (size_t ) 1; | |
5895 | PyObject * _argo0 = 0; | |
5896 | char *_kwnames[] = { "self","numRows", NULL }; | |
5897 | ||
5898 | self = self; | |
5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1)) | |
5900 | return NULL; | |
5901 | if (_argo0) { | |
5902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p."); | |
5905 | return NULL; | |
5906 | } | |
5907 | } | |
5908 | { | |
474c48f9 | 5909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5910 | _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1); |
f6bcfd97 | 5911 | |
474c48f9 | 5912 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5913 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5914 | } _resultobj = Py_BuildValue("i",_result); |
5915 | return _resultobj; | |
5916 | } | |
5917 | ||
5918 | #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1)) | |
5919 | static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5920 | PyObject * _resultobj; | |
5921 | bool _result; | |
5922 | wxPyGridTableBase * _arg0; | |
5923 | size_t _arg1 = (size_t ) 0; | |
5924 | size_t _arg2 = (size_t ) 1; | |
5925 | PyObject * _argo0 = 0; | |
5926 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5927 | ||
5928 | self = self; | |
5929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5930 | return NULL; | |
5931 | if (_argo0) { | |
5932 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5933 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p."); | |
5935 | return NULL; | |
5936 | } | |
5937 | } | |
5938 | { | |
474c48f9 | 5939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5940 | _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5941 | |
474c48f9 | 5942 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5943 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5944 | } _resultobj = Py_BuildValue("i",_result); |
5945 | return _resultobj; | |
5946 | } | |
5947 | ||
5948 | #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1)) | |
5949 | static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5950 | PyObject * _resultobj; | |
5951 | bool _result; | |
5952 | wxPyGridTableBase * _arg0; | |
5953 | size_t _arg1 = (size_t ) 0; | |
5954 | size_t _arg2 = (size_t ) 1; | |
5955 | PyObject * _argo0 = 0; | |
5956 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5957 | ||
5958 | self = self; | |
5959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5960 | return NULL; | |
5961 | if (_argo0) { | |
5962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p."); | |
5965 | return NULL; | |
5966 | } | |
5967 | } | |
5968 | { | |
474c48f9 | 5969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5970 | _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5971 | |
474c48f9 | 5972 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5973 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5974 | } _resultobj = Py_BuildValue("i",_result); |
5975 | return _resultobj; | |
5976 | } | |
5977 | ||
5978 | #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0)) | |
5979 | static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5980 | PyObject * _resultobj; | |
5981 | bool _result; | |
5982 | wxPyGridTableBase * _arg0; | |
5983 | size_t _arg1 = (size_t ) 1; | |
5984 | PyObject * _argo0 = 0; | |
5985 | char *_kwnames[] = { "self","numCols", NULL }; | |
5986 | ||
5987 | self = self; | |
5988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1)) | |
5989 | return NULL; | |
5990 | if (_argo0) { | |
5991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p."); | |
5994 | return NULL; | |
5995 | } | |
5996 | } | |
5997 | { | |
474c48f9 | 5998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5999 | _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1); |
f6bcfd97 | 6000 | |
474c48f9 | 6001 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6002 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6003 | } _resultobj = Py_BuildValue("i",_result); |
6004 | return _resultobj; | |
6005 | } | |
6006 | ||
6007 | #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1)) | |
6008 | static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6009 | PyObject * _resultobj; | |
6010 | bool _result; | |
6011 | wxPyGridTableBase * _arg0; | |
6012 | size_t _arg1 = (size_t ) 0; | |
6013 | size_t _arg2 = (size_t ) 1; | |
6014 | PyObject * _argo0 = 0; | |
6015 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
6016 | ||
6017 | self = self; | |
6018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6019 | return NULL; | |
6020 | if (_argo0) { | |
6021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p."); | |
6024 | return NULL; | |
6025 | } | |
6026 | } | |
6027 | { | |
474c48f9 | 6028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6029 | _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 6030 | |
474c48f9 | 6031 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6032 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6033 | } _resultobj = Py_BuildValue("i",_result); |
6034 | return _resultobj; | |
6035 | } | |
6036 | ||
6037 | #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0)) | |
6038 | static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6039 | PyObject * _resultobj; | |
6040 | wxString * _result; | |
6041 | wxPyGridTableBase * _arg0; | |
6042 | int _arg1; | |
6043 | PyObject * _argo0 = 0; | |
6044 | char *_kwnames[] = { "self","row", NULL }; | |
6045 | ||
6046 | self = self; | |
6047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
6048 | return NULL; | |
6049 | if (_argo0) { | |
6050 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6051 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p."); | |
6053 | return NULL; | |
6054 | } | |
6055 | } | |
6056 | { | |
474c48f9 | 6057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6058 | _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 6059 | |
474c48f9 | 6060 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6061 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6062 | }{ |
c8bc7bb8 RD |
6063 | #if wxUSE_UNICODE |
6064 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
6065 | #else | |
f6bcfd97 | 6066 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6067 | #endif |
f6bcfd97 BP |
6068 | } |
6069 | { | |
6070 | delete _result; | |
6071 | } | |
6072 | return _resultobj; | |
6073 | } | |
6074 | ||
6075 | #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0)) | |
6076 | static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6077 | PyObject * _resultobj; | |
6078 | wxString * _result; | |
6079 | wxPyGridTableBase * _arg0; | |
6080 | int _arg1; | |
6081 | PyObject * _argo0 = 0; | |
6082 | char *_kwnames[] = { "self","col", NULL }; | |
6083 | ||
6084 | self = self; | |
6085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
6086 | return NULL; | |
6087 | if (_argo0) { | |
6088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p."); | |
6091 | return NULL; | |
6092 | } | |
6093 | } | |
6094 | { | |
474c48f9 | 6095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6096 | _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 6097 | |
474c48f9 | 6098 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6099 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6100 | }{ |
c8bc7bb8 RD |
6101 | #if wxUSE_UNICODE |
6102 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
6103 | #else | |
f6bcfd97 | 6104 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6105 | #endif |
f6bcfd97 BP |
6106 | } |
6107 | { | |
6108 | delete _result; | |
6109 | } | |
6110 | return _resultobj; | |
6111 | } | |
6112 | ||
6113 | #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1)) | |
6114 | static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6115 | PyObject * _resultobj; | |
6116 | wxPyGridTableBase * _arg0; | |
6117 | int _arg1; | |
6118 | wxString * _arg2; | |
6119 | PyObject * _argo0 = 0; | |
6120 | PyObject * _obj2 = 0; | |
6121 | char *_kwnames[] = { "self","row","value", NULL }; | |
6122 | ||
6123 | self = self; | |
6124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6125 | return NULL; | |
6126 | if (_argo0) { | |
6127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p."); | |
6130 | return NULL; | |
6131 | } | |
6132 | } | |
6133 | { | |
c8bc7bb8 RD |
6134 | _arg2 = wxString_in_helper(_obj2); |
6135 | if (_arg2 == NULL) | |
f6bcfd97 | 6136 | return NULL; |
f6bcfd97 BP |
6137 | } |
6138 | { | |
474c48f9 | 6139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6140 | wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6141 | |
474c48f9 | 6142 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6143 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6144 | } Py_INCREF(Py_None); |
6145 | _resultobj = Py_None; | |
6146 | { | |
6147 | if (_obj2) | |
6148 | delete _arg2; | |
6149 | } | |
6150 | return _resultobj; | |
6151 | } | |
6152 | ||
6153 | #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1)) | |
6154 | static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6155 | PyObject * _resultobj; | |
6156 | wxPyGridTableBase * _arg0; | |
6157 | int _arg1; | |
6158 | wxString * _arg2; | |
6159 | PyObject * _argo0 = 0; | |
6160 | PyObject * _obj2 = 0; | |
6161 | char *_kwnames[] = { "self","col","value", NULL }; | |
6162 | ||
6163 | self = self; | |
6164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6165 | return NULL; | |
6166 | if (_argo0) { | |
6167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p."); | |
6170 | return NULL; | |
6171 | } | |
6172 | } | |
6173 | { | |
c8bc7bb8 RD |
6174 | _arg2 = wxString_in_helper(_obj2); |
6175 | if (_arg2 == NULL) | |
2cd2fac8 | 6176 | return NULL; |
f6bcfd97 BP |
6177 | } |
6178 | { | |
474c48f9 | 6179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6180 | wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6181 | |
474c48f9 | 6182 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6183 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6184 | } Py_INCREF(Py_None); |
6185 | _resultobj = Py_None; | |
6186 | { | |
6187 | if (_obj2) | |
6188 | delete _arg2; | |
6189 | } | |
6190 | return _resultobj; | |
6191 | } | |
6192 | ||
6193 | #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes()) | |
6194 | static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6195 | PyObject * _resultobj; | |
6196 | bool _result; | |
6197 | wxPyGridTableBase * _arg0; | |
6198 | PyObject * _argo0 = 0; | |
6199 | char *_kwnames[] = { "self", NULL }; | |
6200 | ||
6201 | self = self; | |
6202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0)) | |
6203 | return NULL; | |
6204 | if (_argo0) { | |
6205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p."); | |
6208 | return NULL; | |
6209 | } | |
6210 | } | |
6211 | { | |
474c48f9 | 6212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6213 | _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0); |
f6bcfd97 | 6214 | |
474c48f9 | 6215 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6216 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6217 | } _resultobj = Py_BuildValue("i",_result); |
6218 | return _resultobj; | |
6219 | } | |
6220 | ||
9df61a29 | 6221 | #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
6222 | static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
6223 | PyObject * _resultobj; | |
6224 | wxGridCellAttr * _result; | |
6225 | wxPyGridTableBase * _arg0; | |
6226 | int _arg1; | |
6227 | int _arg2; | |
9df61a29 | 6228 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 6229 | PyObject * _argo0 = 0; |
9df61a29 | 6230 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
6231 | char _ptemp[128]; |
6232 | ||
6233 | self = self; | |
9df61a29 | 6234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
6235 | return NULL; |
6236 | if (_argo0) { | |
6237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p."); | |
6240 | return NULL; | |
6241 | } | |
6242 | } | |
6243 | { | |
474c48f9 | 6244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6245 | _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6246 | |
474c48f9 | 6247 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6248 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6249 | } if (_result) { |
6250 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
6251 | _resultobj = Py_BuildValue("s",_ptemp); | |
6252 | } else { | |
6253 | Py_INCREF(Py_None); | |
6254 | _resultobj = Py_None; | |
6255 | } | |
6256 | return _resultobj; | |
6257 | } | |
6258 | ||
6259 | #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
6260 | static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6261 | PyObject * _resultobj; | |
6262 | wxPyGridTableBase * _arg0; | |
6263 | wxGridCellAttr * _arg1; | |
6264 | int _arg2; | |
6265 | int _arg3; | |
6266 | PyObject * _argo0 = 0; | |
6267 | PyObject * _argo1 = 0; | |
6268 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
6269 | ||
6270 | self = self; | |
6271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
6272 | return NULL; | |
6273 | if (_argo0) { | |
6274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p."); | |
6277 | return NULL; | |
6278 | } | |
6279 | } | |
6280 | if (_argo1) { | |
6281 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6282 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p."); | |
6284 | return NULL; | |
6285 | } | |
6286 | } | |
6287 | { | |
474c48f9 | 6288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6289 | wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6290 | |
474c48f9 | 6291 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6292 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6293 | } Py_INCREF(Py_None); |
6294 | _resultobj = Py_None; | |
6295 | return _resultobj; | |
6296 | } | |
6297 | ||
6298 | #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1)) | |
6299 | static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6300 | PyObject * _resultobj; | |
6301 | wxPyGridTableBase * _arg0; | |
6302 | wxGridCellAttr * _arg1; | |
6303 | int _arg2; | |
6304 | PyObject * _argo0 = 0; | |
6305 | PyObject * _argo1 = 0; | |
6306 | char *_kwnames[] = { "self","attr","row", NULL }; | |
6307 | ||
6308 | self = self; | |
6309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6310 | return NULL; | |
6311 | if (_argo0) { | |
6312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p."); | |
6315 | return NULL; | |
6316 | } | |
6317 | } | |
6318 | if (_argo1) { | |
6319 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6320 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p."); | |
6322 | return NULL; | |
6323 | } | |
6324 | } | |
6325 | { | |
474c48f9 | 6326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6327 | wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6328 | |
474c48f9 | 6329 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6330 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6331 | } Py_INCREF(Py_None); |
6332 | _resultobj = Py_None; | |
6333 | return _resultobj; | |
6334 | } | |
6335 | ||
6336 | #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1)) | |
6337 | static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6338 | PyObject * _resultobj; | |
6339 | wxPyGridTableBase * _arg0; | |
6340 | wxGridCellAttr * _arg1; | |
6341 | int _arg2; | |
6342 | PyObject * _argo0 = 0; | |
6343 | PyObject * _argo1 = 0; | |
6344 | char *_kwnames[] = { "self","attr","col", NULL }; | |
6345 | ||
6346 | self = self; | |
6347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6348 | return NULL; | |
6349 | if (_argo0) { | |
6350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p."); | |
6353 | return NULL; | |
6354 | } | |
6355 | } | |
6356 | if (_argo1) { | |
6357 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6358 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p."); | |
6360 | return NULL; | |
6361 | } | |
6362 | } | |
6363 | { | |
474c48f9 | 6364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6365 | wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6366 | |
474c48f9 | 6367 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6368 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6369 | } Py_INCREF(Py_None); |
6370 | _resultobj = Py_None; | |
6371 | return _resultobj; | |
6372 | } | |
6373 | ||
6374 | static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) { | |
6375 | wxGridStringTable *src; | |
6376 | wxGridTableBase *dest; | |
6377 | src = (wxGridStringTable *) ptr; | |
6378 | dest = (wxGridTableBase *) src; | |
6379 | return (void *) dest; | |
6380 | } | |
6381 | ||
9df61a29 RD |
6382 | static void *SwigwxGridStringTableTowxObject(void *ptr) { |
6383 | wxGridStringTable *src; | |
6384 | wxObject *dest; | |
6385 | src = (wxGridStringTable *) ptr; | |
6386 | dest = (wxObject *) src; | |
6387 | return (void *) dest; | |
6388 | } | |
6389 | ||
f6bcfd97 BP |
6390 | #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1)) |
6391 | static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6392 | PyObject * _resultobj; | |
6393 | wxGridStringTable * _result; | |
6394 | int _arg0 = (int ) 0; | |
6395 | int _arg1 = (int ) 0; | |
6396 | char *_kwnames[] = { "numRows","numCols", NULL }; | |
6397 | char _ptemp[128]; | |
6398 | ||
6399 | self = self; | |
6400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1)) | |
6401 | return NULL; | |
6402 | { | |
474c48f9 | 6403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6404 | _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1); |
f6bcfd97 | 6405 | |
474c48f9 | 6406 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6407 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6408 | } if (_result) { |
6409 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p"); | |
6410 | _resultobj = Py_BuildValue("s",_ptemp); | |
6411 | } else { | |
6412 | Py_INCREF(Py_None); | |
6413 | _resultobj = Py_None; | |
6414 | } | |
6415 | return _resultobj; | |
6416 | } | |
6417 | ||
6418 | #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6419 | static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6420 | PyObject * _resultobj; | |
6421 | wxGridTableMessage * _result; | |
6422 | wxGridTableBase * _arg0; | |
6423 | int _arg1; | |
6424 | int _arg2 = (int ) -1; | |
6425 | int _arg3 = (int ) -1; | |
6426 | PyObject * _argo0 = 0; | |
6427 | char *_kwnames[] = { "table","id","comInt1","comInt2", NULL }; | |
6428 | char _ptemp[128]; | |
6429 | ||
6430 | self = self; | |
6431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
6432 | return NULL; | |
6433 | if (_argo0) { | |
6434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p."); | |
6437 | return NULL; | |
6438 | } | |
6439 | } | |
6440 | { | |
474c48f9 | 6441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6442 | _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6443 | |
474c48f9 | 6444 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6445 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6446 | } if (_result) { |
6447 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p"); | |
6448 | _resultobj = Py_BuildValue("s",_ptemp); | |
6449 | } else { | |
6450 | Py_INCREF(Py_None); | |
6451 | _resultobj = Py_None; | |
6452 | } | |
6453 | return _resultobj; | |
6454 | } | |
6455 | ||
6456 | #define delete_wxGridTableMessage(_swigobj) (delete _swigobj) | |
6457 | static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6458 | PyObject * _resultobj; | |
6459 | wxGridTableMessage * _arg0; | |
6460 | PyObject * _argo0 = 0; | |
6461 | char *_kwnames[] = { "self", NULL }; | |
6462 | ||
6463 | self = self; | |
6464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0)) | |
6465 | return NULL; | |
6466 | if (_argo0) { | |
6467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p."); | |
6470 | return NULL; | |
6471 | } | |
6472 | } | |
6473 | { | |
474c48f9 | 6474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6475 | delete_wxGridTableMessage(_arg0); |
f6bcfd97 | 6476 | |
474c48f9 | 6477 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6478 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6479 | } Py_INCREF(Py_None); |
6480 | _resultobj = Py_None; | |
6481 | return _resultobj; | |
6482 | } | |
6483 | ||
6484 | #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0)) | |
6485 | static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6486 | PyObject * _resultobj; | |
6487 | wxGridTableMessage * _arg0; | |
6488 | wxGridTableBase * _arg1; | |
6489 | PyObject * _argo0 = 0; | |
6490 | PyObject * _argo1 = 0; | |
6491 | char *_kwnames[] = { "self","table", NULL }; | |
6492 | ||
6493 | self = self; | |
6494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1)) | |
6495 | return NULL; | |
6496 | if (_argo0) { | |
6497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p."); | |
6500 | return NULL; | |
6501 | } | |
6502 | } | |
6503 | if (_argo1) { | |
6504 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6505 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) { | |
6506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p."); | |
6507 | return NULL; | |
6508 | } | |
6509 | } | |
6510 | { | |
474c48f9 | 6511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6512 | wxGridTableMessage_SetTableObject(_arg0,_arg1); |
f6bcfd97 | 6513 | |
474c48f9 | 6514 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6515 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6516 | } Py_INCREF(Py_None); |
6517 | _resultobj = Py_None; | |
6518 | return _resultobj; | |
6519 | } | |
6520 | ||
6521 | #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject()) | |
6522 | static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6523 | PyObject * _resultobj; | |
6524 | wxGridTableBase * _result; | |
6525 | wxGridTableMessage * _arg0; | |
6526 | PyObject * _argo0 = 0; | |
6527 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
6528 | |
6529 | self = self; | |
6530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0)) | |
6531 | return NULL; | |
6532 | if (_argo0) { | |
6533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p."); | |
6536 | return NULL; | |
6537 | } | |
6538 | } | |
6539 | { | |
474c48f9 | 6540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6541 | _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0); |
f6bcfd97 | 6542 | |
474c48f9 | 6543 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6544 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 6545 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
6546 | return _resultobj; |
6547 | } | |
6548 | ||
6549 | #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
6550 | static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6551 | PyObject * _resultobj; | |
6552 | wxGridTableMessage * _arg0; | |
6553 | int _arg1; | |
6554 | PyObject * _argo0 = 0; | |
6555 | char *_kwnames[] = { "self","id", NULL }; | |
6556 | ||
6557 | self = self; | |
6558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1)) | |
6559 | return NULL; | |
6560 | if (_argo0) { | |
6561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p."); | |
6564 | return NULL; | |
6565 | } | |
6566 | } | |
6567 | { | |
474c48f9 | 6568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6569 | wxGridTableMessage_SetId(_arg0,_arg1); |
f6bcfd97 | 6570 | |
474c48f9 | 6571 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6572 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6573 | } Py_INCREF(Py_None); |
6574 | _resultobj = Py_None; | |
6575 | return _resultobj; | |
6576 | } | |
6577 | ||
6578 | #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId()) | |
6579 | static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6580 | PyObject * _resultobj; | |
6581 | int _result; | |
6582 | wxGridTableMessage * _arg0; | |
6583 | PyObject * _argo0 = 0; | |
6584 | char *_kwnames[] = { "self", NULL }; | |
6585 | ||
6586 | self = self; | |
6587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0)) | |
6588 | return NULL; | |
6589 | if (_argo0) { | |
6590 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6591 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p."); | |
6593 | return NULL; | |
6594 | } | |
6595 | } | |
6596 | { | |
474c48f9 | 6597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6598 | _result = (int )wxGridTableMessage_GetId(_arg0); |
f6bcfd97 | 6599 | |
474c48f9 | 6600 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6601 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6602 | } _resultobj = Py_BuildValue("i",_result); |
6603 | return _resultobj; | |
6604 | } | |
6605 | ||
6606 | #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0)) | |
6607 | static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6608 | PyObject * _resultobj; | |
6609 | wxGridTableMessage * _arg0; | |
6610 | int _arg1; | |
6611 | PyObject * _argo0 = 0; | |
6612 | char *_kwnames[] = { "self","comInt1", NULL }; | |
6613 | ||
6614 | self = self; | |
6615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1)) | |
6616 | return NULL; | |
6617 | if (_argo0) { | |
6618 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6619 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p."); | |
6621 | return NULL; | |
6622 | } | |
6623 | } | |
6624 | { | |
474c48f9 | 6625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6626 | wxGridTableMessage_SetCommandInt(_arg0,_arg1); |
f6bcfd97 | 6627 | |
474c48f9 | 6628 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6629 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6630 | } Py_INCREF(Py_None); |
6631 | _resultobj = Py_None; | |
6632 | return _resultobj; | |
6633 | } | |
6634 | ||
6635 | #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt()) | |
6636 | static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6637 | PyObject * _resultobj; | |
6638 | int _result; | |
6639 | wxGridTableMessage * _arg0; | |
6640 | PyObject * _argo0 = 0; | |
6641 | char *_kwnames[] = { "self", NULL }; | |
6642 | ||
6643 | self = self; | |
6644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0)) | |
6645 | return NULL; | |
6646 | if (_argo0) { | |
6647 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6648 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p."); | |
6650 | return NULL; | |
6651 | } | |
6652 | } | |
6653 | { | |
474c48f9 | 6654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6655 | _result = (int )wxGridTableMessage_GetCommandInt(_arg0); |
f6bcfd97 | 6656 | |
474c48f9 | 6657 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6658 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6659 | } _resultobj = Py_BuildValue("i",_result); |
6660 | return _resultobj; | |
6661 | } | |
6662 | ||
6663 | #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0)) | |
6664 | static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6665 | PyObject * _resultobj; | |
6666 | wxGridTableMessage * _arg0; | |
6667 | int _arg1; | |
6668 | PyObject * _argo0 = 0; | |
6669 | char *_kwnames[] = { "self","comInt2", NULL }; | |
6670 | ||
6671 | self = self; | |
6672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1)) | |
6673 | return NULL; | |
6674 | if (_argo0) { | |
6675 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6676 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p."); | |
6678 | return NULL; | |
6679 | } | |
6680 | } | |
6681 | { | |
474c48f9 | 6682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6683 | wxGridTableMessage_SetCommandInt2(_arg0,_arg1); |
f6bcfd97 | 6684 | |
474c48f9 | 6685 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6686 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6687 | } Py_INCREF(Py_None); |
6688 | _resultobj = Py_None; | |
6689 | return _resultobj; | |
6690 | } | |
6691 | ||
6692 | #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2()) | |
6693 | static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6694 | PyObject * _resultobj; | |
6695 | int _result; | |
6696 | wxGridTableMessage * _arg0; | |
6697 | PyObject * _argo0 = 0; | |
6698 | char *_kwnames[] = { "self", NULL }; | |
6699 | ||
6700 | self = self; | |
6701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0)) | |
6702 | return NULL; | |
6703 | if (_argo0) { | |
6704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p."); | |
6707 | return NULL; | |
6708 | } | |
6709 | } | |
6710 | { | |
474c48f9 | 6711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6712 | _result = (int )wxGridTableMessage_GetCommandInt2(_arg0); |
f6bcfd97 | 6713 | |
474c48f9 | 6714 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6715 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6716 | } _resultobj = Py_BuildValue("i",_result); |
6717 | return _resultobj; | |
6718 | } | |
6719 | ||
6720 | #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1)) | |
6721 | static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6722 | PyObject * _resultobj; | |
6723 | wxGridCellCoords * _result; | |
6724 | int _arg0 = (int ) -1; | |
6725 | int _arg1 = (int ) -1; | |
6726 | char *_kwnames[] = { "r","c", NULL }; | |
6727 | char _ptemp[128]; | |
6728 | ||
6729 | self = self; | |
6730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1)) | |
6731 | return NULL; | |
6732 | { | |
474c48f9 | 6733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6734 | _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1); |
f6bcfd97 | 6735 | |
474c48f9 | 6736 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6737 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6738 | } if (_result) { |
6739 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p"); | |
6740 | _resultobj = Py_BuildValue("s",_ptemp); | |
6741 | } else { | |
6742 | Py_INCREF(Py_None); | |
6743 | _resultobj = Py_None; | |
6744 | } | |
6745 | return _resultobj; | |
6746 | } | |
6747 | ||
6748 | #define delete_wxGridCellCoords(_swigobj) (delete _swigobj) | |
6749 | static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6750 | PyObject * _resultobj; | |
6751 | wxGridCellCoords * _arg0; | |
6752 | PyObject * _argo0 = 0; | |
6753 | char *_kwnames[] = { "self", NULL }; | |
6754 | ||
6755 | self = self; | |
6756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0)) | |
6757 | return NULL; | |
6758 | if (_argo0) { | |
6759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p."); | |
6762 | return NULL; | |
6763 | } | |
6764 | } | |
6765 | { | |
474c48f9 | 6766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6767 | delete_wxGridCellCoords(_arg0); |
f6bcfd97 | 6768 | |
474c48f9 | 6769 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6770 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6771 | } Py_INCREF(Py_None); |
6772 | _resultobj = Py_None; | |
6773 | return _resultobj; | |
6774 | } | |
6775 | ||
6776 | #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow()) | |
6777 | static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6778 | PyObject * _resultobj; | |
6779 | int _result; | |
6780 | wxGridCellCoords * _arg0; | |
6781 | PyObject * _argo0 = 0; | |
6782 | char *_kwnames[] = { "self", NULL }; | |
6783 | ||
6784 | self = self; | |
6785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0)) | |
6786 | return NULL; | |
6787 | if (_argo0) { | |
6788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p."); | |
6791 | return NULL; | |
6792 | } | |
6793 | } | |
6794 | { | |
474c48f9 | 6795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6796 | _result = (int )wxGridCellCoords_GetRow(_arg0); |
f6bcfd97 | 6797 | |
474c48f9 | 6798 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6799 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6800 | } _resultobj = Py_BuildValue("i",_result); |
6801 | return _resultobj; | |
6802 | } | |
6803 | ||
6804 | #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0)) | |
6805 | static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6806 | PyObject * _resultobj; | |
6807 | wxGridCellCoords * _arg0; | |
6808 | int _arg1; | |
6809 | PyObject * _argo0 = 0; | |
6810 | char *_kwnames[] = { "self","n", NULL }; | |
6811 | ||
6812 | self = self; | |
6813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1)) | |
6814 | return NULL; | |
6815 | if (_argo0) { | |
6816 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6817 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p."); | |
6819 | return NULL; | |
6820 | } | |
6821 | } | |
6822 | { | |
474c48f9 | 6823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6824 | wxGridCellCoords_SetRow(_arg0,_arg1); |
f6bcfd97 | 6825 | |
474c48f9 | 6826 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6827 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6828 | } Py_INCREF(Py_None); |
6829 | _resultobj = Py_None; | |
6830 | return _resultobj; | |
6831 | } | |
6832 | ||
6833 | #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol()) | |
6834 | static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6835 | PyObject * _resultobj; | |
6836 | int _result; | |
6837 | wxGridCellCoords * _arg0; | |
6838 | PyObject * _argo0 = 0; | |
6839 | char *_kwnames[] = { "self", NULL }; | |
6840 | ||
6841 | self = self; | |
6842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0)) | |
6843 | return NULL; | |
6844 | if (_argo0) { | |
6845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p."); | |
6848 | return NULL; | |
6849 | } | |
6850 | } | |
6851 | { | |
474c48f9 | 6852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6853 | _result = (int )wxGridCellCoords_GetCol(_arg0); |
f6bcfd97 | 6854 | |
474c48f9 | 6855 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6856 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6857 | } _resultobj = Py_BuildValue("i",_result); |
6858 | return _resultobj; | |
6859 | } | |
6860 | ||
6861 | #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0)) | |
6862 | static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6863 | PyObject * _resultobj; | |
6864 | wxGridCellCoords * _arg0; | |
6865 | int _arg1; | |
6866 | PyObject * _argo0 = 0; | |
6867 | char *_kwnames[] = { "self","n", NULL }; | |
6868 | ||
6869 | self = self; | |
6870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1)) | |
6871 | return NULL; | |
6872 | if (_argo0) { | |
6873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p."); | |
6876 | return NULL; | |
6877 | } | |
6878 | } | |
6879 | { | |
474c48f9 | 6880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6881 | wxGridCellCoords_SetCol(_arg0,_arg1); |
f6bcfd97 | 6882 | |
474c48f9 | 6883 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6884 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6885 | } Py_INCREF(Py_None); |
6886 | _resultobj = Py_None; | |
6887 | return _resultobj; | |
6888 | } | |
6889 | ||
6890 | #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) | |
6891 | static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6892 | PyObject * _resultobj; | |
6893 | wxGridCellCoords * _arg0; | |
6894 | int _arg1; | |
6895 | int _arg2; | |
6896 | PyObject * _argo0 = 0; | |
6897 | char *_kwnames[] = { "self","row","col", NULL }; | |
6898 | ||
6899 | self = self; | |
6900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6901 | return NULL; | |
6902 | if (_argo0) { | |
6903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p."); | |
6906 | return NULL; | |
6907 | } | |
6908 | } | |
6909 | { | |
474c48f9 | 6910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6911 | wxGridCellCoords_Set(_arg0,_arg1,_arg2); |
f6bcfd97 | 6912 | |
474c48f9 | 6913 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6914 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6915 | } Py_INCREF(Py_None); |
6916 | _resultobj = Py_None; | |
6917 | return _resultobj; | |
6918 | } | |
6919 | ||
6920 | static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) { | |
6921 | PyObject* tup = PyTuple_New(2); | |
6922 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow())); | |
6923 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol())); | |
6924 | return tup; | |
6925 | } | |
6926 | static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6927 | PyObject * _resultobj; | |
6928 | PyObject * _result; | |
6929 | wxGridCellCoords * _arg0; | |
6930 | PyObject * _argo0 = 0; | |
6931 | char *_kwnames[] = { "self", NULL }; | |
6932 | ||
6933 | self = self; | |
6934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0)) | |
6935 | return NULL; | |
6936 | if (_argo0) { | |
6937 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6938 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p."); | |
6940 | return NULL; | |
6941 | } | |
6942 | } | |
6943 | { | |
474c48f9 | 6944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6945 | _result = (PyObject *)wxGridCellCoords_asTuple(_arg0); |
f6bcfd97 | 6946 | |
474c48f9 | 6947 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6948 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6949 | }{ |
6950 | _resultobj = _result; | |
6951 | } | |
6952 | return _resultobj; | |
6953 | } | |
6954 | ||
6955 | static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) { | |
6956 | return *self != other; | |
6957 | } | |
6958 | static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6959 | PyObject * _resultobj; | |
6960 | int _result; | |
6961 | wxGridCellCoords * _arg0; | |
6962 | wxGridCellCoords * _arg1; | |
6963 | PyObject * _argo0 = 0; | |
6964 | PyObject * _argo1 = 0; | |
6965 | char *_kwnames[] = { "self","other", NULL }; | |
6966 | ||
6967 | self = self; | |
6968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1)) | |
6969 | return NULL; | |
6970 | if (_argo0) { | |
6971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p."); | |
6974 | return NULL; | |
6975 | } | |
6976 | } | |
6977 | if (_argo1) { | |
6978 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6979 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) { | |
6980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p."); | |
6981 | return NULL; | |
6982 | } | |
6983 | } | |
6984 | { | |
474c48f9 | 6985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6986 | _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1); |
f6bcfd97 | 6987 | |
474c48f9 | 6988 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6989 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6990 | } _resultobj = Py_BuildValue("i",_result); |
6991 | return _resultobj; | |
6992 | } | |
6993 | ||
6994 | static void *SwigwxGridTowxScrolledWindow(void *ptr) { | |
6995 | wxGrid *src; | |
6996 | wxScrolledWindow *dest; | |
6997 | src = (wxGrid *) ptr; | |
6998 | dest = (wxScrolledWindow *) src; | |
6999 | return (void *) dest; | |
7000 | } | |
7001 | ||
7002 | static void *SwigwxGridTowxPanel(void *ptr) { | |
7003 | wxGrid *src; | |
7004 | wxPanel *dest; | |
7005 | src = (wxGrid *) ptr; | |
7006 | dest = (wxPanel *) src; | |
7007 | return (void *) dest; | |
7008 | } | |
7009 | ||
7010 | static void *SwigwxGridTowxWindow(void *ptr) { | |
7011 | wxGrid *src; | |
7012 | wxWindow *dest; | |
7013 | src = (wxGrid *) ptr; | |
7014 | dest = (wxWindow *) src; | |
7015 | return (void *) dest; | |
7016 | } | |
7017 | ||
7018 | static void *SwigwxGridTowxEvtHandler(void *ptr) { | |
7019 | wxGrid *src; | |
7020 | wxEvtHandler *dest; | |
7021 | src = (wxGrid *) ptr; | |
7022 | dest = (wxEvtHandler *) src; | |
7023 | return (void *) dest; | |
7024 | } | |
7025 | ||
9df61a29 RD |
7026 | static void *SwigwxGridTowxObject(void *ptr) { |
7027 | wxGrid *src; | |
7028 | wxObject *dest; | |
7029 | src = (wxGrid *) ptr; | |
7030 | dest = (wxObject *) src; | |
7031 | return (void *) dest; | |
7032 | } | |
7033 | ||
f6bcfd97 BP |
7034 | #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
7035 | static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7036 | PyObject * _resultobj; | |
7037 | wxGrid * _result; | |
7038 | wxWindow * _arg0; | |
7039 | wxWindowID _arg1; | |
7040 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
7041 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
7042 | long _arg4 = (long ) wxWANTS_CHARS; | |
7043 | char * _arg5 = (char *) wxPanelNameStr; | |
7044 | PyObject * _argo0 = 0; | |
7045 | wxPoint temp; | |
7046 | PyObject * _obj2 = 0; | |
7047 | wxSize temp0; | |
7048 | PyObject * _obj3 = 0; | |
7049 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
7050 | char _ptemp[128]; | |
7051 | ||
7052 | self = self; | |
7053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
7054 | return NULL; | |
7055 | if (_argo0) { | |
7056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
7058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p."); | |
7059 | return NULL; | |
7060 | } | |
7061 | } | |
7062 | if (_obj2) | |
7063 | { | |
7064 | _arg2 = &temp; | |
7065 | if (! wxPoint_helper(_obj2, &_arg2)) | |
7066 | return NULL; | |
7067 | } | |
7068 | if (_obj3) | |
7069 | { | |
7070 | _arg3 = &temp0; | |
7071 | if (! wxSize_helper(_obj3, &_arg3)) | |
7072 | return NULL; | |
7073 | } | |
7074 | { | |
474c48f9 | 7075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7076 | _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 | 7077 | |
474c48f9 | 7078 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7079 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7080 | } if (_result) { |
7081 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p"); | |
7082 | _resultobj = Py_BuildValue("s",_ptemp); | |
7083 | } else { | |
7084 | Py_INCREF(Py_None); | |
7085 | _resultobj = Py_None; | |
7086 | } | |
7087 | return _resultobj; | |
7088 | } | |
7089 | ||
7090 | #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2)) | |
7091 | static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7092 | PyObject * _resultobj; | |
7093 | bool _result; | |
7094 | wxGrid * _arg0; | |
7095 | int _arg1; | |
7096 | int _arg2; | |
7097 | WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells; | |
7098 | PyObject * _argo0 = 0; | |
7099 | char *_kwnames[] = { "self","numRows","numCols","selmode", NULL }; | |
7100 | ||
7101 | self = self; | |
7102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
7103 | return NULL; | |
7104 | if (_argo0) { | |
7105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p."); | |
7108 | return NULL; | |
7109 | } | |
7110 | } | |
7111 | { | |
474c48f9 | 7112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7113 | _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7114 | |
474c48f9 | 7115 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7116 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7117 | } _resultobj = Py_BuildValue("i",_result); |
7118 | return _resultobj; | |
7119 | } | |
7120 | ||
7121 | #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0)) | |
7122 | static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7123 | PyObject * _resultobj; | |
7124 | wxGrid * _arg0; | |
7125 | WXGRIDSELECTIONMODES _arg1; | |
7126 | PyObject * _argo0 = 0; | |
7127 | char *_kwnames[] = { "self","selmode", NULL }; | |
7128 | ||
7129 | self = self; | |
7130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1)) | |
7131 | return NULL; | |
7132 | if (_argo0) { | |
7133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p."); | |
7136 | return NULL; | |
7137 | } | |
7138 | } | |
7139 | { | |
474c48f9 | 7140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7141 | wxGrid_SetSelectionMode(_arg0,_arg1); |
f6bcfd97 | 7142 | |
474c48f9 | 7143 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7144 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7145 | } Py_INCREF(Py_None); |
7146 | _resultobj = Py_None; | |
7147 | return _resultobj; | |
7148 | } | |
7149 | ||
7150 | #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows()) | |
7151 | static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7152 | PyObject * _resultobj; | |
7153 | int _result; | |
7154 | wxGrid * _arg0; | |
7155 | PyObject * _argo0 = 0; | |
7156 | char *_kwnames[] = { "self", NULL }; | |
7157 | ||
7158 | self = self; | |
7159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0)) | |
7160 | return NULL; | |
7161 | if (_argo0) { | |
7162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p."); | |
7165 | return NULL; | |
7166 | } | |
7167 | } | |
7168 | { | |
474c48f9 | 7169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7170 | _result = (int )wxGrid_GetNumberRows(_arg0); |
f6bcfd97 | 7171 | |
474c48f9 | 7172 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7173 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7174 | } _resultobj = Py_BuildValue("i",_result); |
7175 | return _resultobj; | |
7176 | } | |
7177 | ||
7178 | #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols()) | |
7179 | static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7180 | PyObject * _resultobj; | |
7181 | int _result; | |
7182 | wxGrid * _arg0; | |
7183 | PyObject * _argo0 = 0; | |
7184 | char *_kwnames[] = { "self", NULL }; | |
7185 | ||
7186 | self = self; | |
7187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0)) | |
7188 | return NULL; | |
7189 | if (_argo0) { | |
7190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p."); | |
7193 | return NULL; | |
7194 | } | |
7195 | } | |
7196 | { | |
474c48f9 | 7197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7198 | _result = (int )wxGrid_GetNumberCols(_arg0); |
f6bcfd97 | 7199 | |
474c48f9 | 7200 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7201 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7202 | } _resultobj = Py_BuildValue("i",_result); |
7203 | return _resultobj; | |
7204 | } | |
7205 | ||
7206 | #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0)) | |
7207 | static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7208 | PyObject * _resultobj; | |
7209 | bool _result; | |
7210 | wxGrid * _arg0; | |
7211 | wxGridTableMessage * _arg1; | |
7212 | PyObject * _argo0 = 0; | |
7213 | PyObject * _argo1 = 0; | |
7214 | char *_kwnames[] = { "self","arg2", NULL }; | |
7215 | ||
7216 | self = self; | |
7217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1)) | |
7218 | return NULL; | |
7219 | if (_argo0) { | |
7220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p."); | |
7223 | return NULL; | |
7224 | } | |
7225 | } | |
7226 | if (_argo1) { | |
7227 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7228 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) { | |
7229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p."); | |
7230 | return NULL; | |
7231 | } | |
7232 | } | |
7233 | { | |
474c48f9 | 7234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7235 | _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1); |
f6bcfd97 | 7236 | |
474c48f9 | 7237 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7238 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7239 | } _resultobj = Py_BuildValue("i",_result); |
7240 | return _resultobj; | |
7241 | } | |
7242 | ||
7243 | #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable()) | |
7244 | static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7245 | PyObject * _resultobj; | |
7246 | wxGridTableBase * _result; | |
7247 | wxGrid * _arg0; | |
7248 | PyObject * _argo0 = 0; | |
7249 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
7250 | |
7251 | self = self; | |
7252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0)) | |
7253 | return NULL; | |
7254 | if (_argo0) { | |
7255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p."); | |
7258 | return NULL; | |
7259 | } | |
7260 | } | |
7261 | { | |
474c48f9 | 7262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7263 | _result = (wxGridTableBase *)wxGrid_GetTable(_arg0); |
f6bcfd97 | 7264 | |
474c48f9 | 7265 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7266 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 7267 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
7268 | return _resultobj; |
7269 | } | |
7270 | ||
7271 | #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2)) | |
7272 | static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7273 | PyObject * _resultobj; | |
7274 | bool _result; | |
7275 | wxGrid * _arg0; | |
7276 | wxGridTableBase * _arg1; | |
7277 | bool _arg2 = (bool ) FALSE; | |
7278 | WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells; | |
7279 | PyObject * _argo0 = 0; | |
7280 | PyObject * _argo1 = 0; | |
7281 | int tempbool2 = (int) FALSE; | |
7282 | char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL }; | |
7283 | ||
7284 | self = self; | |
7285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3)) | |
7286 | return NULL; | |
7287 | if (_argo0) { | |
7288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p."); | |
7291 | return NULL; | |
7292 | } | |
7293 | } | |
7294 | if (_argo1) { | |
7295 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7296 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) { | |
7297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p."); | |
7298 | return NULL; | |
7299 | } | |
7300 | } | |
7301 | _arg2 = (bool ) tempbool2; | |
7302 | { | |
474c48f9 | 7303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7304 | _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7305 | |
474c48f9 | 7306 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7307 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7308 | } _resultobj = Py_BuildValue("i",_result); |
7309 | return _resultobj; | |
7310 | } | |
7311 | ||
7312 | #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid()) | |
7313 | static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7314 | PyObject * _resultobj; | |
7315 | wxGrid * _arg0; | |
7316 | PyObject * _argo0 = 0; | |
7317 | char *_kwnames[] = { "self", NULL }; | |
7318 | ||
7319 | self = self; | |
7320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0)) | |
7321 | return NULL; | |
7322 | if (_argo0) { | |
7323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p."); | |
7326 | return NULL; | |
7327 | } | |
7328 | } | |
7329 | { | |
474c48f9 | 7330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7331 | wxGrid_ClearGrid(_arg0); |
f6bcfd97 | 7332 | |
474c48f9 | 7333 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7334 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7335 | } Py_INCREF(Py_None); |
7336 | _resultobj = Py_None; | |
7337 | return _resultobj; | |
7338 | } | |
7339 | ||
7340 | #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2)) | |
7341 | static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7342 | PyObject * _resultobj; | |
7343 | bool _result; | |
7344 | wxGrid * _arg0; | |
7345 | int _arg1 = (int ) 0; | |
7346 | int _arg2 = (int ) 1; | |
7347 | bool _arg3 = (bool ) TRUE; | |
7348 | PyObject * _argo0 = 0; | |
7349 | int tempbool3 = (int) TRUE; | |
7350 | char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL }; | |
7351 | ||
7352 | self = self; | |
7353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7354 | return NULL; | |
7355 | if (_argo0) { | |
7356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p."); | |
7359 | return NULL; | |
7360 | } | |
7361 | } | |
7362 | _arg3 = (bool ) tempbool3; | |
7363 | { | |
474c48f9 | 7364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7365 | _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7366 | |
474c48f9 | 7367 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7368 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7369 | } _resultobj = Py_BuildValue("i",_result); |
7370 | return _resultobj; | |
7371 | } | |
7372 | ||
7373 | #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1)) | |
7374 | static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7375 | PyObject * _resultobj; | |
7376 | bool _result; | |
7377 | wxGrid * _arg0; | |
7378 | int _arg1 = (int ) 1; | |
7379 | bool _arg2 = (bool ) TRUE; | |
7380 | PyObject * _argo0 = 0; | |
7381 | int tempbool2 = (int) TRUE; | |
7382 | char *_kwnames[] = { "self","numRows","updateLabels", NULL }; | |
7383 | ||
7384 | self = self; | |
7385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
7386 | return NULL; | |
7387 | if (_argo0) { | |
7388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p."); | |
7391 | return NULL; | |
7392 | } | |
7393 | } | |
7394 | _arg2 = (bool ) tempbool2; | |
7395 | { | |
474c48f9 | 7396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7397 | _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 7398 | |
474c48f9 | 7399 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7400 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7401 | } _resultobj = Py_BuildValue("i",_result); |
7402 | return _resultobj; | |
7403 | } | |
7404 | ||
7405 | #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2)) | |
7406 | static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7407 | PyObject * _resultobj; | |
7408 | bool _result; | |
7409 | wxGrid * _arg0; | |
7410 | int _arg1 = (int ) 0; | |
7411 | int _arg2 = (int ) 1; | |
7412 | bool _arg3 = (bool ) TRUE; | |
7413 | PyObject * _argo0 = 0; | |
7414 | int tempbool3 = (int) TRUE; | |
7415 | char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL }; | |
7416 | ||
7417 | self = self; | |
7418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7419 | return NULL; | |
7420 | if (_argo0) { | |
7421 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7422 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p."); | |
7424 | return NULL; | |
7425 | } | |
7426 | } | |
7427 | _arg3 = (bool ) tempbool3; | |
7428 | { | |
474c48f9 | 7429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7430 | _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7431 | |
474c48f9 | 7432 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7433 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7434 | } _resultobj = Py_BuildValue("i",_result); |
7435 | return _resultobj; | |
7436 | } | |
7437 | ||
7438 | #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2)) | |
7439 | static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7440 | PyObject * _resultobj; | |
7441 | bool _result; | |
7442 | wxGrid * _arg0; | |
7443 | int _arg1 = (int ) 0; | |
7444 | int _arg2 = (int ) 1; | |
7445 | bool _arg3 = (bool ) TRUE; | |
7446 | PyObject * _argo0 = 0; | |
7447 | int tempbool3 = (int) TRUE; | |
7448 | char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL }; | |
7449 | ||
7450 | self = self; | |
7451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7452 | return NULL; | |
7453 | if (_argo0) { | |
7454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p."); | |
7457 | return NULL; | |
7458 | } | |
7459 | } | |
7460 | _arg3 = (bool ) tempbool3; | |
7461 | { | |
474c48f9 | 7462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7463 | _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7464 | |
474c48f9 | 7465 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7466 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7467 | } _resultobj = Py_BuildValue("i",_result); |
7468 | return _resultobj; | |
7469 | } | |
7470 | ||
7471 | #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1)) | |
7472 | static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7473 | PyObject * _resultobj; | |
7474 | bool _result; | |
7475 | wxGrid * _arg0; | |
7476 | int _arg1 = (int ) 1; | |
7477 | bool _arg2 = (bool ) TRUE; | |
7478 | PyObject * _argo0 = 0; | |
7479 | int tempbool2 = (int) TRUE; | |
7480 | char *_kwnames[] = { "self","numCols","updateLabels", NULL }; | |
7481 | ||
7482 | self = self; | |
7483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
7484 | return NULL; | |
7485 | if (_argo0) { | |
7486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p."); | |
7489 | return NULL; | |
7490 | } | |
7491 | } | |
7492 | _arg2 = (bool ) tempbool2; | |
7493 | { | |
474c48f9 | 7494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7495 | _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 7496 | |
474c48f9 | 7497 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7498 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7499 | } _resultobj = Py_BuildValue("i",_result); |
7500 | return _resultobj; | |
7501 | } | |
7502 | ||
7503 | #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2)) | |
7504 | static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7505 | PyObject * _resultobj; | |
7506 | bool _result; | |
7507 | wxGrid * _arg0; | |
7508 | int _arg1 = (int ) 0; | |
7509 | int _arg2 = (int ) 1; | |
7510 | bool _arg3 = (bool ) TRUE; | |
7511 | PyObject * _argo0 = 0; | |
7512 | int tempbool3 = (int) TRUE; | |
7513 | char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL }; | |
7514 | ||
7515 | self = self; | |
7516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7517 | return NULL; | |
7518 | if (_argo0) { | |
7519 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7520 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p."); | |
7522 | return NULL; | |
7523 | } | |
7524 | } | |
7525 | _arg3 = (bool ) tempbool3; | |
7526 | { | |
474c48f9 | 7527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7528 | _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7529 | |
474c48f9 | 7530 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7531 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7532 | } _resultobj = Py_BuildValue("i",_result); |
7533 | return _resultobj; | |
7534 | } | |
7535 | ||
7536 | #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1)) | |
7537 | static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7538 | PyObject * _resultobj; | |
7539 | wxGrid * _arg0; | |
7540 | wxDC * _arg1; | |
7541 | wxGridCellAttr * _arg2; | |
7542 | PyObject * _argo0 = 0; | |
7543 | PyObject * _argo1 = 0; | |
7544 | PyObject * _argo2 = 0; | |
7545 | char *_kwnames[] = { "self","dc","attr", NULL }; | |
7546 | ||
7547 | self = self; | |
7548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7549 | return NULL; | |
7550 | if (_argo0) { | |
7551 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7552 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p."); | |
7554 | return NULL; | |
7555 | } | |
7556 | } | |
7557 | if (_argo1) { | |
7558 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7559 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p."); | |
7561 | return NULL; | |
7562 | } | |
7563 | } | |
7564 | if (_argo2) { | |
7565 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7566 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
7567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p."); | |
7568 | return NULL; | |
7569 | } | |
7570 | } | |
7571 | { | |
474c48f9 | 7572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7573 | wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2); |
f6bcfd97 | 7574 | |
474c48f9 | 7575 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7576 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7577 | } Py_INCREF(Py_None); |
7578 | _resultobj = Py_None; | |
7579 | return _resultobj; | |
7580 | } | |
7581 | ||
7582 | #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7583 | static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7584 | PyObject * _resultobj; | |
7585 | wxGrid * _arg0; | |
7586 | wxDC * _arg1; | |
7587 | wxString * _arg2; | |
7588 | wxRect * _arg3; | |
7589 | int _arg4 = (int ) wxLEFT; | |
7590 | int _arg5 = (int ) wxTOP; | |
7591 | PyObject * _argo0 = 0; | |
7592 | PyObject * _argo1 = 0; | |
7593 | PyObject * _obj2 = 0; | |
7594 | wxRect temp; | |
7595 | PyObject * _obj3 = 0; | |
7596 | char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL }; | |
7597 | ||
7598 | self = self; | |
7599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
7600 | return NULL; | |
7601 | if (_argo0) { | |
7602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p."); | |
7605 | return NULL; | |
7606 | } | |
7607 | } | |
7608 | if (_argo1) { | |
7609 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7610 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p."); | |
7612 | return NULL; | |
7613 | } | |
7614 | } | |
7615 | { | |
c8bc7bb8 RD |
7616 | _arg2 = wxString_in_helper(_obj2); |
7617 | if (_arg2 == NULL) | |
2cd2fac8 | 7618 | return NULL; |
f6bcfd97 BP |
7619 | } |
7620 | { | |
7621 | _arg3 = &temp; | |
7622 | if (! wxRect_helper(_obj3, &_arg3)) | |
7623 | return NULL; | |
7624 | } | |
7625 | { | |
474c48f9 | 7626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7627 | wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 | 7628 | |
474c48f9 | 7629 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7630 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7631 | } Py_INCREF(Py_None); |
7632 | _resultobj = Py_None; | |
7633 | { | |
7634 | if (_obj2) | |
7635 | delete _arg2; | |
7636 | } | |
7637 | return _resultobj; | |
7638 | } | |
7639 | ||
f6bcfd97 BP |
7640 | #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
7641 | static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7642 | PyObject * _resultobj; | |
7643 | wxGrid * _arg0; | |
7644 | wxDC * _arg1; | |
7645 | wxArrayString * _arg2; | |
7646 | long * _arg3; | |
7647 | long temp; | |
7648 | long * _arg4; | |
7649 | long temp0; | |
7650 | PyObject * _argo0 = 0; | |
7651 | PyObject * _argo1 = 0; | |
5c0282d5 | 7652 | PyObject * _obj2 = 0; |
f6bcfd97 BP |
7653 | char *_kwnames[] = { "self","dc","lines", NULL }; |
7654 | ||
7655 | self = self; | |
7656 | { | |
7657 | _arg3 = &temp; | |
7658 | } | |
7659 | { | |
7660 | _arg4 = &temp0; | |
7661 | } | |
5c0282d5 | 7662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2)) |
f6bcfd97 BP |
7663 | return NULL; |
7664 | if (_argo0) { | |
7665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p."); | |
7668 | return NULL; | |
7669 | } | |
7670 | } | |
7671 | if (_argo1) { | |
7672 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7673 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p."); | |
7675 | return NULL; | |
7676 | } | |
7677 | } | |
5c0282d5 RD |
7678 | { |
7679 | if (! PySequence_Check(_obj2)) { | |
7680 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
f6bcfd97 | 7681 | return NULL; |
f6bcfd97 | 7682 | } |
5c0282d5 RD |
7683 | _arg2 = new wxArrayString; |
7684 | int i, len=PySequence_Length(_obj2); | |
7685 | for (i=0; i<len; i++) { | |
7686 | PyObject* item = PySequence_GetItem(_obj2, i); | |
c8bc7bb8 RD |
7687 | #if wxUSE_UNICODE |
7688 | PyObject* str = PyObject_Unicode(item); | |
7689 | _arg2->Add(PyUnicode_AsUnicode(str)); | |
7690 | #else | |
5c0282d5 | 7691 | PyObject* str = PyObject_Str(item); |
85247b36 | 7692 | _arg2->Add(PyString_AsString(str)); |
c8bc7bb8 | 7693 | #endif |
5c0282d5 RD |
7694 | Py_DECREF(item); |
7695 | Py_DECREF(str); | |
7696 | } | |
7697 | } | |
f6bcfd97 | 7698 | { |
474c48f9 | 7699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7700 | wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4); |
f6bcfd97 | 7701 | |
474c48f9 | 7702 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7703 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7704 | } Py_INCREF(Py_None); |
7705 | _resultobj = Py_None; | |
7706 | { | |
7707 | PyObject *o; | |
7708 | o = PyInt_FromLong((long) (*_arg3)); | |
7709 | _resultobj = t_output_helper(_resultobj, o); | |
7710 | } | |
7711 | { | |
7712 | PyObject *o; | |
7713 | o = PyInt_FromLong((long) (*_arg4)); | |
7714 | _resultobj = t_output_helper(_resultobj, o); | |
5c0282d5 RD |
7715 | } |
7716 | { | |
7717 | if (_obj2) | |
7718 | delete _arg2; | |
f6bcfd97 BP |
7719 | } |
7720 | return _resultobj; | |
7721 | } | |
7722 | ||
7723 | #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch()) | |
7724 | static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7725 | PyObject * _resultobj; | |
7726 | wxGrid * _arg0; | |
7727 | PyObject * _argo0 = 0; | |
7728 | char *_kwnames[] = { "self", NULL }; | |
7729 | ||
7730 | self = self; | |
7731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_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_BeginBatch. Expected _wxGrid_p."); | |
7737 | return NULL; | |
7738 | } | |
7739 | } | |
7740 | { | |
474c48f9 | 7741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7742 | wxGrid_BeginBatch(_arg0); |
f6bcfd97 | 7743 | |
474c48f9 | 7744 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7745 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7746 | } Py_INCREF(Py_None); |
7747 | _resultobj = Py_None; | |
7748 | return _resultobj; | |
7749 | } | |
7750 | ||
7751 | #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch()) | |
7752 | static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7753 | PyObject * _resultobj; | |
7754 | wxGrid * _arg0; | |
7755 | PyObject * _argo0 = 0; | |
7756 | char *_kwnames[] = { "self", NULL }; | |
7757 | ||
7758 | self = self; | |
7759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0)) | |
7760 | return NULL; | |
7761 | if (_argo0) { | |
7762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p."); | |
7765 | return NULL; | |
7766 | } | |
7767 | } | |
7768 | { | |
474c48f9 | 7769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7770 | wxGrid_EndBatch(_arg0); |
f6bcfd97 | 7771 | |
474c48f9 | 7772 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7773 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7774 | } Py_INCREF(Py_None); |
7775 | _resultobj = Py_None; | |
7776 | return _resultobj; | |
7777 | } | |
7778 | ||
7779 | #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount()) | |
7780 | static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7781 | PyObject * _resultobj; | |
7782 | int _result; | |
7783 | wxGrid * _arg0; | |
7784 | PyObject * _argo0 = 0; | |
7785 | char *_kwnames[] = { "self", NULL }; | |
7786 | ||
7787 | self = self; | |
7788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0)) | |
7789 | return NULL; | |
7790 | if (_argo0) { | |
7791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p."); | |
7794 | return NULL; | |
7795 | } | |
7796 | } | |
7797 | { | |
474c48f9 | 7798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7799 | _result = (int )wxGrid_GetBatchCount(_arg0); |
f6bcfd97 | 7800 | |
474c48f9 | 7801 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7802 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7803 | } _resultobj = Py_BuildValue("i",_result); |
7804 | return _resultobj; | |
7805 | } | |
7806 | ||
9a08cd12 RD |
7807 | #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh()) |
7808 | static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7809 | PyObject * _resultobj; | |
7810 | wxGrid * _arg0; | |
7811 | PyObject * _argo0 = 0; | |
7812 | char *_kwnames[] = { "self", NULL }; | |
7813 | ||
7814 | self = self; | |
7815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0)) | |
7816 | return NULL; | |
7817 | if (_argo0) { | |
7818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p."); | |
7821 | return NULL; | |
7822 | } | |
7823 | } | |
7824 | { | |
474c48f9 | 7825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7826 | wxGrid_ForceRefresh(_arg0); |
9a08cd12 | 7827 | |
474c48f9 | 7828 | wxPyEndAllowThreads(__tstate); |
9a08cd12 RD |
7829 | if (PyErr_Occurred()) return NULL; |
7830 | } Py_INCREF(Py_None); | |
7831 | _resultobj = Py_None; | |
7832 | return _resultobj; | |
7833 | } | |
7834 | ||
f6bcfd97 BP |
7835 | #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable()) |
7836 | static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7837 | PyObject * _resultobj; | |
7838 | bool _result; | |
7839 | wxGrid * _arg0; | |
7840 | PyObject * _argo0 = 0; | |
7841 | char *_kwnames[] = { "self", NULL }; | |
7842 | ||
7843 | self = self; | |
7844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0)) | |
7845 | return NULL; | |
7846 | if (_argo0) { | |
7847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p."); | |
7850 | return NULL; | |
7851 | } | |
7852 | } | |
7853 | { | |
474c48f9 | 7854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7855 | _result = (bool )wxGrid_IsEditable(_arg0); |
f6bcfd97 | 7856 | |
474c48f9 | 7857 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7858 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7859 | } _resultobj = Py_BuildValue("i",_result); |
7860 | return _resultobj; | |
7861 | } | |
7862 | ||
7863 | #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0)) | |
7864 | static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7865 | PyObject * _resultobj; | |
7866 | wxGrid * _arg0; | |
7867 | bool _arg1; | |
7868 | PyObject * _argo0 = 0; | |
7869 | int tempbool1; | |
7870 | char *_kwnames[] = { "self","edit", NULL }; | |
7871 | ||
7872 | self = self; | |
7873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1)) | |
7874 | return NULL; | |
7875 | if (_argo0) { | |
7876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p."); | |
7879 | return NULL; | |
7880 | } | |
7881 | } | |
7882 | _arg1 = (bool ) tempbool1; | |
7883 | { | |
474c48f9 | 7884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7885 | wxGrid_EnableEditing(_arg0,_arg1); |
f6bcfd97 | 7886 | |
474c48f9 | 7887 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7888 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7889 | } Py_INCREF(Py_None); |
7890 | _resultobj = Py_None; | |
7891 | return _resultobj; | |
7892 | } | |
7893 | ||
7894 | #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0)) | |
7895 | static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7896 | PyObject * _resultobj; | |
7897 | wxGrid * _arg0; | |
7898 | bool _arg1 = (bool ) TRUE; | |
7899 | PyObject * _argo0 = 0; | |
7900 | int tempbool1 = (int) TRUE; | |
7901 | char *_kwnames[] = { "self","enable", NULL }; | |
7902 | ||
7903 | self = self; | |
7904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1)) | |
7905 | return NULL; | |
7906 | if (_argo0) { | |
7907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p."); | |
7910 | return NULL; | |
7911 | } | |
7912 | } | |
7913 | _arg1 = (bool ) tempbool1; | |
7914 | { | |
474c48f9 | 7915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7916 | wxGrid_EnableCellEditControl(_arg0,_arg1); |
f6bcfd97 | 7917 | |
474c48f9 | 7918 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7919 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7920 | } Py_INCREF(Py_None); |
7921 | _resultobj = Py_None; | |
7922 | return _resultobj; | |
7923 | } | |
7924 | ||
7925 | #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl()) | |
7926 | static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7927 | PyObject * _resultobj; | |
7928 | wxGrid * _arg0; | |
7929 | PyObject * _argo0 = 0; | |
7930 | char *_kwnames[] = { "self", NULL }; | |
7931 | ||
7932 | self = self; | |
7933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0)) | |
7934 | return NULL; | |
7935 | if (_argo0) { | |
7936 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7937 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p."); | |
7939 | return NULL; | |
7940 | } | |
7941 | } | |
7942 | { | |
474c48f9 | 7943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7944 | wxGrid_DisableCellEditControl(_arg0); |
f6bcfd97 | 7945 | |
474c48f9 | 7946 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7947 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7948 | } Py_INCREF(Py_None); |
7949 | _resultobj = Py_None; | |
7950 | return _resultobj; | |
7951 | } | |
7952 | ||
7953 | #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl()) | |
7954 | static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7955 | PyObject * _resultobj; | |
7956 | bool _result; | |
7957 | wxGrid * _arg0; | |
7958 | PyObject * _argo0 = 0; | |
7959 | char *_kwnames[] = { "self", NULL }; | |
7960 | ||
7961 | self = self; | |
7962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0)) | |
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_CanEnableCellControl. Expected _wxGrid_p."); | |
7968 | return NULL; | |
7969 | } | |
7970 | } | |
7971 | { | |
474c48f9 | 7972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7973 | _result = (bool )wxGrid_CanEnableCellControl(_arg0); |
f6bcfd97 | 7974 | |
474c48f9 | 7975 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7976 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7977 | } _resultobj = Py_BuildValue("i",_result); |
7978 | return _resultobj; | |
7979 | } | |
7980 | ||
7981 | #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled()) | |
7982 | static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7983 | PyObject * _resultobj; | |
7984 | bool _result; | |
7985 | wxGrid * _arg0; | |
7986 | PyObject * _argo0 = 0; | |
7987 | char *_kwnames[] = { "self", NULL }; | |
7988 | ||
7989 | self = self; | |
7990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0)) | |
7991 | return NULL; | |
7992 | if (_argo0) { | |
7993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p."); | |
7996 | return NULL; | |
7997 | } | |
7998 | } | |
7999 | { | |
474c48f9 | 8000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8001 | _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0); |
f6bcfd97 | 8002 | |
474c48f9 | 8003 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8004 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8005 | } _resultobj = Py_BuildValue("i",_result); |
8006 | return _resultobj; | |
8007 | } | |
8008 | ||
8009 | #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown()) | |
8010 | static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8011 | PyObject * _resultobj; | |
8012 | bool _result; | |
8013 | wxGrid * _arg0; | |
8014 | PyObject * _argo0 = 0; | |
8015 | char *_kwnames[] = { "self", NULL }; | |
8016 | ||
8017 | self = self; | |
8018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0)) | |
8019 | return NULL; | |
8020 | if (_argo0) { | |
8021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p."); | |
8024 | return NULL; | |
8025 | } | |
8026 | } | |
8027 | { | |
474c48f9 | 8028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8029 | _result = (bool )wxGrid_IsCellEditControlShown(_arg0); |
f6bcfd97 | 8030 | |
474c48f9 | 8031 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8032 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8033 | } _resultobj = Py_BuildValue("i",_result); |
8034 | return _resultobj; | |
8035 | } | |
8036 | ||
8037 | #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly()) | |
8038 | static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8039 | PyObject * _resultobj; | |
8040 | bool _result; | |
8041 | wxGrid * _arg0; | |
8042 | PyObject * _argo0 = 0; | |
8043 | char *_kwnames[] = { "self", NULL }; | |
8044 | ||
8045 | self = self; | |
8046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0)) | |
8047 | return NULL; | |
8048 | if (_argo0) { | |
8049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p."); | |
8052 | return NULL; | |
8053 | } | |
8054 | } | |
8055 | { | |
474c48f9 | 8056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8057 | _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0); |
f6bcfd97 | 8058 | |
474c48f9 | 8059 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8060 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8061 | } _resultobj = Py_BuildValue("i",_result); |
8062 | return _resultobj; | |
8063 | } | |
8064 | ||
8065 | #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl()) | |
8066 | static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8067 | PyObject * _resultobj; | |
8068 | wxGrid * _arg0; | |
8069 | PyObject * _argo0 = 0; | |
8070 | char *_kwnames[] = { "self", NULL }; | |
8071 | ||
8072 | self = self; | |
8073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0)) | |
8074 | return NULL; | |
8075 | if (_argo0) { | |
8076 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8077 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p."); | |
8079 | return NULL; | |
8080 | } | |
8081 | } | |
8082 | { | |
474c48f9 | 8083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8084 | wxGrid_ShowCellEditControl(_arg0); |
f6bcfd97 | 8085 | |
474c48f9 | 8086 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8087 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8088 | } Py_INCREF(Py_None); |
8089 | _resultobj = Py_None; | |
8090 | return _resultobj; | |
8091 | } | |
8092 | ||
8093 | #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl()) | |
8094 | static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8095 | PyObject * _resultobj; | |
8096 | wxGrid * _arg0; | |
8097 | PyObject * _argo0 = 0; | |
8098 | char *_kwnames[] = { "self", NULL }; | |
8099 | ||
8100 | self = self; | |
8101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0)) | |
8102 | return NULL; | |
8103 | if (_argo0) { | |
8104 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8105 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p."); | |
8107 | return NULL; | |
8108 | } | |
8109 | } | |
8110 | { | |
474c48f9 | 8111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8112 | wxGrid_HideCellEditControl(_arg0); |
f6bcfd97 | 8113 | |
474c48f9 | 8114 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8115 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8116 | } Py_INCREF(Py_None); |
8117 | _resultobj = Py_None; | |
8118 | return _resultobj; | |
8119 | } | |
8120 | ||
8121 | #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue()) | |
8122 | static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8123 | PyObject * _resultobj; | |
8124 | wxGrid * _arg0; | |
8125 | PyObject * _argo0 = 0; | |
8126 | char *_kwnames[] = { "self", NULL }; | |
8127 | ||
8128 | self = self; | |
8129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0)) | |
8130 | return NULL; | |
8131 | if (_argo0) { | |
8132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p."); | |
8135 | return NULL; | |
8136 | } | |
8137 | } | |
8138 | { | |
474c48f9 | 8139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8140 | wxGrid_SaveEditControlValue(_arg0); |
f6bcfd97 | 8141 | |
474c48f9 | 8142 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8143 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8144 | } Py_INCREF(Py_None); |
8145 | _resultobj = Py_None; | |
8146 | return _resultobj; | |
8147 | } | |
8148 | ||
8149 | static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) { | |
8150 | wxGridCellCoords rv; | |
8151 | self->XYToCell(x, y, rv); | |
8152 | return new wxGridCellCoords(rv); | |
8153 | } | |
8154 | static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8155 | PyObject * _resultobj; | |
8156 | wxGridCellCoords * _result; | |
8157 | wxGrid * _arg0; | |
8158 | int _arg1; | |
8159 | int _arg2; | |
8160 | PyObject * _argo0 = 0; | |
8161 | char *_kwnames[] = { "self","x","y", NULL }; | |
8162 | char _ptemp[128]; | |
8163 | ||
8164 | self = self; | |
8165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8166 | return NULL; | |
8167 | if (_argo0) { | |
8168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p."); | |
8171 | return NULL; | |
8172 | } | |
8173 | } | |
8174 | { | |
474c48f9 | 8175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8176 | _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 8177 | |
474c48f9 | 8178 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8179 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8180 | } if (_result) { |
8181 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p"); | |
8182 | _resultobj = Py_BuildValue("s",_ptemp); | |
8183 | } else { | |
8184 | Py_INCREF(Py_None); | |
8185 | _resultobj = Py_None; | |
8186 | } | |
8187 | return _resultobj; | |
8188 | } | |
8189 | ||
8190 | #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0)) | |
8191 | static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8192 | PyObject * _resultobj; | |
8193 | int _result; | |
8194 | wxGrid * _arg0; | |
8195 | int _arg1; | |
8196 | PyObject * _argo0 = 0; | |
8197 | char *_kwnames[] = { "self","y", NULL }; | |
8198 | ||
8199 | self = self; | |
8200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1)) | |
8201 | return NULL; | |
8202 | if (_argo0) { | |
8203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p."); | |
8206 | return NULL; | |
8207 | } | |
8208 | } | |
8209 | { | |
474c48f9 | 8210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8211 | _result = (int )wxGrid_YToRow(_arg0,_arg1); |
f6bcfd97 | 8212 | |
474c48f9 | 8213 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8214 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8215 | } _resultobj = Py_BuildValue("i",_result); |
8216 | return _resultobj; | |
8217 | } | |
8218 | ||
8219 | #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0)) | |
8220 | static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8221 | PyObject * _resultobj; | |
8222 | int _result; | |
8223 | wxGrid * _arg0; | |
8224 | int _arg1; | |
8225 | PyObject * _argo0 = 0; | |
8226 | char *_kwnames[] = { "self","x", NULL }; | |
8227 | ||
8228 | self = self; | |
8229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1)) | |
8230 | return NULL; | |
8231 | if (_argo0) { | |
8232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p."); | |
8235 | return NULL; | |
8236 | } | |
8237 | } | |
8238 | { | |
474c48f9 | 8239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8240 | _result = (int )wxGrid_XToCol(_arg0,_arg1); |
f6bcfd97 | 8241 | |
474c48f9 | 8242 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8243 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8244 | } _resultobj = Py_BuildValue("i",_result); |
8245 | return _resultobj; | |
8246 | } | |
8247 | ||
8248 | #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0)) | |
8249 | static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8250 | PyObject * _resultobj; | |
8251 | int _result; | |
8252 | wxGrid * _arg0; | |
8253 | int _arg1; | |
8254 | PyObject * _argo0 = 0; | |
8255 | char *_kwnames[] = { "self","y", NULL }; | |
8256 | ||
8257 | self = self; | |
8258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1)) | |
8259 | return NULL; | |
8260 | if (_argo0) { | |
8261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p."); | |
8264 | return NULL; | |
8265 | } | |
8266 | } | |
8267 | { | |
474c48f9 | 8268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8269 | _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1); |
f6bcfd97 | 8270 | |
474c48f9 | 8271 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8272 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8273 | } _resultobj = Py_BuildValue("i",_result); |
8274 | return _resultobj; | |
8275 | } | |
8276 | ||
8277 | #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0)) | |
8278 | static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8279 | PyObject * _resultobj; | |
8280 | int _result; | |
8281 | wxGrid * _arg0; | |
8282 | int _arg1; | |
8283 | PyObject * _argo0 = 0; | |
8284 | char *_kwnames[] = { "self","x", NULL }; | |
8285 | ||
8286 | self = self; | |
8287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1)) | |
8288 | return NULL; | |
8289 | if (_argo0) { | |
8290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p."); | |
8293 | return NULL; | |
8294 | } | |
8295 | } | |
8296 | { | |
474c48f9 | 8297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8298 | _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1); |
f6bcfd97 | 8299 | |
474c48f9 | 8300 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8301 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8302 | } _resultobj = Py_BuildValue("i",_result); |
8303 | return _resultobj; | |
8304 | } | |
8305 | ||
8306 | #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1)) | |
8307 | static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8308 | PyObject * _resultobj; | |
8309 | wxRect * _result; | |
8310 | wxGrid * _arg0; | |
8311 | int _arg1; | |
8312 | int _arg2; | |
8313 | PyObject * _argo0 = 0; | |
8314 | char *_kwnames[] = { "self","row","col", NULL }; | |
8315 | char _ptemp[128]; | |
8316 | ||
8317 | self = self; | |
8318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8319 | return NULL; | |
8320 | if (_argo0) { | |
8321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p."); | |
8324 | return NULL; | |
8325 | } | |
8326 | } | |
8327 | { | |
474c48f9 | 8328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8329 | _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2)); |
f6bcfd97 | 8330 | |
474c48f9 | 8331 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8332 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8333 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
8334 | _resultobj = Py_BuildValue("s",_ptemp); | |
8335 | return _resultobj; | |
8336 | } | |
8337 | ||
8338 | #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow()) | |
8339 | static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8340 | PyObject * _resultobj; | |
8341 | int _result; | |
8342 | wxGrid * _arg0; | |
8343 | PyObject * _argo0 = 0; | |
8344 | char *_kwnames[] = { "self", NULL }; | |
8345 | ||
8346 | self = self; | |
8347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0)) | |
8348 | return NULL; | |
8349 | if (_argo0) { | |
8350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p."); | |
8353 | return NULL; | |
8354 | } | |
8355 | } | |
8356 | { | |
474c48f9 | 8357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8358 | _result = (int )wxGrid_GetGridCursorRow(_arg0); |
f6bcfd97 | 8359 | |
474c48f9 | 8360 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8361 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8362 | } _resultobj = Py_BuildValue("i",_result); |
8363 | return _resultobj; | |
8364 | } | |
8365 | ||
8366 | #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol()) | |
8367 | static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8368 | PyObject * _resultobj; | |
8369 | int _result; | |
8370 | wxGrid * _arg0; | |
8371 | PyObject * _argo0 = 0; | |
8372 | char *_kwnames[] = { "self", NULL }; | |
8373 | ||
8374 | self = self; | |
8375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0)) | |
8376 | return NULL; | |
8377 | if (_argo0) { | |
8378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p."); | |
8381 | return NULL; | |
8382 | } | |
8383 | } | |
8384 | { | |
474c48f9 | 8385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8386 | _result = (int )wxGrid_GetGridCursorCol(_arg0); |
f6bcfd97 | 8387 | |
474c48f9 | 8388 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8389 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8390 | } _resultobj = Py_BuildValue("i",_result); |
8391 | return _resultobj; | |
8392 | } | |
8393 | ||
8394 | #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2)) | |
8395 | static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8396 | PyObject * _resultobj; | |
8397 | bool _result; | |
8398 | wxGrid * _arg0; | |
8399 | int _arg1; | |
8400 | int _arg2; | |
8401 | bool _arg3 = (bool ) TRUE; | |
8402 | PyObject * _argo0 = 0; | |
8403 | int tempbool3 = (int) TRUE; | |
8404 | char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL }; | |
8405 | ||
8406 | self = self; | |
8407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
8408 | return NULL; | |
8409 | if (_argo0) { | |
8410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p."); | |
8413 | return NULL; | |
8414 | } | |
8415 | } | |
8416 | _arg3 = (bool ) tempbool3; | |
8417 | { | |
474c48f9 | 8418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8419 | _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 8420 | |
474c48f9 | 8421 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8422 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8423 | } _resultobj = Py_BuildValue("i",_result); |
8424 | return _resultobj; | |
8425 | } | |
8426 | ||
8427 | #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1)) | |
8428 | static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8429 | PyObject * _resultobj; | |
8430 | wxGrid * _arg0; | |
8431 | int _arg1; | |
8432 | int _arg2; | |
8433 | PyObject * _argo0 = 0; | |
8434 | char *_kwnames[] = { "self","row","col", NULL }; | |
8435 | ||
8436 | self = self; | |
8437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8438 | return NULL; | |
8439 | if (_argo0) { | |
8440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p."); | |
8443 | return NULL; | |
8444 | } | |
8445 | } | |
8446 | { | |
474c48f9 | 8447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8448 | wxGrid_MakeCellVisible(_arg0,_arg1,_arg2); |
f6bcfd97 | 8449 | |
474c48f9 | 8450 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8451 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8452 | } Py_INCREF(Py_None); |
8453 | _resultobj = Py_None; | |
8454 | return _resultobj; | |
8455 | } | |
8456 | ||
8457 | #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1)) | |
8458 | static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8459 | PyObject * _resultobj; | |
8460 | wxGrid * _arg0; | |
8461 | int _arg1; | |
8462 | int _arg2; | |
8463 | PyObject * _argo0 = 0; | |
8464 | char *_kwnames[] = { "self","row","col", NULL }; | |
8465 | ||
8466 | self = self; | |
8467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8468 | return NULL; | |
8469 | if (_argo0) { | |
8470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p."); | |
8473 | return NULL; | |
8474 | } | |
8475 | } | |
8476 | { | |
474c48f9 | 8477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8478 | wxGrid_SetGridCursor(_arg0,_arg1,_arg2); |
f6bcfd97 | 8479 | |
474c48f9 | 8480 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8481 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8482 | } Py_INCREF(Py_None); |
8483 | _resultobj = Py_None; | |
8484 | return _resultobj; | |
8485 | } | |
8486 | ||
8487 | #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0)) | |
8488 | static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8489 | PyObject * _resultobj; | |
8490 | bool _result; | |
8491 | wxGrid * _arg0; | |
8492 | bool _arg1; | |
8493 | PyObject * _argo0 = 0; | |
8494 | int tempbool1; | |
8495 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8496 | ||
8497 | self = self; | |
8498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1)) | |
8499 | return NULL; | |
8500 | if (_argo0) { | |
8501 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8502 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8503 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p."); | |
8504 | return NULL; | |
8505 | } | |
8506 | } | |
8507 | _arg1 = (bool ) tempbool1; | |
8508 | { | |
474c48f9 | 8509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8510 | _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1); |
f6bcfd97 | 8511 | |
474c48f9 | 8512 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8513 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8514 | } _resultobj = Py_BuildValue("i",_result); |
8515 | return _resultobj; | |
8516 | } | |
8517 | ||
8518 | #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0)) | |
8519 | static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8520 | PyObject * _resultobj; | |
8521 | bool _result; | |
8522 | wxGrid * _arg0; | |
8523 | bool _arg1; | |
8524 | PyObject * _argo0 = 0; | |
8525 | int tempbool1; | |
8526 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8527 | ||
8528 | self = self; | |
8529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1)) | |
8530 | return NULL; | |
8531 | if (_argo0) { | |
8532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p."); | |
8535 | return NULL; | |
8536 | } | |
8537 | } | |
8538 | _arg1 = (bool ) tempbool1; | |
8539 | { | |
474c48f9 | 8540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8541 | _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1); |
f6bcfd97 | 8542 | |
474c48f9 | 8543 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8544 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8545 | } _resultobj = Py_BuildValue("i",_result); |
8546 | return _resultobj; | |
8547 | } | |
8548 | ||
8549 | #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0)) | |
8550 | static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8551 | PyObject * _resultobj; | |
8552 | bool _result; | |
8553 | wxGrid * _arg0; | |
8554 | bool _arg1; | |
8555 | PyObject * _argo0 = 0; | |
8556 | int tempbool1; | |
8557 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8558 | ||
8559 | self = self; | |
8560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1)) | |
8561 | return NULL; | |
8562 | if (_argo0) { | |
8563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p."); | |
8566 | return NULL; | |
8567 | } | |
8568 | } | |
8569 | _arg1 = (bool ) tempbool1; | |
8570 | { | |
474c48f9 | 8571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8572 | _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1); |
f6bcfd97 | 8573 | |
474c48f9 | 8574 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8575 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8576 | } _resultobj = Py_BuildValue("i",_result); |
8577 | return _resultobj; | |
8578 | } | |
8579 | ||
8580 | #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0)) | |
8581 | static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8582 | PyObject * _resultobj; | |
8583 | bool _result; | |
8584 | wxGrid * _arg0; | |
8585 | bool _arg1; | |
8586 | PyObject * _argo0 = 0; | |
8587 | int tempbool1; | |
8588 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8589 | ||
8590 | self = self; | |
8591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1)) | |
8592 | return NULL; | |
8593 | if (_argo0) { | |
8594 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8595 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p."); | |
8597 | return NULL; | |
8598 | } | |
8599 | } | |
8600 | _arg1 = (bool ) tempbool1; | |
8601 | { | |
474c48f9 | 8602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8603 | _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1); |
f6bcfd97 | 8604 | |
474c48f9 | 8605 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8606 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8607 | } _resultobj = Py_BuildValue("i",_result); |
8608 | return _resultobj; | |
8609 | } | |
8610 | ||
8611 | #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown()) | |
8612 | static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8613 | PyObject * _resultobj; | |
8614 | bool _result; | |
8615 | wxGrid * _arg0; | |
8616 | PyObject * _argo0 = 0; | |
8617 | char *_kwnames[] = { "self", NULL }; | |
8618 | ||
8619 | self = self; | |
8620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0)) | |
8621 | return NULL; | |
8622 | if (_argo0) { | |
8623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p."); | |
8626 | return NULL; | |
8627 | } | |
8628 | } | |
8629 | { | |
474c48f9 | 8630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8631 | _result = (bool )wxGrid_MovePageDown(_arg0); |
f6bcfd97 | 8632 | |
474c48f9 | 8633 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8634 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8635 | } _resultobj = Py_BuildValue("i",_result); |
8636 | return _resultobj; | |
8637 | } | |
8638 | ||
8639 | #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp()) | |
8640 | static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8641 | PyObject * _resultobj; | |
8642 | bool _result; | |
8643 | wxGrid * _arg0; | |
8644 | PyObject * _argo0 = 0; | |
8645 | char *_kwnames[] = { "self", NULL }; | |
8646 | ||
8647 | self = self; | |
8648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0)) | |
8649 | return NULL; | |
8650 | if (_argo0) { | |
8651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p."); | |
8654 | return NULL; | |
8655 | } | |
8656 | } | |
8657 | { | |
474c48f9 | 8658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8659 | _result = (bool )wxGrid_MovePageUp(_arg0); |
f6bcfd97 | 8660 | |
474c48f9 | 8661 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8662 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8663 | } _resultobj = Py_BuildValue("i",_result); |
8664 | return _resultobj; | |
8665 | } | |
8666 | ||
8667 | #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0)) | |
8668 | static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8669 | PyObject * _resultobj; | |
8670 | bool _result; | |
8671 | wxGrid * _arg0; | |
8672 | bool _arg1; | |
8673 | PyObject * _argo0 = 0; | |
8674 | int tempbool1; | |
8675 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8676 | ||
8677 | self = self; | |
8678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1)) | |
8679 | return NULL; | |
8680 | if (_argo0) { | |
8681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p."); | |
8684 | return NULL; | |
8685 | } | |
8686 | } | |
8687 | _arg1 = (bool ) tempbool1; | |
8688 | { | |
474c48f9 | 8689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8690 | _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1); |
f6bcfd97 | 8691 | |
474c48f9 | 8692 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8693 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8694 | } _resultobj = Py_BuildValue("i",_result); |
8695 | return _resultobj; | |
8696 | } | |
8697 | ||
8698 | #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0)) | |
8699 | static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8700 | PyObject * _resultobj; | |
8701 | bool _result; | |
8702 | wxGrid * _arg0; | |
8703 | bool _arg1; | |
8704 | PyObject * _argo0 = 0; | |
8705 | int tempbool1; | |
8706 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8707 | ||
8708 | self = self; | |
8709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1)) | |
8710 | return NULL; | |
8711 | if (_argo0) { | |
8712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p."); | |
8715 | return NULL; | |
8716 | } | |
8717 | } | |
8718 | _arg1 = (bool ) tempbool1; | |
8719 | { | |
474c48f9 | 8720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8721 | _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1); |
f6bcfd97 | 8722 | |
474c48f9 | 8723 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8724 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8725 | } _resultobj = Py_BuildValue("i",_result); |
8726 | return _resultobj; | |
8727 | } | |
8728 | ||
8729 | #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0)) | |
8730 | static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8731 | PyObject * _resultobj; | |
8732 | bool _result; | |
8733 | wxGrid * _arg0; | |
8734 | bool _arg1; | |
8735 | PyObject * _argo0 = 0; | |
8736 | int tempbool1; | |
8737 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8738 | ||
8739 | self = self; | |
8740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1)) | |
8741 | return NULL; | |
8742 | if (_argo0) { | |
8743 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8744 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8745 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p."); | |
8746 | return NULL; | |
8747 | } | |
8748 | } | |
8749 | _arg1 = (bool ) tempbool1; | |
8750 | { | |
474c48f9 | 8751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8752 | _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1); |
f6bcfd97 | 8753 | |
474c48f9 | 8754 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8755 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8756 | } _resultobj = Py_BuildValue("i",_result); |
8757 | return _resultobj; | |
8758 | } | |
8759 | ||
8760 | #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0)) | |
8761 | static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8762 | PyObject * _resultobj; | |
8763 | bool _result; | |
8764 | wxGrid * _arg0; | |
8765 | bool _arg1; | |
8766 | PyObject * _argo0 = 0; | |
8767 | int tempbool1; | |
8768 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8769 | ||
8770 | self = self; | |
8771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1)) | |
8772 | return NULL; | |
8773 | if (_argo0) { | |
8774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p."); | |
8777 | return NULL; | |
8778 | } | |
8779 | } | |
8780 | _arg1 = (bool ) tempbool1; | |
8781 | { | |
474c48f9 | 8782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8783 | _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1); |
f6bcfd97 | 8784 | |
474c48f9 | 8785 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8786 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8787 | } _resultobj = Py_BuildValue("i",_result); |
8788 | return _resultobj; | |
8789 | } | |
8790 | ||
8791 | #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize()) | |
8792 | static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8793 | PyObject * _resultobj; | |
8794 | int _result; | |
8795 | wxGrid * _arg0; | |
8796 | PyObject * _argo0 = 0; | |
8797 | char *_kwnames[] = { "self", NULL }; | |
8798 | ||
8799 | self = self; | |
8800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0)) | |
8801 | return NULL; | |
8802 | if (_argo0) { | |
8803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p."); | |
8806 | return NULL; | |
8807 | } | |
8808 | } | |
8809 | { | |
474c48f9 | 8810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8811 | _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0); |
f6bcfd97 | 8812 | |
474c48f9 | 8813 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8814 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8815 | } _resultobj = Py_BuildValue("i",_result); |
8816 | return _resultobj; | |
8817 | } | |
8818 | ||
8819 | #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize()) | |
8820 | static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8821 | PyObject * _resultobj; | |
8822 | int _result; | |
8823 | wxGrid * _arg0; | |
8824 | PyObject * _argo0 = 0; | |
8825 | char *_kwnames[] = { "self", NULL }; | |
8826 | ||
8827 | self = self; | |
8828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0)) | |
8829 | return NULL; | |
8830 | if (_argo0) { | |
8831 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8832 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p."); | |
8834 | return NULL; | |
8835 | } | |
8836 | } | |
8837 | { | |
474c48f9 | 8838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8839 | _result = (int )wxGrid_GetRowLabelSize(_arg0); |
f6bcfd97 | 8840 | |
474c48f9 | 8841 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8842 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8843 | } _resultobj = Py_BuildValue("i",_result); |
8844 | return _resultobj; | |
8845 | } | |
8846 | ||
8847 | #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize()) | |
8848 | static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8849 | PyObject * _resultobj; | |
8850 | int _result; | |
8851 | wxGrid * _arg0; | |
8852 | PyObject * _argo0 = 0; | |
8853 | char *_kwnames[] = { "self", NULL }; | |
8854 | ||
8855 | self = self; | |
8856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0)) | |
8857 | return NULL; | |
8858 | if (_argo0) { | |
8859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p."); | |
8862 | return NULL; | |
8863 | } | |
8864 | } | |
8865 | { | |
474c48f9 | 8866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8867 | _result = (int )wxGrid_GetDefaultColLabelSize(_arg0); |
f6bcfd97 | 8868 | |
474c48f9 | 8869 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8870 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8871 | } _resultobj = Py_BuildValue("i",_result); |
8872 | return _resultobj; | |
8873 | } | |
8874 | ||
8875 | #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize()) | |
8876 | static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8877 | PyObject * _resultobj; | |
8878 | int _result; | |
8879 | wxGrid * _arg0; | |
8880 | PyObject * _argo0 = 0; | |
8881 | char *_kwnames[] = { "self", NULL }; | |
8882 | ||
8883 | self = self; | |
8884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0)) | |
8885 | return NULL; | |
8886 | if (_argo0) { | |
8887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p."); | |
8890 | return NULL; | |
8891 | } | |
8892 | } | |
8893 | { | |
474c48f9 | 8894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8895 | _result = (int )wxGrid_GetColLabelSize(_arg0); |
f6bcfd97 | 8896 | |
474c48f9 | 8897 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8898 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8899 | } _resultobj = Py_BuildValue("i",_result); |
8900 | return _resultobj; | |
8901 | } | |
8902 | ||
8903 | #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour()) | |
8904 | static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8905 | PyObject * _resultobj; | |
8906 | wxColour * _result; | |
8907 | wxGrid * _arg0; | |
8908 | PyObject * _argo0 = 0; | |
8909 | char *_kwnames[] = { "self", NULL }; | |
8910 | char _ptemp[128]; | |
8911 | ||
8912 | self = self; | |
8913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0)) | |
8914 | return NULL; | |
8915 | if (_argo0) { | |
8916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p."); | |
8919 | return NULL; | |
8920 | } | |
8921 | } | |
8922 | { | |
474c48f9 | 8923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8924 | _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0)); |
f6bcfd97 | 8925 | |
474c48f9 | 8926 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8927 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8928 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
8929 | _resultobj = Py_BuildValue("s",_ptemp); | |
8930 | return _resultobj; | |
8931 | } | |
8932 | ||
8933 | #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour()) | |
8934 | static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8935 | PyObject * _resultobj; | |
8936 | wxColour * _result; | |
8937 | wxGrid * _arg0; | |
8938 | PyObject * _argo0 = 0; | |
8939 | char *_kwnames[] = { "self", NULL }; | |
8940 | char _ptemp[128]; | |
8941 | ||
8942 | self = self; | |
8943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0)) | |
8944 | return NULL; | |
8945 | if (_argo0) { | |
8946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p."); | |
8949 | return NULL; | |
8950 | } | |
8951 | } | |
8952 | { | |
474c48f9 | 8953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8954 | _result = new wxColour (wxGrid_GetLabelTextColour(_arg0)); |
f6bcfd97 | 8955 | |
474c48f9 | 8956 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8957 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8958 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
8959 | _resultobj = Py_BuildValue("s",_ptemp); | |
8960 | return _resultobj; | |
8961 | } | |
8962 | ||
8963 | #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont()) | |
8964 | static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8965 | PyObject * _resultobj; | |
8966 | wxFont * _result; | |
8967 | wxGrid * _arg0; | |
8968 | PyObject * _argo0 = 0; | |
8969 | char *_kwnames[] = { "self", NULL }; | |
8970 | char _ptemp[128]; | |
8971 | ||
8972 | self = self; | |
8973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0)) | |
8974 | return NULL; | |
8975 | if (_argo0) { | |
8976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p."); | |
8979 | return NULL; | |
8980 | } | |
8981 | } | |
8982 | { | |
474c48f9 | 8983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8984 | _result = new wxFont (wxGrid_GetLabelFont(_arg0)); |
f6bcfd97 | 8985 | |
474c48f9 | 8986 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8987 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8988 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
8989 | _resultobj = Py_BuildValue("s",_ptemp); | |
8990 | return _resultobj; | |
8991 | } | |
8992 | ||
8993 | #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1)) | |
8994 | static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8995 | PyObject * _resultobj; | |
8996 | wxGrid * _arg0; | |
8997 | int * _arg1; | |
8998 | int temp; | |
8999 | int * _arg2; | |
9000 | int temp0; | |
9001 | PyObject * _argo0 = 0; | |
9002 | char *_kwnames[] = { "self", NULL }; | |
9003 | ||
9004 | self = self; | |
9005 | { | |
9006 | _arg1 = &temp; | |
9007 | } | |
9008 | { | |
9009 | _arg2 = &temp0; | |
9010 | } | |
9011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0)) | |
9012 | return NULL; | |
9013 | if (_argo0) { | |
9014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p."); | |
9017 | return NULL; | |
9018 | } | |
9019 | } | |
9020 | { | |
474c48f9 | 9021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9022 | wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9023 | |
474c48f9 | 9024 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9025 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9026 | } Py_INCREF(Py_None); |
9027 | _resultobj = Py_None; | |
9028 | { | |
9029 | PyObject *o; | |
9030 | o = PyInt_FromLong((long) (*_arg1)); | |
9031 | _resultobj = t_output_helper(_resultobj, o); | |
9032 | } | |
9033 | { | |
9034 | PyObject *o; | |
9035 | o = PyInt_FromLong((long) (*_arg2)); | |
9036 | _resultobj = t_output_helper(_resultobj, o); | |
9037 | } | |
9038 | return _resultobj; | |
9039 | } | |
9040 | ||
9041 | #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1)) | |
9042 | static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9043 | PyObject * _resultobj; | |
9044 | wxGrid * _arg0; | |
9045 | int * _arg1; | |
9046 | int temp; | |
9047 | int * _arg2; | |
9048 | int temp0; | |
9049 | PyObject * _argo0 = 0; | |
9050 | char *_kwnames[] = { "self", NULL }; | |
9051 | ||
9052 | self = self; | |
9053 | { | |
9054 | _arg1 = &temp; | |
9055 | } | |
9056 | { | |
9057 | _arg2 = &temp0; | |
9058 | } | |
9059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0)) | |
9060 | return NULL; | |
9061 | if (_argo0) { | |
9062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p."); | |
9065 | return NULL; | |
9066 | } | |
9067 | } | |
9068 | { | |
474c48f9 | 9069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9070 | wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9071 | |
474c48f9 | 9072 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9073 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9074 | } Py_INCREF(Py_None); |
9075 | _resultobj = Py_None; | |
9076 | { | |
9077 | PyObject *o; | |
9078 | o = PyInt_FromLong((long) (*_arg1)); | |
9079 | _resultobj = t_output_helper(_resultobj, o); | |
9080 | } | |
9081 | { | |
9082 | PyObject *o; | |
9083 | o = PyInt_FromLong((long) (*_arg2)); | |
9084 | _resultobj = t_output_helper(_resultobj, o); | |
9085 | } | |
9086 | return _resultobj; | |
9087 | } | |
9088 | ||
9089 | #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0)) | |
9090 | static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9091 | PyObject * _resultobj; | |
9092 | wxString * _result; | |
9093 | wxGrid * _arg0; | |
9094 | int _arg1; | |
9095 | PyObject * _argo0 = 0; | |
9096 | char *_kwnames[] = { "self","row", NULL }; | |
9097 | ||
9098 | self = self; | |
9099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
9100 | return NULL; | |
9101 | if (_argo0) { | |
9102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p."); | |
9105 | return NULL; | |
9106 | } | |
9107 | } | |
9108 | { | |
474c48f9 | 9109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9110 | _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 9111 | |
474c48f9 | 9112 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9113 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 9114 | }{ |
c8bc7bb8 RD |
9115 | #if wxUSE_UNICODE |
9116 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
9117 | #else | |
f6bcfd97 | 9118 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9119 | #endif |
f6bcfd97 BP |
9120 | } |
9121 | { | |
9122 | delete _result; | |
9123 | } | |
9124 | return _resultobj; | |
9125 | } | |
9126 | ||
9127 | #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0)) | |
9128 | static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9129 | PyObject * _resultobj; | |
9130 | wxString * _result; | |
9131 | wxGrid * _arg0; | |
9132 | int _arg1; | |
9133 | PyObject * _argo0 = 0; | |
9134 | char *_kwnames[] = { "self","col", NULL }; | |
9135 | ||
9136 | self = self; | |
9137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
9138 | return NULL; | |
9139 | if (_argo0) { | |
9140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p."); | |
9143 | return NULL; | |
9144 | } | |
9145 | } | |
9146 | { | |
474c48f9 | 9147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9148 | _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 9149 | |
474c48f9 | 9150 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9151 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 9152 | }{ |
c8bc7bb8 RD |
9153 | #if wxUSE_UNICODE |
9154 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
9155 | #else | |
f6bcfd97 | 9156 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9157 | #endif |
f6bcfd97 BP |
9158 | } |
9159 | { | |
9160 | delete _result; | |
9161 | } | |
9162 | return _resultobj; | |
9163 | } | |
9164 | ||
9165 | #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour()) | |
9166 | static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9167 | PyObject * _resultobj; | |
9168 | wxColour * _result; | |
9169 | wxGrid * _arg0; | |
9170 | PyObject * _argo0 = 0; | |
9171 | char *_kwnames[] = { "self", NULL }; | |
9172 | char _ptemp[128]; | |
9173 | ||
9174 | self = self; | |
9175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0)) | |
9176 | return NULL; | |
9177 | if (_argo0) { | |
9178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p."); | |
9181 | return NULL; | |
9182 | } | |
9183 | } | |
9184 | { | |
474c48f9 | 9185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9186 | _result = new wxColour (wxGrid_GetGridLineColour(_arg0)); |
f6bcfd97 | 9187 | |
474c48f9 | 9188 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9189 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9190 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9191 | _resultobj = Py_BuildValue("s",_ptemp); | |
9192 | return _resultobj; | |
9193 | } | |
9194 | ||
9195 | #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour()) | |
9196 | static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9197 | PyObject * _resultobj; | |
9198 | wxColour * _result; | |
9199 | wxGrid * _arg0; | |
9200 | PyObject * _argo0 = 0; | |
9201 | char *_kwnames[] = { "self", NULL }; | |
9202 | char _ptemp[128]; | |
9203 | ||
9204 | self = self; | |
9205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0)) | |
9206 | return NULL; | |
9207 | if (_argo0) { | |
9208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p."); | |
9211 | return NULL; | |
9212 | } | |
9213 | } | |
9214 | { | |
474c48f9 | 9215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9216 | _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0)); |
f6bcfd97 | 9217 | |
474c48f9 | 9218 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9219 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9220 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9221 | _resultobj = Py_BuildValue("s",_ptemp); | |
9222 | return _resultobj; | |
9223 | } | |
9224 | ||
9df61a29 RD |
9225 | #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth()) |
9226 | static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9227 | PyObject * _resultobj; | |
9228 | int _result; | |
9229 | wxGrid * _arg0; | |
9230 | PyObject * _argo0 = 0; | |
9231 | char *_kwnames[] = { "self", NULL }; | |
9232 | ||
9233 | self = self; | |
9234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0)) | |
9235 | return NULL; | |
9236 | if (_argo0) { | |
9237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p."); | |
9240 | return NULL; | |
9241 | } | |
9242 | } | |
9243 | { | |
474c48f9 | 9244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9245 | _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0); |
9df61a29 | 9246 | |
474c48f9 | 9247 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9248 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
9249 | } _resultobj = Py_BuildValue("i",_result); |
9250 | return _resultobj; | |
9251 | } | |
9252 | ||
9253 | #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth()) | |
9254 | static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9255 | PyObject * _resultobj; | |
9256 | int _result; | |
9257 | wxGrid * _arg0; | |
9258 | PyObject * _argo0 = 0; | |
9259 | char *_kwnames[] = { "self", NULL }; | |
9260 | ||
9261 | self = self; | |
9262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0)) | |
9263 | return NULL; | |
9264 | if (_argo0) { | |
9265 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9266 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p."); | |
9268 | return NULL; | |
9269 | } | |
9270 | } | |
9271 | { | |
474c48f9 | 9272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9273 | _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0); |
9df61a29 | 9274 | |
474c48f9 | 9275 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9276 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
9277 | } _resultobj = Py_BuildValue("i",_result); |
9278 | return _resultobj; | |
9279 | } | |
9280 | ||
f6bcfd97 BP |
9281 | #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0)) |
9282 | static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9283 | PyObject * _resultobj; | |
9284 | wxGrid * _arg0; | |
9285 | int _arg1; | |
9286 | PyObject * _argo0 = 0; | |
9287 | char *_kwnames[] = { "self","width", NULL }; | |
9288 | ||
9289 | self = self; | |
9290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1)) | |
9291 | return NULL; | |
9292 | if (_argo0) { | |
9293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p."); | |
9296 | return NULL; | |
9297 | } | |
9298 | } | |
9299 | { | |
474c48f9 | 9300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9301 | wxGrid_SetRowLabelSize(_arg0,_arg1); |
f6bcfd97 | 9302 | |
474c48f9 | 9303 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9304 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9305 | } Py_INCREF(Py_None); |
9306 | _resultobj = Py_None; | |
9307 | return _resultobj; | |
9308 | } | |
9309 | ||
9310 | #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0)) | |
9311 | static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9312 | PyObject * _resultobj; | |
9313 | wxGrid * _arg0; | |
9314 | int _arg1; | |
9315 | PyObject * _argo0 = 0; | |
9316 | char *_kwnames[] = { "self","height", NULL }; | |
9317 | ||
9318 | self = self; | |
9319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1)) | |
9320 | return NULL; | |
9321 | if (_argo0) { | |
9322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p."); | |
9325 | return NULL; | |
9326 | } | |
9327 | } | |
9328 | { | |
474c48f9 | 9329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9330 | wxGrid_SetColLabelSize(_arg0,_arg1); |
f6bcfd97 | 9331 | |
474c48f9 | 9332 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9333 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9334 | } Py_INCREF(Py_None); |
9335 | _resultobj = Py_None; | |
9336 | return _resultobj; | |
9337 | } | |
9338 | ||
9339 | #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0)) | |
9340 | static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9341 | PyObject * _resultobj; | |
9342 | wxGrid * _arg0; | |
9343 | wxColour * _arg1; | |
9344 | PyObject * _argo0 = 0; | |
9345 | wxColour temp; | |
9346 | PyObject * _obj1 = 0; | |
9347 | char *_kwnames[] = { "self","arg2", NULL }; | |
9348 | ||
9349 | self = self; | |
9350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
9351 | return NULL; | |
9352 | if (_argo0) { | |
9353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p."); | |
9356 | return NULL; | |
9357 | } | |
9358 | } | |
9359 | { | |
9360 | _arg1 = &temp; | |
9361 | if (! wxColour_helper(_obj1, &_arg1)) | |
9362 | return NULL; | |
9363 | } | |
9364 | { | |
474c48f9 | 9365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9366 | wxGrid_SetLabelBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 9367 | |
474c48f9 | 9368 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9369 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9370 | } Py_INCREF(Py_None); |
9371 | _resultobj = Py_None; | |
9372 | return _resultobj; | |
9373 | } | |
9374 | ||
9375 | #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0)) | |
9376 | static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9377 | PyObject * _resultobj; | |
9378 | wxGrid * _arg0; | |
9379 | wxColour * _arg1; | |
9380 | PyObject * _argo0 = 0; | |
9381 | wxColour temp; | |
9382 | PyObject * _obj1 = 0; | |
9383 | char *_kwnames[] = { "self","arg2", NULL }; | |
9384 | ||
9385 | self = self; | |
9386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1)) | |
9387 | return NULL; | |
9388 | if (_argo0) { | |
9389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p."); | |
9392 | return NULL; | |
9393 | } | |
9394 | } | |
9395 | { | |
9396 | _arg1 = &temp; | |
9397 | if (! wxColour_helper(_obj1, &_arg1)) | |
9398 | return NULL; | |
9399 | } | |
9400 | { | |
474c48f9 | 9401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9402 | wxGrid_SetLabelTextColour(_arg0,*_arg1); |
f6bcfd97 | 9403 | |
474c48f9 | 9404 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9405 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9406 | } Py_INCREF(Py_None); |
9407 | _resultobj = Py_None; | |
9408 | return _resultobj; | |
9409 | } | |
9410 | ||
9411 | #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0)) | |
9412 | static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9413 | PyObject * _resultobj; | |
9414 | wxGrid * _arg0; | |
9415 | wxFont * _arg1; | |
9416 | PyObject * _argo0 = 0; | |
9417 | PyObject * _argo1 = 0; | |
9418 | char *_kwnames[] = { "self","arg2", NULL }; | |
9419 | ||
9420 | self = self; | |
9421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1)) | |
9422 | return NULL; | |
9423 | if (_argo0) { | |
9424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p."); | |
9427 | return NULL; | |
9428 | } | |
9429 | } | |
9430 | if (_argo1) { | |
9431 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9432 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
9433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p."); | |
9434 | return NULL; | |
9435 | } | |
9436 | } | |
9437 | { | |
474c48f9 | 9438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9439 | wxGrid_SetLabelFont(_arg0,*_arg1); |
f6bcfd97 | 9440 | |
474c48f9 | 9441 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9442 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9443 | } Py_INCREF(Py_None); |
9444 | _resultobj = Py_None; | |
9445 | return _resultobj; | |
9446 | } | |
9447 | ||
9448 | #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1)) | |
9449 | static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9450 | PyObject * _resultobj; | |
9451 | wxGrid * _arg0; | |
9452 | int _arg1; | |
9453 | int _arg2; | |
9454 | PyObject * _argo0 = 0; | |
9455 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
9456 | ||
9457 | self = self; | |
9458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9459 | return NULL; | |
9460 | if (_argo0) { | |
9461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p."); | |
9464 | return NULL; | |
9465 | } | |
9466 | } | |
9467 | { | |
474c48f9 | 9468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9469 | wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9470 | |
474c48f9 | 9471 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9472 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9473 | } Py_INCREF(Py_None); |
9474 | _resultobj = Py_None; | |
9475 | return _resultobj; | |
9476 | } | |
9477 | ||
9478 | #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1)) | |
9479 | static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9480 | PyObject * _resultobj; | |
9481 | wxGrid * _arg0; | |
9482 | int _arg1; | |
9483 | int _arg2; | |
9484 | PyObject * _argo0 = 0; | |
9485 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
9486 | ||
9487 | self = self; | |
9488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9489 | return NULL; | |
9490 | if (_argo0) { | |
9491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p."); | |
9494 | return NULL; | |
9495 | } | |
9496 | } | |
9497 | { | |
474c48f9 | 9498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9499 | wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9500 | |
474c48f9 | 9501 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9502 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9503 | } Py_INCREF(Py_None); |
9504 | _resultobj = Py_None; | |
9505 | return _resultobj; | |
9506 | } | |
9507 | ||
9508 | #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1)) | |
9509 | static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9510 | PyObject * _resultobj; | |
9511 | wxGrid * _arg0; | |
9512 | int _arg1; | |
9513 | wxString * _arg2; | |
9514 | PyObject * _argo0 = 0; | |
9515 | PyObject * _obj2 = 0; | |
9516 | char *_kwnames[] = { "self","row","arg3", NULL }; | |
9517 | ||
9518 | self = self; | |
9519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9520 | return NULL; | |
9521 | if (_argo0) { | |
9522 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9523 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p."); | |
9525 | return NULL; | |
9526 | } | |
9527 | } | |
9528 | { | |
c8bc7bb8 RD |
9529 | _arg2 = wxString_in_helper(_obj2); |
9530 | if (_arg2 == NULL) | |
2cd2fac8 | 9531 | return NULL; |
f6bcfd97 BP |
9532 | } |
9533 | { | |
474c48f9 | 9534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9535 | wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 9536 | |
474c48f9 | 9537 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9538 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9539 | } Py_INCREF(Py_None); |
9540 | _resultobj = Py_None; | |
9541 | { | |
9542 | if (_obj2) | |
9543 | delete _arg2; | |
9544 | } | |
9545 | return _resultobj; | |
9546 | } | |
9547 | ||
9548 | #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1)) | |
9549 | static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9550 | PyObject * _resultobj; | |
9551 | wxGrid * _arg0; | |
9552 | int _arg1; | |
9553 | wxString * _arg2; | |
9554 | PyObject * _argo0 = 0; | |
9555 | PyObject * _obj2 = 0; | |
9556 | char *_kwnames[] = { "self","col","arg3", NULL }; | |
9557 | ||
9558 | self = self; | |
9559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9560 | return NULL; | |
9561 | if (_argo0) { | |
9562 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9563 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p."); | |
9565 | return NULL; | |
9566 | } | |
9567 | } | |
9568 | { | |
c8bc7bb8 RD |
9569 | _arg2 = wxString_in_helper(_obj2); |
9570 | if (_arg2 == NULL) | |
2cd2fac8 | 9571 | return NULL; |
f6bcfd97 BP |
9572 | } |
9573 | { | |
474c48f9 | 9574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9575 | wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 9576 | |
474c48f9 | 9577 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9578 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9579 | } Py_INCREF(Py_None); |
9580 | _resultobj = Py_None; | |
9581 | { | |
9582 | if (_obj2) | |
9583 | delete _arg2; | |
9584 | } | |
9585 | return _resultobj; | |
9586 | } | |
9587 | ||
9588 | #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0)) | |
9589 | static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9590 | PyObject * _resultobj; | |
9591 | wxGrid * _arg0; | |
9592 | wxColour * _arg1; | |
9593 | PyObject * _argo0 = 0; | |
9594 | wxColour temp; | |
9595 | PyObject * _obj1 = 0; | |
9596 | char *_kwnames[] = { "self","arg2", NULL }; | |
9597 | ||
9598 | self = self; | |
9599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1)) | |
9600 | return NULL; | |
9601 | if (_argo0) { | |
9602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p."); | |
9605 | return NULL; | |
9606 | } | |
9607 | } | |
9608 | { | |
9609 | _arg1 = &temp; | |
9610 | if (! wxColour_helper(_obj1, &_arg1)) | |
9611 | return NULL; | |
9612 | } | |
9613 | { | |
474c48f9 | 9614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9615 | wxGrid_SetGridLineColour(_arg0,*_arg1); |
f6bcfd97 | 9616 | |
474c48f9 | 9617 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9618 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9619 | } Py_INCREF(Py_None); |
9620 | _resultobj = Py_None; | |
9621 | return _resultobj; | |
9622 | } | |
9623 | ||
9624 | #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0)) | |
9625 | static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9626 | PyObject * _resultobj; | |
9627 | wxGrid * _arg0; | |
9628 | wxColour * _arg1; | |
9629 | PyObject * _argo0 = 0; | |
9630 | wxColour temp; | |
9631 | PyObject * _obj1 = 0; | |
9632 | char *_kwnames[] = { "self","arg2", NULL }; | |
9633 | ||
9634 | self = self; | |
9635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1)) | |
9636 | return NULL; | |
9637 | if (_argo0) { | |
9638 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9639 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9640 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p."); | |
9641 | return NULL; | |
9642 | } | |
9643 | } | |
9644 | { | |
9645 | _arg1 = &temp; | |
9646 | if (! wxColour_helper(_obj1, &_arg1)) | |
9647 | return NULL; | |
9648 | } | |
9649 | { | |
474c48f9 | 9650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9651 | wxGrid_SetCellHighlightColour(_arg0,*_arg1); |
f6bcfd97 | 9652 | |
474c48f9 | 9653 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9654 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9655 | } Py_INCREF(Py_None); |
9656 | _resultobj = Py_None; | |
9657 | return _resultobj; | |
9658 | } | |
9659 | ||
9df61a29 RD |
9660 | #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0)) |
9661 | static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9662 | PyObject * _resultobj; | |
9663 | wxGrid * _arg0; | |
9664 | int _arg1; | |
9665 | PyObject * _argo0 = 0; | |
9666 | char *_kwnames[] = { "self","width", NULL }; | |
9667 | ||
9668 | self = self; | |
9669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1)) | |
9670 | return NULL; | |
9671 | if (_argo0) { | |
9672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p."); | |
9675 | return NULL; | |
9676 | } | |
9677 | } | |
9678 | { | |
474c48f9 | 9679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9680 | wxGrid_SetCellHighlightPenWidth(_arg0,_arg1); |
9df61a29 | 9681 | |
474c48f9 | 9682 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9683 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
9684 | } Py_INCREF(Py_None); |
9685 | _resultobj = Py_None; | |
9686 | return _resultobj; | |
9687 | } | |
9688 | ||
9689 | #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0)) | |
9690 | static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9691 | PyObject * _resultobj; | |
9692 | wxGrid * _arg0; | |
9693 | int _arg1; | |
9694 | PyObject * _argo0 = 0; | |
9695 | char *_kwnames[] = { "self","width", NULL }; | |
9696 | ||
9697 | self = self; | |
9698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1)) | |
9699 | return NULL; | |
9700 | if (_argo0) { | |
9701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p."); | |
9704 | return NULL; | |
9705 | } | |
9706 | } | |
9707 | { | |
474c48f9 | 9708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9709 | wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1); |
9df61a29 | 9710 | |
474c48f9 | 9711 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9712 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
9713 | } Py_INCREF(Py_None); |
9714 | _resultobj = Py_None; | |
9715 | return _resultobj; | |
9716 | } | |
9717 | ||
f6bcfd97 BP |
9718 | #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0)) |
9719 | static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9720 | PyObject * _resultobj; | |
9721 | wxGrid * _arg0; | |
9722 | bool _arg1 = (bool ) TRUE; | |
9723 | PyObject * _argo0 = 0; | |
9724 | int tempbool1 = (int) TRUE; | |
9725 | char *_kwnames[] = { "self","enable", NULL }; | |
9726 | ||
9727 | self = self; | |
9728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1)) | |
9729 | return NULL; | |
9730 | if (_argo0) { | |
9731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p."); | |
9734 | return NULL; | |
9735 | } | |
9736 | } | |
9737 | _arg1 = (bool ) tempbool1; | |
9738 | { | |
474c48f9 | 9739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9740 | wxGrid_EnableDragRowSize(_arg0,_arg1); |
f6bcfd97 | 9741 | |
474c48f9 | 9742 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9743 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9744 | } Py_INCREF(Py_None); |
9745 | _resultobj = Py_None; | |
9746 | return _resultobj; | |
9747 | } | |
9748 | ||
9749 | #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize()) | |
9750 | static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9751 | PyObject * _resultobj; | |
9752 | wxGrid * _arg0; | |
9753 | PyObject * _argo0 = 0; | |
9754 | char *_kwnames[] = { "self", NULL }; | |
9755 | ||
9756 | self = self; | |
9757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0)) | |
9758 | return NULL; | |
9759 | if (_argo0) { | |
9760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p."); | |
9763 | return NULL; | |
9764 | } | |
9765 | } | |
9766 | { | |
474c48f9 | 9767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9768 | wxGrid_DisableDragRowSize(_arg0); |
f6bcfd97 | 9769 | |
474c48f9 | 9770 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9771 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9772 | } Py_INCREF(Py_None); |
9773 | _resultobj = Py_None; | |
9774 | return _resultobj; | |
9775 | } | |
9776 | ||
9777 | #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize()) | |
9778 | static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9779 | PyObject * _resultobj; | |
9780 | bool _result; | |
9781 | wxGrid * _arg0; | |
9782 | PyObject * _argo0 = 0; | |
9783 | char *_kwnames[] = { "self", NULL }; | |
9784 | ||
9785 | self = self; | |
9786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0)) | |
9787 | return NULL; | |
9788 | if (_argo0) { | |
9789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p."); | |
9792 | return NULL; | |
9793 | } | |
9794 | } | |
9795 | { | |
474c48f9 | 9796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9797 | _result = (bool )wxGrid_CanDragRowSize(_arg0); |
f6bcfd97 | 9798 | |
474c48f9 | 9799 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9800 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9801 | } _resultobj = Py_BuildValue("i",_result); |
9802 | return _resultobj; | |
9803 | } | |
9804 | ||
9805 | #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0)) | |
9806 | static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9807 | PyObject * _resultobj; | |
9808 | wxGrid * _arg0; | |
9809 | bool _arg1 = (bool ) TRUE; | |
9810 | PyObject * _argo0 = 0; | |
9811 | int tempbool1 = (int) TRUE; | |
9812 | char *_kwnames[] = { "self","enable", NULL }; | |
9813 | ||
9814 | self = self; | |
9815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1)) | |
9816 | return NULL; | |
9817 | if (_argo0) { | |
9818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p."); | |
9821 | return NULL; | |
9822 | } | |
9823 | } | |
9824 | _arg1 = (bool ) tempbool1; | |
9825 | { | |
474c48f9 | 9826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9827 | wxGrid_EnableDragColSize(_arg0,_arg1); |
f6bcfd97 | 9828 | |
474c48f9 | 9829 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9830 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9831 | } Py_INCREF(Py_None); |
9832 | _resultobj = Py_None; | |
9833 | return _resultobj; | |
9834 | } | |
9835 | ||
9836 | #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize()) | |
9837 | static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9838 | PyObject * _resultobj; | |
9839 | wxGrid * _arg0; | |
9840 | PyObject * _argo0 = 0; | |
9841 | char *_kwnames[] = { "self", NULL }; | |
9842 | ||
9843 | self = self; | |
9844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0)) | |
9845 | return NULL; | |
9846 | if (_argo0) { | |
9847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p."); | |
9850 | return NULL; | |
9851 | } | |
9852 | } | |
9853 | { | |
474c48f9 | 9854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9855 | wxGrid_DisableDragColSize(_arg0); |
f6bcfd97 | 9856 | |
474c48f9 | 9857 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9858 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9859 | } Py_INCREF(Py_None); |
9860 | _resultobj = Py_None; | |
9861 | return _resultobj; | |
9862 | } | |
9863 | ||
9864 | #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize()) | |
9865 | static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9866 | PyObject * _resultobj; | |
9867 | bool _result; | |
9868 | wxGrid * _arg0; | |
9869 | PyObject * _argo0 = 0; | |
9870 | char *_kwnames[] = { "self", NULL }; | |
9871 | ||
9872 | self = self; | |
9873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0)) | |
9874 | return NULL; | |
9875 | if (_argo0) { | |
9876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p."); | |
9879 | return NULL; | |
9880 | } | |
9881 | } | |
9882 | { | |
474c48f9 | 9883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9884 | _result = (bool )wxGrid_CanDragColSize(_arg0); |
f6bcfd97 | 9885 | |
474c48f9 | 9886 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9887 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9888 | } _resultobj = Py_BuildValue("i",_result); |
9889 | return _resultobj; | |
9890 | } | |
9891 | ||
9892 | #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0)) | |
9893 | static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9894 | PyObject * _resultobj; | |
9895 | wxGrid * _arg0; | |
9896 | bool _arg1 = (bool ) TRUE; | |
9897 | PyObject * _argo0 = 0; | |
9898 | int tempbool1 = (int) TRUE; | |
9899 | char *_kwnames[] = { "self","enable", NULL }; | |
9900 | ||
9901 | self = self; | |
9902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1)) | |
9903 | return NULL; | |
9904 | if (_argo0) { | |
9905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p."); | |
9908 | return NULL; | |
9909 | } | |
9910 | } | |
9911 | _arg1 = (bool ) tempbool1; | |
9912 | { | |
474c48f9 | 9913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9914 | wxGrid_EnableDragGridSize(_arg0,_arg1); |
f6bcfd97 | 9915 | |
474c48f9 | 9916 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9917 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9918 | } Py_INCREF(Py_None); |
9919 | _resultobj = Py_None; | |
9920 | return _resultobj; | |
9921 | } | |
9922 | ||
9923 | #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize()) | |
9924 | static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9925 | PyObject * _resultobj; | |
9926 | wxGrid * _arg0; | |
9927 | PyObject * _argo0 = 0; | |
9928 | char *_kwnames[] = { "self", NULL }; | |
9929 | ||
9930 | self = self; | |
9931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0)) | |
9932 | return NULL; | |
9933 | if (_argo0) { | |
9934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p."); | |
9937 | return NULL; | |
9938 | } | |
9939 | } | |
9940 | { | |
474c48f9 | 9941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9942 | wxGrid_DisableDragGridSize(_arg0); |
f6bcfd97 | 9943 | |
474c48f9 | 9944 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9945 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9946 | } Py_INCREF(Py_None); |
9947 | _resultobj = Py_None; | |
9948 | return _resultobj; | |
9949 | } | |
9950 | ||
9951 | #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize()) | |
9952 | static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9953 | PyObject * _resultobj; | |
9954 | bool _result; | |
9955 | wxGrid * _arg0; | |
9956 | PyObject * _argo0 = 0; | |
9957 | char *_kwnames[] = { "self", NULL }; | |
9958 | ||
9959 | self = self; | |
9960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0)) | |
9961 | return NULL; | |
9962 | if (_argo0) { | |
9963 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9964 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9965 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p."); | |
9966 | return NULL; | |
9967 | } | |
9968 | } | |
9969 | { | |
474c48f9 | 9970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9971 | _result = (bool )wxGrid_CanDragGridSize(_arg0); |
f6bcfd97 | 9972 | |
474c48f9 | 9973 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9974 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9975 | } _resultobj = Py_BuildValue("i",_result); |
9976 | return _resultobj; | |
9977 | } | |
9978 | ||
9979 | #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
9980 | static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9981 | PyObject * _resultobj; | |
9982 | wxGrid * _arg0; | |
9983 | int _arg1; | |
9984 | wxGridCellAttr * _arg2; | |
9985 | PyObject * _argo0 = 0; | |
9986 | PyObject * _argo2 = 0; | |
9987 | char *_kwnames[] = { "self","row","attr", NULL }; | |
9988 | ||
9989 | self = self; | |
9990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
9991 | return NULL; | |
9992 | if (_argo0) { | |
9993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p."); | |
9996 | return NULL; | |
9997 | } | |
9998 | } | |
9999 | if (_argo2) { | |
10000 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10001 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
10002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p."); | |
10003 | return NULL; | |
10004 | } | |
10005 | } | |
10006 | { | |
474c48f9 | 10007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10008 | wxGrid_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 10009 | |
474c48f9 | 10010 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10011 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10012 | } Py_INCREF(Py_None); |
10013 | _resultobj = Py_None; | |
10014 | return _resultobj; | |
10015 | } | |
10016 | ||
10017 | #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
10018 | static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10019 | PyObject * _resultobj; | |
10020 | wxGrid * _arg0; | |
10021 | int _arg1; | |
10022 | wxGridCellAttr * _arg2; | |
10023 | PyObject * _argo0 = 0; | |
10024 | PyObject * _argo2 = 0; | |
10025 | char *_kwnames[] = { "self","col","attr", NULL }; | |
10026 | ||
10027 | self = self; | |
10028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
10029 | return NULL; | |
10030 | if (_argo0) { | |
10031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p."); | |
10034 | return NULL; | |
10035 | } | |
10036 | } | |
10037 | if (_argo2) { | |
10038 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10039 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
10040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p."); | |
10041 | return NULL; | |
10042 | } | |
10043 | } | |
10044 | { | |
474c48f9 | 10045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10046 | wxGrid_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 10047 | |
474c48f9 | 10048 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10049 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10050 | } Py_INCREF(Py_None); |
10051 | _resultobj = Py_None; | |
10052 | return _resultobj; | |
10053 | } | |
10054 | ||
10055 | #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0)) | |
10056 | static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10057 | PyObject * _resultobj; | |
10058 | wxGrid * _arg0; | |
10059 | int _arg1; | |
10060 | PyObject * _argo0 = 0; | |
10061 | char *_kwnames[] = { "self","col", NULL }; | |
10062 | ||
10063 | self = self; | |
10064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1)) | |
10065 | return NULL; | |
10066 | if (_argo0) { | |
10067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p."); | |
10070 | return NULL; | |
10071 | } | |
10072 | } | |
10073 | { | |
474c48f9 | 10074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10075 | wxGrid_SetColFormatBool(_arg0,_arg1); |
f6bcfd97 | 10076 | |
474c48f9 | 10077 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10078 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10079 | } Py_INCREF(Py_None); |
10080 | _resultobj = Py_None; | |
10081 | return _resultobj; | |
10082 | } | |
10083 | ||
10084 | #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0)) | |
10085 | static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10086 | PyObject * _resultobj; | |
10087 | wxGrid * _arg0; | |
10088 | int _arg1; | |
10089 | PyObject * _argo0 = 0; | |
10090 | char *_kwnames[] = { "self","col", NULL }; | |
10091 | ||
10092 | self = self; | |
10093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1)) | |
10094 | return NULL; | |
10095 | if (_argo0) { | |
10096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p."); | |
10099 | return NULL; | |
10100 | } | |
10101 | } | |
10102 | { | |
474c48f9 | 10103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10104 | wxGrid_SetColFormatNumber(_arg0,_arg1); |
f6bcfd97 | 10105 | |
474c48f9 | 10106 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10107 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10108 | } Py_INCREF(Py_None); |
10109 | _resultobj = Py_None; | |
10110 | return _resultobj; | |
10111 | } | |
10112 | ||
10113 | #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2)) | |
10114 | static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10115 | PyObject * _resultobj; | |
10116 | wxGrid * _arg0; | |
10117 | int _arg1; | |
10118 | int _arg2 = (int ) -1; | |
10119 | int _arg3 = (int ) -1; | |
10120 | PyObject * _argo0 = 0; | |
10121 | char *_kwnames[] = { "self","col","width","precision", NULL }; | |
10122 | ||
10123 | self = self; | |
10124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
10125 | return NULL; | |
10126 | if (_argo0) { | |
10127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p."); | |
10130 | return NULL; | |
10131 | } | |
10132 | } | |
10133 | { | |
474c48f9 | 10134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10135 | wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 10136 | |
474c48f9 | 10137 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10138 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10139 | } Py_INCREF(Py_None); |
10140 | _resultobj = Py_None; | |
10141 | return _resultobj; | |
10142 | } | |
10143 | ||
10144 | #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1)) | |
10145 | static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10146 | PyObject * _resultobj; | |
10147 | wxGrid * _arg0; | |
10148 | int _arg1; | |
10149 | wxString * _arg2; | |
10150 | PyObject * _argo0 = 0; | |
10151 | PyObject * _obj2 = 0; | |
10152 | char *_kwnames[] = { "self","col","typeName", NULL }; | |
10153 | ||
10154 | self = self; | |
10155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2)) | |
10156 | return NULL; | |
10157 | if (_argo0) { | |
10158 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10159 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10160 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p."); | |
10161 | return NULL; | |
10162 | } | |
10163 | } | |
10164 | { | |
c8bc7bb8 RD |
10165 | _arg2 = wxString_in_helper(_obj2); |
10166 | if (_arg2 == NULL) | |
2cd2fac8 | 10167 | return NULL; |
f6bcfd97 BP |
10168 | } |
10169 | { | |
474c48f9 | 10170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10171 | wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2); |
f6bcfd97 | 10172 | |
474c48f9 | 10173 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10174 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10175 | } Py_INCREF(Py_None); |
10176 | _resultobj = Py_None; | |
10177 | { | |
10178 | if (_obj2) | |
10179 | delete _arg2; | |
10180 | } | |
10181 | return _resultobj; | |
10182 | } | |
10183 | ||
10184 | #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0)) | |
10185 | static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10186 | PyObject * _resultobj; | |
10187 | wxGrid * _arg0; | |
10188 | bool _arg1 = (bool ) TRUE; | |
10189 | PyObject * _argo0 = 0; | |
10190 | int tempbool1 = (int) TRUE; | |
10191 | char *_kwnames[] = { "self","enable", NULL }; | |
10192 | ||
10193 | self = self; | |
10194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1)) | |
10195 | return NULL; | |
10196 | if (_argo0) { | |
10197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p."); | |
10200 | return NULL; | |
10201 | } | |
10202 | } | |
10203 | _arg1 = (bool ) tempbool1; | |
10204 | { | |
474c48f9 | 10205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10206 | wxGrid_EnableGridLines(_arg0,_arg1); |
f6bcfd97 | 10207 | |
474c48f9 | 10208 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10209 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10210 | } Py_INCREF(Py_None); |
10211 | _resultobj = Py_None; | |
10212 | return _resultobj; | |
10213 | } | |
10214 | ||
10215 | #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled()) | |
10216 | static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10217 | PyObject * _resultobj; | |
10218 | bool _result; | |
10219 | wxGrid * _arg0; | |
10220 | PyObject * _argo0 = 0; | |
10221 | char *_kwnames[] = { "self", NULL }; | |
10222 | ||
10223 | self = self; | |
10224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0)) | |
10225 | return NULL; | |
10226 | if (_argo0) { | |
10227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p."); | |
10230 | return NULL; | |
10231 | } | |
10232 | } | |
10233 | { | |
474c48f9 | 10234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10235 | _result = (bool )wxGrid_GridLinesEnabled(_arg0); |
f6bcfd97 | 10236 | |
474c48f9 | 10237 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10238 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10239 | } _resultobj = Py_BuildValue("i",_result); |
10240 | return _resultobj; | |
10241 | } | |
10242 | ||
10243 | #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize()) | |
10244 | static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10245 | PyObject * _resultobj; | |
10246 | int _result; | |
10247 | wxGrid * _arg0; | |
10248 | PyObject * _argo0 = 0; | |
10249 | char *_kwnames[] = { "self", NULL }; | |
10250 | ||
10251 | self = self; | |
10252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0)) | |
10253 | return NULL; | |
10254 | if (_argo0) { | |
10255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p."); | |
10258 | return NULL; | |
10259 | } | |
10260 | } | |
10261 | { | |
474c48f9 | 10262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10263 | _result = (int )wxGrid_GetDefaultRowSize(_arg0); |
f6bcfd97 | 10264 | |
474c48f9 | 10265 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10266 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10267 | } _resultobj = Py_BuildValue("i",_result); |
10268 | return _resultobj; | |
10269 | } | |
10270 | ||
10271 | #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0)) | |
10272 | static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10273 | PyObject * _resultobj; | |
10274 | int _result; | |
10275 | wxGrid * _arg0; | |
10276 | int _arg1; | |
10277 | PyObject * _argo0 = 0; | |
10278 | char *_kwnames[] = { "self","row", NULL }; | |
10279 | ||
10280 | self = self; | |
10281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1)) | |
10282 | return NULL; | |
10283 | if (_argo0) { | |
10284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p."); | |
10287 | return NULL; | |
10288 | } | |
10289 | } | |
10290 | { | |
474c48f9 | 10291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10292 | _result = (int )wxGrid_GetRowSize(_arg0,_arg1); |
f6bcfd97 | 10293 | |
474c48f9 | 10294 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10295 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10296 | } _resultobj = Py_BuildValue("i",_result); |
10297 | return _resultobj; | |
10298 | } | |
10299 | ||
10300 | #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize()) | |
10301 | static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10302 | PyObject * _resultobj; | |
10303 | int _result; | |
10304 | wxGrid * _arg0; | |
10305 | PyObject * _argo0 = 0; | |
10306 | char *_kwnames[] = { "self", NULL }; | |
10307 | ||
10308 | self = self; | |
10309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0)) | |
10310 | return NULL; | |
10311 | if (_argo0) { | |
10312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p."); | |
10315 | return NULL; | |
10316 | } | |
10317 | } | |
10318 | { | |
474c48f9 | 10319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10320 | _result = (int )wxGrid_GetDefaultColSize(_arg0); |
f6bcfd97 | 10321 | |
474c48f9 | 10322 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10323 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10324 | } _resultobj = Py_BuildValue("i",_result); |
10325 | return _resultobj; | |
10326 | } | |
10327 | ||
10328 | #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0)) | |
10329 | static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10330 | PyObject * _resultobj; | |
10331 | int _result; | |
10332 | wxGrid * _arg0; | |
10333 | int _arg1; | |
10334 | PyObject * _argo0 = 0; | |
10335 | char *_kwnames[] = { "self","col", NULL }; | |
10336 | ||
10337 | self = self; | |
10338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1)) | |
10339 | return NULL; | |
10340 | if (_argo0) { | |
10341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p."); | |
10344 | return NULL; | |
10345 | } | |
10346 | } | |
10347 | { | |
474c48f9 | 10348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10349 | _result = (int )wxGrid_GetColSize(_arg0,_arg1); |
f6bcfd97 | 10350 | |
474c48f9 | 10351 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10352 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10353 | } _resultobj = Py_BuildValue("i",_result); |
10354 | return _resultobj; | |
10355 | } | |
10356 | ||
10357 | #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour()) | |
10358 | static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10359 | PyObject * _resultobj; | |
10360 | wxColour * _result; | |
10361 | wxGrid * _arg0; | |
10362 | PyObject * _argo0 = 0; | |
10363 | char *_kwnames[] = { "self", NULL }; | |
10364 | char _ptemp[128]; | |
10365 | ||
10366 | self = self; | |
10367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0)) | |
10368 | return NULL; | |
10369 | if (_argo0) { | |
10370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p."); | |
10373 | return NULL; | |
10374 | } | |
10375 | } | |
10376 | { | |
474c48f9 | 10377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10378 | _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0)); |
f6bcfd97 | 10379 | |
474c48f9 | 10380 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10381 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10382 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10383 | _resultobj = Py_BuildValue("s",_ptemp); | |
10384 | return _resultobj; | |
10385 | } | |
10386 | ||
10387 | #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1)) | |
10388 | static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10389 | PyObject * _resultobj; | |
10390 | wxColour * _result; | |
10391 | wxGrid * _arg0; | |
10392 | int _arg1; | |
10393 | int _arg2; | |
10394 | PyObject * _argo0 = 0; | |
10395 | char *_kwnames[] = { "self","row","col", NULL }; | |
10396 | char _ptemp[128]; | |
10397 | ||
10398 | self = self; | |
10399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10400 | return NULL; | |
10401 | if (_argo0) { | |
10402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p."); | |
10405 | return NULL; | |
10406 | } | |
10407 | } | |
10408 | { | |
474c48f9 | 10409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10410 | _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10411 | |
474c48f9 | 10412 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10413 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10414 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10415 | _resultobj = Py_BuildValue("s",_ptemp); | |
10416 | return _resultobj; | |
10417 | } | |
10418 | ||
10419 | #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour()) | |
10420 | static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10421 | PyObject * _resultobj; | |
10422 | wxColour * _result; | |
10423 | wxGrid * _arg0; | |
10424 | PyObject * _argo0 = 0; | |
10425 | char *_kwnames[] = { "self", NULL }; | |
10426 | char _ptemp[128]; | |
10427 | ||
10428 | self = self; | |
10429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0)) | |
10430 | return NULL; | |
10431 | if (_argo0) { | |
10432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p."); | |
10435 | return NULL; | |
10436 | } | |
10437 | } | |
10438 | { | |
474c48f9 | 10439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10440 | _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0)); |
f6bcfd97 | 10441 | |
474c48f9 | 10442 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10443 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10444 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10445 | _resultobj = Py_BuildValue("s",_ptemp); | |
10446 | return _resultobj; | |
10447 | } | |
10448 | ||
10449 | #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1)) | |
10450 | static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10451 | PyObject * _resultobj; | |
10452 | wxColour * _result; | |
10453 | wxGrid * _arg0; | |
10454 | int _arg1; | |
10455 | int _arg2; | |
10456 | PyObject * _argo0 = 0; | |
10457 | char *_kwnames[] = { "self","row","col", NULL }; | |
10458 | char _ptemp[128]; | |
10459 | ||
10460 | self = self; | |
10461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10462 | return NULL; | |
10463 | if (_argo0) { | |
10464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p."); | |
10467 | return NULL; | |
10468 | } | |
10469 | } | |
10470 | { | |
474c48f9 | 10471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10472 | _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10473 | |
474c48f9 | 10474 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10475 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10476 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10477 | _resultobj = Py_BuildValue("s",_ptemp); | |
10478 | return _resultobj; | |
10479 | } | |
10480 | ||
10481 | #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont()) | |
10482 | static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10483 | PyObject * _resultobj; | |
10484 | wxFont * _result; | |
10485 | wxGrid * _arg0; | |
10486 | PyObject * _argo0 = 0; | |
10487 | char *_kwnames[] = { "self", NULL }; | |
10488 | char _ptemp[128]; | |
10489 | ||
10490 | self = self; | |
10491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0)) | |
10492 | return NULL; | |
10493 | if (_argo0) { | |
10494 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10495 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10496 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p."); | |
10497 | return NULL; | |
10498 | } | |
10499 | } | |
10500 | { | |
474c48f9 | 10501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10502 | _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0)); |
f6bcfd97 | 10503 | |
474c48f9 | 10504 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10505 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10506 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
10507 | _resultobj = Py_BuildValue("s",_ptemp); | |
10508 | return _resultobj; | |
10509 | } | |
10510 | ||
10511 | #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1)) | |
10512 | static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10513 | PyObject * _resultobj; | |
10514 | wxFont * _result; | |
10515 | wxGrid * _arg0; | |
10516 | int _arg1; | |
10517 | int _arg2; | |
10518 | PyObject * _argo0 = 0; | |
10519 | char *_kwnames[] = { "self","row","col", NULL }; | |
10520 | char _ptemp[128]; | |
10521 | ||
10522 | self = self; | |
10523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10524 | return NULL; | |
10525 | if (_argo0) { | |
10526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p."); | |
10529 | return NULL; | |
10530 | } | |
10531 | } | |
10532 | { | |
474c48f9 | 10533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10534 | _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10535 | |
474c48f9 | 10536 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10537 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10538 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
10539 | _resultobj = Py_BuildValue("s",_ptemp); | |
10540 | return _resultobj; | |
10541 | } | |
10542 | ||
10543 | #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1)) | |
10544 | static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10545 | PyObject * _resultobj; | |
10546 | wxGrid * _arg0; | |
10547 | int * _arg1; | |
10548 | int * _arg2; | |
10549 | PyObject * _argo0 = 0; | |
10550 | PyObject * _argo1 = 0; | |
10551 | PyObject * _argo2 = 0; | |
10552 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
10553 | ||
10554 | self = self; | |
10555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2)) | |
10556 | return NULL; | |
10557 | if (_argo0) { | |
10558 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10559 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p."); | |
10561 | return NULL; | |
10562 | } | |
10563 | } | |
10564 | if (_argo1) { | |
10565 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10566 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
10567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p."); | |
10568 | return NULL; | |
10569 | } | |
10570 | } | |
10571 | if (_argo2) { | |
10572 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10573 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
10574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p."); | |
10575 | return NULL; | |
10576 | } | |
10577 | } | |
10578 | { | |
474c48f9 | 10579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10580 | wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 10581 | |
474c48f9 | 10582 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10583 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10584 | } Py_INCREF(Py_None); |
10585 | _resultobj = Py_None; | |
10586 | return _resultobj; | |
10587 | } | |
10588 | ||
10589 | #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
10590 | static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10591 | PyObject * _resultobj; | |
10592 | wxGrid * _arg0; | |
10593 | int _arg1; | |
10594 | int _arg2; | |
10595 | int * _arg3; | |
10596 | int * _arg4; | |
10597 | PyObject * _argo0 = 0; | |
10598 | PyObject * _argo3 = 0; | |
10599 | PyObject * _argo4 = 0; | |
10600 | char *_kwnames[] = { "self","row","col","horiz","vert", NULL }; | |
10601 | ||
10602 | self = self; | |
10603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4)) | |
10604 | return NULL; | |
10605 | if (_argo0) { | |
10606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p."); | |
10609 | return NULL; | |
10610 | } | |
10611 | } | |
10612 | if (_argo3) { | |
10613 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
10614 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) { | |
10615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p."); | |
10616 | return NULL; | |
10617 | } | |
10618 | } | |
10619 | if (_argo4) { | |
10620 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
10621 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) { | |
10622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p."); | |
10623 | return NULL; | |
10624 | } | |
10625 | } | |
10626 | { | |
474c48f9 | 10627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10628 | wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4); |
f6bcfd97 | 10629 | |
474c48f9 | 10630 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10631 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10632 | } Py_INCREF(Py_None); |
10633 | _resultobj = Py_None; | |
10634 | return _resultobj; | |
10635 | } | |
10636 | ||
10637 | #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1)) | |
10638 | static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10639 | PyObject * _resultobj; | |
10640 | wxGrid * _arg0; | |
10641 | int _arg1; | |
10642 | bool _arg2 = (bool ) FALSE; | |
10643 | PyObject * _argo0 = 0; | |
10644 | int tempbool2 = (int) FALSE; | |
10645 | char *_kwnames[] = { "self","height","resizeExistingRows", NULL }; | |
10646 | ||
10647 | self = self; | |
10648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10649 | return NULL; | |
10650 | if (_argo0) { | |
10651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p."); | |
10654 | return NULL; | |
10655 | } | |
10656 | } | |
10657 | _arg2 = (bool ) tempbool2; | |
10658 | { | |
474c48f9 | 10659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10660 | wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 10661 | |
474c48f9 | 10662 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10663 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10664 | } Py_INCREF(Py_None); |
10665 | _resultobj = Py_None; | |
10666 | return _resultobj; | |
10667 | } | |
10668 | ||
10669 | #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1)) | |
10670 | static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10671 | PyObject * _resultobj; | |
10672 | wxGrid * _arg0; | |
10673 | int _arg1; | |
10674 | int _arg2; | |
10675 | PyObject * _argo0 = 0; | |
10676 | char *_kwnames[] = { "self","row","height", NULL }; | |
10677 | ||
10678 | self = self; | |
10679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10680 | return NULL; | |
10681 | if (_argo0) { | |
10682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p."); | |
10685 | return NULL; | |
10686 | } | |
10687 | } | |
10688 | { | |
474c48f9 | 10689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10690 | wxGrid_SetRowSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 10691 | |
474c48f9 | 10692 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10693 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10694 | } Py_INCREF(Py_None); |
10695 | _resultobj = Py_None; | |
10696 | return _resultobj; | |
10697 | } | |
10698 | ||
10699 | #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1)) | |
10700 | static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10701 | PyObject * _resultobj; | |
10702 | wxGrid * _arg0; | |
10703 | int _arg1; | |
10704 | bool _arg2 = (bool ) FALSE; | |
10705 | PyObject * _argo0 = 0; | |
10706 | int tempbool2 = (int) FALSE; | |
10707 | char *_kwnames[] = { "self","width","resizeExistingCols", NULL }; | |
10708 | ||
10709 | self = self; | |
10710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10711 | return NULL; | |
10712 | if (_argo0) { | |
10713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p."); | |
10716 | return NULL; | |
10717 | } | |
10718 | } | |
10719 | _arg2 = (bool ) tempbool2; | |
10720 | { | |
474c48f9 | 10721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10722 | wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 10723 | |
474c48f9 | 10724 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10725 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10726 | } Py_INCREF(Py_None); |
10727 | _resultobj = Py_None; | |
10728 | return _resultobj; | |
10729 | } | |
10730 | ||
10731 | #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1)) | |
10732 | static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10733 | PyObject * _resultobj; | |
10734 | wxGrid * _arg0; | |
10735 | int _arg1; | |
10736 | int _arg2; | |
10737 | PyObject * _argo0 = 0; | |
10738 | char *_kwnames[] = { "self","col","width", NULL }; | |
10739 | ||
10740 | self = self; | |
10741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10742 | return NULL; | |
10743 | if (_argo0) { | |
10744 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10745 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p."); | |
10747 | return NULL; | |
10748 | } | |
10749 | } | |
10750 | { | |
474c48f9 | 10751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10752 | wxGrid_SetColSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 10753 | |
474c48f9 | 10754 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10755 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10756 | } Py_INCREF(Py_None); |
10757 | _resultobj = Py_None; | |
10758 | return _resultobj; | |
10759 | } | |
10760 | ||
10761 | #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1)) | |
10762 | static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10763 | PyObject * _resultobj; | |
10764 | wxGrid * _arg0; | |
10765 | int _arg1; | |
10766 | bool _arg2 = (bool ) TRUE; | |
10767 | PyObject * _argo0 = 0; | |
10768 | int tempbool2 = (int) TRUE; | |
10769 | char *_kwnames[] = { "self","col","setAsMin", NULL }; | |
10770 | ||
10771 | self = self; | |
10772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10773 | return NULL; | |
10774 | if (_argo0) { | |
10775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p."); | |
10778 | return NULL; | |
10779 | } | |
10780 | } | |
10781 | _arg2 = (bool ) tempbool2; | |
10782 | { | |
474c48f9 | 10783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10784 | wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2); |
f6bcfd97 | 10785 | |
474c48f9 | 10786 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10787 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10788 | } Py_INCREF(Py_None); |
10789 | _resultobj = Py_None; | |
10790 | return _resultobj; | |
10791 | } | |
10792 | ||
10793 | #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1)) | |
10794 | static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10795 | PyObject * _resultobj; | |
10796 | wxGrid * _arg0; | |
10797 | int _arg1; | |
10798 | bool _arg2 = (bool ) TRUE; | |
10799 | PyObject * _argo0 = 0; | |
10800 | int tempbool2 = (int) TRUE; | |
10801 | char *_kwnames[] = { "self","row","setAsMin", NULL }; | |
10802 | ||
10803 | self = self; | |
10804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10805 | return NULL; | |
10806 | if (_argo0) { | |
10807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p."); | |
10810 | return NULL; | |
10811 | } | |
10812 | } | |
10813 | _arg2 = (bool ) tempbool2; | |
10814 | { | |
474c48f9 | 10815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10816 | wxGrid_AutoSizeRow(_arg0,_arg1,_arg2); |
f6bcfd97 | 10817 | |
474c48f9 | 10818 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10819 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10820 | } Py_INCREF(Py_None); |
10821 | _resultobj = Py_None; | |
10822 | return _resultobj; | |
10823 | } | |
10824 | ||
10825 | #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0)) | |
10826 | static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10827 | PyObject * _resultobj; | |
10828 | wxGrid * _arg0; | |
10829 | bool _arg1 = (bool ) TRUE; | |
10830 | PyObject * _argo0 = 0; | |
10831 | int tempbool1 = (int) TRUE; | |
10832 | char *_kwnames[] = { "self","setAsMin", NULL }; | |
10833 | ||
10834 | self = self; | |
10835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1)) | |
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_AutoSizeColumns. Expected _wxGrid_p."); | |
10841 | return NULL; | |
10842 | } | |
10843 | } | |
10844 | _arg1 = (bool ) tempbool1; | |
10845 | { | |
474c48f9 | 10846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10847 | wxGrid_AutoSizeColumns(_arg0,_arg1); |
f6bcfd97 | 10848 | |
474c48f9 | 10849 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10850 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10851 | } Py_INCREF(Py_None); |
10852 | _resultobj = Py_None; | |
10853 | return _resultobj; | |
10854 | } | |
10855 | ||
10856 | #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0)) | |
10857 | static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10858 | PyObject * _resultobj; | |
10859 | wxGrid * _arg0; | |
10860 | bool _arg1 = (bool ) TRUE; | |
10861 | PyObject * _argo0 = 0; | |
10862 | int tempbool1 = (int) TRUE; | |
10863 | char *_kwnames[] = { "self","setAsMin", NULL }; | |
10864 | ||
10865 | self = self; | |
10866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1)) | |
10867 | return NULL; | |
10868 | if (_argo0) { | |
10869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p."); | |
10872 | return NULL; | |
10873 | } | |
10874 | } | |
10875 | _arg1 = (bool ) tempbool1; | |
10876 | { | |
474c48f9 | 10877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10878 | wxGrid_AutoSizeRows(_arg0,_arg1); |
f6bcfd97 | 10879 | |
474c48f9 | 10880 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10881 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10882 | } Py_INCREF(Py_None); |
10883 | _resultobj = Py_None; | |
10884 | return _resultobj; | |
10885 | } | |
10886 | ||
10887 | #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize()) | |
10888 | static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10889 | PyObject * _resultobj; | |
10890 | wxGrid * _arg0; | |
10891 | PyObject * _argo0 = 0; | |
10892 | char *_kwnames[] = { "self", NULL }; | |
10893 | ||
10894 | self = self; | |
10895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0)) | |
10896 | return NULL; | |
10897 | if (_argo0) { | |
10898 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10899 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10900 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p."); | |
10901 | return NULL; | |
10902 | } | |
10903 | } | |
10904 | { | |
474c48f9 | 10905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10906 | wxGrid_AutoSize(_arg0); |
f6bcfd97 | 10907 | |
474c48f9 | 10908 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10909 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10910 | } Py_INCREF(Py_None); |
10911 | _resultobj = Py_None; | |
10912 | return _resultobj; | |
10913 | } | |
10914 | ||
10915 | #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1)) | |
10916 | static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10917 | PyObject * _resultobj; | |
10918 | wxGrid * _arg0; | |
10919 | int _arg1; | |
10920 | int _arg2; | |
10921 | PyObject * _argo0 = 0; | |
10922 | char *_kwnames[] = { "self","col","width", NULL }; | |
10923 | ||
10924 | self = self; | |
10925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10926 | return NULL; | |
10927 | if (_argo0) { | |
10928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p."); | |
10931 | return NULL; | |
10932 | } | |
10933 | } | |
10934 | { | |
474c48f9 | 10935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10936 | wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2); |
f6bcfd97 | 10937 | |
474c48f9 | 10938 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10939 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10940 | } Py_INCREF(Py_None); |
10941 | _resultobj = Py_None; | |
10942 | return _resultobj; | |
10943 | } | |
10944 | ||
10945 | #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1)) | |
10946 | static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10947 | PyObject * _resultobj; | |
10948 | wxGrid * _arg0; | |
10949 | int _arg1; | |
10950 | int _arg2; | |
10951 | PyObject * _argo0 = 0; | |
10952 | char *_kwnames[] = { "self","row","width", NULL }; | |
10953 | ||
10954 | self = self; | |
10955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10956 | return NULL; | |
10957 | if (_argo0) { | |
10958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p."); | |
10961 | return NULL; | |
10962 | } | |
10963 | } | |
10964 | { | |
474c48f9 | 10965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10966 | wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2); |
f6bcfd97 | 10967 | |
474c48f9 | 10968 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10969 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10970 | } Py_INCREF(Py_None); |
10971 | _resultobj = Py_None; | |
10972 | return _resultobj; | |
10973 | } | |
10974 | ||
10975 | #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0)) | |
10976 | static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10977 | PyObject * _resultobj; | |
10978 | wxGrid * _arg0; | |
10979 | wxColour * _arg1; | |
10980 | PyObject * _argo0 = 0; | |
10981 | wxColour temp; | |
10982 | PyObject * _obj1 = 0; | |
10983 | char *_kwnames[] = { "self","arg2", NULL }; | |
10984 | ||
10985 | self = self; | |
10986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
10987 | return NULL; | |
10988 | if (_argo0) { | |
10989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p."); | |
10992 | return NULL; | |
10993 | } | |
10994 | } | |
10995 | { | |
10996 | _arg1 = &temp; | |
10997 | if (! wxColour_helper(_obj1, &_arg1)) | |
10998 | return NULL; | |
10999 | } | |
11000 | { | |
474c48f9 | 11001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11002 | wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 11003 | |
474c48f9 | 11004 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11005 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11006 | } Py_INCREF(Py_None); |
11007 | _resultobj = Py_None; | |
11008 | return _resultobj; | |
11009 | } | |
11010 | ||
11011 | #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2)) | |
11012 | static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11013 | PyObject * _resultobj; | |
11014 | wxGrid * _arg0; | |
11015 | int _arg1; | |
11016 | int _arg2; | |
11017 | wxColour * _arg3; | |
11018 | PyObject * _argo0 = 0; | |
11019 | wxColour temp; | |
11020 | PyObject * _obj3 = 0; | |
11021 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11022 | ||
11023 | self = self; | |
11024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11025 | return NULL; | |
11026 | if (_argo0) { | |
11027 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11028 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p."); | |
11030 | return NULL; | |
11031 | } | |
11032 | } | |
11033 | { | |
11034 | _arg3 = &temp; | |
11035 | if (! wxColour_helper(_obj3, &_arg3)) | |
11036 | return NULL; | |
11037 | } | |
11038 | { | |
474c48f9 | 11039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11040 | wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11041 | |
474c48f9 | 11042 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11043 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11044 | } Py_INCREF(Py_None); |
11045 | _resultobj = Py_None; | |
11046 | return _resultobj; | |
11047 | } | |
11048 | ||
11049 | #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0)) | |
11050 | static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11051 | PyObject * _resultobj; | |
11052 | wxGrid * _arg0; | |
11053 | wxColour * _arg1; | |
11054 | PyObject * _argo0 = 0; | |
11055 | wxColour temp; | |
11056 | PyObject * _obj1 = 0; | |
11057 | char *_kwnames[] = { "self","arg2", NULL }; | |
11058 | ||
11059 | self = self; | |
11060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1)) | |
11061 | return NULL; | |
11062 | if (_argo0) { | |
11063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p."); | |
11066 | return NULL; | |
11067 | } | |
11068 | } | |
11069 | { | |
11070 | _arg1 = &temp; | |
11071 | if (! wxColour_helper(_obj1, &_arg1)) | |
11072 | return NULL; | |
11073 | } | |
11074 | { | |
474c48f9 | 11075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11076 | wxGrid_SetDefaultCellTextColour(_arg0,*_arg1); |
f6bcfd97 | 11077 | |
474c48f9 | 11078 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11079 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11080 | } Py_INCREF(Py_None); |
11081 | _resultobj = Py_None; | |
11082 | return _resultobj; | |
11083 | } | |
11084 | ||
11085 | #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2)) | |
11086 | static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11087 | PyObject * _resultobj; | |
11088 | wxGrid * _arg0; | |
11089 | int _arg1; | |
11090 | int _arg2; | |
11091 | wxColour * _arg3; | |
11092 | PyObject * _argo0 = 0; | |
11093 | wxColour temp; | |
11094 | PyObject * _obj3 = 0; | |
11095 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11096 | ||
11097 | self = self; | |
11098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11099 | return NULL; | |
11100 | if (_argo0) { | |
11101 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11102 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p."); | |
11104 | return NULL; | |
11105 | } | |
11106 | } | |
11107 | { | |
11108 | _arg3 = &temp; | |
11109 | if (! wxColour_helper(_obj3, &_arg3)) | |
11110 | return NULL; | |
11111 | } | |
11112 | { | |
474c48f9 | 11113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11114 | wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11115 | |
474c48f9 | 11116 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11117 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11118 | } Py_INCREF(Py_None); |
11119 | _resultobj = Py_None; | |
11120 | return _resultobj; | |
11121 | } | |
11122 | ||
11123 | #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0)) | |
11124 | static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11125 | PyObject * _resultobj; | |
11126 | wxGrid * _arg0; | |
11127 | wxFont * _arg1; | |
11128 | PyObject * _argo0 = 0; | |
11129 | PyObject * _argo1 = 0; | |
11130 | char *_kwnames[] = { "self","arg2", NULL }; | |
11131 | ||
11132 | self = self; | |
11133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1)) | |
11134 | return NULL; | |
11135 | if (_argo0) { | |
11136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p."); | |
11139 | return NULL; | |
11140 | } | |
11141 | } | |
11142 | if (_argo1) { | |
11143 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11144 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
11145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p."); | |
11146 | return NULL; | |
11147 | } | |
11148 | } | |
11149 | { | |
474c48f9 | 11150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11151 | wxGrid_SetDefaultCellFont(_arg0,*_arg1); |
f6bcfd97 | 11152 | |
474c48f9 | 11153 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11154 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11155 | } Py_INCREF(Py_None); |
11156 | _resultobj = Py_None; | |
11157 | return _resultobj; | |
11158 | } | |
11159 | ||
11160 | #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2)) | |
11161 | static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11162 | PyObject * _resultobj; | |
11163 | wxGrid * _arg0; | |
11164 | int _arg1; | |
11165 | int _arg2; | |
11166 | wxFont * _arg3; | |
11167 | PyObject * _argo0 = 0; | |
11168 | PyObject * _argo3 = 0; | |
11169 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11170 | ||
11171 | self = self; | |
11172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
11173 | return NULL; | |
11174 | if (_argo0) { | |
11175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p."); | |
11178 | return NULL; | |
11179 | } | |
11180 | } | |
11181 | if (_argo3) { | |
11182 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11183 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) { | |
11184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p."); | |
11185 | return NULL; | |
11186 | } | |
11187 | } | |
11188 | { | |
474c48f9 | 11189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11190 | wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11191 | |
474c48f9 | 11192 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11193 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11194 | } Py_INCREF(Py_None); |
11195 | _resultobj = Py_None; | |
11196 | return _resultobj; | |
11197 | } | |
11198 | ||
11199 | #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1)) | |
11200 | static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11201 | PyObject * _resultobj; | |
11202 | wxGrid * _arg0; | |
11203 | int _arg1; | |
11204 | int _arg2; | |
11205 | PyObject * _argo0 = 0; | |
11206 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
11207 | ||
11208 | self = self; | |
11209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11210 | return NULL; | |
11211 | if (_argo0) { | |
11212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p."); | |
11215 | return NULL; | |
11216 | } | |
11217 | } | |
11218 | { | |
474c48f9 | 11219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11220 | wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 11221 | |
474c48f9 | 11222 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11223 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11224 | } Py_INCREF(Py_None); |
11225 | _resultobj = Py_None; | |
11226 | return _resultobj; | |
11227 | } | |
11228 | ||
11229 | #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11230 | static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11231 | PyObject * _resultobj; | |
11232 | wxGrid * _arg0; | |
11233 | int _arg1; | |
11234 | int _arg2; | |
11235 | int _arg3; | |
11236 | int _arg4; | |
11237 | PyObject * _argo0 = 0; | |
11238 | char *_kwnames[] = { "self","row","col","horiz","vert", NULL }; | |
11239 | ||
11240 | self = self; | |
11241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11242 | return NULL; | |
11243 | if (_argo0) { | |
11244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p."); | |
11247 | return NULL; | |
11248 | } | |
11249 | } | |
11250 | { | |
474c48f9 | 11251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11252 | wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4); |
f6bcfd97 | 11253 | |
474c48f9 | 11254 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11255 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11256 | } Py_INCREF(Py_None); |
11257 | _resultobj = Py_None; | |
11258 | return _resultobj; | |
11259 | } | |
11260 | ||
11261 | #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0)) | |
11262 | static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11263 | PyObject * _resultobj; | |
11264 | wxGrid * _arg0; | |
11265 | wxGridCellRenderer * _arg1; | |
11266 | PyObject * _argo0 = 0; | |
11267 | PyObject * _argo1 = 0; | |
11268 | char *_kwnames[] = { "self","renderer", NULL }; | |
11269 | ||
11270 | self = self; | |
11271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1)) | |
11272 | return NULL; | |
11273 | if (_argo0) { | |
11274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p."); | |
11277 | return NULL; | |
11278 | } | |
11279 | } | |
11280 | if (_argo1) { | |
11281 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11282 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) { | |
11283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p."); | |
11284 | return NULL; | |
11285 | } | |
11286 | } | |
11287 | { | |
474c48f9 | 11288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11289 | wxGrid_SetDefaultRenderer(_arg0,_arg1); |
f6bcfd97 | 11290 | |
474c48f9 | 11291 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11292 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11293 | } Py_INCREF(Py_None); |
11294 | _resultobj = Py_None; | |
11295 | return _resultobj; | |
11296 | } | |
11297 | ||
11298 | #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2)) | |
11299 | static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11300 | PyObject * _resultobj; | |
11301 | wxGrid * _arg0; | |
11302 | int _arg1; | |
11303 | int _arg2; | |
11304 | wxGridCellRenderer * _arg3; | |
11305 | PyObject * _argo0 = 0; | |
11306 | PyObject * _argo3 = 0; | |
11307 | char *_kwnames[] = { "self","row","col","renderer", NULL }; | |
11308 | ||
11309 | self = self; | |
11310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
11311 | return NULL; | |
11312 | if (_argo0) { | |
11313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p."); | |
11316 | return NULL; | |
11317 | } | |
11318 | } | |
11319 | if (_argo3) { | |
11320 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11321 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) { | |
11322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p."); | |
11323 | return NULL; | |
11324 | } | |
11325 | } | |
11326 | { | |
474c48f9 | 11327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11328 | wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 11329 | |
474c48f9 | 11330 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11331 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11332 | } Py_INCREF(Py_None); |
11333 | _resultobj = Py_None; | |
11334 | return _resultobj; | |
11335 | } | |
11336 | ||
11337 | #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer()) | |
11338 | static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11339 | PyObject * _resultobj; | |
11340 | wxGridCellRenderer * _result; | |
11341 | wxGrid * _arg0; | |
11342 | PyObject * _argo0 = 0; | |
11343 | char *_kwnames[] = { "self", NULL }; | |
11344 | char _ptemp[128]; | |
11345 | ||
11346 | self = self; | |
11347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0)) | |
11348 | return NULL; | |
11349 | if (_argo0) { | |
11350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p."); | |
11353 | return NULL; | |
11354 | } | |
11355 | } | |
11356 | { | |
474c48f9 | 11357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11358 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0); |
f6bcfd97 | 11359 | |
474c48f9 | 11360 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11361 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11362 | } if (_result) { |
11363 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p"); | |
11364 | _resultobj = Py_BuildValue("s",_ptemp); | |
11365 | } else { | |
11366 | Py_INCREF(Py_None); | |
11367 | _resultobj = Py_None; | |
11368 | } | |
11369 | return _resultobj; | |
11370 | } | |
11371 | ||
11372 | #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1)) | |
11373 | static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11374 | PyObject * _resultobj; | |
11375 | wxGridCellRenderer * _result; | |
11376 | wxGrid * _arg0; | |
11377 | int _arg1; | |
11378 | int _arg2; | |
11379 | PyObject * _argo0 = 0; | |
11380 | char *_kwnames[] = { "self","row","col", NULL }; | |
11381 | char _ptemp[128]; | |
11382 | ||
11383 | self = self; | |
11384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11385 | return NULL; | |
11386 | if (_argo0) { | |
11387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p."); | |
11390 | return NULL; | |
11391 | } | |
11392 | } | |
11393 | { | |
474c48f9 | 11394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11395 | _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2); |
f6bcfd97 | 11396 | |
474c48f9 | 11397 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11398 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11399 | } if (_result) { |
11400 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p"); | |
11401 | _resultobj = Py_BuildValue("s",_ptemp); | |
11402 | } else { | |
11403 | Py_INCREF(Py_None); | |
11404 | _resultobj = Py_None; | |
11405 | } | |
11406 | return _resultobj; | |
11407 | } | |
11408 | ||
11409 | #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0)) | |
11410 | static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11411 | PyObject * _resultobj; | |
11412 | wxGrid * _arg0; | |
11413 | wxGridCellEditor * _arg1; | |
11414 | PyObject * _argo0 = 0; | |
11415 | PyObject * _argo1 = 0; | |
11416 | char *_kwnames[] = { "self","editor", NULL }; | |
11417 | ||
11418 | self = self; | |
11419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1)) | |
11420 | return NULL; | |
11421 | if (_argo0) { | |
11422 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11423 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p."); | |
11425 | return NULL; | |
11426 | } | |
11427 | } | |
11428 | if (_argo1) { | |
11429 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11430 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) { | |
11431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p."); | |
11432 | return NULL; | |
11433 | } | |
11434 | } | |
11435 | { | |
474c48f9 | 11436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11437 | wxGrid_SetDefaultEditor(_arg0,_arg1); |
f6bcfd97 | 11438 | |
474c48f9 | 11439 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11440 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11441 | } Py_INCREF(Py_None); |
11442 | _resultobj = Py_None; | |
11443 | return _resultobj; | |
11444 | } | |
11445 | ||
11446 | #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2)) | |
11447 | static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11448 | PyObject * _resultobj; | |
11449 | wxGrid * _arg0; | |
11450 | int _arg1; | |
11451 | int _arg2; | |
11452 | wxGridCellEditor * _arg3; | |
11453 | PyObject * _argo0 = 0; | |
11454 | PyObject * _argo3 = 0; | |
11455 | char *_kwnames[] = { "self","row","col","editor", NULL }; | |
11456 | ||
11457 | self = self; | |
11458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
11459 | return NULL; | |
11460 | if (_argo0) { | |
11461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p."); | |
11464 | return NULL; | |
11465 | } | |
11466 | } | |
11467 | if (_argo3) { | |
11468 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11469 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) { | |
11470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p."); | |
11471 | return NULL; | |
11472 | } | |
11473 | } | |
11474 | { | |
474c48f9 | 11475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11476 | wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 11477 | |
474c48f9 | 11478 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11479 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11480 | } Py_INCREF(Py_None); |
11481 | _resultobj = Py_None; | |
11482 | return _resultobj; | |
11483 | } | |
11484 | ||
11485 | #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor()) | |
11486 | static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11487 | PyObject * _resultobj; | |
11488 | wxGridCellEditor * _result; | |
11489 | wxGrid * _arg0; | |
11490 | PyObject * _argo0 = 0; | |
11491 | char *_kwnames[] = { "self", NULL }; | |
11492 | char _ptemp[128]; | |
11493 | ||
11494 | self = self; | |
11495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0)) | |
11496 | return NULL; | |
11497 | if (_argo0) { | |
11498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p."); | |
11501 | return NULL; | |
11502 | } | |
11503 | } | |
11504 | { | |
474c48f9 | 11505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11506 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0); |
f6bcfd97 | 11507 | |
474c48f9 | 11508 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11509 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11510 | } if (_result) { |
11511 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p"); | |
11512 | _resultobj = Py_BuildValue("s",_ptemp); | |
11513 | } else { | |
11514 | Py_INCREF(Py_None); | |
11515 | _resultobj = Py_None; | |
11516 | } | |
11517 | return _resultobj; | |
11518 | } | |
11519 | ||
11520 | #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1)) | |
11521 | static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11522 | PyObject * _resultobj; | |
11523 | wxGridCellEditor * _result; | |
11524 | wxGrid * _arg0; | |
11525 | int _arg1; | |
11526 | int _arg2; | |
11527 | PyObject * _argo0 = 0; | |
11528 | char *_kwnames[] = { "self","row","col", NULL }; | |
11529 | char _ptemp[128]; | |
11530 | ||
11531 | self = self; | |
11532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11533 | return NULL; | |
11534 | if (_argo0) { | |
11535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p."); | |
11538 | return NULL; | |
11539 | } | |
11540 | } | |
11541 | { | |
474c48f9 | 11542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11543 | _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2); |
f6bcfd97 | 11544 | |
474c48f9 | 11545 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11546 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11547 | } if (_result) { |
11548 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p"); | |
11549 | _resultobj = Py_BuildValue("s",_ptemp); | |
11550 | } else { | |
11551 | Py_INCREF(Py_None); | |
11552 | _resultobj = Py_None; | |
11553 | } | |
11554 | return _resultobj; | |
11555 | } | |
11556 | ||
11557 | #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1)) | |
11558 | static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11559 | PyObject * _resultobj; | |
11560 | wxString * _result; | |
11561 | wxGrid * _arg0; | |
11562 | int _arg1; | |
11563 | int _arg2; | |
11564 | PyObject * _argo0 = 0; | |
11565 | char *_kwnames[] = { "self","row","col", NULL }; | |
11566 | ||
11567 | self = self; | |
11568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11569 | return NULL; | |
11570 | if (_argo0) { | |
11571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p."); | |
11574 | return NULL; | |
11575 | } | |
11576 | } | |
11577 | { | |
474c48f9 | 11578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11579 | _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2)); |
f6bcfd97 | 11580 | |
474c48f9 | 11581 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11582 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 11583 | }{ |
c8bc7bb8 RD |
11584 | #if wxUSE_UNICODE |
11585 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
11586 | #else | |
f6bcfd97 | 11587 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 11588 | #endif |
f6bcfd97 BP |
11589 | } |
11590 | { | |
11591 | delete _result; | |
11592 | } | |
11593 | return _resultobj; | |
11594 | } | |
11595 | ||
11596 | #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2)) | |
11597 | static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11598 | PyObject * _resultobj; | |
11599 | wxGrid * _arg0; | |
11600 | int _arg1; | |
11601 | int _arg2; | |
11602 | wxString * _arg3; | |
11603 | PyObject * _argo0 = 0; | |
11604 | PyObject * _obj3 = 0; | |
11605 | char *_kwnames[] = { "self","row","col","s", NULL }; | |
11606 | ||
11607 | self = self; | |
11608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11609 | return NULL; | |
11610 | if (_argo0) { | |
11611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p."); | |
11614 | return NULL; | |
11615 | } | |
11616 | } | |
11617 | { | |
c8bc7bb8 RD |
11618 | _arg3 = wxString_in_helper(_obj3); |
11619 | if (_arg3 == NULL) | |
2cd2fac8 | 11620 | return NULL; |
f6bcfd97 BP |
11621 | } |
11622 | { | |
474c48f9 | 11623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11624 | wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11625 | |
474c48f9 | 11626 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11627 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11628 | } Py_INCREF(Py_None); |
11629 | _resultobj = Py_None; | |
11630 | { | |
11631 | if (_obj3) | |
11632 | delete _arg3; | |
11633 | } | |
11634 | return _resultobj; | |
11635 | } | |
11636 | ||
11637 | #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1)) | |
11638 | static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11639 | PyObject * _resultobj; | |
11640 | bool _result; | |
11641 | wxGrid * _arg0; | |
11642 | int _arg1; | |
11643 | int _arg2; | |
11644 | PyObject * _argo0 = 0; | |
11645 | char *_kwnames[] = { "self","row","col", NULL }; | |
11646 | ||
11647 | self = self; | |
11648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11649 | return NULL; | |
11650 | if (_argo0) { | |
11651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p."); | |
11654 | return NULL; | |
11655 | } | |
11656 | } | |
11657 | { | |
474c48f9 | 11658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11659 | _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2); |
f6bcfd97 | 11660 | |
474c48f9 | 11661 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11662 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11663 | } _resultobj = Py_BuildValue("i",_result); |
11664 | return _resultobj; | |
11665 | } | |
11666 | ||
11667 | #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2)) | |
11668 | static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11669 | PyObject * _resultobj; | |
11670 | wxGrid * _arg0; | |
11671 | int _arg1; | |
11672 | int _arg2; | |
11673 | bool _arg3 = (bool ) TRUE; | |
11674 | PyObject * _argo0 = 0; | |
11675 | int tempbool3 = (int) TRUE; | |
11676 | char *_kwnames[] = { "self","row","col","isReadOnly", NULL }; | |
11677 | ||
11678 | self = self; | |
11679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
11680 | return NULL; | |
11681 | if (_argo0) { | |
11682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p."); | |
11685 | return NULL; | |
11686 | } | |
11687 | } | |
11688 | _arg3 = (bool ) tempbool3; | |
11689 | { | |
474c48f9 | 11690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11691 | wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 11692 | |
474c48f9 | 11693 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11694 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11695 | } Py_INCREF(Py_None); |
11696 | _resultobj = Py_None; | |
11697 | return _resultobj; | |
11698 | } | |
11699 | ||
11700 | #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1)) | |
11701 | static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11702 | PyObject * _resultobj; | |
11703 | wxGrid * _arg0; | |
11704 | int _arg1; | |
11705 | bool _arg2 = (bool ) FALSE; | |
11706 | PyObject * _argo0 = 0; | |
11707 | int tempbool2 = (int) FALSE; | |
11708 | char *_kwnames[] = { "self","row","addToSelected", NULL }; | |
11709 | ||
11710 | self = self; | |
11711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11712 | return NULL; | |
11713 | if (_argo0) { | |
11714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p."); | |
11717 | return NULL; | |
11718 | } | |
11719 | } | |
11720 | _arg2 = (bool ) tempbool2; | |
11721 | { | |
474c48f9 | 11722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11723 | wxGrid_SelectRow(_arg0,_arg1,_arg2); |
f6bcfd97 | 11724 | |
474c48f9 | 11725 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11726 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11727 | } Py_INCREF(Py_None); |
11728 | _resultobj = Py_None; | |
11729 | return _resultobj; | |
11730 | } | |
11731 | ||
11732 | #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1)) | |
11733 | static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11734 | PyObject * _resultobj; | |
11735 | wxGrid * _arg0; | |
11736 | int _arg1; | |
11737 | bool _arg2 = (bool ) FALSE; | |
11738 | PyObject * _argo0 = 0; | |
11739 | int tempbool2 = (int) FALSE; | |
11740 | char *_kwnames[] = { "self","col","addToSelected", NULL }; | |
11741 | ||
11742 | self = self; | |
11743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11744 | return NULL; | |
11745 | if (_argo0) { | |
11746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p."); | |
11749 | return NULL; | |
11750 | } | |
11751 | } | |
11752 | _arg2 = (bool ) tempbool2; | |
11753 | { | |
474c48f9 | 11754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11755 | wxGrid_SelectCol(_arg0,_arg1,_arg2); |
f6bcfd97 | 11756 | |
474c48f9 | 11757 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11758 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11759 | } Py_INCREF(Py_None); |
11760 | _resultobj = Py_None; | |
11761 | return _resultobj; | |
11762 | } | |
11763 | ||
c368d904 | 11764 | #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
f6bcfd97 BP |
11765 | static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
11766 | PyObject * _resultobj; | |
11767 | wxGrid * _arg0; | |
11768 | int _arg1; | |
11769 | int _arg2; | |
11770 | int _arg3; | |
11771 | int _arg4; | |
c368d904 | 11772 | bool _arg5 = (bool ) FALSE; |
f6bcfd97 | 11773 | PyObject * _argo0 = 0; |
c368d904 RD |
11774 | int tempbool5 = (int) FALSE; |
11775 | char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL }; | |
f6bcfd97 BP |
11776 | |
11777 | self = self; | |
c368d904 | 11778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5)) |
f6bcfd97 BP |
11779 | return NULL; |
11780 | if (_argo0) { | |
11781 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11782 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p."); | |
11784 | return NULL; | |
11785 | } | |
11786 | } | |
c368d904 | 11787 | _arg5 = (bool ) tempbool5; |
f6bcfd97 | 11788 | { |
474c48f9 | 11789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11790 | wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
f6bcfd97 | 11791 | |
474c48f9 | 11792 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11793 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11794 | } Py_INCREF(Py_None); |
11795 | _resultobj = Py_None; | |
11796 | return _resultobj; | |
11797 | } | |
11798 | ||
11799 | #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll()) | |
11800 | static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11801 | PyObject * _resultobj; | |
11802 | wxGrid * _arg0; | |
11803 | PyObject * _argo0 = 0; | |
11804 | char *_kwnames[] = { "self", NULL }; | |
11805 | ||
11806 | self = self; | |
11807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0)) | |
11808 | return NULL; | |
11809 | if (_argo0) { | |
11810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p."); | |
11813 | return NULL; | |
11814 | } | |
11815 | } | |
11816 | { | |
474c48f9 | 11817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11818 | wxGrid_SelectAll(_arg0); |
f6bcfd97 | 11819 | |
474c48f9 | 11820 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11821 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11822 | } Py_INCREF(Py_None); |
11823 | _resultobj = Py_None; | |
11824 | return _resultobj; | |
11825 | } | |
11826 | ||
11827 | #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection()) | |
11828 | static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11829 | PyObject * _resultobj; | |
11830 | bool _result; | |
11831 | wxGrid * _arg0; | |
11832 | PyObject * _argo0 = 0; | |
11833 | char *_kwnames[] = { "self", NULL }; | |
11834 | ||
11835 | self = self; | |
11836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0)) | |
11837 | return NULL; | |
11838 | if (_argo0) { | |
11839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p."); | |
11842 | return NULL; | |
11843 | } | |
11844 | } | |
11845 | { | |
474c48f9 | 11846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11847 | _result = (bool )wxGrid_IsSelection(_arg0); |
f6bcfd97 | 11848 | |
474c48f9 | 11849 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11850 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11851 | } _resultobj = Py_BuildValue("i",_result); |
11852 | return _resultobj; | |
11853 | } | |
11854 | ||
11855 | #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection()) | |
11856 | static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11857 | PyObject * _resultobj; | |
11858 | wxGrid * _arg0; | |
11859 | PyObject * _argo0 = 0; | |
11860 | char *_kwnames[] = { "self", NULL }; | |
11861 | ||
11862 | self = self; | |
11863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0)) | |
11864 | return NULL; | |
11865 | if (_argo0) { | |
11866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p."); | |
11869 | return NULL; | |
11870 | } | |
11871 | } | |
11872 | { | |
474c48f9 | 11873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11874 | wxGrid_ClearSelection(_arg0); |
f6bcfd97 | 11875 | |
474c48f9 | 11876 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11877 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11878 | } Py_INCREF(Py_None); |
11879 | _resultobj = Py_None; | |
11880 | return _resultobj; | |
11881 | } | |
11882 | ||
11883 | #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1)) | |
11884 | static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11885 | PyObject * _resultobj; | |
11886 | bool _result; | |
11887 | wxGrid * _arg0; | |
11888 | int _arg1; | |
11889 | int _arg2; | |
11890 | PyObject * _argo0 = 0; | |
11891 | char *_kwnames[] = { "self","row","col", NULL }; | |
11892 | ||
11893 | self = self; | |
11894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11895 | return NULL; | |
11896 | if (_argo0) { | |
11897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p."); | |
11900 | return NULL; | |
11901 | } | |
11902 | } | |
11903 | { | |
474c48f9 | 11904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11905 | _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 11906 | |
474c48f9 | 11907 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11908 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11909 | } _resultobj = Py_BuildValue("i",_result); |
11910 | return _resultobj; | |
11911 | } | |
11912 | ||
11913 | #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1)) | |
11914 | static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11915 | PyObject * _resultobj; | |
11916 | wxRect * _result; | |
11917 | wxGrid * _arg0; | |
11918 | wxGridCellCoords * _arg1; | |
11919 | wxGridCellCoords * _arg2; | |
11920 | PyObject * _argo0 = 0; | |
11921 | wxGridCellCoords temp; | |
11922 | PyObject * _obj1 = 0; | |
11923 | wxGridCellCoords temp0; | |
11924 | PyObject * _obj2 = 0; | |
11925 | char *_kwnames[] = { "self","topLeft","bottomRight", NULL }; | |
11926 | char _ptemp[128]; | |
11927 | ||
11928 | self = self; | |
11929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2)) | |
11930 | return NULL; | |
11931 | if (_argo0) { | |
11932 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11933 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p."); | |
11935 | return NULL; | |
11936 | } | |
11937 | } | |
11938 | { | |
11939 | _arg1 = &temp; | |
11940 | if (! wxGridCellCoords_helper(_obj1, &_arg1)) | |
11941 | return NULL; | |
11942 | } | |
11943 | { | |
11944 | _arg2 = &temp0; | |
11945 | if (! wxGridCellCoords_helper(_obj2, &_arg2)) | |
11946 | return NULL; | |
11947 | } | |
11948 | { | |
474c48f9 | 11949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11950 | _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2)); |
f6bcfd97 | 11951 | |
474c48f9 | 11952 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11953 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11954 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
11955 | _resultobj = Py_BuildValue("s",_ptemp); | |
11956 | return _resultobj; | |
11957 | } | |
11958 | ||
11959 | #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground()) | |
11960 | static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11961 | PyObject * _resultobj; | |
11962 | wxColour * _result; | |
11963 | wxGrid * _arg0; | |
11964 | PyObject * _argo0 = 0; | |
11965 | char *_kwnames[] = { "self", NULL }; | |
11966 | char _ptemp[128]; | |
11967 | ||
11968 | self = self; | |
11969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0)) | |
11970 | return NULL; | |
11971 | if (_argo0) { | |
11972 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11973 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11974 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p."); | |
11975 | return NULL; | |
11976 | } | |
11977 | } | |
11978 | { | |
474c48f9 | 11979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11980 | _result = new wxColour (wxGrid_GetSelectionBackground(_arg0)); |
f6bcfd97 | 11981 | |
474c48f9 | 11982 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11983 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11984 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
11985 | _resultobj = Py_BuildValue("s",_ptemp); | |
11986 | return _resultobj; | |
11987 | } | |
11988 | ||
11989 | #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground()) | |
11990 | static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11991 | PyObject * _resultobj; | |
11992 | wxColour * _result; | |
11993 | wxGrid * _arg0; | |
11994 | PyObject * _argo0 = 0; | |
11995 | char *_kwnames[] = { "self", NULL }; | |
11996 | char _ptemp[128]; | |
11997 | ||
11998 | self = self; | |
11999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0)) | |
12000 | return NULL; | |
12001 | if (_argo0) { | |
12002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p."); | |
12005 | return NULL; | |
12006 | } | |
12007 | } | |
12008 | { | |
474c48f9 | 12009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12010 | _result = new wxColour (wxGrid_GetSelectionForeground(_arg0)); |
f6bcfd97 | 12011 | |
474c48f9 | 12012 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12013 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12014 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
12015 | _resultobj = Py_BuildValue("s",_ptemp); | |
12016 | return _resultobj; | |
12017 | } | |
12018 | ||
12019 | #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0)) | |
12020 | static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12021 | PyObject * _resultobj; | |
12022 | wxGrid * _arg0; | |
12023 | wxColour * _arg1; | |
12024 | PyObject * _argo0 = 0; | |
12025 | wxColour temp; | |
12026 | PyObject * _obj1 = 0; | |
12027 | char *_kwnames[] = { "self","c", NULL }; | |
12028 | ||
12029 | self = self; | |
12030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1)) | |
12031 | return NULL; | |
12032 | if (_argo0) { | |
12033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p."); | |
12036 | return NULL; | |
12037 | } | |
12038 | } | |
12039 | { | |
12040 | _arg1 = &temp; | |
12041 | if (! wxColour_helper(_obj1, &_arg1)) | |
12042 | return NULL; | |
12043 | } | |
12044 | { | |
474c48f9 | 12045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12046 | wxGrid_SetSelectionBackground(_arg0,*_arg1); |
f6bcfd97 | 12047 | |
474c48f9 | 12048 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12049 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12050 | } Py_INCREF(Py_None); |
12051 | _resultobj = Py_None; | |
12052 | return _resultobj; | |
12053 | } | |
12054 | ||
12055 | #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0)) | |
12056 | static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12057 | PyObject * _resultobj; | |
12058 | wxGrid * _arg0; | |
12059 | wxColour * _arg1; | |
12060 | PyObject * _argo0 = 0; | |
12061 | wxColour temp; | |
12062 | PyObject * _obj1 = 0; | |
12063 | char *_kwnames[] = { "self","c", NULL }; | |
12064 | ||
12065 | self = self; | |
12066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1)) | |
12067 | return NULL; | |
12068 | if (_argo0) { | |
12069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p."); | |
12072 | return NULL; | |
12073 | } | |
12074 | } | |
12075 | { | |
12076 | _arg1 = &temp; | |
12077 | if (! wxColour_helper(_obj1, &_arg1)) | |
12078 | return NULL; | |
12079 | } | |
12080 | { | |
474c48f9 | 12081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12082 | wxGrid_SetSelectionForeground(_arg0,*_arg1); |
f6bcfd97 | 12083 | |
474c48f9 | 12084 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12085 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12086 | } Py_INCREF(Py_None); |
12087 | _resultobj = Py_None; | |
12088 | return _resultobj; | |
12089 | } | |
12090 | ||
12091 | #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2)) | |
12092 | static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12093 | PyObject * _resultobj; | |
12094 | wxGrid * _arg0; | |
12095 | wxString * _arg1; | |
12096 | wxGridCellRenderer * _arg2; | |
12097 | wxGridCellEditor * _arg3; | |
12098 | PyObject * _argo0 = 0; | |
12099 | PyObject * _obj1 = 0; | |
12100 | PyObject * _argo2 = 0; | |
12101 | PyObject * _argo3 = 0; | |
12102 | char *_kwnames[] = { "self","typeName","renderer","editor", NULL }; | |
12103 | ||
12104 | self = self; | |
12105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3)) | |
12106 | return NULL; | |
12107 | if (_argo0) { | |
12108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p."); | |
12111 | return NULL; | |
12112 | } | |
12113 | } | |
12114 | { | |
c8bc7bb8 RD |
12115 | _arg1 = wxString_in_helper(_obj1); |
12116 | if (_arg1 == NULL) | |
2cd2fac8 | 12117 | return NULL; |
f6bcfd97 BP |
12118 | } |
12119 | if (_argo2) { | |
12120 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
12121 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) { | |
12122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p."); | |
12123 | return NULL; | |
12124 | } | |
12125 | } | |
12126 | if (_argo3) { | |
12127 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
12128 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) { | |
12129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p."); | |
12130 | return NULL; | |
12131 | } | |
12132 | } | |
12133 | { | |
474c48f9 | 12134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12135 | wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3); |
f6bcfd97 | 12136 | |
474c48f9 | 12137 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12138 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12139 | } Py_INCREF(Py_None); |
12140 | _resultobj = Py_None; | |
12141 | { | |
12142 | if (_obj1) | |
12143 | delete _arg1; | |
12144 | } | |
12145 | return _resultobj; | |
12146 | } | |
12147 | ||
12148 | #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1)) | |
12149 | static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12150 | PyObject * _resultobj; | |
12151 | wxGridCellEditor * _result; | |
12152 | wxGrid * _arg0; | |
12153 | int _arg1; | |
12154 | int _arg2; | |
12155 | PyObject * _argo0 = 0; | |
12156 | char *_kwnames[] = { "self","row","col", NULL }; | |
12157 | char _ptemp[128]; | |
12158 | ||
12159 | self = self; | |
12160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12161 | return NULL; | |
12162 | if (_argo0) { | |
12163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p."); | |
12166 | return NULL; | |
12167 | } | |
12168 | } | |
12169 | { | |
474c48f9 | 12170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12171 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 12172 | |
474c48f9 | 12173 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12174 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12175 | } if (_result) { |
12176 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p"); | |
12177 | _resultobj = Py_BuildValue("s",_ptemp); | |
12178 | } else { | |
12179 | Py_INCREF(Py_None); | |
12180 | _resultobj = Py_None; | |
12181 | } | |
12182 | return _resultobj; | |
12183 | } | |
12184 | ||
12185 | #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1)) | |
12186 | static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12187 | PyObject * _resultobj; | |
12188 | wxGridCellRenderer * _result; | |
12189 | wxGrid * _arg0; | |
12190 | int _arg1; | |
12191 | int _arg2; | |
12192 | PyObject * _argo0 = 0; | |
12193 | char *_kwnames[] = { "self","row","col", NULL }; | |
12194 | char _ptemp[128]; | |
12195 | ||
12196 | self = self; | |
12197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12198 | return NULL; | |
12199 | if (_argo0) { | |
12200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p."); | |
12203 | return NULL; | |
12204 | } | |
12205 | } | |
12206 | { | |
474c48f9 | 12207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12208 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 12209 | |
474c48f9 | 12210 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12211 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12212 | } if (_result) { |
12213 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p"); | |
12214 | _resultobj = Py_BuildValue("s",_ptemp); | |
12215 | } else { | |
12216 | Py_INCREF(Py_None); | |
12217 | _resultobj = Py_None; | |
12218 | } | |
12219 | return _resultobj; | |
12220 | } | |
12221 | ||
12222 | #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0)) | |
12223 | static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12224 | PyObject * _resultobj; | |
12225 | wxGridCellEditor * _result; | |
12226 | wxGrid * _arg0; | |
12227 | wxString * _arg1; | |
12228 | PyObject * _argo0 = 0; | |
12229 | PyObject * _obj1 = 0; | |
12230 | char *_kwnames[] = { "self","typeName", NULL }; | |
12231 | char _ptemp[128]; | |
12232 | ||
12233 | self = self; | |
12234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1)) | |
12235 | return NULL; | |
12236 | if (_argo0) { | |
12237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p."); | |
12240 | return NULL; | |
12241 | } | |
12242 | } | |
12243 | { | |
c8bc7bb8 RD |
12244 | _arg1 = wxString_in_helper(_obj1); |
12245 | if (_arg1 == NULL) | |
2cd2fac8 | 12246 | return NULL; |
f6bcfd97 BP |
12247 | } |
12248 | { | |
474c48f9 | 12249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12250 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1); |
f6bcfd97 | 12251 | |
474c48f9 | 12252 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12253 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12254 | } if (_result) { |
12255 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEditor_p"); | |
12256 | _resultobj = Py_BuildValue("s",_ptemp); | |
12257 | } else { | |
12258 | Py_INCREF(Py_None); | |
12259 | _resultobj = Py_None; | |
12260 | } | |
12261 | { | |
12262 | if (_obj1) | |
12263 | delete _arg1; | |
12264 | } | |
12265 | return _resultobj; | |
12266 | } | |
12267 | ||
12268 | #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0)) | |
12269 | static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12270 | PyObject * _resultobj; | |
12271 | wxGridCellRenderer * _result; | |
12272 | wxGrid * _arg0; | |
12273 | wxString * _arg1; | |
12274 | PyObject * _argo0 = 0; | |
12275 | PyObject * _obj1 = 0; | |
12276 | char *_kwnames[] = { "self","typeName", NULL }; | |
12277 | char _ptemp[128]; | |
12278 | ||
12279 | self = self; | |
12280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1)) | |
12281 | return NULL; | |
12282 | if (_argo0) { | |
12283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p."); | |
12286 | return NULL; | |
12287 | } | |
12288 | } | |
12289 | { | |
c8bc7bb8 RD |
12290 | _arg1 = wxString_in_helper(_obj1); |
12291 | if (_arg1 == NULL) | |
f6bcfd97 | 12292 | return NULL; |
f6bcfd97 BP |
12293 | } |
12294 | { | |
474c48f9 | 12295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12296 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1); |
f6bcfd97 | 12297 | |
474c48f9 | 12298 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12299 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12300 | } if (_result) { |
12301 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellRenderer_p"); | |
12302 | _resultobj = Py_BuildValue("s",_ptemp); | |
12303 | } else { | |
12304 | Py_INCREF(Py_None); | |
12305 | _resultobj = Py_None; | |
12306 | } | |
12307 | { | |
12308 | if (_obj1) | |
12309 | delete _arg1; | |
12310 | } | |
12311 | return _resultobj; | |
12312 | } | |
12313 | ||
12314 | #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
12315 | static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12316 | PyObject * _resultobj; | |
12317 | wxGrid * _arg0; | |
12318 | int _arg1; | |
12319 | int _arg2; | |
12320 | PyObject * _argo0 = 0; | |
12321 | char *_kwnames[] = { "self","extraWidth","extraHeight", NULL }; | |
12322 | ||
12323 | self = self; | |
12324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12325 | return NULL; | |
12326 | if (_argo0) { | |
12327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p."); | |
12330 | return NULL; | |
12331 | } | |
12332 | } | |
12333 | { | |
474c48f9 | 12334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12335 | wxGrid_SetMargins(_arg0,_arg1,_arg2); |
f6bcfd97 | 12336 | |
474c48f9 | 12337 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12338 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12339 | } Py_INCREF(Py_None); |
12340 | _resultobj = Py_None; | |
12341 | return _resultobj; | |
12342 | } | |
12343 | ||
9df61a29 RD |
12344 | #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow()) |
12345 | static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12346 | PyObject * _resultobj; | |
12347 | wxWindow * _result; | |
12348 | wxGrid * _arg0; | |
12349 | PyObject * _argo0 = 0; | |
12350 | char *_kwnames[] = { "self", NULL }; | |
12351 | ||
12352 | self = self; | |
12353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0)) | |
12354 | return NULL; | |
12355 | if (_argo0) { | |
12356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p."); | |
12359 | return NULL; | |
12360 | } | |
12361 | } | |
12362 | { | |
474c48f9 | 12363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12364 | _result = (wxWindow *)wxGrid_GetGridWindow(_arg0); |
9df61a29 | 12365 | |
474c48f9 | 12366 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12367 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
12368 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12369 | return _resultobj; | |
12370 | } | |
12371 | ||
12372 | #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow()) | |
12373 | static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12374 | PyObject * _resultobj; | |
12375 | wxWindow * _result; | |
12376 | wxGrid * _arg0; | |
12377 | PyObject * _argo0 = 0; | |
12378 | char *_kwnames[] = { "self", NULL }; | |
12379 | ||
12380 | self = self; | |
12381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0)) | |
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_GetGridRowLabelWindow. Expected _wxGrid_p."); | |
12387 | return NULL; | |
12388 | } | |
12389 | } | |
12390 | { | |
474c48f9 | 12391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12392 | _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0); |
9df61a29 | 12393 | |
474c48f9 | 12394 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12395 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
12396 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12397 | return _resultobj; | |
12398 | } | |
12399 | ||
12400 | #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow()) | |
12401 | static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12402 | PyObject * _resultobj; | |
12403 | wxWindow * _result; | |
12404 | wxGrid * _arg0; | |
12405 | PyObject * _argo0 = 0; | |
12406 | char *_kwnames[] = { "self", NULL }; | |
12407 | ||
12408 | self = self; | |
12409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0)) | |
12410 | return NULL; | |
12411 | if (_argo0) { | |
12412 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12413 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p."); | |
12415 | return NULL; | |
12416 | } | |
12417 | } | |
12418 | { | |
474c48f9 | 12419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12420 | _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0); |
9df61a29 | 12421 | |
474c48f9 | 12422 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12423 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
12424 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12425 | return _resultobj; | |
12426 | } | |
12427 | ||
12428 | #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow()) | |
12429 | static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12430 | PyObject * _resultobj; | |
12431 | wxWindow * _result; | |
12432 | wxGrid * _arg0; | |
12433 | PyObject * _argo0 = 0; | |
12434 | char *_kwnames[] = { "self", NULL }; | |
12435 | ||
12436 | self = self; | |
12437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0)) | |
12438 | return NULL; | |
12439 | if (_argo0) { | |
12440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p."); | |
12443 | return NULL; | |
12444 | } | |
12445 | } | |
12446 | { | |
474c48f9 | 12447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12448 | _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0); |
9df61a29 | 12449 | |
474c48f9 | 12450 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12451 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
12452 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12453 | return _resultobj; | |
12454 | } | |
12455 | ||
f6bcfd97 BP |
12456 | static void *SwigwxGridEventTowxNotifyEvent(void *ptr) { |
12457 | wxGridEvent *src; | |
12458 | wxNotifyEvent *dest; | |
12459 | src = (wxGridEvent *) ptr; | |
12460 | dest = (wxNotifyEvent *) src; | |
12461 | return (void *) dest; | |
12462 | } | |
12463 | ||
12464 | static void *SwigwxGridEventTowxCommandEvent(void *ptr) { | |
12465 | wxGridEvent *src; | |
12466 | wxCommandEvent *dest; | |
12467 | src = (wxGridEvent *) ptr; | |
12468 | dest = (wxCommandEvent *) src; | |
12469 | return (void *) dest; | |
12470 | } | |
12471 | ||
12472 | static void *SwigwxGridEventTowxEvent(void *ptr) { | |
12473 | wxGridEvent *src; | |
12474 | wxEvent *dest; | |
12475 | src = (wxGridEvent *) ptr; | |
12476 | dest = (wxEvent *) src; | |
12477 | return (void *) dest; | |
12478 | } | |
12479 | ||
9df61a29 RD |
12480 | static void *SwigwxGridEventTowxObject(void *ptr) { |
12481 | wxGridEvent *src; | |
12482 | wxObject *dest; | |
12483 | src = (wxGridEvent *) ptr; | |
12484 | dest = (wxObject *) src; | |
12485 | return (void *) dest; | |
12486 | } | |
12487 | ||
f6bcfd97 BP |
12488 | #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)) |
12489 | static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12490 | PyObject * _resultobj; | |
12491 | wxGridEvent * _result; | |
12492 | int _arg0; | |
12493 | wxEventType _arg1; | |
12494 | wxGrid * _arg2; | |
12495 | int _arg3 = (int ) -1; | |
12496 | int _arg4 = (int ) -1; | |
12497 | int _arg5 = (int ) -1; | |
12498 | int _arg6 = (int ) -1; | |
12499 | bool _arg7 = (bool ) TRUE; | |
12500 | bool _arg8 = (bool ) FALSE; | |
12501 | bool _arg9 = (bool ) FALSE; | |
12502 | bool _arg10 = (bool ) FALSE; | |
12503 | bool _arg11 = (bool ) FALSE; | |
12504 | PyObject * _argo2 = 0; | |
12505 | int tempbool7 = (int) TRUE; | |
12506 | int tempbool8 = (int) FALSE; | |
12507 | int tempbool9 = (int) FALSE; | |
12508 | int tempbool10 = (int) FALSE; | |
12509 | int tempbool11 = (int) FALSE; | |
12510 | char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL }; | |
12511 | char _ptemp[128]; | |
12512 | ||
12513 | self = self; | |
12514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11)) | |
12515 | return NULL; | |
12516 | if (_argo2) { | |
12517 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
12518 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
12519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p."); | |
12520 | return NULL; | |
12521 | } | |
12522 | } | |
12523 | _arg7 = (bool ) tempbool7; | |
12524 | _arg8 = (bool ) tempbool8; | |
12525 | _arg9 = (bool ) tempbool9; | |
12526 | _arg10 = (bool ) tempbool10; | |
12527 | _arg11 = (bool ) tempbool11; | |
12528 | { | |
474c48f9 | 12529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12530 | _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11); |
f6bcfd97 | 12531 | |
474c48f9 | 12532 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12533 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12534 | } if (_result) { |
12535 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p"); | |
12536 | _resultobj = Py_BuildValue("s",_ptemp); | |
12537 | } else { | |
12538 | Py_INCREF(Py_None); | |
12539 | _resultobj = Py_None; | |
12540 | } | |
12541 | return _resultobj; | |
12542 | } | |
12543 | ||
12544 | #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow()) | |
12545 | static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12546 | PyObject * _resultobj; | |
12547 | int _result; | |
12548 | wxGridEvent * _arg0; | |
12549 | PyObject * _argo0 = 0; | |
12550 | char *_kwnames[] = { "self", NULL }; | |
12551 | ||
12552 | self = self; | |
12553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0)) | |
12554 | return NULL; | |
12555 | if (_argo0) { | |
12556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p."); | |
12559 | return NULL; | |
12560 | } | |
12561 | } | |
12562 | { | |
474c48f9 | 12563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12564 | _result = (int )wxGridEvent_GetRow(_arg0); |
f6bcfd97 | 12565 | |
474c48f9 | 12566 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12567 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12568 | } _resultobj = Py_BuildValue("i",_result); |
12569 | return _resultobj; | |
12570 | } | |
12571 | ||
12572 | #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
12573 | static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12574 | PyObject * _resultobj; | |
12575 | int _result; | |
12576 | wxGridEvent * _arg0; | |
12577 | PyObject * _argo0 = 0; | |
12578 | char *_kwnames[] = { "self", NULL }; | |
12579 | ||
12580 | self = self; | |
12581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0)) | |
12582 | return NULL; | |
12583 | if (_argo0) { | |
12584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p."); | |
12587 | return NULL; | |
12588 | } | |
12589 | } | |
12590 | { | |
474c48f9 | 12591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12592 | _result = (int )wxGridEvent_GetCol(_arg0); |
f6bcfd97 | 12593 | |
474c48f9 | 12594 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12595 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12596 | } _resultobj = Py_BuildValue("i",_result); |
12597 | return _resultobj; | |
12598 | } | |
12599 | ||
12600 | #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
12601 | static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12602 | PyObject * _resultobj; | |
12603 | wxPoint * _result; | |
12604 | wxGridEvent * _arg0; | |
12605 | PyObject * _argo0 = 0; | |
12606 | char *_kwnames[] = { "self", NULL }; | |
12607 | char _ptemp[128]; | |
12608 | ||
12609 | self = self; | |
12610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0)) | |
12611 | return NULL; | |
12612 | if (_argo0) { | |
12613 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12614 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p."); | |
12616 | return NULL; | |
12617 | } | |
12618 | } | |
12619 | { | |
474c48f9 | 12620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12621 | _result = new wxPoint (wxGridEvent_GetPosition(_arg0)); |
f6bcfd97 | 12622 | |
474c48f9 | 12623 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12624 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12625 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
12626 | _resultobj = Py_BuildValue("s",_ptemp); | |
12627 | return _resultobj; | |
12628 | } | |
12629 | ||
12630 | #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting()) | |
12631 | static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12632 | PyObject * _resultobj; | |
12633 | bool _result; | |
12634 | wxGridEvent * _arg0; | |
12635 | PyObject * _argo0 = 0; | |
12636 | char *_kwnames[] = { "self", NULL }; | |
12637 | ||
12638 | self = self; | |
12639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0)) | |
12640 | return NULL; | |
12641 | if (_argo0) { | |
12642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p."); | |
12645 | return NULL; | |
12646 | } | |
12647 | } | |
12648 | { | |
474c48f9 | 12649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12650 | _result = (bool )wxGridEvent_Selecting(_arg0); |
f6bcfd97 | 12651 | |
474c48f9 | 12652 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12653 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12654 | } _resultobj = Py_BuildValue("i",_result); |
12655 | return _resultobj; | |
12656 | } | |
12657 | ||
12658 | #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
12659 | static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12660 | PyObject * _resultobj; | |
12661 | bool _result; | |
12662 | wxGridEvent * _arg0; | |
12663 | PyObject * _argo0 = 0; | |
12664 | char *_kwnames[] = { "self", NULL }; | |
12665 | ||
12666 | self = self; | |
12667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0)) | |
12668 | return NULL; | |
12669 | if (_argo0) { | |
12670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p."); | |
12673 | return NULL; | |
12674 | } | |
12675 | } | |
12676 | { | |
474c48f9 | 12677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12678 | _result = (bool )wxGridEvent_ControlDown(_arg0); |
f6bcfd97 | 12679 | |
474c48f9 | 12680 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12681 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12682 | } _resultobj = Py_BuildValue("i",_result); |
12683 | return _resultobj; | |
12684 | } | |
12685 | ||
12686 | #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
12687 | static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12688 | PyObject * _resultobj; | |
12689 | bool _result; | |
12690 | wxGridEvent * _arg0; | |
12691 | PyObject * _argo0 = 0; | |
12692 | char *_kwnames[] = { "self", NULL }; | |
12693 | ||
12694 | self = self; | |
12695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0)) | |
12696 | return NULL; | |
12697 | if (_argo0) { | |
12698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p."); | |
12701 | return NULL; | |
12702 | } | |
12703 | } | |
12704 | { | |
474c48f9 | 12705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12706 | _result = (bool )wxGridEvent_MetaDown(_arg0); |
f6bcfd97 | 12707 | |
474c48f9 | 12708 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12709 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12710 | } _resultobj = Py_BuildValue("i",_result); |
12711 | return _resultobj; | |
12712 | } | |
12713 | ||
12714 | #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
12715 | static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12716 | PyObject * _resultobj; | |
12717 | bool _result; | |
12718 | wxGridEvent * _arg0; | |
12719 | PyObject * _argo0 = 0; | |
12720 | char *_kwnames[] = { "self", NULL }; | |
12721 | ||
12722 | self = self; | |
12723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0)) | |
12724 | return NULL; | |
12725 | if (_argo0) { | |
12726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p."); | |
12729 | return NULL; | |
12730 | } | |
12731 | } | |
12732 | { | |
474c48f9 | 12733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12734 | _result = (bool )wxGridEvent_ShiftDown(_arg0); |
f6bcfd97 | 12735 | |
474c48f9 | 12736 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12737 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12738 | } _resultobj = Py_BuildValue("i",_result); |
12739 | return _resultobj; | |
12740 | } | |
12741 | ||
12742 | #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
12743 | static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12744 | PyObject * _resultobj; | |
12745 | bool _result; | |
12746 | wxGridEvent * _arg0; | |
12747 | PyObject * _argo0 = 0; | |
12748 | char *_kwnames[] = { "self", NULL }; | |
12749 | ||
12750 | self = self; | |
12751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0)) | |
12752 | return NULL; | |
12753 | if (_argo0) { | |
12754 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12755 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p."); | |
12757 | return NULL; | |
12758 | } | |
12759 | } | |
12760 | { | |
474c48f9 | 12761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12762 | _result = (bool )wxGridEvent_AltDown(_arg0); |
f6bcfd97 | 12763 | |
474c48f9 | 12764 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12765 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12766 | } _resultobj = Py_BuildValue("i",_result); |
12767 | return _resultobj; | |
12768 | } | |
12769 | ||
12770 | static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) { | |
12771 | wxGridSizeEvent *src; | |
12772 | wxNotifyEvent *dest; | |
12773 | src = (wxGridSizeEvent *) ptr; | |
12774 | dest = (wxNotifyEvent *) src; | |
12775 | return (void *) dest; | |
12776 | } | |
12777 | ||
12778 | static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) { | |
12779 | wxGridSizeEvent *src; | |
12780 | wxCommandEvent *dest; | |
12781 | src = (wxGridSizeEvent *) ptr; | |
12782 | dest = (wxCommandEvent *) src; | |
12783 | return (void *) dest; | |
12784 | } | |
12785 | ||
12786 | static void *SwigwxGridSizeEventTowxEvent(void *ptr) { | |
12787 | wxGridSizeEvent *src; | |
12788 | wxEvent *dest; | |
12789 | src = (wxGridSizeEvent *) ptr; | |
12790 | dest = (wxEvent *) src; | |
12791 | return (void *) dest; | |
12792 | } | |
12793 | ||
9df61a29 RD |
12794 | static void *SwigwxGridSizeEventTowxObject(void *ptr) { |
12795 | wxGridSizeEvent *src; | |
12796 | wxObject *dest; | |
12797 | src = (wxGridSizeEvent *) ptr; | |
12798 | dest = (wxObject *) src; | |
12799 | return (void *) dest; | |
12800 | } | |
12801 | ||
f6bcfd97 BP |
12802 | #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)) |
12803 | static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12804 | PyObject * _resultobj; | |
12805 | wxGridSizeEvent * _result; | |
12806 | int _arg0; | |
12807 | wxEventType _arg1; | |
12808 | wxGrid * _arg2; | |
12809 | int _arg3 = (int ) -1; | |
12810 | int _arg4 = (int ) -1; | |
12811 | int _arg5 = (int ) -1; | |
12812 | bool _arg6 = (bool ) FALSE; | |
12813 | bool _arg7 = (bool ) FALSE; | |
12814 | bool _arg8 = (bool ) FALSE; | |
12815 | bool _arg9 = (bool ) FALSE; | |
12816 | PyObject * _argo2 = 0; | |
12817 | int tempbool6 = (int) FALSE; | |
12818 | int tempbool7 = (int) FALSE; | |
12819 | int tempbool8 = (int) FALSE; | |
12820 | int tempbool9 = (int) FALSE; | |
12821 | char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL }; | |
12822 | char _ptemp[128]; | |
12823 | ||
12824 | self = self; | |
12825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9)) | |
12826 | return NULL; | |
12827 | if (_argo2) { | |
12828 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
12829 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
12830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p."); | |
12831 | return NULL; | |
12832 | } | |
12833 | } | |
12834 | _arg6 = (bool ) tempbool6; | |
12835 | _arg7 = (bool ) tempbool7; | |
12836 | _arg8 = (bool ) tempbool8; | |
12837 | _arg9 = (bool ) tempbool9; | |
12838 | { | |
474c48f9 | 12839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12840 | _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); |
f6bcfd97 | 12841 | |
474c48f9 | 12842 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12843 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12844 | } if (_result) { |
12845 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p"); | |
12846 | _resultobj = Py_BuildValue("s",_ptemp); | |
12847 | } else { | |
12848 | Py_INCREF(Py_None); | |
12849 | _resultobj = Py_None; | |
12850 | } | |
12851 | return _resultobj; | |
12852 | } | |
12853 | ||
12854 | #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol()) | |
12855 | static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12856 | PyObject * _resultobj; | |
12857 | int _result; | |
12858 | wxGridSizeEvent * _arg0; | |
12859 | PyObject * _argo0 = 0; | |
12860 | char *_kwnames[] = { "self", NULL }; | |
12861 | ||
12862 | self = self; | |
12863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0)) | |
12864 | return NULL; | |
12865 | if (_argo0) { | |
12866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
12868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p."); | |
12869 | return NULL; | |
12870 | } | |
12871 | } | |
12872 | { | |
474c48f9 | 12873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12874 | _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0); |
f6bcfd97 | 12875 | |
474c48f9 | 12876 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12877 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12878 | } _resultobj = Py_BuildValue("i",_result); |
12879 | return _resultobj; | |
12880 | } | |
12881 | ||
12882 | #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
12883 | static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12884 | PyObject * _resultobj; | |
12885 | wxPoint * _result; | |
12886 | wxGridSizeEvent * _arg0; | |
12887 | PyObject * _argo0 = 0; | |
12888 | char *_kwnames[] = { "self", NULL }; | |
12889 | char _ptemp[128]; | |
12890 | ||
12891 | self = self; | |
12892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0)) | |
12893 | return NULL; | |
12894 | if (_argo0) { | |
12895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
12897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p."); | |
12898 | return NULL; | |
12899 | } | |
12900 | } | |
12901 | { | |
474c48f9 | 12902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12903 | _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0)); |
f6bcfd97 | 12904 | |
474c48f9 | 12905 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12906 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12907 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
12908 | _resultobj = Py_BuildValue("s",_ptemp); | |
12909 | return _resultobj; | |
12910 | } | |
12911 | ||
12912 | #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
12913 | static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12914 | PyObject * _resultobj; | |
12915 | bool _result; | |
12916 | wxGridSizeEvent * _arg0; | |
12917 | PyObject * _argo0 = 0; | |
12918 | char *_kwnames[] = { "self", NULL }; | |
12919 | ||
12920 | self = self; | |
12921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0)) | |
12922 | return NULL; | |
12923 | if (_argo0) { | |
12924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
12926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p."); | |
12927 | return NULL; | |
12928 | } | |
12929 | } | |
12930 | { | |
474c48f9 | 12931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12932 | _result = (bool )wxGridSizeEvent_ControlDown(_arg0); |
f6bcfd97 | 12933 | |
474c48f9 | 12934 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12935 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12936 | } _resultobj = Py_BuildValue("i",_result); |
12937 | return _resultobj; | |
12938 | } | |
12939 | ||
12940 | #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
12941 | static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12942 | PyObject * _resultobj; | |
12943 | bool _result; | |
12944 | wxGridSizeEvent * _arg0; | |
12945 | PyObject * _argo0 = 0; | |
12946 | char *_kwnames[] = { "self", NULL }; | |
12947 | ||
12948 | self = self; | |
12949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0)) | |
12950 | return NULL; | |
12951 | if (_argo0) { | |
12952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
12954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p."); | |
12955 | return NULL; | |
12956 | } | |
12957 | } | |
12958 | { | |
474c48f9 | 12959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12960 | _result = (bool )wxGridSizeEvent_MetaDown(_arg0); |
f6bcfd97 | 12961 | |
474c48f9 | 12962 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12963 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12964 | } _resultobj = Py_BuildValue("i",_result); |
12965 | return _resultobj; | |
12966 | } | |
12967 | ||
12968 | #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
12969 | static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12970 | PyObject * _resultobj; | |
12971 | bool _result; | |
12972 | wxGridSizeEvent * _arg0; | |
12973 | PyObject * _argo0 = 0; | |
12974 | char *_kwnames[] = { "self", NULL }; | |
12975 | ||
12976 | self = self; | |
12977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0)) | |
12978 | return NULL; | |
12979 | if (_argo0) { | |
12980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
12982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p."); | |
12983 | return NULL; | |
12984 | } | |
12985 | } | |
12986 | { | |
474c48f9 | 12987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12988 | _result = (bool )wxGridSizeEvent_ShiftDown(_arg0); |
f6bcfd97 | 12989 | |
474c48f9 | 12990 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12991 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12992 | } _resultobj = Py_BuildValue("i",_result); |
12993 | return _resultobj; | |
12994 | } | |
12995 | ||
12996 | #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
12997 | static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12998 | PyObject * _resultobj; | |
12999 | bool _result; | |
13000 | wxGridSizeEvent * _arg0; | |
13001 | PyObject * _argo0 = 0; | |
13002 | char *_kwnames[] = { "self", NULL }; | |
13003 | ||
13004 | self = self; | |
13005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0)) | |
13006 | return NULL; | |
13007 | if (_argo0) { | |
13008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p."); | |
13011 | return NULL; | |
13012 | } | |
13013 | } | |
13014 | { | |
474c48f9 | 13015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13016 | _result = (bool )wxGridSizeEvent_AltDown(_arg0); |
f6bcfd97 | 13017 | |
474c48f9 | 13018 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13019 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13020 | } _resultobj = Py_BuildValue("i",_result); |
13021 | return _resultobj; | |
13022 | } | |
13023 | ||
13024 | static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) { | |
13025 | wxGridRangeSelectEvent *src; | |
13026 | wxNotifyEvent *dest; | |
13027 | src = (wxGridRangeSelectEvent *) ptr; | |
13028 | dest = (wxNotifyEvent *) src; | |
13029 | return (void *) dest; | |
13030 | } | |
13031 | ||
13032 | static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) { | |
13033 | wxGridRangeSelectEvent *src; | |
13034 | wxCommandEvent *dest; | |
13035 | src = (wxGridRangeSelectEvent *) ptr; | |
13036 | dest = (wxCommandEvent *) src; | |
13037 | return (void *) dest; | |
13038 | } | |
13039 | ||
13040 | static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) { | |
13041 | wxGridRangeSelectEvent *src; | |
13042 | wxEvent *dest; | |
13043 | src = (wxGridRangeSelectEvent *) ptr; | |
13044 | dest = (wxEvent *) src; | |
13045 | return (void *) dest; | |
13046 | } | |
13047 | ||
9df61a29 RD |
13048 | static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) { |
13049 | wxGridRangeSelectEvent *src; | |
13050 | wxObject *dest; | |
13051 | src = (wxGridRangeSelectEvent *) ptr; | |
13052 | dest = (wxObject *) src; | |
13053 | return (void *) dest; | |
13054 | } | |
13055 | ||
f6bcfd97 BP |
13056 | #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)) |
13057 | static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13058 | PyObject * _resultobj; | |
13059 | wxGridRangeSelectEvent * _result; | |
13060 | int _arg0; | |
13061 | wxEventType _arg1; | |
13062 | wxGrid * _arg2; | |
13063 | wxGridCellCoords * _arg3; | |
13064 | wxGridCellCoords * _arg4; | |
13065 | bool _arg5 = (bool ) TRUE; | |
13066 | bool _arg6 = (bool ) FALSE; | |
13067 | bool _arg7 = (bool ) FALSE; | |
13068 | bool _arg8 = (bool ) FALSE; | |
13069 | bool _arg9 = (bool ) FALSE; | |
13070 | PyObject * _argo2 = 0; | |
13071 | wxGridCellCoords temp; | |
13072 | PyObject * _obj3 = 0; | |
13073 | wxGridCellCoords temp0; | |
13074 | PyObject * _obj4 = 0; | |
13075 | int tempbool5 = (int) TRUE; | |
13076 | int tempbool6 = (int) FALSE; | |
13077 | int tempbool7 = (int) FALSE; | |
13078 | int tempbool8 = (int) FALSE; | |
13079 | int tempbool9 = (int) FALSE; | |
13080 | char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL }; | |
13081 | char _ptemp[128]; | |
13082 | ||
13083 | self = self; | |
13084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9)) | |
13085 | return NULL; | |
13086 | if (_argo2) { | |
13087 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13088 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
13089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p."); | |
13090 | return NULL; | |
13091 | } | |
13092 | } | |
13093 | { | |
13094 | _arg3 = &temp; | |
13095 | if (! wxGridCellCoords_helper(_obj3, &_arg3)) | |
13096 | return NULL; | |
13097 | } | |
13098 | { | |
13099 | _arg4 = &temp0; | |
13100 | if (! wxGridCellCoords_helper(_obj4, &_arg4)) | |
13101 | return NULL; | |
13102 | } | |
13103 | _arg5 = (bool ) tempbool5; | |
13104 | _arg6 = (bool ) tempbool6; | |
13105 | _arg7 = (bool ) tempbool7; | |
13106 | _arg8 = (bool ) tempbool8; | |
13107 | _arg9 = (bool ) tempbool9; | |
13108 | { | |
474c48f9 | 13109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13110 | _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); |
f6bcfd97 | 13111 | |
474c48f9 | 13112 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13113 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13114 | } if (_result) { |
13115 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p"); | |
13116 | _resultobj = Py_BuildValue("s",_ptemp); | |
13117 | } else { | |
13118 | Py_INCREF(Py_None); | |
13119 | _resultobj = Py_None; | |
13120 | } | |
13121 | return _resultobj; | |
13122 | } | |
13123 | ||
13124 | #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords()) | |
13125 | static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13126 | PyObject * _resultobj; | |
13127 | wxGridCellCoords * _result; | |
13128 | wxGridRangeSelectEvent * _arg0; | |
13129 | PyObject * _argo0 = 0; | |
13130 | char *_kwnames[] = { "self", NULL }; | |
13131 | char _ptemp[128]; | |
13132 | ||
13133 | self = self; | |
13134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0)) | |
13135 | return NULL; | |
13136 | if (_argo0) { | |
13137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p."); | |
13140 | return NULL; | |
13141 | } | |
13142 | } | |
13143 | { | |
474c48f9 | 13144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13145 | _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0)); |
f6bcfd97 | 13146 | |
474c48f9 | 13147 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13148 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13149 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p"); |
13150 | _resultobj = Py_BuildValue("s",_ptemp); | |
13151 | return _resultobj; | |
13152 | } | |
13153 | ||
13154 | #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords()) | |
13155 | static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13156 | PyObject * _resultobj; | |
13157 | wxGridCellCoords * _result; | |
13158 | wxGridRangeSelectEvent * _arg0; | |
13159 | PyObject * _argo0 = 0; | |
13160 | char *_kwnames[] = { "self", NULL }; | |
13161 | char _ptemp[128]; | |
13162 | ||
13163 | self = self; | |
13164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0)) | |
13165 | return NULL; | |
13166 | if (_argo0) { | |
13167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p."); | |
13170 | return NULL; | |
13171 | } | |
13172 | } | |
13173 | { | |
474c48f9 | 13174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13175 | _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0)); |
f6bcfd97 | 13176 | |
474c48f9 | 13177 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13178 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13179 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p"); |
13180 | _resultobj = Py_BuildValue("s",_ptemp); | |
13181 | return _resultobj; | |
13182 | } | |
13183 | ||
13184 | #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow()) | |
13185 | static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13186 | PyObject * _resultobj; | |
13187 | int _result; | |
13188 | wxGridRangeSelectEvent * _arg0; | |
13189 | PyObject * _argo0 = 0; | |
13190 | char *_kwnames[] = { "self", NULL }; | |
13191 | ||
13192 | self = self; | |
13193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0)) | |
13194 | return NULL; | |
13195 | if (_argo0) { | |
13196 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13197 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p."); | |
13199 | return NULL; | |
13200 | } | |
13201 | } | |
13202 | { | |
474c48f9 | 13203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13204 | _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0); |
f6bcfd97 | 13205 | |
474c48f9 | 13206 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13207 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13208 | } _resultobj = Py_BuildValue("i",_result); |
13209 | return _resultobj; | |
13210 | } | |
13211 | ||
13212 | #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow()) | |
13213 | static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13214 | PyObject * _resultobj; | |
13215 | int _result; | |
13216 | wxGridRangeSelectEvent * _arg0; | |
13217 | PyObject * _argo0 = 0; | |
13218 | char *_kwnames[] = { "self", NULL }; | |
13219 | ||
13220 | self = self; | |
13221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0)) | |
13222 | return NULL; | |
13223 | if (_argo0) { | |
13224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p."); | |
13227 | return NULL; | |
13228 | } | |
13229 | } | |
13230 | { | |
474c48f9 | 13231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13232 | _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0); |
f6bcfd97 | 13233 | |
474c48f9 | 13234 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13235 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13236 | } _resultobj = Py_BuildValue("i",_result); |
13237 | return _resultobj; | |
13238 | } | |
13239 | ||
13240 | #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol()) | |
13241 | static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13242 | PyObject * _resultobj; | |
13243 | int _result; | |
13244 | wxGridRangeSelectEvent * _arg0; | |
13245 | PyObject * _argo0 = 0; | |
13246 | char *_kwnames[] = { "self", NULL }; | |
13247 | ||
13248 | self = self; | |
13249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0)) | |
13250 | return NULL; | |
13251 | if (_argo0) { | |
13252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p."); | |
13255 | return NULL; | |
13256 | } | |
13257 | } | |
13258 | { | |
474c48f9 | 13259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13260 | _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0); |
f6bcfd97 | 13261 | |
474c48f9 | 13262 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13263 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13264 | } _resultobj = Py_BuildValue("i",_result); |
13265 | return _resultobj; | |
13266 | } | |
13267 | ||
13268 | #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol()) | |
13269 | static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13270 | PyObject * _resultobj; | |
13271 | int _result; | |
13272 | wxGridRangeSelectEvent * _arg0; | |
13273 | PyObject * _argo0 = 0; | |
13274 | char *_kwnames[] = { "self", NULL }; | |
13275 | ||
13276 | self = self; | |
13277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0)) | |
13278 | return NULL; | |
13279 | if (_argo0) { | |
13280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p."); | |
13283 | return NULL; | |
13284 | } | |
13285 | } | |
13286 | { | |
474c48f9 | 13287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13288 | _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0); |
f6bcfd97 | 13289 | |
474c48f9 | 13290 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13291 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13292 | } _resultobj = Py_BuildValue("i",_result); |
13293 | return _resultobj; | |
13294 | } | |
13295 | ||
13296 | #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting()) | |
13297 | static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13298 | PyObject * _resultobj; | |
13299 | bool _result; | |
13300 | wxGridRangeSelectEvent * _arg0; | |
13301 | PyObject * _argo0 = 0; | |
13302 | char *_kwnames[] = { "self", NULL }; | |
13303 | ||
13304 | self = self; | |
13305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0)) | |
13306 | return NULL; | |
13307 | if (_argo0) { | |
13308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p."); | |
13311 | return NULL; | |
13312 | } | |
13313 | } | |
13314 | { | |
474c48f9 | 13315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13316 | _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0); |
f6bcfd97 | 13317 | |
474c48f9 | 13318 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13319 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13320 | } _resultobj = Py_BuildValue("i",_result); |
13321 | return _resultobj; | |
13322 | } | |
13323 | ||
13324 | #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
13325 | static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13326 | PyObject * _resultobj; | |
13327 | bool _result; | |
13328 | wxGridRangeSelectEvent * _arg0; | |
13329 | PyObject * _argo0 = 0; | |
13330 | char *_kwnames[] = { "self", NULL }; | |
13331 | ||
13332 | self = self; | |
13333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0)) | |
13334 | return NULL; | |
13335 | if (_argo0) { | |
13336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p."); | |
13339 | return NULL; | |
13340 | } | |
13341 | } | |
13342 | { | |
474c48f9 | 13343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13344 | _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0); |
f6bcfd97 | 13345 | |
474c48f9 | 13346 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13347 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13348 | } _resultobj = Py_BuildValue("i",_result); |
13349 | return _resultobj; | |
13350 | } | |
13351 | ||
13352 | #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
13353 | static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13354 | PyObject * _resultobj; | |
13355 | bool _result; | |
13356 | wxGridRangeSelectEvent * _arg0; | |
13357 | PyObject * _argo0 = 0; | |
13358 | char *_kwnames[] = { "self", NULL }; | |
13359 | ||
13360 | self = self; | |
13361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0)) | |
13362 | return NULL; | |
13363 | if (_argo0) { | |
13364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p."); | |
13367 | return NULL; | |
13368 | } | |
13369 | } | |
13370 | { | |
474c48f9 | 13371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13372 | _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0); |
f6bcfd97 | 13373 | |
474c48f9 | 13374 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13375 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13376 | } _resultobj = Py_BuildValue("i",_result); |
13377 | return _resultobj; | |
13378 | } | |
13379 | ||
13380 | #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
13381 | static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13382 | PyObject * _resultobj; | |
13383 | bool _result; | |
13384 | wxGridRangeSelectEvent * _arg0; | |
13385 | PyObject * _argo0 = 0; | |
13386 | char *_kwnames[] = { "self", NULL }; | |
13387 | ||
13388 | self = self; | |
13389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0)) | |
13390 | return NULL; | |
13391 | if (_argo0) { | |
13392 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13393 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13394 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p."); | |
13395 | return NULL; | |
13396 | } | |
13397 | } | |
13398 | { | |
474c48f9 | 13399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13400 | _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0); |
f6bcfd97 | 13401 | |
474c48f9 | 13402 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13403 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13404 | } _resultobj = Py_BuildValue("i",_result); |
13405 | return _resultobj; | |
13406 | } | |
13407 | ||
13408 | #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
13409 | static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13410 | PyObject * _resultobj; | |
13411 | bool _result; | |
13412 | wxGridRangeSelectEvent * _arg0; | |
13413 | PyObject * _argo0 = 0; | |
13414 | char *_kwnames[] = { "self", NULL }; | |
13415 | ||
13416 | self = self; | |
13417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0)) | |
13418 | return NULL; | |
13419 | if (_argo0) { | |
13420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p."); | |
13423 | return NULL; | |
13424 | } | |
13425 | } | |
13426 | { | |
474c48f9 | 13427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13428 | _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0); |
f6bcfd97 | 13429 | |
474c48f9 | 13430 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13431 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13432 | } _resultobj = Py_BuildValue("i",_result); |
13433 | return _resultobj; | |
13434 | } | |
13435 | ||
9d6da64a RD |
13436 | static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) { |
13437 | wxGridEditorCreatedEvent *src; | |
13438 | wxCommandEvent *dest; | |
13439 | src = (wxGridEditorCreatedEvent *) ptr; | |
13440 | dest = (wxCommandEvent *) src; | |
13441 | return (void *) dest; | |
13442 | } | |
13443 | ||
13444 | static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) { | |
13445 | wxGridEditorCreatedEvent *src; | |
13446 | wxEvent *dest; | |
13447 | src = (wxGridEditorCreatedEvent *) ptr; | |
13448 | dest = (wxEvent *) src; | |
13449 | return (void *) dest; | |
13450 | } | |
13451 | ||
13452 | static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) { | |
13453 | wxGridEditorCreatedEvent *src; | |
13454 | wxObject *dest; | |
13455 | src = (wxGridEditorCreatedEvent *) ptr; | |
13456 | dest = (wxObject *) src; | |
13457 | return (void *) dest; | |
13458 | } | |
13459 | ||
13460 | #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
13461 | static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13462 | PyObject * _resultobj; | |
13463 | wxGridEditorCreatedEvent * _result; | |
13464 | int _arg0; | |
13465 | wxEventType _arg1; | |
13466 | wxObject * _arg2; | |
13467 | int _arg3; | |
13468 | int _arg4; | |
13469 | wxControl * _arg5; | |
13470 | PyObject * _argo2 = 0; | |
13471 | PyObject * _argo5 = 0; | |
13472 | char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL }; | |
13473 | char _ptemp[128]; | |
13474 | ||
13475 | self = self; | |
13476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5)) | |
13477 | return NULL; | |
13478 | if (_argo2) { | |
13479 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13480 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) { | |
13481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p."); | |
13482 | return NULL; | |
13483 | } | |
13484 | } | |
13485 | if (_argo5) { | |
13486 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
13487 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) { | |
13488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p."); | |
13489 | return NULL; | |
13490 | } | |
13491 | } | |
13492 | { | |
474c48f9 | 13493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13494 | _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
9d6da64a | 13495 | |
474c48f9 | 13496 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
13497 | if (PyErr_Occurred()) return NULL; |
13498 | } if (_result) { | |
13499 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p"); | |
13500 | _resultobj = Py_BuildValue("s",_ptemp); | |
13501 | } else { | |
13502 | Py_INCREF(Py_None); | |
13503 | _resultobj = Py_None; | |
13504 | } | |
13505 | return _resultobj; | |
13506 | } | |
13507 | ||
13508 | #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow()) | |
13509 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13510 | PyObject * _resultobj; | |
13511 | int _result; | |
13512 | wxGridEditorCreatedEvent * _arg0; | |
13513 | PyObject * _argo0 = 0; | |
13514 | char *_kwnames[] = { "self", NULL }; | |
13515 | ||
13516 | self = self; | |
13517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0)) | |
13518 | return NULL; | |
13519 | if (_argo0) { | |
13520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p."); | |
13523 | return NULL; | |
13524 | } | |
13525 | } | |
13526 | { | |
474c48f9 | 13527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13528 | _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0); |
9d6da64a | 13529 | |
474c48f9 | 13530 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
13531 | if (PyErr_Occurred()) return NULL; |
13532 | } _resultobj = Py_BuildValue("i",_result); | |
13533 | return _resultobj; | |
13534 | } | |
13535 | ||
13536 | #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
13537 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13538 | PyObject * _resultobj; | |
13539 | int _result; | |
13540 | wxGridEditorCreatedEvent * _arg0; | |
13541 | PyObject * _argo0 = 0; | |
13542 | char *_kwnames[] = { "self", NULL }; | |
13543 | ||
13544 | self = self; | |
13545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0)) | |
13546 | return NULL; | |
13547 | if (_argo0) { | |
13548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p."); | |
13551 | return NULL; | |
13552 | } | |
13553 | } | |
13554 | { | |
474c48f9 | 13555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13556 | _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0); |
9d6da64a | 13557 | |
474c48f9 | 13558 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
13559 | if (PyErr_Occurred()) return NULL; |
13560 | } _resultobj = Py_BuildValue("i",_result); | |
13561 | return _resultobj; | |
13562 | } | |
13563 | ||
13564 | #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
13565 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13566 | PyObject * _resultobj; | |
13567 | wxControl * _result; | |
13568 | wxGridEditorCreatedEvent * _arg0; | |
13569 | PyObject * _argo0 = 0; | |
13570 | char *_kwnames[] = { "self", NULL }; | |
13571 | ||
13572 | self = self; | |
13573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0)) | |
13574 | return NULL; | |
13575 | if (_argo0) { | |
13576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p."); | |
13579 | return NULL; | |
13580 | } | |
13581 | } | |
13582 | { | |
474c48f9 | 13583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13584 | _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0); |
9d6da64a | 13585 | |
474c48f9 | 13586 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
13587 | if (PyErr_Occurred()) return NULL; |
13588 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
13589 | return _resultobj; | |
13590 | } | |
13591 | ||
13592 | #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0)) | |
13593 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13594 | PyObject * _resultobj; | |
13595 | wxGridEditorCreatedEvent * _arg0; | |
13596 | int _arg1; | |
13597 | PyObject * _argo0 = 0; | |
13598 | char *_kwnames[] = { "self","row", NULL }; | |
13599 | ||
13600 | self = self; | |
13601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1)) | |
13602 | return NULL; | |
13603 | if (_argo0) { | |
13604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p."); | |
13607 | return NULL; | |
13608 | } | |
13609 | } | |
13610 | { | |
474c48f9 | 13611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13612 | wxGridEditorCreatedEvent_SetRow(_arg0,_arg1); |
9d6da64a | 13613 | |
474c48f9 | 13614 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
13615 | if (PyErr_Occurred()) return NULL; |
13616 | } Py_INCREF(Py_None); | |
13617 | _resultobj = Py_None; | |
13618 | return _resultobj; | |
13619 | } | |
13620 | ||
13621 | #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0)) | |
13622 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13623 | PyObject * _resultobj; | |
13624 | wxGridEditorCreatedEvent * _arg0; | |
13625 | int _arg1; | |
13626 | PyObject * _argo0 = 0; | |
13627 | char *_kwnames[] = { "self","col", NULL }; | |
13628 | ||
13629 | self = self; | |
13630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1)) | |
13631 | return NULL; | |
13632 | if (_argo0) { | |
13633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p."); | |
13636 | return NULL; | |
13637 | } | |
13638 | } | |
13639 | { | |
474c48f9 | 13640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13641 | wxGridEditorCreatedEvent_SetCol(_arg0,_arg1); |
9d6da64a | 13642 | |
474c48f9 | 13643 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
13644 | if (PyErr_Occurred()) return NULL; |
13645 | } Py_INCREF(Py_None); | |
13646 | _resultobj = Py_None; | |
13647 | return _resultobj; | |
13648 | } | |
13649 | ||
13650 | #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0)) | |
13651 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13652 | PyObject * _resultobj; | |
13653 | wxGridEditorCreatedEvent * _arg0; | |
13654 | wxControl * _arg1; | |
13655 | PyObject * _argo0 = 0; | |
13656 | PyObject * _argo1 = 0; | |
13657 | char *_kwnames[] = { "self","ctrl", NULL }; | |
13658 | ||
13659 | self = self; | |
13660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1)) | |
13661 | return NULL; | |
13662 | if (_argo0) { | |
13663 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13664 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p."); | |
13666 | return NULL; | |
13667 | } | |
13668 | } | |
13669 | if (_argo1) { | |
13670 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
13671 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
13672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p."); | |
13673 | return NULL; | |
13674 | } | |
13675 | } | |
13676 | { | |
474c48f9 | 13677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13678 | wxGridEditorCreatedEvent_SetControl(_arg0,_arg1); |
9d6da64a | 13679 | |
474c48f9 | 13680 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
13681 | if (PyErr_Occurred()) return NULL; |
13682 | } Py_INCREF(Py_None); | |
13683 | _resultobj = Py_None; | |
13684 | return _resultobj; | |
13685 | } | |
13686 | ||
f6bcfd97 | 13687 | static PyMethodDef gridcMethods[] = { |
9d6da64a RD |
13688 | { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS }, |
13689 | { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS }, | |
13690 | { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS }, | |
13691 | { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
13692 | { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
13693 | { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
13694 | { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13695 | { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, |
13696 | { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
13697 | { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
13698 | { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
13699 | { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, | |
13700 | { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS }, | |
13701 | { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS }, | |
13702 | { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS }, | |
13703 | { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS }, | |
13704 | { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS }, | |
13705 | { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS }, | |
13706 | { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS }, | |
13707 | { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
13708 | { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
13709 | { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
13710 | { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
13711 | { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
13712 | { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS }, | |
13713 | { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
13714 | { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
13715 | { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
13716 | { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
13717 | { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
13718 | { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, | |
13719 | { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
13720 | { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
13721 | { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
13722 | { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 RD |
13723 | { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS }, |
13724 | { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS }, | |
13725 | { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS }, | |
13726 | { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13727 | { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS }, |
13728 | { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS }, | |
13729 | { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS }, | |
13730 | { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS }, | |
13731 | { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS }, | |
13732 | { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS }, | |
13733 | { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, | |
13734 | { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
13735 | { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, | |
13736 | { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
13737 | { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS }, | |
13738 | { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS }, | |
13739 | { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS }, | |
13740 | { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS }, | |
13741 | { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
13742 | { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS }, | |
13743 | { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS }, | |
13744 | { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS }, | |
13745 | { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
13746 | { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
13747 | { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
13748 | { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
13749 | { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS }, | |
13750 | { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, | |
13751 | { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS }, | |
13752 | { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, | |
13753 | { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13754 | { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13755 | { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13756 | { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13757 | { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13758 | { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13759 | { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS }, | |
13760 | { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, | |
13761 | { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13762 | { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13763 | { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13764 | { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13765 | { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS }, | |
13766 | { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS }, | |
13767 | { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS }, | |
13768 | { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS }, | |
13769 | { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS }, | |
13770 | { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS }, | |
13771 | { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS }, | |
13772 | { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS }, | |
13773 | { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, | |
13774 | { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13775 | { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13776 | { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13777 | { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13778 | { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS }, | |
13779 | { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, | |
13780 | { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13781 | { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13782 | { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13783 | { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13784 | { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS }, | |
13785 | { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, | |
13786 | { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13787 | { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13788 | { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS }, | |
13789 | { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS }, | |
13790 | { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS }, | |
13791 | { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS }, | |
13792 | { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS }, | |
13793 | { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS }, | |
13794 | { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
13795 | { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
13796 | { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
13797 | { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
13798 | { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
13799 | { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
13800 | { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
13801 | { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
13802 | { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13803 | { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13804 | { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 RD |
13805 | { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
13806 | { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13807 | { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
13808 | { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS }, | |
13809 | { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13810 | { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13811 | { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13812 | { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13813 | { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS }, | |
13814 | { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13815 | { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13816 | { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13817 | { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 RD |
13818 | { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
13819 | { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13820 | { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
13821 | { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS }, | |
13822 | { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13823 | { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13824 | { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13825 | { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13826 | { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS }, | |
13827 | { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13828 | { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13829 | { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13830 | { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13831 | { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13832 | { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13833 | { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS }, | |
13834 | { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS }, | |
13835 | { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS }, | |
13836 | { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS }, | |
13837 | { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS }, | |
13838 | { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS }, | |
13839 | { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS }, | |
13840 | { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS }, | |
13841 | { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS }, | |
13842 | { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS }, | |
13843 | { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS }, | |
13844 | { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS }, | |
13845 | { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
13846 | { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS }, | |
13847 | { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS }, | |
13848 | { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS }, | |
13849 | { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS }, | |
13850 | { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS }, | |
13851 | { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS }, | |
13852 | { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS }, | |
13853 | { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS }, | |
13854 | { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS }, | |
13855 | { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
13856 | { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
13857 | { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
13858 | { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS }, | |
13859 | { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS }, | |
13860 | { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS }, | |
13861 | { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
13862 | { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
13863 | { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS }, | |
13864 | { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS }, | |
9a08cd12 | 13865 | { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
13866 | { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS }, |
13867 | { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS }, | |
13868 | { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS }, | |
13869 | { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13870 | { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS }, |
13871 | { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS }, | |
13872 | { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
13873 | { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
13874 | { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
13875 | { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
13876 | { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
13877 | { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
13878 | { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS }, | |
13879 | { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS }, | |
13880 | { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS }, | |
13881 | { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
13882 | { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, | |
13883 | { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, | |
13884 | { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS }, | |
13885 | { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS }, | |
13886 | { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS }, | |
13887 | { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS }, | |
13888 | { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS }, | |
13889 | { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS }, | |
13890 | { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS }, | |
13891 | { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
13892 | { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS }, | |
13893 | { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
13894 | { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS }, | |
13895 | { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS }, | |
13896 | { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS }, | |
13897 | { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS }, | |
13898 | { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS }, | |
13899 | { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS }, | |
13900 | { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS }, | |
13901 | { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS }, | |
13902 | { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS }, | |
13903 | { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS }, | |
13904 | { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
13905 | { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
13906 | { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS }, | |
13907 | { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
13908 | { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
13909 | { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
13910 | { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
13911 | { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, | |
13912 | { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13913 | { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13914 | { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13915 | { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13916 | { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
13917 | { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
13918 | { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
13919 | { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
13920 | { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
13921 | { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
13922 | { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS }, | |
13923 | { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
13924 | { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
13925 | { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS }, | |
13926 | { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 13927 | { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
13928 | { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS }, |
13929 | { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
13930 | { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
13931 | { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
13932 | { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
13933 | { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, | |
13934 | { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13935 | { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13936 | { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13937 | { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13938 | { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
13939 | { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
13940 | { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
13941 | { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
13942 | { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
13943 | { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
13944 | { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS }, | |
13945 | { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS }, | |
13946 | { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, | |
13947 | { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS }, | |
13948 | { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS }, | |
13949 | { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, | |
13950 | { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS }, | |
13951 | { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
13952 | { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
13953 | { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS }, | |
13954 | { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
13955 | { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
13956 | { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS }, | |
13957 | { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, | |
13958 | { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, | |
13959 | { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS }, | |
13960 | { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS }, | |
13961 | { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
13962 | { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
13963 | { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
13964 | { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
13965 | { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
13966 | { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 13967 | { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
13968 | { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
13969 | { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS }, | |
13970 | { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS }, | |
13971 | { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
13972 | { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
13973 | { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
13974 | { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
13975 | { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
13976 | { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS }, | |
13977 | { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
13978 | { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS }, | |
13979 | { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13980 | { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13981 | { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
13982 | { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13983 | { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 | 13984 | { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
13985 | { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS }, |
13986 | { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13987 | { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13988 | { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, | |
13989 | { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13990 | { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 | 13991 | { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
13992 | { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS }, |
13993 | { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13994 | { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
13995 | { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13996 | { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
13997 | { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13998 | { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13999 | { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14000 | { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 | 14001 | { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14002 | { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS }, |
14003 | { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS }, | |
059a841c RD |
14004 | { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS }, |
14005 | { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14006 | { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS }, |
14007 | { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS }, | |
14008 | { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS }, | |
14009 | { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS }, | |
14010 | { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS }, | |
14011 | { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
14012 | { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
14013 | { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS }, | |
14014 | { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS }, | |
14015 | { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS }, | |
2cd2fac8 | 14016 | { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14017 | { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS }, |
14018 | { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS }, | |
14019 | { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 14020 | { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14021 | { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS }, |
14022 | { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
14023 | { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS }, | |
14024 | { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS }, | |
14025 | { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS }, | |
14026 | { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, | |
14027 | { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS }, | |
14028 | { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS }, | |
14029 | { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
14030 | { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS }, | |
14031 | { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS }, | |
14032 | { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS }, | |
14033 | { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS }, | |
14034 | { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS }, | |
14035 | { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14036 | { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
14037 | { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
14038 | { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS }, | |
14039 | { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
14040 | { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS }, | |
059a841c RD |
14041 | { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS }, |
14042 | { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14043 | { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14044 | { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS }, |
14045 | { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS }, | |
14046 | { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS }, | |
14047 | { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS }, | |
14048 | { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
14049 | { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14050 | { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14051 | { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14052 | { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 14053 | { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14054 | { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS }, |
14055 | { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS }, | |
14056 | { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
14057 | { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS }, | |
14058 | { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14059 | { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
14060 | { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
14061 | { NULL, NULL } | |
14062 | }; | |
14063 | #ifdef __cplusplus | |
14064 | } | |
14065 | #endif | |
14066 | /* | |
14067 | * This table is used by the pointer type-checker | |
14068 | */ | |
14069 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
9d6da64a | 14070 | { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent}, |
f6bcfd97 | 14071 | { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent}, |
f6bcfd97 | 14072 | { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent}, |
f6bcfd97 | 14073 | { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent}, |
f6bcfd97 | 14074 | { "_signed_long","_long",0}, |
059a841c | 14075 | { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor}, |
f6bcfd97 BP |
14076 | { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0}, |
14077 | { "_wxPrintQuality","_wxCoord",0}, | |
14078 | { "_wxPrintQuality","_int",0}, | |
14079 | { "_wxPrintQuality","_signed_int",0}, | |
14080 | { "_wxPrintQuality","_unsigned_int",0}, | |
14081 | { "_wxPrintQuality","_wxWindowID",0}, | |
14082 | { "_wxPrintQuality","_uint",0}, | |
14083 | { "_wxPrintQuality","_EBool",0}, | |
14084 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 14085 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 | 14086 | { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent}, |
f6bcfd97 | 14087 | { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent}, |
f6bcfd97 | 14088 | { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent}, |
f6bcfd97 | 14089 | { "_byte","_unsigned_char",0}, |
f6bcfd97 BP |
14090 | { "_long","_unsigned_long",0}, |
14091 | { "_long","_signed_long",0}, | |
f6bcfd97 BP |
14092 | { "_size_t","_WXGRIDSELECTIONMODES",0}, |
14093 | { "_size_t","_wxCoord",0}, | |
14094 | { "_size_t","_wxPrintQuality",0}, | |
c368d904 | 14095 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
14096 | { "_size_t","_unsigned_int",0}, |
14097 | { "_size_t","_int",0}, | |
14098 | { "_size_t","_wxWindowID",0}, | |
14099 | { "_size_t","_uint",0}, | |
f6bcfd97 | 14100 | { "_wxPanel","_wxGrid",SwigwxGridTowxPanel}, |
f6bcfd97 BP |
14101 | { "_uint","_WXGRIDSELECTIONMODES",0}, |
14102 | { "_uint","_wxCoord",0}, | |
14103 | { "_uint","_wxPrintQuality",0}, | |
c368d904 | 14104 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
14105 | { "_uint","_size_t",0}, |
14106 | { "_uint","_unsigned_int",0}, | |
14107 | { "_uint","_int",0}, | |
14108 | { "_uint","_wxWindowID",0}, | |
14109 | { "_wxChar","_char",0}, | |
9d6da64a | 14110 | { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent}, |
f6bcfd97 | 14111 | { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent}, |
f6bcfd97 | 14112 | { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent}, |
f6bcfd97 | 14113 | { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent}, |
f6bcfd97 | 14114 | { "_char","_wxChar",0}, |
059a841c | 14115 | { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer}, |
059a841c | 14116 | { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer}, |
059a841c | 14117 | { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer}, |
f6bcfd97 | 14118 | { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer}, |
f6bcfd97 | 14119 | { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer}, |
059a841c | 14120 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
f6bcfd97 | 14121 | { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase}, |
f6bcfd97 | 14122 | { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase}, |
f6bcfd97 BP |
14123 | { "_EBool","_WXGRIDSELECTIONMODES",0}, |
14124 | { "_EBool","_wxCoord",0}, | |
14125 | { "_EBool","_wxPrintQuality",0}, | |
14126 | { "_EBool","_signed_int",0}, | |
14127 | { "_EBool","_int",0}, | |
14128 | { "_EBool","_wxWindowID",0}, | |
f6bcfd97 | 14129 | { "_unsigned_long","_long",0}, |
f6bcfd97 BP |
14130 | { "_WXGRIDSELECTIONMODES","_int",0}, |
14131 | { "_WXGRIDSELECTIONMODES","_signed_int",0}, | |
14132 | { "_WXGRIDSELECTIONMODES","_unsigned_int",0}, | |
14133 | { "_WXGRIDSELECTIONMODES","_wxWindowID",0}, | |
14134 | { "_WXGRIDSELECTIONMODES","_uint",0}, | |
14135 | { "_WXGRIDSELECTIONMODES","_EBool",0}, | |
14136 | { "_WXGRIDSELECTIONMODES","_size_t",0}, | |
c368d904 | 14137 | { "_WXGRIDSELECTIONMODES","_time_t",0}, |
f6bcfd97 BP |
14138 | { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0}, |
14139 | { "_WXGRIDSELECTIONMODES","_wxCoord",0}, | |
059a841c | 14140 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
f6bcfd97 BP |
14141 | { "_signed_int","_WXGRIDSELECTIONMODES",0}, |
14142 | { "_signed_int","_wxCoord",0}, | |
14143 | { "_signed_int","_wxPrintQuality",0}, | |
14144 | { "_signed_int","_EBool",0}, | |
14145 | { "_signed_int","_wxWindowID",0}, | |
14146 | { "_signed_int","_int",0}, | |
059a841c | 14147 | { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor}, |
059a841c | 14148 | { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor}, |
f6bcfd97 | 14149 | { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor}, |
f6bcfd97 | 14150 | { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor}, |
f6bcfd97 | 14151 | { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor}, |
f6bcfd97 | 14152 | { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor}, |
f6bcfd97 | 14153 | { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor}, |
f6bcfd97 | 14154 | { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor}, |
f6bcfd97 BP |
14155 | { "_WXTYPE","_short",0}, |
14156 | { "_WXTYPE","_signed_short",0}, | |
14157 | { "_WXTYPE","_unsigned_short",0}, | |
f6bcfd97 | 14158 | { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider}, |
f6bcfd97 BP |
14159 | { "_unsigned_short","_WXTYPE",0}, |
14160 | { "_unsigned_short","_short",0}, | |
9d6da64a | 14161 | { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject}, |
9df61a29 | 14162 | { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject}, |
9df61a29 | 14163 | { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject}, |
9df61a29 | 14164 | { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject}, |
9df61a29 | 14165 | { "_wxObject","_wxGrid",SwigwxGridTowxObject}, |
9df61a29 | 14166 | { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject}, |
9df61a29 | 14167 | { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject}, |
9df61a29 | 14168 | { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject}, |
f6bcfd97 BP |
14169 | { "_signed_short","_WXTYPE",0}, |
14170 | { "_signed_short","_short",0}, | |
f6bcfd97 | 14171 | { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow}, |
f6bcfd97 | 14172 | { "_unsigned_char","_byte",0}, |
f6bcfd97 BP |
14173 | { "_unsigned_int","_WXGRIDSELECTIONMODES",0}, |
14174 | { "_unsigned_int","_wxCoord",0}, | |
14175 | { "_unsigned_int","_wxPrintQuality",0}, | |
c368d904 | 14176 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
14177 | { "_unsigned_int","_size_t",0}, |
14178 | { "_unsigned_int","_uint",0}, | |
14179 | { "_unsigned_int","_wxWindowID",0}, | |
14180 | { "_unsigned_int","_int",0}, | |
f6bcfd97 BP |
14181 | { "_short","_WXTYPE",0}, |
14182 | { "_short","_unsigned_short",0}, | |
14183 | { "_short","_signed_short",0}, | |
f6bcfd97 BP |
14184 | { "_wxWindowID","_WXGRIDSELECTIONMODES",0}, |
14185 | { "_wxWindowID","_wxCoord",0}, | |
14186 | { "_wxWindowID","_wxPrintQuality",0}, | |
c368d904 | 14187 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
14188 | { "_wxWindowID","_size_t",0}, |
14189 | { "_wxWindowID","_EBool",0}, | |
14190 | { "_wxWindowID","_uint",0}, | |
14191 | { "_wxWindowID","_int",0}, | |
14192 | { "_wxWindowID","_signed_int",0}, | |
14193 | { "_wxWindowID","_unsigned_int",0}, | |
f6bcfd97 BP |
14194 | { "_int","_WXGRIDSELECTIONMODES",0}, |
14195 | { "_int","_wxCoord",0}, | |
14196 | { "_int","_wxPrintQuality",0}, | |
c368d904 | 14197 | { "_int","_time_t",0}, |
f6bcfd97 BP |
14198 | { "_int","_size_t",0}, |
14199 | { "_int","_EBool",0}, | |
14200 | { "_int","_uint",0}, | |
14201 | { "_int","_wxWindowID",0}, | |
14202 | { "_int","_unsigned_int",0}, | |
14203 | { "_int","_signed_int",0}, | |
c368d904 RD |
14204 | { "_time_t","_WXGRIDSELECTIONMODES",0}, |
14205 | { "_time_t","_wxCoord",0}, | |
14206 | { "_time_t","_wxPrintQuality",0}, | |
14207 | { "_time_t","_unsigned_int",0}, | |
14208 | { "_time_t","_int",0}, | |
14209 | { "_time_t","_wxWindowID",0}, | |
14210 | { "_time_t","_uint",0}, | |
14211 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
14212 | { "_wxCoord","_WXGRIDSELECTIONMODES",0}, |
14213 | { "_wxCoord","_int",0}, | |
14214 | { "_wxCoord","_signed_int",0}, | |
14215 | { "_wxCoord","_unsigned_int",0}, | |
14216 | { "_wxCoord","_wxWindowID",0}, | |
14217 | { "_wxCoord","_uint",0}, | |
14218 | { "_wxCoord","_EBool",0}, | |
14219 | { "_wxCoord","_size_t",0}, | |
c368d904 | 14220 | { "_wxCoord","_time_t",0}, |
f6bcfd97 | 14221 | { "_wxCoord","_wxPrintQuality",0}, |
059a841c | 14222 | { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer}, |
059a841c | 14223 | { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer}, |
059a841c | 14224 | { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer}, |
f6bcfd97 | 14225 | { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer}, |
f6bcfd97 | 14226 | { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer}, |
f6bcfd97 | 14227 | { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer}, |
f6bcfd97 | 14228 | { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer}, |
f6bcfd97 | 14229 | { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer}, |
059a841c | 14230 | { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14231 | { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14232 | { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14233 | { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler}, |
f6bcfd97 | 14234 | { "_wxWindow","_wxGrid",SwigwxGridTowxWindow}, |
f6bcfd97 BP |
14235 | {0,0,0}}; |
14236 | ||
14237 | static PyObject *SWIG_globals; | |
14238 | #ifdef __cplusplus | |
14239 | extern "C" | |
14240 | #endif | |
14241 | SWIGEXPORT(void) initgridc() { | |
14242 | PyObject *m, *d; | |
14243 | SWIG_globals = SWIG_newvarlink(); | |
14244 | m = Py_InitModule("gridc", gridcMethods); | |
14245 | d = PyModule_GetDict(m); | |
14246 | PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string")); | |
14247 | PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool")); | |
14248 | PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long")); | |
14249 | PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double")); | |
14250 | PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice")); | |
14251 | PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string")); | |
14252 | PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long")); | |
14253 | PyDict_SetItemString(d,"cvar", SWIG_globals); | |
14254 | SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set); | |
14255 | SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set); | |
14256 | PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES)); | |
14257 | PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES)); | |
14258 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED)); | |
14259 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED)); | |
14260 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED)); | |
14261 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED)); | |
14262 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED)); | |
14263 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED)); | |
14264 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK)); | |
14265 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK)); | |
14266 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK)); | |
14267 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK)); | |
14268 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK)); | |
14269 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK)); | |
14270 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK)); | |
14271 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK)); | |
14272 | PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE)); | |
14273 | PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE)); | |
14274 | PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT)); | |
14275 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE)); | |
14276 | PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL)); | |
14277 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN)); | |
14278 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN)); | |
9d6da64a | 14279 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED)); |
3a70a282 RD |
14280 | |
14281 | wxClassInfo::CleanUpClasses(); | |
14282 | wxClassInfo::InitializeClasses(); | |
9df61a29 RD |
14283 | PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any)); |
14284 | PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default)); | |
14285 | PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell)); | |
14286 | PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row)); | |
14287 | PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col)); | |
14288 | PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged)); | |
f6bcfd97 BP |
14289 | PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells)); |
14290 | PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows)); | |
14291 | PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns)); | |
14292 | { | |
14293 | int i; | |
14294 | for (i = 0; _swig_mapping[i].n1; i++) | |
14295 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
14296 | } | |
14297 | } |