]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | /* |
c368d904 | 2 | * FILE : src/msw/grid.cpp |
f6bcfd97 BP |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
dbbb98cd | 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__) | |
c368d904 | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
c368d904 | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
c368d904 | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
c368d904 RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
dbbb98cd | 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 | ||
6e2129f9 | 58 | #include "wxPython.h" |
f6bcfd97 | 59 | #include <wx/grid.h> |
19a97bd6 | 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 | ||
e0672e2f | 67 | if (!target) { |
f6bcfd97 | 68 | target = o; |
e0672e2f | 69 | } else if (target == Py_None) { |
f6bcfd97 BP |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
e0672e2f | 72 | } else { |
f6bcfd97 BP |
73 | if (!PyTuple_Check(target)) { |
74 | o2 = target; | |
75 | target = PyTuple_New(1); | |
76 | PyTuple_SetItem(target, 0, o2); | |
77 | } | |
e0672e2f RD |
78 | o3 = PyTuple_New(1); |
79 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
80 | |
81 | o2 = target; | |
e0672e2f RD |
82 | target = PySequence_Concat(o2, o3); |
83 | Py_DECREF(o2); | |
f6bcfd97 BP |
84 | Py_DECREF(o3); |
85 | } | |
86 | return target; | |
87 | } | |
88 | ||
137b5242 RD |
89 | // Put some wx default wxChar* values into wxStrings. |
90 | DECLARE_DEF_STRING(PanelNameStr); | |
33ff77f6 RD |
91 | DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c")); |
92 | static const wxString wxPyEmptyString(wxT("")); | |
137b5242 | 93 | |
a66212dc RD |
94 | |
95 | #define wxPyMake_TEMPLATE(TYPE) \ | |
96 | PyObject* wxPyMake_##TYPE(TYPE* source) { \ | |
97 | PyObject* target = NULL; \ | |
98 | if (source) { \ | |
99 | /* Check if there is already a pointer to a Python object in the \ | |
100 | OOR data that we can use. */ \ | |
101 | wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \ | |
102 | if (data) { \ | |
103 | target = data->m_obj; \ | |
104 | Py_INCREF(target); \ | |
105 | } \ | |
106 | /* Otherwise make a new wrapper for it the old fashioned way and \ | |
107 | give it the OOR treatment */ \ | |
108 | if (! target) { \ | |
109 | target = wxPyConstructObject(source, #TYPE, FALSE); \ | |
110 | if (target) \ | |
111 | source->SetClientObject(new wxPyOORClientData(target)); \ | |
112 | } \ | |
113 | } else { /* source was NULL so return None. */ \ | |
114 | Py_INCREF(Py_None); target = Py_None; \ | |
115 | } \ | |
116 | return target; \ | |
117 | } \ | |
118 | ||
119 | ||
120 | wxPyMake_TEMPLATE(wxGridCellRenderer) | |
121 | wxPyMake_TEMPLATE(wxGridCellEditor) | |
122 | wxPyMake_TEMPLATE(wxGridCellAttr) | |
123 | wxPyMake_TEMPLATE(wxGridCellAttrProvider) | |
124 | wxPyMake_TEMPLATE(wxGridTableBase) | |
125 | ||
126 | ||
9416aa89 RD |
127 | #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \ |
128 | wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ | |
129 | wxGridCellAttr* rval = NULL; \ | |
19a97bd6 | 130 | bool found; \ |
4268f798 | 131 | wxPyBeginBlockThreads(); \ |
19a97bd6 | 132 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
9416aa89 RD |
133 | PyObject* ro; \ |
134 | wxGridCellAttr* ptr; \ | |
135 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ | |
136 | if (ro) { \ | |
f6bcfd97 | 137 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \ |
9416aa89 RD |
138 | rval = ptr; \ |
139 | Py_DECREF(ro); \ | |
140 | } \ | |
141 | } \ | |
4268f798 | 142 | wxPyEndBlockThreads(); \ |
19a97bd6 | 143 | if (! found) \ |
9416aa89 | 144 | rval = PCLASS::CBNAME(a, b, c); \ |
9416aa89 RD |
145 | return rval; \ |
146 | } \ | |
147 | wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ | |
148 | return PCLASS::CBNAME(a, b, c); \ | |
f6bcfd97 BP |
149 | } |
150 | ||
151 | ||
152 | ||
19a97bd6 RD |
153 | #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \ |
154 | void CBNAME(wxGridCellAttr *attr, int a, int b) { \ | |
a66212dc | 155 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
156 | bool found; \ |
157 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
a66212dc RD |
158 | PyObject* obj = wxPyMake_wxGridCellAttr(attr); \ |
159 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \ | |
19a97bd6 RD |
160 | Py_DECREF(obj); \ |
161 | } \ | |
a66212dc | 162 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
163 | if (! found) \ |
164 | PCLASS::CBNAME(attr, a, b); \ | |
165 | } \ | |
166 | void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \ | |
167 | PCLASS::CBNAME(attr, a, b); \ | |
f6bcfd97 BP |
168 | } |
169 | ||
170 | ||
171 | ||
19a97bd6 RD |
172 | #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \ |
173 | void CBNAME(wxGridCellAttr *attr, int val) { \ | |
a66212dc | 174 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
175 | bool found; \ |
176 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
a66212dc | 177 | PyObject* obj = wxPyMake_wxGridCellAttr(attr); \ |
19a97bd6 RD |
178 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \ |
179 | Py_DECREF(obj); \ | |
180 | } \ | |
4268f798 | 181 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
182 | if (! found) \ |
183 | PCLASS::CBNAME(attr, val); \ | |
184 | } \ | |
185 | void base_##CBNAME(wxGridCellAttr *attr, int val) { \ | |
186 | PCLASS::CBNAME(attr, val); \ | |
f6bcfd97 BP |
187 | } |
188 | ||
189 | ||
190 | ||
19a97bd6 RD |
191 | #define PYCALLBACK_INT__pure(CBNAME) \ |
192 | int CBNAME() { \ | |
4268f798 | 193 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
194 | int rval = 0; \ |
195 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ | |
196 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
4268f798 | 197 | wxPyEndBlockThreads(); \ |
19a97bd6 | 198 | return rval; \ |
f6bcfd97 BP |
199 | } |
200 | ||
201 | ||
202 | ||
19a97bd6 RD |
203 | #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \ |
204 | bool CBNAME(int a, int b) { \ | |
4268f798 | 205 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
206 | bool rval = 0; \ |
207 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ | |
208 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
4268f798 | 209 | wxPyEndBlockThreads(); \ |
19a97bd6 | 210 | return rval; \ |
f6bcfd97 | 211 | } |
19a97bd6 RD |
212 | |
213 | ||
19a97bd6 RD |
214 | #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \ |
215 | wxString CBNAME(int a, int b) { \ | |
a541c325 | 216 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
217 | wxString rval; \ |
218 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ | |
219 | PyObject* ro; \ | |
220 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
221 | if (ro) { \ | |
a541c325 RD |
222 | rval = Py2wxString(ro); \ |
223 | Py_DECREF(ro); \ | |
19a97bd6 RD |
224 | } \ |
225 | } \ | |
a541c325 | 226 | wxPyEndBlockThreads(); \ |
19a97bd6 | 227 | return rval; \ |
f6bcfd97 BP |
228 | } |
229 | ||
230 | ||
19a97bd6 RD |
231 | #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \ |
232 | void CBNAME(int a, int b, const wxString& c) { \ | |
a541c325 | 233 | wxPyBeginBlockThreads(); \ |
a66212dc RD |
234 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ |
235 | PyObject* s = wx2PyString(c); \ | |
236 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ | |
237 | Py_DECREF(s); \ | |
238 | } \ | |
a541c325 | 239 | wxPyEndBlockThreads(); \ |
f6bcfd97 BP |
240 | } |
241 | ||
a541c325 | 242 | |
19a97bd6 RD |
243 | #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \ |
244 | wxString CBNAME(int a, int b) { \ | |
245 | bool found; \ | |
a541c325 | 246 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
247 | wxString rval; \ |
248 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
249 | PyObject* ro; \ | |
250 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
251 | if (ro) { \ | |
a541c325 RD |
252 | rval = Py2wxString(ro); \ |
253 | Py_DECREF(ro); \ | |
19a97bd6 RD |
254 | } \ |
255 | } \ | |
a541c325 | 256 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
257 | if (! found) \ |
258 | rval = PCLASS::CBNAME(a, b); \ | |
259 | return rval; \ | |
260 | } \ | |
261 | wxString base_##CBNAME(int a, int b) { \ | |
262 | return PCLASS::CBNAME(a, b); \ | |
263 | } | |
264 | ||
f6bcfd97 | 265 | |
19a97bd6 RD |
266 | #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \ |
267 | bool CBNAME(int a, int b, const wxString& c) { \ | |
262e41eb | 268 | bool rval = 0; \ |
19a97bd6 | 269 | bool found; \ |
a541c325 | 270 | wxPyBeginBlockThreads(); \ |
5d5d57f3 | 271 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
a66212dc RD |
272 | PyObject* s = wx2PyString(c); \ |
273 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ | |
274 | Py_DECREF(s); \ | |
275 | } \ | |
a541c325 | 276 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
277 | if (! found) \ |
278 | rval = PCLASS::CBNAME(a,b,c); \ | |
279 | return rval; \ | |
280 | } \ | |
281 | bool base_##CBNAME(int a, int b, const wxString& c) { \ | |
282 | return PCLASS::CBNAME(a,b,c); \ | |
f6bcfd97 BP |
283 | } |
284 | ||
285 | ||
286 | ||
19a97bd6 RD |
287 | |
288 | #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \ | |
289 | long CBNAME(int a, int b) { \ | |
290 | long rval; \ | |
291 | bool found; \ | |
4268f798 | 292 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
293 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
294 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
4268f798 | 295 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
296 | if (! found) \ |
297 | rval = PCLASS::CBNAME(a,b); \ | |
298 | return rval; \ | |
299 | } \ | |
300 | long base_##CBNAME(int a, int b) { \ | |
301 | return PCLASS::CBNAME(a,b); \ | |
f6bcfd97 BP |
302 | } |
303 | ||
304 | ||
305 | ||
19a97bd6 RD |
306 | #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \ |
307 | bool CBNAME(int a, int b) { \ | |
262e41eb | 308 | bool rval = 0; \ |
19a97bd6 | 309 | bool found; \ |
4268f798 | 310 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
311 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
312 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
4268f798 | 313 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
314 | if (! found) \ |
315 | rval = PCLASS::CBNAME(a,b); \ | |
316 | return rval; \ | |
317 | } \ | |
318 | bool base_##CBNAME(int a, int b) { \ | |
319 | return PCLASS::CBNAME(a,b); \ | |
320 | } | |
321 | ||
f6bcfd97 | 322 | |
19a97bd6 RD |
323 | |
324 | #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \ | |
325 | double CBNAME(int a, int b) { \ | |
326 | bool found; \ | |
4268f798 | 327 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
328 | double rval; \ |
329 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
330 | PyObject* ro; \ | |
331 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
332 | if (ro) { \ | |
333 | PyObject* str = PyObject_Str(ro); \ | |
334 | rval = PyFloat_AsDouble(str); \ | |
335 | Py_DECREF(ro); Py_DECREF(str); \ | |
336 | } \ | |
337 | } \ | |
a66212dc | 338 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
339 | if (! found) \ |
340 | rval = PCLASS::CBNAME(a, b); \ | |
341 | return rval; \ | |
342 | } \ | |
343 | double base_##CBNAME(int a, int b) { \ | |
344 | return PCLASS::CBNAME(a, b); \ | |
345 | } | |
346 | ||
347 | ||
348 | ||
349 | #define PYCALLBACK__(PCLASS, CBNAME) \ | |
350 | void CBNAME() { \ | |
351 | bool found; \ | |
a66212dc | 352 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
353 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
354 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
a66212dc | 355 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
356 | if (! found) \ |
357 | PCLASS::CBNAME(); \ | |
358 | } \ | |
359 | void base_##CBNAME() { \ | |
360 | PCLASS::CBNAME(); \ | |
361 | } | |
362 | ||
363 | ||
364 | ||
365 | ||
366 | #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \ | |
367 | bool CBNAME(size_t a, size_t b) { \ | |
262e41eb | 368 | bool rval = 0; \ |
19a97bd6 | 369 | bool found; \ |
a66212dc | 370 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
371 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
372 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
a66212dc | 373 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
374 | if (! found) \ |
375 | rval = PCLASS::CBNAME(a,b); \ | |
376 | return rval; \ | |
377 | } \ | |
378 | bool base_##CBNAME(size_t a, size_t b) { \ | |
379 | return PCLASS::CBNAME(a,b); \ | |
380 | } | |
381 | ||
382 | ||
383 | ||
384 | #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \ | |
385 | bool CBNAME(size_t a) { \ | |
262e41eb | 386 | bool rval = 0; \ |
19a97bd6 | 387 | bool found; \ |
a66212dc | 388 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
389 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
390 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \ | |
a66212dc | 391 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
392 | if (! found) \ |
393 | rval = PCLASS::CBNAME(a); \ | |
394 | return rval; \ | |
395 | } \ | |
396 | bool base_##CBNAME(size_t a) { \ | |
397 | return PCLASS::CBNAME(a); \ | |
f6bcfd97 BP |
398 | } |
399 | ||
400 | ||
19a97bd6 RD |
401 | #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \ |
402 | wxString CBNAME(int a) { \ | |
403 | bool found; \ | |
a541c325 | 404 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
405 | wxString rval; \ |
406 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
407 | PyObject* ro; \ | |
408 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \ | |
409 | if (ro) { \ | |
a541c325 RD |
410 | rval = Py2wxString(ro); \ |
411 | Py_DECREF(ro); \ | |
19a97bd6 RD |
412 | } \ |
413 | } \ | |
a541c325 | 414 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
415 | if (! found) \ |
416 | rval = PCLASS::CBNAME(a); \ | |
417 | return rval; \ | |
418 | } \ | |
419 | wxString base_##CBNAME(int a) { \ | |
420 | return PCLASS::CBNAME(a); \ | |
421 | } | |
422 | ||
423 | ||
19a97bd6 RD |
424 | #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \ |
425 | void CBNAME(int a, const wxString& c) { \ | |
426 | bool found; \ | |
a541c325 | 427 | wxPyBeginBlockThreads(); \ |
85260f24 | 428 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
a66212dc RD |
429 | PyObject* s = wx2PyString(c); \ |
430 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \ | |
431 | Py_DECREF(s); \ | |
432 | } \ | |
a541c325 | 433 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
434 | if (! found) \ |
435 | PCLASS::CBNAME(a,c); \ | |
436 | } \ | |
437 | void base_##CBNAME(int a, const wxString& c) { \ | |
438 | PCLASS::CBNAME(a,c); \ | |
f6bcfd97 BP |
439 | } |
440 | ||
441 | ||
442 | ||
19a97bd6 RD |
443 | |
444 | #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \ | |
445 | bool CBNAME() { \ | |
262e41eb | 446 | bool rval = 0; \ |
19a97bd6 | 447 | bool found; \ |
a541c325 | 448 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
449 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
450 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
a541c325 | 451 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
452 | if (! found) \ |
453 | rval = PCLASS::CBNAME(); \ | |
454 | return rval; \ | |
455 | } \ | |
456 | bool base_##CBNAME() { \ | |
457 | return PCLASS::CBNAME(); \ | |
458 | } | |
459 | ||
460 | ||
461 | ||
462 | #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \ | |
463 | void CBNAME(size_t a, int b) { \ | |
464 | bool found; \ | |
a541c325 | 465 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
466 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
467 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
a541c325 | 468 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
469 | if (! found) \ |
470 | PCLASS::CBNAME(a,b); \ | |
471 | } \ | |
472 | void base_##CBNAME(size_t a, int b) { \ | |
473 | PCLASS::CBNAME(a,b); \ | |
474 | } | |
475 | ||
476 | ||
477 | ||
478 | ||
479 | #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \ | |
480 | void CBNAME(int a, int b, long c) { \ | |
481 | bool found; \ | |
a541c325 | 482 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
483 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
484 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ | |
a541c325 | 485 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
486 | if (! found) \ |
487 | PCLASS::CBNAME(a,b,c); \ | |
488 | } \ | |
489 | void base_##CBNAME(int a, int b, long c) { \ | |
490 | PCLASS::CBNAME(a,b,c); \ | |
491 | } | |
492 | ||
493 | ||
494 | ||
495 | ||
496 | #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \ | |
497 | void CBNAME(int a, int b, double c) { \ | |
498 | bool found; \ | |
a541c325 | 499 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
500 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
501 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \ | |
a541c325 | 502 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
503 | if (! found) \ |
504 | PCLASS::CBNAME(a,b,c); \ | |
505 | } \ | |
506 | void base_##CBNAME(int a, int b, double c) { \ | |
507 | PCLASS::CBNAME(a,b,c); \ | |
508 | } | |
509 | ||
510 | ||
511 | ||
512 | #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \ | |
513 | void CBNAME(int a, int b, bool c) { \ | |
514 | bool found; \ | |
a541c325 | 515 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
516 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
517 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ | |
a541c325 | 518 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
519 | if (! found) \ |
520 | PCLASS::CBNAME(a,b,c); \ | |
521 | } \ | |
522 | void base_##CBNAME(int a, int b, bool c) { \ | |
523 | PCLASS::CBNAME(a,b,c); \ | |
f6bcfd97 BP |
524 | } |
525 | ||
526 | ||
527 | ||
528 | ||
529 | ||
530 | class wxPyGridCellRenderer : public wxGridCellRenderer | |
531 | { | |
532 | public: | |
533 | wxPyGridCellRenderer() : wxGridCellRenderer() {}; | |
534 | ||
535 | // Implement Python callback aware virtual methods | |
536 | void Draw(wxGrid& grid, wxGridCellAttr& attr, | |
537 | wxDC& dc, const wxRect& rect, | |
538 | int row, int col, bool isSelected) { | |
4268f798 | 539 | wxPyBeginBlockThreads(); |
1e7ecb7b | 540 | if (wxPyCBH_findCallback(m_myInst, "Draw")) { |
a66212dc RD |
541 | PyObject* go = wxPyMake_wxObject(&grid); |
542 | PyObject* dco = wxPyMake_wxObject(&dc); | |
543 | PyObject* ao = wxPyMake_wxGridCellAttr(&attr); | |
544 | PyObject* ro = wxPyConstructObject((void*)&rect, "wxRect", 0); | |
545 | ||
546 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro, | |
547 | row, col, isSelected)); | |
548 | Py_DECREF(go); | |
549 | Py_DECREF(ao); | |
550 | Py_DECREF(dco); | |
551 | Py_DECREF(ro); | |
f6bcfd97 | 552 | } |
4268f798 | 553 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
554 | } |
555 | ||
556 | wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc, | |
557 | int row, int col) { | |
558 | wxSize rval; | |
4268f798 | 559 | wxPyBeginBlockThreads(); |
1e7ecb7b | 560 | if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) { |
f6bcfd97 BP |
561 | PyObject* ro; |
562 | wxSize* ptr; | |
a66212dc RD |
563 | PyObject* go = wxPyMake_wxObject(&grid); |
564 | PyObject* dco = wxPyMake_wxObject(&dc); | |
565 | PyObject* ao = wxPyMake_wxGridCellAttr(&attr); | |
566 | ||
567 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)", | |
568 | go, ao, dco, | |
569 | row, col)); | |
570 | Py_DECREF(go); | |
571 | Py_DECREF(ao); | |
572 | Py_DECREF(dco); | |
573 | ||
f6bcfd97 | 574 | if (ro) { |
db0ff83e RD |
575 | const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object."; |
576 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) { | |
f6bcfd97 | 577 | rval = *ptr; |
db0ff83e RD |
578 | } |
579 | else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
580 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
581 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
582 | if (PyNumber_Check(o1) && PyNumber_Check(o2)) | |
583 | rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2)); | |
584 | else | |
585 | PyErr_SetString(PyExc_TypeError, errmsg); | |
586 | Py_DECREF(o1); | |
587 | Py_DECREF(o2); | |
588 | } | |
589 | else { | |
590 | PyErr_SetString(PyExc_TypeError, errmsg); | |
591 | } | |
f6bcfd97 BP |
592 | Py_DECREF(ro); |
593 | } | |
594 | } | |
4268f798 | 595 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
596 | return rval; |
597 | } | |
598 | ||
599 | ||
600 | wxGridCellRenderer *Clone() const { | |
601 | wxGridCellRenderer* rval = NULL; | |
4268f798 | 602 | wxPyBeginBlockThreads(); |
1e7ecb7b | 603 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
f6bcfd97 BP |
604 | PyObject* ro; |
605 | wxGridCellRenderer* ptr; | |
1e7ecb7b | 606 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
f6bcfd97 BP |
607 | if (ro) { |
608 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p")) | |
609 | rval = ptr; | |
610 | Py_DECREF(ro); | |
611 | } | |
612 | } | |
4268f798 | 613 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
614 | return rval; |
615 | } | |
616 | ||
617 | DEC_PYCALLBACK__STRING(SetParameters); | |
618 | ||
619 | PYPRIVATE; | |
620 | }; | |
621 | ||
622 | IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters); | |
623 | ||
624 | ||
625 | class wxPyGridCellEditor : public wxGridCellEditor | |
626 | { | |
627 | public: | |
628 | wxPyGridCellEditor() : wxGridCellEditor() {} | |
629 | ||
630 | void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) { | |
4268f798 | 631 | wxPyBeginBlockThreads(); |
1e7ecb7b | 632 | if (wxPyCBH_findCallback(m_myInst, "Create")) { |
a66212dc RD |
633 | PyObject* po = wxPyMake_wxObject(parent); |
634 | PyObject* eo = wxPyMake_wxObject(evtHandler); | |
635 | ||
636 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo)); | |
637 | Py_DECREF(po); | |
638 | Py_DECREF(eo); | |
f6bcfd97 | 639 | } |
4268f798 | 640 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
641 | } |
642 | ||
643 | ||
644 | void BeginEdit(int row, int col, wxGrid* grid) { | |
4268f798 | 645 | wxPyBeginBlockThreads(); |
1e7ecb7b | 646 | if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) { |
a66212dc RD |
647 | PyObject* go = wxPyMake_wxObject(grid); |
648 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go)); | |
649 | Py_DECREF(go); | |
f6bcfd97 | 650 | } |
4268f798 | 651 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
652 | } |
653 | ||
654 | ||
655 | bool EndEdit(int row, int col, wxGrid* grid) { | |
656 | bool rv = FALSE; | |
4268f798 | 657 | wxPyBeginBlockThreads(); |
1e7ecb7b | 658 | if (wxPyCBH_findCallback(m_myInst, "EndEdit")) { |
a66212dc RD |
659 | PyObject* go = wxPyMake_wxObject(grid); |
660 | rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go)); | |
661 | Py_DECREF(go); | |
f6bcfd97 | 662 | } |
4268f798 | 663 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
664 | return rv; |
665 | } | |
666 | ||
667 | ||
c368d904 | 668 | wxGridCellEditor*Clone() const { |
f6bcfd97 | 669 | wxGridCellEditor* rval = NULL; |
4268f798 | 670 | wxPyBeginBlockThreads(); |
1e7ecb7b | 671 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
f6bcfd97 BP |
672 | PyObject* ro; |
673 | wxGridCellEditor* ptr; | |
1e7ecb7b | 674 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
f6bcfd97 BP |
675 | if (ro) { |
676 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p")) | |
677 | rval = ptr; | |
678 | Py_DECREF(ro); | |
679 | } | |
680 | } | |
4268f798 | 681 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
682 | return rval; |
683 | } | |
684 | ||
685 | ||
686 | void Show(bool show, wxGridCellAttr *attr) { | |
19a97bd6 | 687 | bool found; |
4268f798 | 688 | wxPyBeginBlockThreads(); |
a66212dc RD |
689 | if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) { |
690 | PyObject* ao = wxPyMake_wxGridCellAttr(attr); | |
691 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao)); | |
692 | Py_DECREF(ao); | |
693 | } | |
4268f798 | 694 | wxPyEndBlockThreads(); |
19a97bd6 | 695 | if (! found) |
f6bcfd97 | 696 | wxGridCellEditor::Show(show, attr); |
f6bcfd97 BP |
697 | } |
698 | void base_Show(bool show, wxGridCellAttr *attr) { | |
699 | wxGridCellEditor::Show(show, attr); | |
700 | } | |
701 | ||
702 | ||
703 | void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { | |
a66212dc | 704 | bool found; |
4268f798 | 705 | wxPyBeginBlockThreads(); |
a66212dc RD |
706 | if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) { |
707 | PyObject* ao = wxPyMake_wxGridCellAttr(attr); | |
708 | PyObject* ro = wxPyConstructObject((void*)&rectCell, "wxRect", 0); | |
709 | ||
710 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao)); | |
711 | ||
712 | Py_DECREF(ro); | |
713 | Py_DECREF(ao); | |
714 | } | |
4268f798 | 715 | wxPyEndBlockThreads(); |
19a97bd6 | 716 | if (! found) |
f6bcfd97 | 717 | wxGridCellEditor::PaintBackground(rectCell, attr); |
f6bcfd97 BP |
718 | } |
719 | void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { | |
720 | wxGridCellEditor::PaintBackground(rectCell, attr); | |
721 | } | |
722 | ||
723 | ||
724 | DEC_PYCALLBACK___pure(Reset); | |
725 | DEC_PYCALLBACK__constany(SetSize, wxRect); | |
726 | DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent); | |
727 | DEC_PYCALLBACK__any(StartingKey, wxKeyEvent); | |
728 | DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent); | |
729 | DEC_PYCALLBACK__(StartingClick); | |
730 | DEC_PYCALLBACK__(Destroy); | |
731 | DEC_PYCALLBACK__STRING(SetParameters); | |
732 | ||
733 | PYPRIVATE; | |
734 | }; | |
735 | ||
736 | ||
737 | IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters); | |
738 | IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset); | |
739 | IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect); | |
740 | IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent); | |
741 | IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent); | |
742 | IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent); | |
743 | IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick); | |
744 | IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy); | |
745 | ||
746 | ||
747 | class wxPyGridCellAttrProvider : public wxGridCellAttrProvider | |
748 | { | |
749 | public: | |
750 | wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; | |
751 | ||
9416aa89 | 752 | PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr); |
f6bcfd97 BP |
753 | PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr); |
754 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr); | |
755 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr); | |
756 | ||
757 | PYPRIVATE; | |
758 | }; | |
759 | ||
760 | class wxPyGridTableBase : public wxGridTableBase | |
761 | { | |
762 | public: | |
763 | wxPyGridTableBase() : wxGridTableBase() {} | |
764 | ||
765 | PYCALLBACK_INT__pure(GetNumberRows); | |
766 | PYCALLBACK_INT__pure(GetNumberCols); | |
767 | PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell); | |
768 | PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName); | |
769 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs); | |
770 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs); | |
771 | PYCALLBACK__(wxGridTableBase, Clear); | |
772 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows); | |
773 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows); | |
774 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols); | |
775 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols); | |
776 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows); | |
777 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols); | |
778 | PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue); | |
779 | PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue); | |
780 | PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue); | |
781 | PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue); | |
782 | PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes); | |
9416aa89 | 783 | PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr); |
f6bcfd97 BP |
784 | PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr); |
785 | PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr); | |
786 | PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr); | |
787 | ||
788 | ||
f6bcfd97 | 789 | wxString GetValue(int row, int col) { |
4268f798 | 790 | wxPyBeginBlockThreads(); |
f6bcfd97 | 791 | wxString rval; |
1e7ecb7b | 792 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 | 793 | PyObject* ro; |
1e7ecb7b | 794 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col)); |
f6bcfd97 | 795 | if (ro) { |
a541c325 | 796 | rval = Py2wxString(ro); |
f6bcfd97 BP |
797 | Py_DECREF(ro); |
798 | } | |
799 | } | |
4268f798 | 800 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
801 | return rval; |
802 | } | |
803 | ||
804 | void SetValue(int row, int col, const wxString& val) { | |
4268f798 | 805 | wxPyBeginBlockThreads(); |
c8bc7bb8 | 806 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
a66212dc RD |
807 | PyObject* s = wx2PyString(val); |
808 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s)); | |
809 | Py_DECREF(s); | |
c8bc7bb8 | 810 | } |
4268f798 | 811 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
812 | } |
813 | ||
814 | ||
815 | // Map the Get/Set methods for the standard non-string types to | |
816 | // the GetValue and SetValue python methods. | |
817 | long GetValueAsLong( int row, int col ) { | |
818 | long rval = 0; | |
4268f798 | 819 | wxPyBeginBlockThreads(); |
1e7ecb7b | 820 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 BP |
821 | PyObject* ro; |
822 | PyObject* num; | |
1e7ecb7b | 823 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
f6bcfd97 BP |
824 | if (ro && PyNumber_Check(ro)) { |
825 | num = PyNumber_Int(ro); | |
826 | if (num) { | |
827 | rval = PyInt_AsLong(num); | |
828 | Py_DECREF(num); | |
829 | } | |
830 | Py_DECREF(ro); | |
831 | } | |
832 | } | |
4268f798 | 833 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
834 | return rval; |
835 | } | |
836 | ||
837 | double GetValueAsDouble( int row, int col ) { | |
838 | double rval = 0.0; | |
4268f798 | 839 | wxPyBeginBlockThreads(); |
1e7ecb7b | 840 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 BP |
841 | PyObject* ro; |
842 | PyObject* num; | |
1e7ecb7b | 843 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
f6bcfd97 BP |
844 | if (ro && PyNumber_Check(ro)) { |
845 | num = PyNumber_Float(ro); | |
846 | if (num) { | |
847 | rval = PyFloat_AsDouble(num); | |
848 | Py_DECREF(num); | |
849 | } | |
850 | Py_DECREF(ro); | |
851 | } | |
852 | } | |
4268f798 | 853 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
854 | return rval; |
855 | } | |
856 | ||
857 | bool GetValueAsBool( int row, int col ) { | |
858 | return (bool)GetValueAsLong(row, col); | |
859 | } | |
860 | ||
861 | void SetValueAsLong( int row, int col, long value ) { | |
4268f798 | 862 | wxPyBeginBlockThreads(); |
1e7ecb7b RD |
863 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
864 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value)); | |
f6bcfd97 | 865 | } |
4268f798 | 866 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
867 | } |
868 | ||
869 | void SetValueAsDouble( int row, int col, double value ) { | |
4268f798 | 870 | wxPyBeginBlockThreads(); |
1e7ecb7b RD |
871 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
872 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value)); | |
f6bcfd97 | 873 | } |
4268f798 | 874 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
875 | } |
876 | ||
877 | void SetValueAsBool( int row, int col, bool value ) { | |
878 | SetValueAsLong( row, col, (long)value ); | |
879 | } | |
880 | ||
881 | ||
882 | PYPRIVATE; | |
883 | }; | |
884 | ||
885 | bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { | |
886 | ||
887 | // If source is an object instance then it may already be the right type | |
888 | if (PyInstance_Check(source)) { | |
889 | wxGridCellCoords* ptr; | |
890 | if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p")) | |
891 | goto error; | |
892 | *obj = ptr; | |
893 | return TRUE; | |
894 | } | |
895 | // otherwise a 2-tuple of integers is expected | |
896 | else if (PySequence_Check(source) && PyObject_Length(source) == 2) { | |
897 | PyObject* o1 = PySequence_GetItem(source, 0); | |
898 | PyObject* o2 = PySequence_GetItem(source, 1); | |
899 | **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2)); | |
900 | return TRUE; | |
901 | } | |
902 | ||
903 | error: | |
904 | PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object."); | |
905 | return FALSE; | |
906 | } | |
907 | ||
908 | typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES; | |
909 | #ifdef __cplusplus | |
910 | extern "C" { | |
911 | #endif | |
912 | static int _wrap_wxGridNoCellCoords_set(PyObject *val) { | |
913 | ||
914 | PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only."); | |
915 | return 1; | |
916 | } | |
917 | ||
918 | static PyObject *_wrap_wxGridNoCellCoords_get() { | |
919 | PyObject * pyobj; | |
920 | char ptemp[128]; | |
921 | ||
922 | SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p"); | |
923 | pyobj = PyString_FromString(ptemp); | |
924 | return pyobj; | |
925 | } | |
926 | ||
927 | static int _wrap_wxGridNoCellRect_set(PyObject *val) { | |
928 | ||
929 | PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only."); | |
930 | return 1; | |
931 | } | |
932 | ||
933 | static PyObject *_wrap_wxGridNoCellRect_get() { | |
934 | PyObject * pyobj; | |
935 | char ptemp[128]; | |
936 | ||
937 | SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p"); | |
938 | pyobj = PyString_FromString(ptemp); | |
939 | return pyobj; | |
940 | } | |
941 | ||
33ff77f6 RD |
942 | static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject * _self) { |
943 | self->SetClientObject(new wxPyOORClientData(_self)); | |
944 | } | |
945 | static PyObject *_wrap_wxGridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
946 | PyObject * _resultobj; | |
947 | wxGridCellRenderer * _arg0; | |
948 | PyObject * _arg1; | |
949 | PyObject * _argo0 = 0; | |
950 | PyObject * _obj1 = 0; | |
951 | char *_kwnames[] = { "self","_self", NULL }; | |
952 | ||
953 | self = self; | |
954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
955 | return NULL; | |
956 | if (_argo0) { | |
957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p."); | |
960 | return NULL; | |
961 | } | |
962 | } | |
963 | { | |
964 | _arg1 = _obj1; | |
965 | } | |
966 | { | |
967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
968 | wxGridCellRenderer__setOORInfo(_arg0,_arg1); | |
969 | ||
970 | wxPyEndAllowThreads(__tstate); | |
971 | if (PyErr_Occurred()) return NULL; | |
972 | } Py_INCREF(Py_None); | |
973 | _resultobj = Py_None; | |
974 | return _resultobj; | |
975 | } | |
976 | ||
f6bcfd97 BP |
977 | #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0)) |
978 | static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
979 | PyObject * _resultobj; | |
980 | wxGridCellRenderer * _arg0; | |
981 | wxString * _arg1; | |
982 | PyObject * _argo0 = 0; | |
983 | PyObject * _obj1 = 0; | |
984 | char *_kwnames[] = { "self","params", NULL }; | |
985 | ||
986 | self = self; | |
987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1)) | |
988 | return NULL; | |
989 | if (_argo0) { | |
990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p."); | |
993 | return NULL; | |
994 | } | |
995 | } | |
996 | { | |
c8bc7bb8 RD |
997 | _arg1 = wxString_in_helper(_obj1); |
998 | if (_arg1 == NULL) | |
185d7c3e | 999 | return NULL; |
f6bcfd97 BP |
1000 | } |
1001 | { | |
4268f798 | 1002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1003 | wxGridCellRenderer_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1004 | |
4268f798 | 1005 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1006 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1007 | } Py_INCREF(Py_None); |
1008 | _resultobj = Py_None; | |
1009 | { | |
1010 | if (_obj1) | |
1011 | delete _arg1; | |
1012 | } | |
1013 | return _resultobj; | |
1014 | } | |
1015 | ||
1016 | #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef()) | |
1017 | static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1018 | PyObject * _resultobj; | |
1019 | wxGridCellRenderer * _arg0; | |
1020 | PyObject * _argo0 = 0; | |
1021 | char *_kwnames[] = { "self", NULL }; | |
1022 | ||
1023 | self = self; | |
1024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0)) | |
1025 | return NULL; | |
1026 | if (_argo0) { | |
1027 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1028 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p."); | |
1030 | return NULL; | |
1031 | } | |
1032 | } | |
1033 | { | |
4268f798 | 1034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1035 | wxGridCellRenderer_IncRef(_arg0); |
f6bcfd97 | 1036 | |
4268f798 | 1037 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1038 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1039 | } Py_INCREF(Py_None); |
1040 | _resultobj = Py_None; | |
1041 | return _resultobj; | |
1042 | } | |
1043 | ||
1044 | #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef()) | |
1045 | static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1046 | PyObject * _resultobj; | |
1047 | wxGridCellRenderer * _arg0; | |
1048 | PyObject * _argo0 = 0; | |
1049 | char *_kwnames[] = { "self", NULL }; | |
1050 | ||
1051 | self = self; | |
1052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0)) | |
1053 | return NULL; | |
1054 | if (_argo0) { | |
1055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p."); | |
1058 | return NULL; | |
1059 | } | |
1060 | } | |
1061 | { | |
4268f798 | 1062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1063 | wxGridCellRenderer_DecRef(_arg0); |
f6bcfd97 | 1064 | |
4268f798 | 1065 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1066 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1067 | } Py_INCREF(Py_None); |
1068 | _resultobj = Py_None; | |
1069 | return _resultobj; | |
1070 | } | |
1071 | ||
1072 | #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
1073 | static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1074 | PyObject * _resultobj; | |
1075 | wxGridCellRenderer * _arg0; | |
1076 | wxGrid * _arg1; | |
1077 | wxGridCellAttr * _arg2; | |
1078 | wxDC * _arg3; | |
1079 | wxRect * _arg4; | |
1080 | int _arg5; | |
1081 | int _arg6; | |
1082 | bool _arg7; | |
1083 | PyObject * _argo0 = 0; | |
1084 | PyObject * _argo1 = 0; | |
1085 | PyObject * _argo2 = 0; | |
1086 | PyObject * _argo3 = 0; | |
1087 | wxRect temp; | |
1088 | PyObject * _obj4 = 0; | |
1089 | int tempbool7; | |
1090 | char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL }; | |
1091 | ||
1092 | self = self; | |
1093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7)) | |
1094 | return NULL; | |
1095 | if (_argo0) { | |
1096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p."); | |
1099 | return NULL; | |
1100 | } | |
1101 | } | |
1102 | if (_argo1) { | |
1103 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1104 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p."); | |
1106 | return NULL; | |
1107 | } | |
1108 | } | |
1109 | if (_argo2) { | |
1110 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1111 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
1112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p."); | |
1113 | return NULL; | |
1114 | } | |
1115 | } | |
1116 | if (_argo3) { | |
1117 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1118 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) { | |
1119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p."); | |
1120 | return NULL; | |
1121 | } | |
1122 | } | |
1123 | { | |
1124 | _arg4 = &temp; | |
1125 | if (! wxRect_helper(_obj4, &_arg4)) | |
1126 | return NULL; | |
1127 | } | |
1128 | _arg7 = (bool ) tempbool7; | |
1129 | { | |
4268f798 | 1130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1131 | wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7); |
f6bcfd97 | 1132 | |
4268f798 | 1133 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1134 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1135 | } Py_INCREF(Py_None); |
1136 | _resultobj = Py_None; | |
1137 | return _resultobj; | |
1138 | } | |
1139 | ||
1140 | #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1141 | static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1142 | PyObject * _resultobj; | |
1143 | wxSize * _result; | |
1144 | wxGridCellRenderer * _arg0; | |
1145 | wxGrid * _arg1; | |
1146 | wxGridCellAttr * _arg2; | |
1147 | wxDC * _arg3; | |
1148 | int _arg4; | |
1149 | int _arg5; | |
1150 | PyObject * _argo0 = 0; | |
1151 | PyObject * _argo1 = 0; | |
1152 | PyObject * _argo2 = 0; | |
1153 | PyObject * _argo3 = 0; | |
1154 | char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL }; | |
1155 | char _ptemp[128]; | |
1156 | ||
1157 | self = self; | |
1158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5)) | |
1159 | return NULL; | |
1160 | if (_argo0) { | |
1161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p."); | |
1164 | return NULL; | |
1165 | } | |
1166 | } | |
1167 | if (_argo1) { | |
1168 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1169 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
1170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p."); | |
1171 | return NULL; | |
1172 | } | |
1173 | } | |
1174 | if (_argo2) { | |
1175 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1176 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
1177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p."); | |
1178 | return NULL; | |
1179 | } | |
1180 | } | |
1181 | if (_argo3) { | |
1182 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1183 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) { | |
1184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p."); | |
1185 | return NULL; | |
1186 | } | |
1187 | } | |
1188 | { | |
4268f798 | 1189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1190 | _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5)); |
f6bcfd97 | 1191 | |
4268f798 | 1192 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1193 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1194 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
1195 | _resultobj = Py_BuildValue("s",_ptemp); | |
1196 | return _resultobj; | |
1197 | } | |
1198 | ||
1199 | #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone()) | |
1200 | static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1201 | PyObject * _resultobj; | |
1202 | wxGridCellRenderer * _result; | |
1203 | wxGridCellRenderer * _arg0; | |
1204 | PyObject * _argo0 = 0; | |
1205 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
1206 | |
1207 | self = self; | |
1208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0)) | |
1209 | return NULL; | |
1210 | if (_argo0) { | |
1211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p."); | |
1214 | return NULL; | |
1215 | } | |
1216 | } | |
1217 | { | |
4268f798 | 1218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1219 | _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0); |
f6bcfd97 | 1220 | |
4268f798 | 1221 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1222 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 1223 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
1224 | return _resultobj; |
1225 | } | |
1226 | ||
1227 | static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) { | |
1228 | wxPyGridCellRenderer *src; | |
1229 | wxGridCellRenderer *dest; | |
1230 | src = (wxPyGridCellRenderer *) ptr; | |
1231 | dest = (wxGridCellRenderer *) src; | |
1232 | return (void *) dest; | |
1233 | } | |
1234 | ||
1235 | #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer()) | |
1236 | static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1237 | PyObject * _resultobj; | |
1238 | wxPyGridCellRenderer * _result; | |
1239 | char *_kwnames[] = { NULL }; | |
1240 | char _ptemp[128]; | |
1241 | ||
1242 | self = self; | |
1243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames)) | |
1244 | return NULL; | |
1245 | { | |
4268f798 | 1246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1247 | _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer(); |
f6bcfd97 | 1248 | |
4268f798 | 1249 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1250 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1251 | } if (_result) { |
1252 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p"); | |
1253 | _resultobj = Py_BuildValue("s",_ptemp); | |
1254 | } else { | |
1255 | Py_INCREF(Py_None); | |
1256 | _resultobj = Py_None; | |
1257 | } | |
1258 | return _resultobj; | |
1259 | } | |
1260 | ||
0122b7e3 RD |
1261 | #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
1262 | static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1263 | PyObject * _resultobj; |
1264 | wxPyGridCellRenderer * _arg0; | |
1265 | PyObject * _arg1; | |
1266 | PyObject * _arg2; | |
1267 | PyObject * _argo0 = 0; | |
1268 | PyObject * _obj1 = 0; | |
1269 | PyObject * _obj2 = 0; | |
1270 | char *_kwnames[] = { "self","self","_class", NULL }; | |
1271 | ||
1272 | self = self; | |
0122b7e3 | 1273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
1274 | return NULL; |
1275 | if (_argo0) { | |
1276 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1277 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) { | |
0122b7e3 | 1278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p."); |
f6bcfd97 BP |
1279 | return NULL; |
1280 | } | |
1281 | } | |
1282 | { | |
1283 | _arg1 = _obj1; | |
1284 | } | |
1285 | { | |
1286 | _arg2 = _obj2; | |
1287 | } | |
1288 | { | |
4268f798 | 1289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1290 | wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 1291 | |
4268f798 | 1292 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1293 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1294 | } Py_INCREF(Py_None); |
1295 | _resultobj = Py_None; | |
1296 | return _resultobj; | |
1297 | } | |
1298 | ||
1299 | #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0)) | |
1300 | static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1301 | PyObject * _resultobj; | |
1302 | wxPyGridCellRenderer * _arg0; | |
1303 | wxString * _arg1; | |
1304 | PyObject * _argo0 = 0; | |
1305 | PyObject * _obj1 = 0; | |
1306 | char *_kwnames[] = { "self","params", NULL }; | |
1307 | ||
1308 | self = self; | |
1309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1310 | return NULL; | |
1311 | if (_argo0) { | |
1312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) { | |
1314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p."); | |
1315 | return NULL; | |
1316 | } | |
1317 | } | |
1318 | { | |
c8bc7bb8 RD |
1319 | _arg1 = wxString_in_helper(_obj1); |
1320 | if (_arg1 == NULL) | |
185d7c3e | 1321 | return NULL; |
f6bcfd97 BP |
1322 | } |
1323 | { | |
4268f798 | 1324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1325 | wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1326 | |
4268f798 | 1327 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1328 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1329 | } Py_INCREF(Py_None); |
1330 | _resultobj = Py_None; | |
1331 | { | |
1332 | if (_obj1) | |
1333 | delete _arg1; | |
1334 | } | |
1335 | return _resultobj; | |
1336 | } | |
1337 | ||
1338 | static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) { | |
1339 | wxGridCellStringRenderer *src; | |
1340 | wxGridCellRenderer *dest; | |
1341 | src = (wxGridCellStringRenderer *) ptr; | |
1342 | dest = (wxGridCellRenderer *) src; | |
1343 | return (void *) dest; | |
1344 | } | |
1345 | ||
1346 | #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer()) | |
1347 | static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1348 | PyObject * _resultobj; | |
1349 | wxGridCellStringRenderer * _result; | |
1350 | char *_kwnames[] = { NULL }; | |
1351 | char _ptemp[128]; | |
1352 | ||
1353 | self = self; | |
1354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames)) | |
1355 | return NULL; | |
1356 | { | |
4268f798 | 1357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1358 | _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer(); |
f6bcfd97 | 1359 | |
4268f798 | 1360 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1361 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1362 | } if (_result) { |
1363 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p"); | |
1364 | _resultobj = Py_BuildValue("s",_ptemp); | |
1365 | } else { | |
1366 | Py_INCREF(Py_None); | |
1367 | _resultobj = Py_None; | |
1368 | } | |
1369 | return _resultobj; | |
1370 | } | |
1371 | ||
1372 | static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) { | |
1373 | wxGridCellNumberRenderer *src; | |
1374 | wxGridCellStringRenderer *dest; | |
1375 | src = (wxGridCellNumberRenderer *) ptr; | |
1376 | dest = (wxGridCellStringRenderer *) src; | |
1377 | return (void *) dest; | |
1378 | } | |
1379 | ||
1380 | static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) { | |
1381 | wxGridCellNumberRenderer *src; | |
1382 | wxGridCellRenderer *dest; | |
1383 | src = (wxGridCellNumberRenderer *) ptr; | |
1384 | dest = (wxGridCellRenderer *) src; | |
1385 | return (void *) dest; | |
1386 | } | |
1387 | ||
1388 | #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer()) | |
1389 | static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1390 | PyObject * _resultobj; | |
1391 | wxGridCellNumberRenderer * _result; | |
1392 | char *_kwnames[] = { NULL }; | |
1393 | char _ptemp[128]; | |
1394 | ||
1395 | self = self; | |
1396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames)) | |
1397 | return NULL; | |
1398 | { | |
4268f798 | 1399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1400 | _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer(); |
f6bcfd97 | 1401 | |
4268f798 | 1402 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1403 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1404 | } if (_result) { |
1405 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p"); | |
1406 | _resultobj = Py_BuildValue("s",_ptemp); | |
1407 | } else { | |
1408 | Py_INCREF(Py_None); | |
1409 | _resultobj = Py_None; | |
1410 | } | |
1411 | return _resultobj; | |
1412 | } | |
1413 | ||
1414 | static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) { | |
1415 | wxGridCellFloatRenderer *src; | |
1416 | wxGridCellStringRenderer *dest; | |
1417 | src = (wxGridCellFloatRenderer *) ptr; | |
1418 | dest = (wxGridCellStringRenderer *) src; | |
1419 | return (void *) dest; | |
1420 | } | |
1421 | ||
1422 | static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) { | |
1423 | wxGridCellFloatRenderer *src; | |
1424 | wxGridCellRenderer *dest; | |
1425 | src = (wxGridCellFloatRenderer *) ptr; | |
1426 | dest = (wxGridCellRenderer *) src; | |
1427 | return (void *) dest; | |
1428 | } | |
1429 | ||
1430 | #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1)) | |
1431 | static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1432 | PyObject * _resultobj; | |
1433 | wxGridCellFloatRenderer * _result; | |
1434 | int _arg0 = (int ) -1; | |
1435 | int _arg1 = (int ) -1; | |
1436 | char *_kwnames[] = { "width","precision", NULL }; | |
1437 | char _ptemp[128]; | |
1438 | ||
1439 | self = self; | |
1440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1)) | |
1441 | return NULL; | |
1442 | { | |
4268f798 | 1443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1444 | _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1); |
f6bcfd97 | 1445 | |
4268f798 | 1446 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1447 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1448 | } if (_result) { |
1449 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p"); | |
1450 | _resultobj = Py_BuildValue("s",_ptemp); | |
1451 | } else { | |
1452 | Py_INCREF(Py_None); | |
1453 | _resultobj = Py_None; | |
1454 | } | |
1455 | return _resultobj; | |
1456 | } | |
1457 | ||
1458 | #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1459 | static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1460 | PyObject * _resultobj; | |
1461 | int _result; | |
1462 | wxGridCellFloatRenderer * _arg0; | |
1463 | PyObject * _argo0 = 0; | |
1464 | char *_kwnames[] = { "self", NULL }; | |
1465 | ||
1466 | self = self; | |
1467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0)) | |
1468 | return NULL; | |
1469 | if (_argo0) { | |
1470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p."); | |
1473 | return NULL; | |
1474 | } | |
1475 | } | |
1476 | { | |
4268f798 | 1477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1478 | _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0); |
f6bcfd97 | 1479 | |
4268f798 | 1480 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1481 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1482 | } _resultobj = Py_BuildValue("i",_result); |
1483 | return _resultobj; | |
1484 | } | |
1485 | ||
1486 | #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
1487 | static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1488 | PyObject * _resultobj; | |
1489 | wxGridCellFloatRenderer * _arg0; | |
1490 | int _arg1; | |
1491 | PyObject * _argo0 = 0; | |
1492 | char *_kwnames[] = { "self","width", NULL }; | |
1493 | ||
1494 | self = self; | |
1495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1)) | |
1496 | return NULL; | |
1497 | if (_argo0) { | |
1498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p."); | |
1501 | return NULL; | |
1502 | } | |
1503 | } | |
1504 | { | |
4268f798 | 1505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1506 | wxGridCellFloatRenderer_SetWidth(_arg0,_arg1); |
f6bcfd97 | 1507 | |
4268f798 | 1508 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1509 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1510 | } Py_INCREF(Py_None); |
1511 | _resultobj = Py_None; | |
1512 | return _resultobj; | |
1513 | } | |
1514 | ||
1515 | #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision()) | |
1516 | static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1517 | PyObject * _resultobj; | |
1518 | int _result; | |
1519 | wxGridCellFloatRenderer * _arg0; | |
1520 | PyObject * _argo0 = 0; | |
1521 | char *_kwnames[] = { "self", NULL }; | |
1522 | ||
1523 | self = self; | |
1524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0)) | |
1525 | return NULL; | |
1526 | if (_argo0) { | |
1527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p."); | |
1530 | return NULL; | |
1531 | } | |
1532 | } | |
1533 | { | |
4268f798 | 1534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1535 | _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0); |
f6bcfd97 | 1536 | |
4268f798 | 1537 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1538 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1539 | } _resultobj = Py_BuildValue("i",_result); |
1540 | return _resultobj; | |
1541 | } | |
1542 | ||
1543 | #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0)) | |
1544 | static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1545 | PyObject * _resultobj; | |
1546 | wxGridCellFloatRenderer * _arg0; | |
1547 | int _arg1; | |
1548 | PyObject * _argo0 = 0; | |
1549 | char *_kwnames[] = { "self","precision", NULL }; | |
1550 | ||
1551 | self = self; | |
1552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1)) | |
1553 | return NULL; | |
1554 | if (_argo0) { | |
1555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p."); | |
1558 | return NULL; | |
1559 | } | |
1560 | } | |
1561 | { | |
4268f798 | 1562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1563 | wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1); |
f6bcfd97 | 1564 | |
4268f798 | 1565 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1566 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1567 | } Py_INCREF(Py_None); |
1568 | _resultobj = Py_None; | |
1569 | return _resultobj; | |
1570 | } | |
1571 | ||
1572 | static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) { | |
1573 | wxGridCellBoolRenderer *src; | |
1574 | wxGridCellRenderer *dest; | |
1575 | src = (wxGridCellBoolRenderer *) ptr; | |
1576 | dest = (wxGridCellRenderer *) src; | |
1577 | return (void *) dest; | |
1578 | } | |
1579 | ||
1580 | #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer()) | |
1581 | static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1582 | PyObject * _resultobj; | |
1583 | wxGridCellBoolRenderer * _result; | |
1584 | char *_kwnames[] = { NULL }; | |
1585 | char _ptemp[128]; | |
1586 | ||
1587 | self = self; | |
1588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames)) | |
1589 | return NULL; | |
1590 | { | |
4268f798 | 1591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1592 | _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer(); |
f6bcfd97 | 1593 | |
4268f798 | 1594 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1595 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1596 | } if (_result) { |
1597 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p"); | |
1598 | _resultobj = Py_BuildValue("s",_ptemp); | |
1599 | } else { | |
1600 | Py_INCREF(Py_None); | |
1601 | _resultobj = Py_None; | |
1602 | } | |
1603 | return _resultobj; | |
1604 | } | |
1605 | ||
19a97bd6 RD |
1606 | static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) { |
1607 | wxGridCellDateTimeRenderer *src; | |
1608 | wxGridCellStringRenderer *dest; | |
1609 | src = (wxGridCellDateTimeRenderer *) ptr; | |
1610 | dest = (wxGridCellStringRenderer *) src; | |
1611 | return (void *) dest; | |
1612 | } | |
1613 | ||
1614 | static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) { | |
1615 | wxGridCellDateTimeRenderer *src; | |
1616 | wxGridCellRenderer *dest; | |
1617 | src = (wxGridCellDateTimeRenderer *) ptr; | |
1618 | dest = (wxGridCellRenderer *) src; | |
1619 | return (void *) dest; | |
1620 | } | |
1621 | ||
1622 | #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1)) | |
1623 | static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1624 | PyObject * _resultobj; | |
1625 | wxGridCellDateTimeRenderer * _result; | |
33ff77f6 RD |
1626 | wxString * _arg0 = (wxString *) &wxPyDateTimeFormatStr; |
1627 | wxString * _arg1 = (wxString *) &wxPyDateTimeFormatStr; | |
19a97bd6 RD |
1628 | PyObject * _obj0 = 0; |
1629 | PyObject * _obj1 = 0; | |
1630 | char *_kwnames[] = { "outformat","informat", NULL }; | |
1631 | char _ptemp[128]; | |
1632 | ||
1633 | self = self; | |
1634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1)) | |
1635 | return NULL; | |
1636 | if (_obj0) | |
1637 | { | |
c8bc7bb8 RD |
1638 | _arg0 = wxString_in_helper(_obj0); |
1639 | if (_arg0 == NULL) | |
19a97bd6 | 1640 | return NULL; |
19a97bd6 RD |
1641 | } |
1642 | if (_obj1) | |
1643 | { | |
c8bc7bb8 RD |
1644 | _arg1 = wxString_in_helper(_obj1); |
1645 | if (_arg1 == NULL) | |
19a97bd6 | 1646 | return NULL; |
19a97bd6 RD |
1647 | } |
1648 | { | |
4268f798 | 1649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1650 | _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1); |
19a97bd6 | 1651 | |
4268f798 | 1652 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
1653 | if (PyErr_Occurred()) return NULL; |
1654 | } if (_result) { | |
1655 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p"); | |
1656 | _resultobj = Py_BuildValue("s",_ptemp); | |
1657 | } else { | |
1658 | Py_INCREF(Py_None); | |
1659 | _resultobj = Py_None; | |
1660 | } | |
1661 | { | |
1662 | if (_obj0) | |
1663 | delete _arg0; | |
1664 | } | |
1665 | { | |
1666 | if (_obj1) | |
1667 | delete _arg1; | |
1668 | } | |
1669 | return _resultobj; | |
1670 | } | |
1671 | ||
1672 | static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) { | |
1673 | wxGridCellEnumRenderer *src; | |
1674 | wxGridCellStringRenderer *dest; | |
1675 | src = (wxGridCellEnumRenderer *) ptr; | |
1676 | dest = (wxGridCellStringRenderer *) src; | |
1677 | return (void *) dest; | |
1678 | } | |
1679 | ||
1680 | static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) { | |
1681 | wxGridCellEnumRenderer *src; | |
1682 | wxGridCellRenderer *dest; | |
1683 | src = (wxGridCellEnumRenderer *) ptr; | |
1684 | dest = (wxGridCellRenderer *) src; | |
1685 | return (void *) dest; | |
1686 | } | |
1687 | ||
1688 | #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0)) | |
1689 | static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1690 | PyObject * _resultobj; | |
1691 | wxGridCellEnumRenderer * _result; | |
33ff77f6 | 1692 | wxString * _arg0 = (wxString *) &wxPyEmptyString; |
19a97bd6 RD |
1693 | PyObject * _obj0 = 0; |
1694 | char *_kwnames[] = { "choices", NULL }; | |
1695 | char _ptemp[128]; | |
1696 | ||
1697 | self = self; | |
1698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0)) | |
1699 | return NULL; | |
1700 | if (_obj0) | |
1701 | { | |
1702 | _arg0 = wxString_LIST_helper(_obj0); | |
1703 | if (_arg0 == NULL) { | |
1704 | return NULL; | |
1705 | } | |
1706 | } | |
1707 | { | |
4268f798 | 1708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1709 | _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0); |
19a97bd6 | 1710 | |
4268f798 | 1711 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
1712 | if (PyErr_Occurred()) return NULL; |
1713 | } if (_result) { | |
1714 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p"); | |
1715 | _resultobj = Py_BuildValue("s",_ptemp); | |
1716 | } else { | |
1717 | Py_INCREF(Py_None); | |
1718 | _resultobj = Py_None; | |
1719 | } | |
1720 | { | |
1721 | delete [] _arg0; | |
1722 | } | |
1723 | return _resultobj; | |
1724 | } | |
1725 | ||
1726 | static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) { | |
1727 | wxGridCellAutoWrapStringRenderer *src; | |
1728 | wxGridCellStringRenderer *dest; | |
1729 | src = (wxGridCellAutoWrapStringRenderer *) ptr; | |
1730 | dest = (wxGridCellStringRenderer *) src; | |
1731 | return (void *) dest; | |
1732 | } | |
1733 | ||
1734 | static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) { | |
1735 | wxGridCellAutoWrapStringRenderer *src; | |
1736 | wxGridCellRenderer *dest; | |
1737 | src = (wxGridCellAutoWrapStringRenderer *) ptr; | |
1738 | dest = (wxGridCellRenderer *) src; | |
1739 | return (void *) dest; | |
1740 | } | |
1741 | ||
1742 | #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer()) | |
1743 | static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1744 | PyObject * _resultobj; | |
1745 | wxGridCellAutoWrapStringRenderer * _result; | |
1746 | char *_kwnames[] = { NULL }; | |
1747 | char _ptemp[128]; | |
1748 | ||
1749 | self = self; | |
1750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames)) | |
1751 | return NULL; | |
1752 | { | |
4268f798 | 1753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1754 | _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer(); |
19a97bd6 | 1755 | |
4268f798 | 1756 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
1757 | if (PyErr_Occurred()) return NULL; |
1758 | } if (_result) { | |
1759 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p"); | |
1760 | _resultobj = Py_BuildValue("s",_ptemp); | |
1761 | } else { | |
1762 | Py_INCREF(Py_None); | |
1763 | _resultobj = Py_None; | |
1764 | } | |
1765 | return _resultobj; | |
1766 | } | |
1767 | ||
33ff77f6 RD |
1768 | static void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject * _self) { |
1769 | self->SetClientObject(new wxPyOORClientData(_self)); | |
1770 | } | |
1771 | static PyObject *_wrap_wxGridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1772 | PyObject * _resultobj; | |
1773 | wxGridCellEditor * _arg0; | |
1774 | PyObject * _arg1; | |
1775 | PyObject * _argo0 = 0; | |
1776 | PyObject * _obj1 = 0; | |
1777 | char *_kwnames[] = { "self","_self", NULL }; | |
1778 | ||
1779 | self = self; | |
1780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
1781 | return NULL; | |
1782 | if (_argo0) { | |
1783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p."); | |
1786 | return NULL; | |
1787 | } | |
1788 | } | |
1789 | { | |
1790 | _arg1 = _obj1; | |
1791 | } | |
1792 | { | |
1793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1794 | wxGridCellEditor__setOORInfo(_arg0,_arg1); | |
1795 | ||
1796 | wxPyEndAllowThreads(__tstate); | |
1797 | if (PyErr_Occurred()) return NULL; | |
1798 | } Py_INCREF(Py_None); | |
1799 | _resultobj = Py_None; | |
1800 | return _resultobj; | |
1801 | } | |
1802 | ||
f6bcfd97 BP |
1803 | #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated()) |
1804 | static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1805 | PyObject * _resultobj; | |
1806 | bool _result; | |
1807 | wxGridCellEditor * _arg0; | |
1808 | PyObject * _argo0 = 0; | |
1809 | char *_kwnames[] = { "self", NULL }; | |
1810 | ||
1811 | self = self; | |
1812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0)) | |
1813 | return NULL; | |
1814 | if (_argo0) { | |
1815 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1816 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p."); | |
1818 | return NULL; | |
1819 | } | |
1820 | } | |
1821 | { | |
4268f798 | 1822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1823 | _result = (bool )wxGridCellEditor_IsCreated(_arg0); |
f6bcfd97 | 1824 | |
4268f798 | 1825 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1826 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1827 | } _resultobj = Py_BuildValue("i",_result); |
1828 | return _resultobj; | |
1829 | } | |
1830 | ||
1831 | #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl()) | |
1832 | static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1833 | PyObject * _resultobj; | |
1834 | wxControl * _result; | |
1835 | wxGridCellEditor * _arg0; | |
1836 | PyObject * _argo0 = 0; | |
1837 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
1838 | |
1839 | self = self; | |
1840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0)) | |
1841 | return NULL; | |
1842 | if (_argo0) { | |
1843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p."); | |
1846 | return NULL; | |
1847 | } | |
1848 | } | |
1849 | { | |
4268f798 | 1850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1851 | _result = (wxControl *)wxGridCellEditor_GetControl(_arg0); |
f6bcfd97 | 1852 | |
4268f798 | 1853 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1854 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 1855 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
1856 | return _resultobj; |
1857 | } | |
1858 | ||
1859 | #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0)) | |
1860 | static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1861 | PyObject * _resultobj; | |
1862 | wxGridCellEditor * _arg0; | |
1863 | wxControl * _arg1; | |
1864 | PyObject * _argo0 = 0; | |
1865 | PyObject * _argo1 = 0; | |
1866 | char *_kwnames[] = { "self","control", NULL }; | |
1867 | ||
1868 | self = self; | |
1869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1)) | |
1870 | return NULL; | |
1871 | if (_argo0) { | |
1872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p."); | |
1875 | return NULL; | |
1876 | } | |
1877 | } | |
1878 | if (_argo1) { | |
1879 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1880 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
1881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p."); | |
1882 | return NULL; | |
1883 | } | |
1884 | } | |
1885 | { | |
4268f798 | 1886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1887 | wxGridCellEditor_SetControl(_arg0,_arg1); |
f6bcfd97 | 1888 | |
4268f798 | 1889 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1890 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1891 | } Py_INCREF(Py_None); |
1892 | _resultobj = Py_None; | |
1893 | return _resultobj; | |
1894 | } | |
1895 | ||
1896 | #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0)) | |
1897 | static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1898 | PyObject * _resultobj; | |
1899 | wxGridCellEditor * _arg0; | |
1900 | wxString * _arg1; | |
1901 | PyObject * _argo0 = 0; | |
1902 | PyObject * _obj1 = 0; | |
1903 | char *_kwnames[] = { "self","params", NULL }; | |
1904 | ||
1905 | self = self; | |
1906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1907 | return NULL; | |
1908 | if (_argo0) { | |
1909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p."); | |
1912 | return NULL; | |
1913 | } | |
1914 | } | |
1915 | { | |
c8bc7bb8 RD |
1916 | _arg1 = wxString_in_helper(_obj1); |
1917 | if (_arg1 == NULL) | |
185d7c3e | 1918 | return NULL; |
f6bcfd97 BP |
1919 | } |
1920 | { | |
4268f798 | 1921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1922 | wxGridCellEditor_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1923 | |
4268f798 | 1924 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1925 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1926 | } Py_INCREF(Py_None); |
1927 | _resultobj = Py_None; | |
1928 | { | |
1929 | if (_obj1) | |
1930 | delete _arg1; | |
1931 | } | |
1932 | return _resultobj; | |
1933 | } | |
1934 | ||
1935 | #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef()) | |
1936 | static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1937 | PyObject * _resultobj; | |
1938 | wxGridCellEditor * _arg0; | |
1939 | PyObject * _argo0 = 0; | |
1940 | char *_kwnames[] = { "self", NULL }; | |
1941 | ||
1942 | self = self; | |
1943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0)) | |
1944 | return NULL; | |
1945 | if (_argo0) { | |
1946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p."); | |
1949 | return NULL; | |
1950 | } | |
1951 | } | |
1952 | { | |
4268f798 | 1953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1954 | wxGridCellEditor_IncRef(_arg0); |
f6bcfd97 | 1955 | |
4268f798 | 1956 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1957 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1958 | } Py_INCREF(Py_None); |
1959 | _resultobj = Py_None; | |
1960 | return _resultobj; | |
1961 | } | |
1962 | ||
1963 | #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef()) | |
1964 | static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1965 | PyObject * _resultobj; | |
1966 | wxGridCellEditor * _arg0; | |
1967 | PyObject * _argo0 = 0; | |
1968 | char *_kwnames[] = { "self", NULL }; | |
1969 | ||
1970 | self = self; | |
1971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0)) | |
1972 | return NULL; | |
1973 | if (_argo0) { | |
1974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p."); | |
1977 | return NULL; | |
1978 | } | |
1979 | } | |
1980 | { | |
4268f798 | 1981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1982 | wxGridCellEditor_DecRef(_arg0); |
f6bcfd97 | 1983 | |
4268f798 | 1984 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1985 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1986 | } Py_INCREF(Py_None); |
1987 | _resultobj = Py_None; | |
1988 | return _resultobj; | |
1989 | } | |
1990 | ||
1991 | #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2)) | |
1992 | static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1993 | PyObject * _resultobj; | |
1994 | wxGridCellEditor * _arg0; | |
1995 | wxWindow * _arg1; | |
1996 | wxWindowID _arg2; | |
1997 | wxEvtHandler * _arg3; | |
1998 | PyObject * _argo0 = 0; | |
1999 | PyObject * _argo1 = 0; | |
2000 | PyObject * _argo3 = 0; | |
2001 | char *_kwnames[] = { "self","parent","id","evtHandler", NULL }; | |
2002 | ||
2003 | self = self; | |
2004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3)) | |
2005 | return NULL; | |
2006 | if (_argo0) { | |
2007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p."); | |
2010 | return NULL; | |
2011 | } | |
2012 | } | |
2013 | if (_argo1) { | |
2014 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2015 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p."); | |
2017 | return NULL; | |
2018 | } | |
2019 | } | |
2020 | if (_argo3) { | |
2021 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2022 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) { | |
2023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p."); | |
2024 | return NULL; | |
2025 | } | |
2026 | } | |
2027 | { | |
4268f798 | 2028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2029 | wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2030 | |
4268f798 | 2031 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2032 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2033 | } Py_INCREF(Py_None); |
2034 | _resultobj = Py_None; | |
2035 | return _resultobj; | |
2036 | } | |
2037 | ||
2038 | #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2)) | |
2039 | static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2040 | PyObject * _resultobj; | |
2041 | wxGridCellEditor * _arg0; | |
2042 | int _arg1; | |
2043 | int _arg2; | |
2044 | wxGrid * _arg3; | |
2045 | PyObject * _argo0 = 0; | |
2046 | PyObject * _argo3 = 0; | |
2047 | char *_kwnames[] = { "self","row","col","grid", NULL }; | |
2048 | ||
2049 | self = self; | |
2050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
2051 | return NULL; | |
2052 | if (_argo0) { | |
2053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p."); | |
2056 | return NULL; | |
2057 | } | |
2058 | } | |
2059 | if (_argo3) { | |
2060 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2061 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) { | |
2062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p."); | |
2063 | return NULL; | |
2064 | } | |
2065 | } | |
2066 | { | |
4268f798 | 2067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2068 | wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2069 | |
4268f798 | 2070 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2071 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2072 | } Py_INCREF(Py_None); |
2073 | _resultobj = Py_None; | |
2074 | return _resultobj; | |
2075 | } | |
2076 | ||
2077 | #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2)) | |
2078 | static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2079 | PyObject * _resultobj; | |
2080 | bool _result; | |
2081 | wxGridCellEditor * _arg0; | |
2082 | int _arg1; | |
2083 | int _arg2; | |
2084 | wxGrid * _arg3; | |
2085 | PyObject * _argo0 = 0; | |
2086 | PyObject * _argo3 = 0; | |
2087 | char *_kwnames[] = { "self","row","col","grid", NULL }; | |
2088 | ||
2089 | self = self; | |
2090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
2091 | return NULL; | |
2092 | if (_argo0) { | |
2093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p."); | |
2096 | return NULL; | |
2097 | } | |
2098 | } | |
2099 | if (_argo3) { | |
2100 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2101 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) { | |
2102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p."); | |
2103 | return NULL; | |
2104 | } | |
2105 | } | |
2106 | { | |
4268f798 | 2107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2108 | _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2109 | |
4268f798 | 2110 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2111 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2112 | } _resultobj = Py_BuildValue("i",_result); |
2113 | return _resultobj; | |
2114 | } | |
2115 | ||
2116 | #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset()) | |
2117 | static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2118 | PyObject * _resultobj; | |
2119 | wxGridCellEditor * _arg0; | |
2120 | PyObject * _argo0 = 0; | |
2121 | char *_kwnames[] = { "self", NULL }; | |
2122 | ||
2123 | self = self; | |
2124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0)) | |
2125 | return NULL; | |
2126 | if (_argo0) { | |
2127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p."); | |
2130 | return NULL; | |
2131 | } | |
2132 | } | |
2133 | { | |
4268f798 | 2134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2135 | wxGridCellEditor_Reset(_arg0); |
f6bcfd97 | 2136 | |
4268f798 | 2137 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2138 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2139 | } Py_INCREF(Py_None); |
2140 | _resultobj = Py_None; | |
2141 | return _resultobj; | |
2142 | } | |
2143 | ||
2144 | #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone()) | |
2145 | static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2146 | PyObject * _resultobj; | |
2147 | wxGridCellEditor * _result; | |
2148 | wxGridCellEditor * _arg0; | |
2149 | PyObject * _argo0 = 0; | |
2150 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
2151 | |
2152 | self = self; | |
2153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0)) | |
2154 | return NULL; | |
2155 | if (_argo0) { | |
2156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p."); | |
2159 | return NULL; | |
2160 | } | |
2161 | } | |
2162 | { | |
4268f798 | 2163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2164 | _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0); |
f6bcfd97 | 2165 | |
4268f798 | 2166 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2167 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 2168 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
2169 | return _resultobj; |
2170 | } | |
2171 | ||
2172 | #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
2173 | static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2174 | PyObject * _resultobj; | |
2175 | wxGridCellEditor * _arg0; | |
2176 | wxRect * _arg1; | |
2177 | PyObject * _argo0 = 0; | |
2178 | wxRect temp; | |
2179 | PyObject * _obj1 = 0; | |
2180 | char *_kwnames[] = { "self","rect", NULL }; | |
2181 | ||
2182 | self = self; | |
2183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1)) | |
2184 | return NULL; | |
2185 | if (_argo0) { | |
2186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p."); | |
2189 | return NULL; | |
2190 | } | |
2191 | } | |
2192 | { | |
2193 | _arg1 = &temp; | |
2194 | if (! wxRect_helper(_obj1, &_arg1)) | |
2195 | return NULL; | |
2196 | } | |
2197 | { | |
4268f798 | 2198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2199 | wxGridCellEditor_SetSize(_arg0,*_arg1); |
f6bcfd97 | 2200 | |
4268f798 | 2201 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2202 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2203 | } Py_INCREF(Py_None); |
2204 | _resultobj = Py_None; | |
2205 | return _resultobj; | |
2206 | } | |
2207 | ||
2208 | #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1)) | |
2209 | static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2210 | PyObject * _resultobj; | |
2211 | wxGridCellEditor * _arg0; | |
2212 | bool _arg1; | |
2213 | wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL; | |
2214 | PyObject * _argo0 = 0; | |
2215 | int tempbool1; | |
2216 | PyObject * _argo2 = 0; | |
2217 | char *_kwnames[] = { "self","show","attr", NULL }; | |
2218 | ||
2219 | self = self; | |
2220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
2221 | return NULL; | |
2222 | if (_argo0) { | |
2223 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2224 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p."); | |
2226 | return NULL; | |
2227 | } | |
2228 | } | |
2229 | _arg1 = (bool ) tempbool1; | |
2230 | if (_argo2) { | |
2231 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2232 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p."); | |
2234 | return NULL; | |
2235 | } | |
2236 | } | |
2237 | { | |
4268f798 | 2238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2239 | wxGridCellEditor_Show(_arg0,_arg1,_arg2); |
f6bcfd97 | 2240 | |
4268f798 | 2241 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2242 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2243 | } Py_INCREF(Py_None); |
2244 | _resultobj = Py_None; | |
2245 | return _resultobj; | |
2246 | } | |
2247 | ||
2248 | #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1)) | |
2249 | static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2250 | PyObject * _resultobj; | |
2251 | wxGridCellEditor * _arg0; | |
2252 | wxRect * _arg1; | |
2253 | wxGridCellAttr * _arg2; | |
2254 | PyObject * _argo0 = 0; | |
2255 | wxRect temp; | |
2256 | PyObject * _obj1 = 0; | |
2257 | PyObject * _argo2 = 0; | |
2258 | char *_kwnames[] = { "self","rectCell","attr", NULL }; | |
2259 | ||
2260 | self = self; | |
2261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2)) | |
2262 | return NULL; | |
2263 | if (_argo0) { | |
2264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p."); | |
2267 | return NULL; | |
2268 | } | |
2269 | } | |
2270 | { | |
2271 | _arg1 = &temp; | |
2272 | if (! wxRect_helper(_obj1, &_arg1)) | |
2273 | return NULL; | |
2274 | } | |
2275 | if (_argo2) { | |
2276 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2277 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p."); | |
2279 | return NULL; | |
2280 | } | |
2281 | } | |
2282 | { | |
4268f798 | 2283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2284 | wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2); |
f6bcfd97 | 2285 | |
4268f798 | 2286 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2287 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2288 | } Py_INCREF(Py_None); |
2289 | _resultobj = Py_None; | |
2290 | return _resultobj; | |
2291 | } | |
2292 | ||
2293 | #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0)) | |
2294 | static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2295 | PyObject * _resultobj; | |
2296 | bool _result; | |
2297 | wxGridCellEditor * _arg0; | |
2298 | wxKeyEvent * _arg1; | |
2299 | PyObject * _argo0 = 0; | |
2300 | PyObject * _argo1 = 0; | |
2301 | char *_kwnames[] = { "self","event", NULL }; | |
2302 | ||
2303 | self = self; | |
2304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1)) | |
2305 | return NULL; | |
2306 | if (_argo0) { | |
2307 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2308 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p."); | |
2310 | return NULL; | |
2311 | } | |
2312 | } | |
2313 | if (_argo1) { | |
2314 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2315 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p."); | |
2317 | return NULL; | |
2318 | } | |
2319 | } | |
2320 | { | |
4268f798 | 2321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2322 | _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1); |
f6bcfd97 | 2323 | |
4268f798 | 2324 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2325 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2326 | } _resultobj = Py_BuildValue("i",_result); |
2327 | return _resultobj; | |
2328 | } | |
2329 | ||
2330 | #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0)) | |
2331 | static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2332 | PyObject * _resultobj; | |
2333 | wxGridCellEditor * _arg0; | |
2334 | wxKeyEvent * _arg1; | |
2335 | PyObject * _argo0 = 0; | |
2336 | PyObject * _argo1 = 0; | |
2337 | char *_kwnames[] = { "self","event", NULL }; | |
2338 | ||
2339 | self = self; | |
2340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1)) | |
2341 | return NULL; | |
2342 | if (_argo0) { | |
2343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p."); | |
2346 | return NULL; | |
2347 | } | |
2348 | } | |
2349 | if (_argo1) { | |
2350 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2351 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p."); | |
2353 | return NULL; | |
2354 | } | |
2355 | } | |
2356 | { | |
4268f798 | 2357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2358 | wxGridCellEditor_StartingKey(_arg0,*_arg1); |
f6bcfd97 | 2359 | |
4268f798 | 2360 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2361 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2362 | } Py_INCREF(Py_None); |
2363 | _resultobj = Py_None; | |
2364 | return _resultobj; | |
2365 | } | |
2366 | ||
2367 | #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick()) | |
2368 | static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2369 | PyObject * _resultobj; | |
2370 | wxGridCellEditor * _arg0; | |
2371 | PyObject * _argo0 = 0; | |
2372 | char *_kwnames[] = { "self", NULL }; | |
2373 | ||
2374 | self = self; | |
2375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0)) | |
2376 | return NULL; | |
2377 | if (_argo0) { | |
2378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p."); | |
2381 | return NULL; | |
2382 | } | |
2383 | } | |
2384 | { | |
4268f798 | 2385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2386 | wxGridCellEditor_StartingClick(_arg0); |
f6bcfd97 | 2387 | |
4268f798 | 2388 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2389 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2390 | } Py_INCREF(Py_None); |
2391 | _resultobj = Py_None; | |
2392 | return _resultobj; | |
2393 | } | |
2394 | ||
2395 | #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0)) | |
2396 | static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2397 | PyObject * _resultobj; | |
2398 | wxGridCellEditor * _arg0; | |
2399 | wxKeyEvent * _arg1; | |
2400 | PyObject * _argo0 = 0; | |
2401 | PyObject * _argo1 = 0; | |
2402 | char *_kwnames[] = { "self","event", NULL }; | |
2403 | ||
2404 | self = self; | |
2405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1)) | |
2406 | return NULL; | |
2407 | if (_argo0) { | |
2408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p."); | |
2411 | return NULL; | |
2412 | } | |
2413 | } | |
2414 | if (_argo1) { | |
2415 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2416 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p."); | |
2418 | return NULL; | |
2419 | } | |
2420 | } | |
2421 | { | |
4268f798 | 2422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2423 | wxGridCellEditor_HandleReturn(_arg0,*_arg1); |
f6bcfd97 | 2424 | |
4268f798 | 2425 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2426 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2427 | } Py_INCREF(Py_None); |
2428 | _resultobj = Py_None; | |
2429 | return _resultobj; | |
2430 | } | |
2431 | ||
2432 | #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy()) | |
2433 | static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2434 | PyObject * _resultobj; | |
2435 | wxGridCellEditor * _arg0; | |
2436 | PyObject * _argo0 = 0; | |
2437 | char *_kwnames[] = { "self", NULL }; | |
2438 | ||
2439 | self = self; | |
2440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0)) | |
2441 | return NULL; | |
2442 | if (_argo0) { | |
2443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p."); | |
2446 | return NULL; | |
2447 | } | |
2448 | } | |
2449 | { | |
4268f798 | 2450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2451 | wxGridCellEditor_Destroy(_arg0); |
f6bcfd97 | 2452 | |
4268f798 | 2453 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2454 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2455 | } Py_INCREF(Py_None); |
2456 | _resultobj = Py_None; | |
2457 | return _resultobj; | |
2458 | } | |
2459 | ||
2460 | static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) { | |
2461 | wxPyGridCellEditor *src; | |
2462 | wxGridCellEditor *dest; | |
2463 | src = (wxPyGridCellEditor *) ptr; | |
2464 | dest = (wxGridCellEditor *) src; | |
2465 | return (void *) dest; | |
2466 | } | |
2467 | ||
2468 | #define new_wxPyGridCellEditor() (new wxPyGridCellEditor()) | |
2469 | static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2470 | PyObject * _resultobj; | |
2471 | wxPyGridCellEditor * _result; | |
2472 | char *_kwnames[] = { NULL }; | |
2473 | char _ptemp[128]; | |
2474 | ||
2475 | self = self; | |
2476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames)) | |
2477 | return NULL; | |
2478 | { | |
4268f798 | 2479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2480 | _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor(); |
f6bcfd97 | 2481 | |
4268f798 | 2482 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2483 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2484 | } if (_result) { |
2485 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p"); | |
2486 | _resultobj = Py_BuildValue("s",_ptemp); | |
2487 | } else { | |
2488 | Py_INCREF(Py_None); | |
2489 | _resultobj = Py_None; | |
2490 | } | |
2491 | return _resultobj; | |
2492 | } | |
2493 | ||
0122b7e3 RD |
2494 | #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
2495 | static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2496 | PyObject * _resultobj; |
2497 | wxPyGridCellEditor * _arg0; | |
2498 | PyObject * _arg1; | |
2499 | PyObject * _arg2; | |
2500 | PyObject * _argo0 = 0; | |
2501 | PyObject * _obj1 = 0; | |
2502 | PyObject * _obj2 = 0; | |
2503 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2504 | ||
2505 | self = self; | |
0122b7e3 | 2506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
2507 | return NULL; |
2508 | if (_argo0) { | |
2509 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2510 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
0122b7e3 | 2511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p."); |
f6bcfd97 BP |
2512 | return NULL; |
2513 | } | |
2514 | } | |
2515 | { | |
2516 | _arg1 = _obj1; | |
2517 | } | |
2518 | { | |
2519 | _arg2 = _obj2; | |
2520 | } | |
2521 | { | |
4268f798 | 2522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2523 | wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 2524 | |
4268f798 | 2525 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2526 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2527 | } Py_INCREF(Py_None); |
2528 | _resultobj = Py_None; | |
2529 | return _resultobj; | |
2530 | } | |
2531 | ||
2532 | #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0)) | |
2533 | static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2534 | PyObject * _resultobj; | |
2535 | wxPyGridCellEditor * _arg0; | |
2536 | wxRect * _arg1; | |
2537 | PyObject * _argo0 = 0; | |
2538 | wxRect temp; | |
2539 | PyObject * _obj1 = 0; | |
2540 | char *_kwnames[] = { "self","rect", NULL }; | |
2541 | ||
2542 | self = self; | |
2543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1)) | |
2544 | return NULL; | |
2545 | if (_argo0) { | |
2546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p."); | |
2549 | return NULL; | |
2550 | } | |
2551 | } | |
2552 | { | |
2553 | _arg1 = &temp; | |
2554 | if (! wxRect_helper(_obj1, &_arg1)) | |
2555 | return NULL; | |
2556 | } | |
2557 | { | |
4268f798 | 2558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2559 | wxPyGridCellEditor_base_SetSize(_arg0,*_arg1); |
f6bcfd97 | 2560 | |
4268f798 | 2561 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2562 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2563 | } Py_INCREF(Py_None); |
2564 | _resultobj = Py_None; | |
2565 | return _resultobj; | |
2566 | } | |
2567 | ||
2568 | #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1)) | |
2569 | static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2570 | PyObject * _resultobj; | |
2571 | wxPyGridCellEditor * _arg0; | |
2572 | bool _arg1; | |
2573 | wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL; | |
2574 | PyObject * _argo0 = 0; | |
2575 | int tempbool1; | |
2576 | PyObject * _argo2 = 0; | |
2577 | char *_kwnames[] = { "self","show","attr", NULL }; | |
2578 | ||
2579 | self = self; | |
2580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
2581 | return NULL; | |
2582 | if (_argo0) { | |
2583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p."); | |
2586 | return NULL; | |
2587 | } | |
2588 | } | |
2589 | _arg1 = (bool ) tempbool1; | |
2590 | if (_argo2) { | |
2591 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2592 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p."); | |
2594 | return NULL; | |
2595 | } | |
2596 | } | |
2597 | { | |
4268f798 | 2598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2599 | wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2); |
f6bcfd97 | 2600 | |
4268f798 | 2601 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2602 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2603 | } Py_INCREF(Py_None); |
2604 | _resultobj = Py_None; | |
2605 | return _resultobj; | |
2606 | } | |
2607 | ||
2608 | #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1)) | |
2609 | static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2610 | PyObject * _resultobj; | |
2611 | wxPyGridCellEditor * _arg0; | |
2612 | wxRect * _arg1; | |
2613 | wxGridCellAttr * _arg2; | |
2614 | PyObject * _argo0 = 0; | |
2615 | wxRect temp; | |
2616 | PyObject * _obj1 = 0; | |
2617 | PyObject * _argo2 = 0; | |
2618 | char *_kwnames[] = { "self","rectCell","attr", NULL }; | |
2619 | ||
2620 | self = self; | |
2621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2)) | |
2622 | return NULL; | |
2623 | if (_argo0) { | |
2624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p."); | |
2627 | return NULL; | |
2628 | } | |
2629 | } | |
2630 | { | |
2631 | _arg1 = &temp; | |
2632 | if (! wxRect_helper(_obj1, &_arg1)) | |
2633 | return NULL; | |
2634 | } | |
2635 | if (_argo2) { | |
2636 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2637 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p."); | |
2639 | return NULL; | |
2640 | } | |
2641 | } | |
2642 | { | |
4268f798 | 2643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2644 | wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2); |
f6bcfd97 | 2645 | |
4268f798 | 2646 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2647 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2648 | } Py_INCREF(Py_None); |
2649 | _resultobj = Py_None; | |
2650 | return _resultobj; | |
2651 | } | |
2652 | ||
dbbb98cd RD |
2653 | #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0)) |
2654 | static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2655 | PyObject * _resultobj; | |
2656 | wxPyGridCellEditor * _arg0; | |
2657 | wxKeyEvent * _arg1; | |
2658 | PyObject * _argo0 = 0; | |
2659 | PyObject * _argo1 = 0; | |
2660 | char *_kwnames[] = { "self","event", NULL }; | |
2661 | ||
2662 | self = self; | |
2663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1)) | |
2664 | return NULL; | |
2665 | if (_argo0) { | |
2666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p."); | |
2669 | return NULL; | |
2670 | } | |
2671 | } | |
2672 | if (_argo1) { | |
2673 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2674 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p."); | |
2676 | return NULL; | |
2677 | } | |
2678 | } | |
2679 | { | |
4268f798 | 2680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2681 | wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1); |
dbbb98cd | 2682 | |
4268f798 | 2683 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2684 | if (PyErr_Occurred()) return NULL; |
dbbb98cd RD |
2685 | } Py_INCREF(Py_None); |
2686 | _resultobj = Py_None; | |
2687 | return _resultobj; | |
2688 | } | |
2689 | ||
f6bcfd97 BP |
2690 | #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0)) |
2691 | static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2692 | PyObject * _resultobj; | |
2693 | wxPyGridCellEditor * _arg0; | |
2694 | wxKeyEvent * _arg1; | |
2695 | PyObject * _argo0 = 0; | |
2696 | PyObject * _argo1 = 0; | |
2697 | char *_kwnames[] = { "self","event", NULL }; | |
2698 | ||
2699 | self = self; | |
2700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1)) | |
2701 | return NULL; | |
2702 | if (_argo0) { | |
2703 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2704 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p."); | |
2706 | return NULL; | |
2707 | } | |
2708 | } | |
2709 | if (_argo1) { | |
2710 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2711 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p."); | |
2713 | return NULL; | |
2714 | } | |
2715 | } | |
2716 | { | |
4268f798 | 2717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2718 | wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1); |
f6bcfd97 | 2719 | |
4268f798 | 2720 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2721 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2722 | } Py_INCREF(Py_None); |
2723 | _resultobj = Py_None; | |
2724 | return _resultobj; | |
2725 | } | |
2726 | ||
2727 | #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick()) | |
2728 | static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2729 | PyObject * _resultobj; | |
2730 | wxPyGridCellEditor * _arg0; | |
2731 | PyObject * _argo0 = 0; | |
2732 | char *_kwnames[] = { "self", NULL }; | |
2733 | ||
2734 | self = self; | |
2735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0)) | |
2736 | return NULL; | |
2737 | if (_argo0) { | |
2738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p."); | |
2741 | return NULL; | |
2742 | } | |
2743 | } | |
2744 | { | |
4268f798 | 2745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2746 | wxPyGridCellEditor_base_StartingClick(_arg0); |
f6bcfd97 | 2747 | |
4268f798 | 2748 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2749 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2750 | } Py_INCREF(Py_None); |
2751 | _resultobj = Py_None; | |
2752 | return _resultobj; | |
2753 | } | |
2754 | ||
2755 | #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0)) | |
2756 | static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2757 | PyObject * _resultobj; | |
2758 | wxPyGridCellEditor * _arg0; | |
2759 | wxKeyEvent * _arg1; | |
2760 | PyObject * _argo0 = 0; | |
2761 | PyObject * _argo1 = 0; | |
2762 | char *_kwnames[] = { "self","event", NULL }; | |
2763 | ||
2764 | self = self; | |
2765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1)) | |
2766 | return NULL; | |
2767 | if (_argo0) { | |
2768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p."); | |
2771 | return NULL; | |
2772 | } | |
2773 | } | |
2774 | if (_argo1) { | |
2775 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2776 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p."); | |
2778 | return NULL; | |
2779 | } | |
2780 | } | |
2781 | { | |
4268f798 | 2782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2783 | wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1); |
f6bcfd97 | 2784 | |
4268f798 | 2785 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2786 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2787 | } Py_INCREF(Py_None); |
2788 | _resultobj = Py_None; | |
2789 | return _resultobj; | |
2790 | } | |
2791 | ||
2792 | #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy()) | |
2793 | static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2794 | PyObject * _resultobj; | |
2795 | wxPyGridCellEditor * _arg0; | |
2796 | PyObject * _argo0 = 0; | |
2797 | char *_kwnames[] = { "self", NULL }; | |
2798 | ||
2799 | self = self; | |
2800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0)) | |
2801 | return NULL; | |
2802 | if (_argo0) { | |
2803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p."); | |
2806 | return NULL; | |
2807 | } | |
2808 | } | |
2809 | { | |
4268f798 | 2810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2811 | wxPyGridCellEditor_base_Destroy(_arg0); |
f6bcfd97 | 2812 | |
4268f798 | 2813 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2814 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2815 | } Py_INCREF(Py_None); |
2816 | _resultobj = Py_None; | |
2817 | return _resultobj; | |
2818 | } | |
2819 | ||
2820 | #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0)) | |
2821 | static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2822 | PyObject * _resultobj; | |
2823 | wxPyGridCellEditor * _arg0; | |
2824 | wxString * _arg1; | |
2825 | PyObject * _argo0 = 0; | |
2826 | PyObject * _obj1 = 0; | |
2827 | char *_kwnames[] = { "self","params", NULL }; | |
2828 | ||
2829 | self = self; | |
2830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1)) | |
2831 | return NULL; | |
2832 | if (_argo0) { | |
2833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p."); | |
2836 | return NULL; | |
2837 | } | |
2838 | } | |
2839 | { | |
c8bc7bb8 RD |
2840 | _arg1 = wxString_in_helper(_obj1); |
2841 | if (_arg1 == NULL) | |
185d7c3e | 2842 | return NULL; |
f6bcfd97 BP |
2843 | } |
2844 | { | |
4268f798 | 2845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2846 | wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 2847 | |
4268f798 | 2848 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2849 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2850 | } Py_INCREF(Py_None); |
2851 | _resultobj = Py_None; | |
2852 | { | |
2853 | if (_obj1) | |
2854 | delete _arg1; | |
2855 | } | |
2856 | return _resultobj; | |
2857 | } | |
2858 | ||
2859 | static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) { | |
2860 | wxGridCellTextEditor *src; | |
2861 | wxGridCellEditor *dest; | |
2862 | src = (wxGridCellTextEditor *) ptr; | |
2863 | dest = (wxGridCellEditor *) src; | |
2864 | return (void *) dest; | |
2865 | } | |
2866 | ||
2867 | #define new_wxGridCellTextEditor() (new wxGridCellTextEditor()) | |
2868 | static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2869 | PyObject * _resultobj; | |
2870 | wxGridCellTextEditor * _result; | |
2871 | char *_kwnames[] = { NULL }; | |
2872 | char _ptemp[128]; | |
2873 | ||
2874 | self = self; | |
2875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames)) | |
2876 | return NULL; | |
2877 | { | |
4268f798 | 2878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2879 | _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor(); |
f6bcfd97 | 2880 | |
4268f798 | 2881 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2882 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2883 | } if (_result) { |
2884 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p"); | |
2885 | _resultobj = Py_BuildValue("s",_ptemp); | |
2886 | } else { | |
2887 | Py_INCREF(Py_None); | |
2888 | _resultobj = Py_None; | |
2889 | } | |
2890 | return _resultobj; | |
2891 | } | |
2892 | ||
2893 | static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) { | |
2894 | wxGridCellNumberEditor *src; | |
2895 | wxGridCellTextEditor *dest; | |
2896 | src = (wxGridCellNumberEditor *) ptr; | |
2897 | dest = (wxGridCellTextEditor *) src; | |
2898 | return (void *) dest; | |
2899 | } | |
2900 | ||
2901 | static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) { | |
2902 | wxGridCellNumberEditor *src; | |
2903 | wxGridCellEditor *dest; | |
2904 | src = (wxGridCellNumberEditor *) ptr; | |
2905 | dest = (wxGridCellEditor *) src; | |
2906 | return (void *) dest; | |
2907 | } | |
2908 | ||
2909 | #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1)) | |
2910 | static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2911 | PyObject * _resultobj; | |
2912 | wxGridCellNumberEditor * _result; | |
2913 | int _arg0 = (int ) -1; | |
2914 | int _arg1 = (int ) -1; | |
2915 | char *_kwnames[] = { "min","max", NULL }; | |
2916 | char _ptemp[128]; | |
2917 | ||
2918 | self = self; | |
2919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1)) | |
2920 | return NULL; | |
2921 | { | |
4268f798 | 2922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2923 | _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1); |
f6bcfd97 | 2924 | |
4268f798 | 2925 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2926 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2927 | } if (_result) { |
2928 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p"); | |
2929 | _resultobj = Py_BuildValue("s",_ptemp); | |
2930 | } else { | |
2931 | Py_INCREF(Py_None); | |
2932 | _resultobj = Py_None; | |
2933 | } | |
2934 | return _resultobj; | |
2935 | } | |
2936 | ||
2937 | static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) { | |
2938 | wxGridCellFloatEditor *src; | |
2939 | wxGridCellTextEditor *dest; | |
2940 | src = (wxGridCellFloatEditor *) ptr; | |
2941 | dest = (wxGridCellTextEditor *) src; | |
2942 | return (void *) dest; | |
2943 | } | |
2944 | ||
2945 | static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) { | |
2946 | wxGridCellFloatEditor *src; | |
2947 | wxGridCellEditor *dest; | |
2948 | src = (wxGridCellFloatEditor *) ptr; | |
2949 | dest = (wxGridCellEditor *) src; | |
2950 | return (void *) dest; | |
2951 | } | |
2952 | ||
2953 | #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor()) | |
2954 | static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2955 | PyObject * _resultobj; | |
2956 | wxGridCellFloatEditor * _result; | |
2957 | char *_kwnames[] = { NULL }; | |
2958 | char _ptemp[128]; | |
2959 | ||
2960 | self = self; | |
2961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames)) | |
2962 | return NULL; | |
2963 | { | |
4268f798 | 2964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2965 | _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor(); |
f6bcfd97 | 2966 | |
4268f798 | 2967 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2968 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2969 | } if (_result) { |
2970 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p"); | |
2971 | _resultobj = Py_BuildValue("s",_ptemp); | |
2972 | } else { | |
2973 | Py_INCREF(Py_None); | |
2974 | _resultobj = Py_None; | |
2975 | } | |
2976 | return _resultobj; | |
2977 | } | |
2978 | ||
2979 | static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) { | |
2980 | wxGridCellBoolEditor *src; | |
2981 | wxGridCellEditor *dest; | |
2982 | src = (wxGridCellBoolEditor *) ptr; | |
2983 | dest = (wxGridCellEditor *) src; | |
2984 | return (void *) dest; | |
2985 | } | |
2986 | ||
2987 | #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor()) | |
2988 | static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2989 | PyObject * _resultobj; | |
2990 | wxGridCellBoolEditor * _result; | |
2991 | char *_kwnames[] = { NULL }; | |
2992 | char _ptemp[128]; | |
2993 | ||
2994 | self = self; | |
2995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames)) | |
2996 | return NULL; | |
2997 | { | |
4268f798 | 2998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2999 | _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor(); |
f6bcfd97 | 3000 | |
4268f798 | 3001 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3002 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3003 | } if (_result) { |
3004 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p"); | |
3005 | _resultobj = Py_BuildValue("s",_ptemp); | |
3006 | } else { | |
3007 | Py_INCREF(Py_None); | |
3008 | _resultobj = Py_None; | |
3009 | } | |
3010 | return _resultobj; | |
3011 | } | |
3012 | ||
3013 | static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) { | |
3014 | wxGridCellChoiceEditor *src; | |
3015 | wxGridCellEditor *dest; | |
3016 | src = (wxGridCellChoiceEditor *) ptr; | |
3017 | dest = (wxGridCellEditor *) src; | |
3018 | return (void *) dest; | |
3019 | } | |
3020 | ||
3021 | #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2)) | |
3022 | static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3023 | PyObject * _resultobj; | |
3024 | wxGridCellChoiceEditor * _result; | |
3025 | int _arg0 = (int ) 0; | |
3026 | wxString * _arg1 = (wxString *) NULL; | |
3027 | bool _arg2 = (bool ) FALSE; | |
3028 | PyObject * _obj1 = 0; | |
3029 | int tempbool2 = (int) FALSE; | |
3030 | char *_kwnames[] = { "choices","allowOthers", NULL }; | |
3031 | char _ptemp[128]; | |
3032 | ||
3033 | self = self; | |
3034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2)) | |
3035 | return NULL; | |
3036 | if (_obj1) | |
3037 | { | |
3038 | _arg1 = wxString_LIST_helper(_obj1); | |
3039 | if (_arg1 == NULL) { | |
3040 | return NULL; | |
3041 | } | |
3042 | } | |
3043 | _arg2 = (bool ) tempbool2; | |
3044 | { | |
3045 | if (_obj1) { | |
3046 | _arg0 = PyList_Size(_obj1); | |
3047 | } | |
3048 | else { | |
3049 | _arg0 = 0; | |
3050 | } | |
3051 | } | |
3052 | { | |
4268f798 | 3053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3054 | _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2); |
f6bcfd97 | 3055 | |
4268f798 | 3056 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3057 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3058 | } if (_result) { |
3059 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p"); | |
3060 | _resultobj = Py_BuildValue("s",_ptemp); | |
3061 | } else { | |
3062 | Py_INCREF(Py_None); | |
3063 | _resultobj = Py_None; | |
3064 | } | |
3065 | { | |
3066 | delete [] _arg1; | |
3067 | } | |
3068 | return _resultobj; | |
3069 | } | |
3070 | ||
19a97bd6 RD |
3071 | static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) { |
3072 | wxGridCellEnumEditor *src; | |
3073 | wxGridCellChoiceEditor *dest; | |
3074 | src = (wxGridCellEnumEditor *) ptr; | |
3075 | dest = (wxGridCellChoiceEditor *) src; | |
3076 | return (void *) dest; | |
3077 | } | |
3078 | ||
3079 | static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) { | |
3080 | wxGridCellEnumEditor *src; | |
3081 | wxGridCellEditor *dest; | |
3082 | src = (wxGridCellEnumEditor *) ptr; | |
3083 | dest = (wxGridCellEditor *) src; | |
3084 | return (void *) dest; | |
3085 | } | |
3086 | ||
3087 | #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0)) | |
3088 | static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3089 | PyObject * _resultobj; | |
3090 | wxGridCellEnumEditor * _result; | |
33ff77f6 | 3091 | wxString * _arg0 = (wxString *) &wxPyEmptyString; |
19a97bd6 RD |
3092 | PyObject * _obj0 = 0; |
3093 | char *_kwnames[] = { "choices", NULL }; | |
3094 | char _ptemp[128]; | |
3095 | ||
3096 | self = self; | |
3097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0)) | |
3098 | return NULL; | |
3099 | if (_obj0) | |
3100 | { | |
3101 | _arg0 = wxString_LIST_helper(_obj0); | |
3102 | if (_arg0 == NULL) { | |
3103 | return NULL; | |
3104 | } | |
3105 | } | |
3106 | { | |
4268f798 | 3107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3108 | _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0); |
19a97bd6 | 3109 | |
4268f798 | 3110 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
3111 | if (PyErr_Occurred()) return NULL; |
3112 | } if (_result) { | |
3113 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p"); | |
3114 | _resultobj = Py_BuildValue("s",_ptemp); | |
3115 | } else { | |
3116 | Py_INCREF(Py_None); | |
3117 | _resultobj = Py_None; | |
3118 | } | |
3119 | { | |
3120 | delete [] _arg0; | |
3121 | } | |
3122 | return _resultobj; | |
3123 | } | |
3124 | ||
3125 | static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) { | |
3126 | wxGridCellAutoWrapStringEditor *src; | |
3127 | wxGridCellTextEditor *dest; | |
3128 | src = (wxGridCellAutoWrapStringEditor *) ptr; | |
3129 | dest = (wxGridCellTextEditor *) src; | |
3130 | return (void *) dest; | |
3131 | } | |
3132 | ||
3133 | static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) { | |
3134 | wxGridCellAutoWrapStringEditor *src; | |
3135 | wxGridCellEditor *dest; | |
3136 | src = (wxGridCellAutoWrapStringEditor *) ptr; | |
3137 | dest = (wxGridCellEditor *) src; | |
3138 | return (void *) dest; | |
3139 | } | |
3140 | ||
3141 | #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor()) | |
3142 | static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3143 | PyObject * _resultobj; | |
3144 | wxGridCellAutoWrapStringEditor * _result; | |
3145 | char *_kwnames[] = { NULL }; | |
3146 | char _ptemp[128]; | |
3147 | ||
3148 | self = self; | |
3149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames)) | |
3150 | return NULL; | |
3151 | { | |
4268f798 | 3152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3153 | _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor(); |
19a97bd6 | 3154 | |
4268f798 | 3155 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
3156 | if (PyErr_Occurred()) return NULL; |
3157 | } if (_result) { | |
3158 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p"); | |
3159 | _resultobj = Py_BuildValue("s",_ptemp); | |
3160 | } else { | |
3161 | Py_INCREF(Py_None); | |
3162 | _resultobj = Py_None; | |
3163 | } | |
3164 | return _resultobj; | |
3165 | } | |
3166 | ||
33ff77f6 RD |
3167 | static void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject * _self) { |
3168 | self->SetClientObject(new wxPyOORClientData(_self)); | |
3169 | } | |
3170 | static PyObject *_wrap_wxGridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3171 | PyObject * _resultobj; | |
3172 | wxGridCellAttr * _arg0; | |
3173 | PyObject * _arg1; | |
3174 | PyObject * _argo0 = 0; | |
3175 | PyObject * _obj1 = 0; | |
3176 | char *_kwnames[] = { "self","_self", NULL }; | |
3177 | ||
3178 | self = self; | |
3179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
3180 | return NULL; | |
3181 | if (_argo0) { | |
3182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p."); | |
3185 | return NULL; | |
3186 | } | |
3187 | } | |
3188 | { | |
3189 | _arg1 = _obj1; | |
3190 | } | |
3191 | { | |
3192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3193 | wxGridCellAttr__setOORInfo(_arg0,_arg1); | |
3194 | ||
3195 | wxPyEndAllowThreads(__tstate); | |
3196 | if (PyErr_Occurred()) return NULL; | |
3197 | } Py_INCREF(Py_None); | |
3198 | _resultobj = Py_None; | |
3199 | return _resultobj; | |
3200 | } | |
3201 | ||
b5a5d647 | 3202 | #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0)) |
f6bcfd97 BP |
3203 | static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
3204 | PyObject * _resultobj; | |
3205 | wxGridCellAttr * _result; | |
b5a5d647 RD |
3206 | wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL; |
3207 | PyObject * _argo0 = 0; | |
3208 | char *_kwnames[] = { "attrDefault", NULL }; | |
f6bcfd97 BP |
3209 | char _ptemp[128]; |
3210 | ||
3211 | self = self; | |
b5a5d647 | 3212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0)) |
f6bcfd97 | 3213 | return NULL; |
b5a5d647 RD |
3214 | if (_argo0) { |
3215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p."); | |
3218 | return NULL; | |
3219 | } | |
3220 | } | |
f6bcfd97 | 3221 | { |
4268f798 | 3222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3223 | _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0); |
f6bcfd97 | 3224 | |
4268f798 | 3225 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3226 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3227 | } if (_result) { |
3228 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
3229 | _resultobj = Py_BuildValue("s",_ptemp); | |
3230 | } else { | |
3231 | Py_INCREF(Py_None); | |
3232 | _resultobj = Py_None; | |
3233 | } | |
3234 | return _resultobj; | |
3235 | } | |
3236 | ||
3237 | #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone()) | |
3238 | static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3239 | PyObject * _resultobj; | |
3240 | wxGridCellAttr * _result; | |
3241 | wxGridCellAttr * _arg0; | |
3242 | PyObject * _argo0 = 0; | |
3243 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
3244 | |
3245 | self = self; | |
3246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0)) | |
3247 | return NULL; | |
3248 | if (_argo0) { | |
3249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p."); | |
3252 | return NULL; | |
3253 | } | |
3254 | } | |
3255 | { | |
4268f798 | 3256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3257 | _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0); |
f6bcfd97 | 3258 | |
4268f798 | 3259 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3260 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 3261 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
3262 | return _resultobj; |
3263 | } | |
3264 | ||
9416aa89 RD |
3265 | #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0)) |
3266 | static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3267 | PyObject * _resultobj; | |
3268 | wxGridCellAttr * _arg0; | |
3269 | wxGridCellAttr * _arg1; | |
3270 | PyObject * _argo0 = 0; | |
3271 | PyObject * _argo1 = 0; | |
3272 | char *_kwnames[] = { "self","mergefrom", NULL }; | |
3273 | ||
3274 | self = self; | |
3275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1)) | |
3276 | return NULL; | |
3277 | if (_argo0) { | |
3278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p."); | |
3281 | return NULL; | |
3282 | } | |
3283 | } | |
3284 | if (_argo1) { | |
3285 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3286 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
3287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p."); | |
3288 | return NULL; | |
3289 | } | |
3290 | } | |
3291 | { | |
4268f798 | 3292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3293 | wxGridCellAttr_MergeWith(_arg0,_arg1); |
9416aa89 | 3294 | |
4268f798 | 3295 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3296 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
3297 | } Py_INCREF(Py_None); |
3298 | _resultobj = Py_None; | |
3299 | return _resultobj; | |
3300 | } | |
3301 | ||
f6bcfd97 BP |
3302 | #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef()) |
3303 | static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3304 | PyObject * _resultobj; | |
3305 | wxGridCellAttr * _arg0; | |
3306 | PyObject * _argo0 = 0; | |
3307 | char *_kwnames[] = { "self", NULL }; | |
3308 | ||
3309 | self = self; | |
3310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0)) | |
3311 | return NULL; | |
3312 | if (_argo0) { | |
3313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p."); | |
3316 | return NULL; | |
3317 | } | |
3318 | } | |
3319 | { | |
4268f798 | 3320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3321 | wxGridCellAttr_IncRef(_arg0); |
f6bcfd97 | 3322 | |
4268f798 | 3323 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3324 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3325 | } Py_INCREF(Py_None); |
3326 | _resultobj = Py_None; | |
3327 | return _resultobj; | |
3328 | } | |
3329 | ||
3330 | #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef()) | |
3331 | static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3332 | PyObject * _resultobj; | |
3333 | wxGridCellAttr * _arg0; | |
3334 | PyObject * _argo0 = 0; | |
3335 | char *_kwnames[] = { "self", NULL }; | |
3336 | ||
3337 | self = self; | |
3338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0)) | |
3339 | return NULL; | |
3340 | if (_argo0) { | |
3341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p."); | |
3344 | return NULL; | |
3345 | } | |
3346 | } | |
3347 | { | |
4268f798 | 3348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3349 | wxGridCellAttr_DecRef(_arg0); |
f6bcfd97 | 3350 | |
4268f798 | 3351 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3352 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3353 | } Py_INCREF(Py_None); |
3354 | _resultobj = Py_None; | |
3355 | return _resultobj; | |
3356 | } | |
3357 | ||
3358 | #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
3359 | static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3360 | PyObject * _resultobj; | |
3361 | wxGridCellAttr * _arg0; | |
3362 | wxColour * _arg1; | |
3363 | PyObject * _argo0 = 0; | |
3364 | wxColour temp; | |
3365 | PyObject * _obj1 = 0; | |
3366 | char *_kwnames[] = { "self","colText", NULL }; | |
3367 | ||
3368 | self = self; | |
3369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
3370 | return NULL; | |
3371 | if (_argo0) { | |
3372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p."); | |
3375 | return NULL; | |
3376 | } | |
3377 | } | |
3378 | { | |
3379 | _arg1 = &temp; | |
3380 | if (! wxColour_helper(_obj1, &_arg1)) | |
3381 | return NULL; | |
3382 | } | |
3383 | { | |
4268f798 | 3384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3385 | wxGridCellAttr_SetTextColour(_arg0,*_arg1); |
f6bcfd97 | 3386 | |
4268f798 | 3387 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3388 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3389 | } Py_INCREF(Py_None); |
3390 | _resultobj = Py_None; | |
3391 | return _resultobj; | |
3392 | } | |
3393 | ||
3394 | #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
3395 | static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3396 | PyObject * _resultobj; | |
3397 | wxGridCellAttr * _arg0; | |
3398 | wxColour * _arg1; | |
3399 | PyObject * _argo0 = 0; | |
3400 | wxColour temp; | |
3401 | PyObject * _obj1 = 0; | |
3402 | char *_kwnames[] = { "self","colBack", NULL }; | |
3403 | ||
3404 | self = self; | |
3405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
3406 | return NULL; | |
3407 | if (_argo0) { | |
3408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p."); | |
3411 | return NULL; | |
3412 | } | |
3413 | } | |
3414 | { | |
3415 | _arg1 = &temp; | |
3416 | if (! wxColour_helper(_obj1, &_arg1)) | |
3417 | return NULL; | |
3418 | } | |
3419 | { | |
4268f798 | 3420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3421 | wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 3422 | |
4268f798 | 3423 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3424 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3425 | } Py_INCREF(Py_None); |
3426 | _resultobj = Py_None; | |
3427 | return _resultobj; | |
3428 | } | |
3429 | ||
3430 | #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
3431 | static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3432 | PyObject * _resultobj; | |
3433 | wxGridCellAttr * _arg0; | |
3434 | wxFont * _arg1; | |
3435 | PyObject * _argo0 = 0; | |
3436 | PyObject * _argo1 = 0; | |
3437 | char *_kwnames[] = { "self","font", NULL }; | |
3438 | ||
3439 | self = self; | |
3440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1)) | |
3441 | return NULL; | |
3442 | if (_argo0) { | |
3443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p."); | |
3446 | return NULL; | |
3447 | } | |
3448 | } | |
3449 | if (_argo1) { | |
3450 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3451 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
3452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p."); | |
3453 | return NULL; | |
3454 | } | |
3455 | } | |
3456 | { | |
4268f798 | 3457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3458 | wxGridCellAttr_SetFont(_arg0,*_arg1); |
f6bcfd97 | 3459 | |
4268f798 | 3460 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3461 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3462 | } Py_INCREF(Py_None); |
3463 | _resultobj = Py_None; | |
3464 | return _resultobj; | |
3465 | } | |
3466 | ||
3467 | #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1)) | |
3468 | static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3469 | PyObject * _resultobj; | |
3470 | wxGridCellAttr * _arg0; | |
3471 | int _arg1; | |
3472 | int _arg2; | |
3473 | PyObject * _argo0 = 0; | |
3474 | char *_kwnames[] = { "self","hAlign","vAlign", NULL }; | |
3475 | ||
3476 | self = self; | |
3477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3478 | return NULL; | |
3479 | if (_argo0) { | |
3480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p."); | |
3483 | return NULL; | |
3484 | } | |
3485 | } | |
3486 | { | |
4268f798 | 3487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3488 | wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 3489 | |
4268f798 | 3490 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3491 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3492 | } Py_INCREF(Py_None); |
3493 | _resultobj = Py_None; | |
3494 | return _resultobj; | |
3495 | } | |
3496 | ||
3497 | #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) | |
3498 | static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3499 | PyObject * _resultobj; | |
3500 | wxGridCellAttr * _arg0; | |
3501 | bool _arg1 = (bool ) TRUE; | |
3502 | PyObject * _argo0 = 0; | |
3503 | int tempbool1 = (int) TRUE; | |
3504 | char *_kwnames[] = { "self","isReadOnly", NULL }; | |
3505 | ||
3506 | self = self; | |
3507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1)) | |
3508 | return NULL; | |
3509 | if (_argo0) { | |
3510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p."); | |
3513 | return NULL; | |
3514 | } | |
3515 | } | |
3516 | _arg1 = (bool ) tempbool1; | |
3517 | { | |
4268f798 | 3518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3519 | wxGridCellAttr_SetReadOnly(_arg0,_arg1); |
f6bcfd97 | 3520 | |
4268f798 | 3521 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3522 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3523 | } Py_INCREF(Py_None); |
3524 | _resultobj = Py_None; | |
3525 | return _resultobj; | |
3526 | } | |
3527 | ||
3528 | #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0)) | |
3529 | static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3530 | PyObject * _resultobj; | |
3531 | wxGridCellAttr * _arg0; | |
3532 | wxGridCellRenderer * _arg1; | |
3533 | PyObject * _argo0 = 0; | |
3534 | PyObject * _argo1 = 0; | |
3535 | char *_kwnames[] = { "self","renderer", NULL }; | |
3536 | ||
3537 | self = self; | |
3538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1)) | |
3539 | return NULL; | |
3540 | if (_argo0) { | |
3541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p."); | |
3544 | return NULL; | |
3545 | } | |
3546 | } | |
3547 | if (_argo1) { | |
3548 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3549 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) { | |
3550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p."); | |
3551 | return NULL; | |
3552 | } | |
3553 | } | |
3554 | { | |
4268f798 | 3555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3556 | wxGridCellAttr_SetRenderer(_arg0,_arg1); |
f6bcfd97 | 3557 | |
4268f798 | 3558 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3559 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3560 | } Py_INCREF(Py_None); |
3561 | _resultobj = Py_None; | |
3562 | return _resultobj; | |
3563 | } | |
3564 | ||
3565 | #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0)) | |
3566 | static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3567 | PyObject * _resultobj; | |
3568 | wxGridCellAttr * _arg0; | |
3569 | wxGridCellEditor * _arg1; | |
3570 | PyObject * _argo0 = 0; | |
3571 | PyObject * _argo1 = 0; | |
3572 | char *_kwnames[] = { "self","editor", NULL }; | |
3573 | ||
3574 | self = self; | |
3575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1)) | |
3576 | return NULL; | |
3577 | if (_argo0) { | |
3578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p."); | |
3581 | return NULL; | |
3582 | } | |
3583 | } | |
3584 | if (_argo1) { | |
3585 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3586 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) { | |
3587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p."); | |
3588 | return NULL; | |
3589 | } | |
3590 | } | |
3591 | { | |
4268f798 | 3592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3593 | wxGridCellAttr_SetEditor(_arg0,_arg1); |
f6bcfd97 | 3594 | |
4268f798 | 3595 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3596 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3597 | } Py_INCREF(Py_None); |
3598 | _resultobj = Py_None; | |
3599 | return _resultobj; | |
3600 | } | |
3601 | ||
9416aa89 RD |
3602 | #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0)) |
3603 | static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3604 | PyObject * _resultobj; | |
3605 | wxGridCellAttr * _arg0; | |
3606 | wxGridCellAttr::wxAttrKind _arg1; | |
3607 | PyObject * _argo0 = 0; | |
3608 | char *_kwnames[] = { "self","kind", NULL }; | |
3609 | ||
3610 | self = self; | |
3611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1)) | |
3612 | return NULL; | |
3613 | if (_argo0) { | |
3614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p."); | |
3617 | return NULL; | |
3618 | } | |
3619 | } | |
3620 | { | |
4268f798 | 3621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3622 | wxGridCellAttr_SetKind(_arg0,_arg1); |
9416aa89 | 3623 | |
4268f798 | 3624 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3625 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
3626 | } Py_INCREF(Py_None); |
3627 | _resultobj = Py_None; | |
3628 | return _resultobj; | |
3629 | } | |
3630 | ||
f6bcfd97 BP |
3631 | #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour()) |
3632 | static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3633 | PyObject * _resultobj; | |
3634 | bool _result; | |
3635 | wxGridCellAttr * _arg0; | |
3636 | PyObject * _argo0 = 0; | |
3637 | char *_kwnames[] = { "self", NULL }; | |
3638 | ||
3639 | self = self; | |
3640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0)) | |
3641 | return NULL; | |
3642 | if (_argo0) { | |
3643 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3644 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p."); | |
3646 | return NULL; | |
3647 | } | |
3648 | } | |
3649 | { | |
4268f798 | 3650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3651 | _result = (bool )wxGridCellAttr_HasTextColour(_arg0); |
f6bcfd97 | 3652 | |
4268f798 | 3653 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3654 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3655 | } _resultobj = Py_BuildValue("i",_result); |
3656 | return _resultobj; | |
3657 | } | |
3658 | ||
3659 | #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour()) | |
3660 | static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3661 | PyObject * _resultobj; | |
3662 | bool _result; | |
3663 | wxGridCellAttr * _arg0; | |
3664 | PyObject * _argo0 = 0; | |
3665 | char *_kwnames[] = { "self", NULL }; | |
3666 | ||
3667 | self = self; | |
3668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0)) | |
3669 | return NULL; | |
3670 | if (_argo0) { | |
3671 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3672 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3673 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p."); | |
3674 | return NULL; | |
3675 | } | |
3676 | } | |
3677 | { | |
4268f798 | 3678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3679 | _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0); |
f6bcfd97 | 3680 | |
4268f798 | 3681 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3682 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3683 | } _resultobj = Py_BuildValue("i",_result); |
3684 | return _resultobj; | |
3685 | } | |
3686 | ||
3687 | #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont()) | |
3688 | static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3689 | PyObject * _resultobj; | |
3690 | bool _result; | |
3691 | wxGridCellAttr * _arg0; | |
3692 | PyObject * _argo0 = 0; | |
3693 | char *_kwnames[] = { "self", NULL }; | |
3694 | ||
3695 | self = self; | |
3696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0)) | |
3697 | return NULL; | |
3698 | if (_argo0) { | |
3699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p."); | |
3702 | return NULL; | |
3703 | } | |
3704 | } | |
3705 | { | |
4268f798 | 3706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3707 | _result = (bool )wxGridCellAttr_HasFont(_arg0); |
f6bcfd97 | 3708 | |
4268f798 | 3709 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3710 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3711 | } _resultobj = Py_BuildValue("i",_result); |
3712 | return _resultobj; | |
3713 | } | |
3714 | ||
3715 | #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment()) | |
3716 | static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3717 | PyObject * _resultobj; | |
3718 | bool _result; | |
3719 | wxGridCellAttr * _arg0; | |
3720 | PyObject * _argo0 = 0; | |
3721 | char *_kwnames[] = { "self", NULL }; | |
3722 | ||
3723 | self = self; | |
3724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0)) | |
3725 | return NULL; | |
3726 | if (_argo0) { | |
3727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p."); | |
3730 | return NULL; | |
3731 | } | |
3732 | } | |
3733 | { | |
4268f798 | 3734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3735 | _result = (bool )wxGridCellAttr_HasAlignment(_arg0); |
f6bcfd97 | 3736 | |
4268f798 | 3737 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3738 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3739 | } _resultobj = Py_BuildValue("i",_result); |
3740 | return _resultobj; | |
3741 | } | |
3742 | ||
3743 | #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer()) | |
3744 | static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3745 | PyObject * _resultobj; | |
3746 | bool _result; | |
3747 | wxGridCellAttr * _arg0; | |
3748 | PyObject * _argo0 = 0; | |
3749 | char *_kwnames[] = { "self", NULL }; | |
3750 | ||
3751 | self = self; | |
3752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0)) | |
3753 | return NULL; | |
3754 | if (_argo0) { | |
3755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p."); | |
3758 | return NULL; | |
3759 | } | |
3760 | } | |
3761 | { | |
4268f798 | 3762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3763 | _result = (bool )wxGridCellAttr_HasRenderer(_arg0); |
f6bcfd97 | 3764 | |
4268f798 | 3765 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3766 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3767 | } _resultobj = Py_BuildValue("i",_result); |
3768 | return _resultobj; | |
3769 | } | |
3770 | ||
3771 | #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor()) | |
3772 | static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3773 | PyObject * _resultobj; | |
3774 | bool _result; | |
3775 | wxGridCellAttr * _arg0; | |
3776 | PyObject * _argo0 = 0; | |
3777 | char *_kwnames[] = { "self", NULL }; | |
3778 | ||
3779 | self = self; | |
3780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0)) | |
3781 | return NULL; | |
3782 | if (_argo0) { | |
3783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p."); | |
3786 | return NULL; | |
3787 | } | |
3788 | } | |
3789 | { | |
4268f798 | 3790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3791 | _result = (bool )wxGridCellAttr_HasEditor(_arg0); |
f6bcfd97 | 3792 | |
4268f798 | 3793 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3794 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3795 | } _resultobj = Py_BuildValue("i",_result); |
3796 | return _resultobj; | |
3797 | } | |
3798 | ||
9416aa89 RD |
3799 | #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode()) |
3800 | static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3801 | PyObject * _resultobj; | |
3802 | bool _result; | |
3803 | wxGridCellAttr * _arg0; | |
3804 | PyObject * _argo0 = 0; | |
3805 | char *_kwnames[] = { "self", NULL }; | |
3806 | ||
3807 | self = self; | |
3808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0)) | |
3809 | return NULL; | |
3810 | if (_argo0) { | |
3811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p."); | |
3814 | return NULL; | |
3815 | } | |
3816 | } | |
3817 | { | |
4268f798 | 3818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3819 | _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0); |
9416aa89 | 3820 | |
4268f798 | 3821 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3822 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
3823 | } _resultobj = Py_BuildValue("i",_result); |
3824 | return _resultobj; | |
3825 | } | |
3826 | ||
f6bcfd97 BP |
3827 | #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour()) |
3828 | static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3829 | PyObject * _resultobj; | |
3830 | wxColour * _result; | |
3831 | wxGridCellAttr * _arg0; | |
3832 | PyObject * _argo0 = 0; | |
3833 | char *_kwnames[] = { "self", NULL }; | |
3834 | char _ptemp[128]; | |
3835 | ||
3836 | self = self; | |
3837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0)) | |
3838 | return NULL; | |
3839 | if (_argo0) { | |
3840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p."); | |
3843 | return NULL; | |
3844 | } | |
3845 | } | |
3846 | { | |
4268f798 | 3847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3848 | _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0)); |
f6bcfd97 | 3849 | |
4268f798 | 3850 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3851 | if (PyErr_Occurred()) return NULL; |
c5943253 RD |
3852 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3853 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3854 | return _resultobj; |
3855 | } | |
3856 | ||
3857 | #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
3858 | static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3859 | PyObject * _resultobj; | |
3860 | wxColour * _result; | |
3861 | wxGridCellAttr * _arg0; | |
3862 | PyObject * _argo0 = 0; | |
3863 | char *_kwnames[] = { "self", NULL }; | |
3864 | char _ptemp[128]; | |
3865 | ||
3866 | self = self; | |
3867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0)) | |
3868 | return NULL; | |
3869 | if (_argo0) { | |
3870 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3871 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p."); | |
3873 | return NULL; | |
3874 | } | |
3875 | } | |
3876 | { | |
4268f798 | 3877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3878 | _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0)); |
f6bcfd97 | 3879 | |
4268f798 | 3880 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3881 | if (PyErr_Occurred()) return NULL; |
c5943253 RD |
3882 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3883 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3884 | return _resultobj; |
3885 | } | |
3886 | ||
3887 | #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont()) | |
3888 | static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3889 | PyObject * _resultobj; | |
3890 | wxFont * _result; | |
3891 | wxGridCellAttr * _arg0; | |
3892 | PyObject * _argo0 = 0; | |
3893 | char *_kwnames[] = { "self", NULL }; | |
3894 | char _ptemp[128]; | |
3895 | ||
3896 | self = self; | |
3897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0)) | |
3898 | return NULL; | |
3899 | if (_argo0) { | |
3900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p."); | |
3903 | return NULL; | |
3904 | } | |
3905 | } | |
3906 | { | |
4268f798 | 3907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3908 | _result = new wxFont (wxGridCellAttr_GetFont(_arg0)); |
f6bcfd97 | 3909 | |
4268f798 | 3910 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3911 | if (PyErr_Occurred()) return NULL; |
c5943253 RD |
3912 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
3913 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3914 | return _resultobj; |
3915 | } | |
3916 | ||
3917 | #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1)) | |
3918 | static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3919 | PyObject * _resultobj; | |
3920 | wxGridCellAttr * _arg0; | |
3921 | int * _arg1; | |
3922 | int temp; | |
3923 | int * _arg2; | |
3924 | int temp0; | |
3925 | PyObject * _argo0 = 0; | |
3926 | char *_kwnames[] = { "self", NULL }; | |
3927 | ||
3928 | self = self; | |
3929 | { | |
3930 | _arg1 = &temp; | |
3931 | } | |
3932 | { | |
3933 | _arg2 = &temp0; | |
3934 | } | |
3935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0)) | |
3936 | return NULL; | |
3937 | if (_argo0) { | |
3938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p."); | |
3941 | return NULL; | |
3942 | } | |
3943 | } | |
3944 | { | |
4268f798 | 3945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3946 | wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 3947 | |
4268f798 | 3948 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3949 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3950 | } Py_INCREF(Py_None); |
3951 | _resultobj = Py_None; | |
3952 | { | |
3953 | PyObject *o; | |
3954 | o = PyInt_FromLong((long) (*_arg1)); | |
3955 | _resultobj = t_output_helper(_resultobj, o); | |
3956 | } | |
3957 | { | |
3958 | PyObject *o; | |
3959 | o = PyInt_FromLong((long) (*_arg2)); | |
3960 | _resultobj = t_output_helper(_resultobj, o); | |
3961 | } | |
3962 | return _resultobj; | |
3963 | } | |
3964 | ||
3965 | #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2)) | |
3966 | static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3967 | PyObject * _resultobj; | |
3968 | wxGridCellRenderer * _result; | |
3969 | wxGridCellAttr * _arg0; | |
3970 | wxGrid * _arg1; | |
3971 | int _arg2; | |
3972 | int _arg3; | |
3973 | PyObject * _argo0 = 0; | |
3974 | PyObject * _argo1 = 0; | |
3975 | char *_kwnames[] = { "self","grid","row","col", NULL }; | |
f6bcfd97 BP |
3976 | |
3977 | self = self; | |
3978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
3979 | return NULL; | |
3980 | if (_argo0) { | |
3981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p."); | |
3984 | return NULL; | |
3985 | } | |
3986 | } | |
3987 | if (_argo1) { | |
3988 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3989 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
3990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p."); | |
3991 | return NULL; | |
3992 | } | |
3993 | } | |
3994 | { | |
4268f798 | 3995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3996 | _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 3997 | |
4268f798 | 3998 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3999 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4000 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
4001 | return _resultobj; |
4002 | } | |
4003 | ||
4004 | #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2)) | |
4005 | static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4006 | PyObject * _resultobj; | |
4007 | wxGridCellEditor * _result; | |
4008 | wxGridCellAttr * _arg0; | |
4009 | wxGrid * _arg1; | |
4010 | int _arg2; | |
4011 | int _arg3; | |
4012 | PyObject * _argo0 = 0; | |
4013 | PyObject * _argo1 = 0; | |
4014 | char *_kwnames[] = { "self","grid","row","col", NULL }; | |
f6bcfd97 BP |
4015 | |
4016 | self = self; | |
4017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4018 | return NULL; | |
4019 | if (_argo0) { | |
4020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p."); | |
4023 | return NULL; | |
4024 | } | |
4025 | } | |
4026 | if (_argo1) { | |
4027 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4028 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
4029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p."); | |
4030 | return NULL; | |
4031 | } | |
4032 | } | |
4033 | { | |
4268f798 | 4034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4035 | _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4036 | |
4268f798 | 4037 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4038 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4039 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
4040 | return _resultobj; |
4041 | } | |
4042 | ||
4043 | #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly()) | |
4044 | static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4045 | PyObject * _resultobj; | |
4046 | bool _result; | |
4047 | wxGridCellAttr * _arg0; | |
4048 | PyObject * _argo0 = 0; | |
4049 | char *_kwnames[] = { "self", NULL }; | |
4050 | ||
4051 | self = self; | |
4052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0)) | |
4053 | return NULL; | |
4054 | if (_argo0) { | |
4055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p."); | |
4058 | return NULL; | |
4059 | } | |
4060 | } | |
4061 | { | |
4268f798 | 4062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4063 | _result = (bool )wxGridCellAttr_IsReadOnly(_arg0); |
f6bcfd97 | 4064 | |
4268f798 | 4065 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4066 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4067 | } _resultobj = Py_BuildValue("i",_result); |
4068 | return _resultobj; | |
4069 | } | |
4070 | ||
4071 | #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0)) | |
4072 | static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4073 | PyObject * _resultobj; | |
4074 | wxGridCellAttr * _arg0; | |
4075 | wxGridCellAttr * _arg1; | |
4076 | PyObject * _argo0 = 0; | |
4077 | PyObject * _argo1 = 0; | |
4078 | char *_kwnames[] = { "self","defAttr", NULL }; | |
4079 | ||
4080 | self = self; | |
4081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1)) | |
4082 | return NULL; | |
4083 | if (_argo0) { | |
4084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p."); | |
4087 | return NULL; | |
4088 | } | |
4089 | } | |
4090 | if (_argo1) { | |
4091 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4092 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p."); | |
4094 | return NULL; | |
4095 | } | |
4096 | } | |
4097 | { | |
4268f798 | 4098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4099 | wxGridCellAttr_SetDefAttr(_arg0,_arg1); |
f6bcfd97 | 4100 | |
4268f798 | 4101 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4102 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4103 | } Py_INCREF(Py_None); |
4104 | _resultobj = Py_None; | |
4105 | return _resultobj; | |
4106 | } | |
4107 | ||
4108 | #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider()) | |
4109 | static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4110 | PyObject * _resultobj; | |
4111 | wxGridCellAttrProvider * _result; | |
4112 | char *_kwnames[] = { NULL }; | |
4113 | char _ptemp[128]; | |
4114 | ||
4115 | self = self; | |
4116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames)) | |
4117 | return NULL; | |
4118 | { | |
4268f798 | 4119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4120 | _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider(); |
f6bcfd97 | 4121 | |
4268f798 | 4122 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4123 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4124 | } if (_result) { |
4125 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p"); | |
4126 | _resultobj = Py_BuildValue("s",_ptemp); | |
4127 | } else { | |
4128 | Py_INCREF(Py_None); | |
4129 | _resultobj = Py_None; | |
4130 | } | |
4131 | return _resultobj; | |
4132 | } | |
4133 | ||
33ff77f6 RD |
4134 | static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject * _self) { |
4135 | self->SetClientObject(new wxPyOORClientData(_self)); | |
4136 | } | |
4137 | static PyObject *_wrap_wxGridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4138 | PyObject * _resultobj; | |
4139 | wxGridCellAttrProvider * _arg0; | |
4140 | PyObject * _arg1; | |
4141 | PyObject * _argo0 = 0; | |
4142 | PyObject * _obj1 = 0; | |
4143 | char *_kwnames[] = { "self","_self", NULL }; | |
4144 | ||
4145 | self = self; | |
4146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
4147 | return NULL; | |
4148 | if (_argo0) { | |
4149 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4150 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p."); | |
4152 | return NULL; | |
4153 | } | |
4154 | } | |
4155 | { | |
4156 | _arg1 = _obj1; | |
4157 | } | |
4158 | { | |
4159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4160 | wxGridCellAttrProvider__setOORInfo(_arg0,_arg1); | |
4161 | ||
4162 | wxPyEndAllowThreads(__tstate); | |
4163 | if (PyErr_Occurred()) return NULL; | |
4164 | } Py_INCREF(Py_None); | |
4165 | _resultobj = Py_None; | |
4166 | return _resultobj; | |
4167 | } | |
4168 | ||
9416aa89 | 4169 | #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
4170 | static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
4171 | PyObject * _resultobj; | |
4172 | wxGridCellAttr * _result; | |
4173 | wxGridCellAttrProvider * _arg0; | |
4174 | int _arg1; | |
4175 | int _arg2; | |
9416aa89 | 4176 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 4177 | PyObject * _argo0 = 0; |
9416aa89 | 4178 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
4179 | |
4180 | self = self; | |
9416aa89 | 4181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
4182 | return NULL; |
4183 | if (_argo0) { | |
4184 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4185 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p."); | |
4187 | return NULL; | |
4188 | } | |
4189 | } | |
4190 | { | |
4268f798 | 4191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4192 | _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4193 | |
4268f798 | 4194 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4195 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4196 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
4197 | return _resultobj; |
4198 | } | |
4199 | ||
4200 | #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
4201 | static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4202 | PyObject * _resultobj; | |
4203 | wxGridCellAttrProvider * _arg0; | |
4204 | wxGridCellAttr * _arg1; | |
4205 | int _arg2; | |
4206 | int _arg3; | |
4207 | PyObject * _argo0 = 0; | |
4208 | PyObject * _argo1 = 0; | |
4209 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
4210 | ||
4211 | self = self; | |
4212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4213 | return NULL; | |
4214 | if (_argo0) { | |
4215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p."); | |
4218 | return NULL; | |
4219 | } | |
4220 | } | |
4221 | if (_argo1) { | |
4222 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4223 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p."); | |
4225 | return NULL; | |
4226 | } | |
4227 | } | |
4228 | { | |
4268f798 | 4229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4230 | wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4231 | |
4268f798 | 4232 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4233 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4234 | } Py_INCREF(Py_None); |
4235 | _resultobj = Py_None; | |
4236 | return _resultobj; | |
4237 | } | |
4238 | ||
4239 | #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
4240 | static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4241 | PyObject * _resultobj; | |
4242 | wxGridCellAttrProvider * _arg0; | |
4243 | wxGridCellAttr * _arg1; | |
4244 | int _arg2; | |
4245 | PyObject * _argo0 = 0; | |
4246 | PyObject * _argo1 = 0; | |
4247 | char *_kwnames[] = { "self","attr","row", NULL }; | |
4248 | ||
4249 | self = self; | |
4250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4251 | return NULL; | |
4252 | if (_argo0) { | |
4253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p."); | |
4256 | return NULL; | |
4257 | } | |
4258 | } | |
4259 | if (_argo1) { | |
4260 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4261 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p."); | |
4263 | return NULL; | |
4264 | } | |
4265 | } | |
4266 | { | |
4268f798 | 4267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4268 | wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4269 | |
4268f798 | 4270 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4271 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4272 | } Py_INCREF(Py_None); |
4273 | _resultobj = Py_None; | |
4274 | return _resultobj; | |
4275 | } | |
4276 | ||
4277 | #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
4278 | static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4279 | PyObject * _resultobj; | |
4280 | wxGridCellAttrProvider * _arg0; | |
4281 | wxGridCellAttr * _arg1; | |
4282 | int _arg2; | |
4283 | PyObject * _argo0 = 0; | |
4284 | PyObject * _argo1 = 0; | |
4285 | char *_kwnames[] = { "self","attr","col", NULL }; | |
4286 | ||
4287 | self = self; | |
4288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4289 | return NULL; | |
4290 | if (_argo0) { | |
4291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p."); | |
4294 | return NULL; | |
4295 | } | |
4296 | } | |
4297 | if (_argo1) { | |
4298 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4299 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p."); | |
4301 | return NULL; | |
4302 | } | |
4303 | } | |
4304 | { | |
4268f798 | 4305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4306 | wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4307 | |
4268f798 | 4308 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4309 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4310 | } Py_INCREF(Py_None); |
4311 | _resultobj = Py_None; | |
4312 | return _resultobj; | |
4313 | } | |
4314 | ||
4315 | #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1)) | |
4316 | static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4317 | PyObject * _resultobj; | |
4318 | wxGridCellAttrProvider * _arg0; | |
4319 | size_t _arg1; | |
4320 | int _arg2; | |
4321 | PyObject * _argo0 = 0; | |
4322 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
4323 | ||
4324 | self = self; | |
4325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4326 | return NULL; | |
4327 | if (_argo0) { | |
4328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p."); | |
4331 | return NULL; | |
4332 | } | |
4333 | } | |
4334 | { | |
4268f798 | 4335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4336 | wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 4337 | |
4268f798 | 4338 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4339 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4340 | } Py_INCREF(Py_None); |
4341 | _resultobj = Py_None; | |
4342 | return _resultobj; | |
4343 | } | |
4344 | ||
4345 | #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1)) | |
4346 | static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4347 | PyObject * _resultobj; | |
4348 | wxGridCellAttrProvider * _arg0; | |
4349 | size_t _arg1; | |
4350 | int _arg2; | |
4351 | PyObject * _argo0 = 0; | |
4352 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
4353 | ||
4354 | self = self; | |
4355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4356 | return NULL; | |
4357 | if (_argo0) { | |
4358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p."); | |
4361 | return NULL; | |
4362 | } | |
4363 | } | |
4364 | { | |
4268f798 | 4365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4366 | wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 4367 | |
4268f798 | 4368 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4369 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4370 | } Py_INCREF(Py_None); |
4371 | _resultobj = Py_None; | |
4372 | return _resultobj; | |
4373 | } | |
4374 | ||
4375 | static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) { | |
4376 | wxPyGridCellAttrProvider *src; | |
4377 | wxGridCellAttrProvider *dest; | |
4378 | src = (wxPyGridCellAttrProvider *) ptr; | |
4379 | dest = (wxGridCellAttrProvider *) src; | |
4380 | return (void *) dest; | |
4381 | } | |
4382 | ||
4383 | #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider()) | |
4384 | static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4385 | PyObject * _resultobj; | |
4386 | wxPyGridCellAttrProvider * _result; | |
4387 | char *_kwnames[] = { NULL }; | |
4388 | char _ptemp[128]; | |
4389 | ||
4390 | self = self; | |
4391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames)) | |
4392 | return NULL; | |
4393 | { | |
4268f798 | 4394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4395 | _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider(); |
f6bcfd97 | 4396 | |
4268f798 | 4397 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4398 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4399 | } if (_result) { |
4400 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p"); | |
4401 | _resultobj = Py_BuildValue("s",_ptemp); | |
4402 | } else { | |
4403 | Py_INCREF(Py_None); | |
4404 | _resultobj = Py_None; | |
4405 | } | |
4406 | return _resultobj; | |
4407 | } | |
4408 | ||
0122b7e3 RD |
4409 | #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
4410 | static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4411 | PyObject * _resultobj; |
4412 | wxPyGridCellAttrProvider * _arg0; | |
4413 | PyObject * _arg1; | |
4414 | PyObject * _arg2; | |
4415 | PyObject * _argo0 = 0; | |
4416 | PyObject * _obj1 = 0; | |
4417 | PyObject * _obj2 = 0; | |
4418 | char *_kwnames[] = { "self","self","_class", NULL }; | |
4419 | ||
4420 | self = self; | |
0122b7e3 | 4421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
4422 | return NULL; |
4423 | if (_argo0) { | |
4424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
0122b7e3 | 4426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p."); |
f6bcfd97 BP |
4427 | return NULL; |
4428 | } | |
4429 | } | |
4430 | { | |
4431 | _arg1 = _obj1; | |
4432 | } | |
4433 | { | |
4434 | _arg2 = _obj2; | |
4435 | } | |
4436 | { | |
4268f798 | 4437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4438 | wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 4439 | |
4268f798 | 4440 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4441 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4442 | } Py_INCREF(Py_None); |
4443 | _resultobj = Py_None; | |
4444 | return _resultobj; | |
4445 | } | |
4446 | ||
9416aa89 | 4447 | #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
4448 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
4449 | PyObject * _resultobj; | |
4450 | wxGridCellAttr * _result; | |
4451 | wxPyGridCellAttrProvider * _arg0; | |
4452 | int _arg1; | |
4453 | int _arg2; | |
9416aa89 | 4454 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 4455 | PyObject * _argo0 = 0; |
9416aa89 | 4456 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
4457 | |
4458 | self = self; | |
9416aa89 | 4459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
4460 | return NULL; |
4461 | if (_argo0) { | |
4462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4465 | return NULL; | |
4466 | } | |
4467 | } | |
4468 | { | |
4268f798 | 4469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4470 | _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4471 | |
4268f798 | 4472 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4473 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4474 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
4475 | return _resultobj; |
4476 | } | |
4477 | ||
4478 | #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
4479 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4480 | PyObject * _resultobj; | |
4481 | wxPyGridCellAttrProvider * _arg0; | |
4482 | wxGridCellAttr * _arg1; | |
4483 | int _arg2; | |
4484 | int _arg3; | |
4485 | PyObject * _argo0 = 0; | |
4486 | PyObject * _argo1 = 0; | |
4487 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
4488 | ||
4489 | self = self; | |
4490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4491 | return NULL; | |
4492 | if (_argo0) { | |
4493 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4494 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4496 | return NULL; | |
4497 | } | |
4498 | } | |
4499 | if (_argo1) { | |
4500 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4501 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p."); | |
4503 | return NULL; | |
4504 | } | |
4505 | } | |
4506 | { | |
4268f798 | 4507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4508 | wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4509 | |
4268f798 | 4510 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4511 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4512 | } Py_INCREF(Py_None); |
4513 | _resultobj = Py_None; | |
4514 | return _resultobj; | |
4515 | } | |
4516 | ||
4517 | #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1)) | |
4518 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4519 | PyObject * _resultobj; | |
4520 | wxPyGridCellAttrProvider * _arg0; | |
4521 | wxGridCellAttr * _arg1; | |
4522 | int _arg2; | |
4523 | PyObject * _argo0 = 0; | |
4524 | PyObject * _argo1 = 0; | |
4525 | char *_kwnames[] = { "self","attr","row", NULL }; | |
4526 | ||
4527 | self = self; | |
4528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4529 | return NULL; | |
4530 | if (_argo0) { | |
4531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4534 | return NULL; | |
4535 | } | |
4536 | } | |
4537 | if (_argo1) { | |
4538 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4539 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p."); | |
4541 | return NULL; | |
4542 | } | |
4543 | } | |
4544 | { | |
4268f798 | 4545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4546 | wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4547 | |
4268f798 | 4548 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4549 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4550 | } Py_INCREF(Py_None); |
4551 | _resultobj = Py_None; | |
4552 | return _resultobj; | |
4553 | } | |
4554 | ||
4555 | #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1)) | |
4556 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4557 | PyObject * _resultobj; | |
4558 | wxPyGridCellAttrProvider * _arg0; | |
4559 | wxGridCellAttr * _arg1; | |
4560 | int _arg2; | |
4561 | PyObject * _argo0 = 0; | |
4562 | PyObject * _argo1 = 0; | |
4563 | char *_kwnames[] = { "self","attr","col", NULL }; | |
4564 | ||
4565 | self = self; | |
4566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4567 | return NULL; | |
4568 | if (_argo0) { | |
4569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4572 | return NULL; | |
4573 | } | |
4574 | } | |
4575 | if (_argo1) { | |
4576 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4577 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p."); | |
4579 | return NULL; | |
4580 | } | |
4581 | } | |
4582 | { | |
4268f798 | 4583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4584 | wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4585 | |
4268f798 | 4586 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4587 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4588 | } Py_INCREF(Py_None); |
4589 | _resultobj = Py_None; | |
4590 | return _resultobj; | |
4591 | } | |
4592 | ||
9416aa89 RD |
4593 | static void *SwigwxGridTableBaseTowxObject(void *ptr) { |
4594 | wxGridTableBase *src; | |
4595 | wxObject *dest; | |
4596 | src = (wxGridTableBase *) ptr; | |
4597 | dest = (wxObject *) src; | |
4598 | return (void *) dest; | |
4599 | } | |
4600 | ||
33ff77f6 RD |
4601 | static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject * _self) { |
4602 | self->SetClientObject(new wxPyOORClientData(_self)); | |
4603 | } | |
4604 | static PyObject *_wrap_wxGridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4605 | PyObject * _resultobj; | |
4606 | wxGridTableBase * _arg0; | |
4607 | PyObject * _arg1; | |
4608 | PyObject * _argo0 = 0; | |
4609 | PyObject * _obj1 = 0; | |
4610 | char *_kwnames[] = { "self","_self", NULL }; | |
4611 | ||
4612 | self = self; | |
4613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
4614 | return NULL; | |
4615 | if (_argo0) { | |
4616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p."); | |
4619 | return NULL; | |
4620 | } | |
4621 | } | |
4622 | { | |
4623 | _arg1 = _obj1; | |
4624 | } | |
4625 | { | |
4626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4627 | wxGridTableBase__setOORInfo(_arg0,_arg1); | |
4628 | ||
4629 | wxPyEndAllowThreads(__tstate); | |
4630 | if (PyErr_Occurred()) return NULL; | |
4631 | } Py_INCREF(Py_None); | |
4632 | _resultobj = Py_None; | |
4633 | return _resultobj; | |
4634 | } | |
4635 | ||
f6bcfd97 BP |
4636 | #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0)) |
4637 | static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4638 | PyObject * _resultobj; | |
4639 | wxGridTableBase * _arg0; | |
4640 | wxGridCellAttrProvider * _arg1; | |
4641 | PyObject * _argo0 = 0; | |
4642 | PyObject * _argo1 = 0; | |
4643 | char *_kwnames[] = { "self","attrProvider", NULL }; | |
4644 | ||
4645 | self = self; | |
4646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1)) | |
4647 | return NULL; | |
4648 | if (_argo0) { | |
4649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p."); | |
4652 | return NULL; | |
4653 | } | |
4654 | } | |
4655 | if (_argo1) { | |
4656 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4657 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) { | |
4658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p."); | |
4659 | return NULL; | |
4660 | } | |
4661 | } | |
4662 | { | |
4268f798 | 4663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4664 | wxGridTableBase_SetAttrProvider(_arg0,_arg1); |
f6bcfd97 | 4665 | |
4268f798 | 4666 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4667 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4668 | } Py_INCREF(Py_None); |
4669 | _resultobj = Py_None; | |
4670 | return _resultobj; | |
4671 | } | |
4672 | ||
4673 | #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider()) | |
4674 | static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4675 | PyObject * _resultobj; | |
4676 | wxGridCellAttrProvider * _result; | |
4677 | wxGridTableBase * _arg0; | |
4678 | PyObject * _argo0 = 0; | |
4679 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
4680 | |
4681 | self = self; | |
4682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0)) | |
4683 | return NULL; | |
4684 | if (_argo0) { | |
4685 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4686 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p."); | |
4688 | return NULL; | |
4689 | } | |
4690 | } | |
4691 | { | |
4268f798 | 4692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4693 | _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0); |
f6bcfd97 | 4694 | |
4268f798 | 4695 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4696 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4697 | }{ _resultobj = wxPyMake_wxGridCellAttrProvider(_result); } |
f6bcfd97 BP |
4698 | return _resultobj; |
4699 | } | |
4700 | ||
4701 | #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0)) | |
4702 | static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4703 | PyObject * _resultobj; | |
4704 | wxGridTableBase * _arg0; | |
4705 | wxGrid * _arg1; | |
4706 | PyObject * _argo0 = 0; | |
4707 | PyObject * _argo1 = 0; | |
4708 | char *_kwnames[] = { "self","grid", NULL }; | |
4709 | ||
4710 | self = self; | |
4711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1)) | |
4712 | return NULL; | |
4713 | if (_argo0) { | |
4714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p."); | |
4717 | return NULL; | |
4718 | } | |
4719 | } | |
4720 | if (_argo1) { | |
4721 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4722 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
4723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p."); | |
4724 | return NULL; | |
4725 | } | |
4726 | } | |
4727 | { | |
4268f798 | 4728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4729 | wxGridTableBase_SetView(_arg0,_arg1); |
f6bcfd97 | 4730 | |
4268f798 | 4731 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4732 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4733 | } Py_INCREF(Py_None); |
4734 | _resultobj = Py_None; | |
4735 | return _resultobj; | |
4736 | } | |
4737 | ||
4738 | #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView()) | |
4739 | static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4740 | PyObject * _resultobj; | |
4741 | wxGrid * _result; | |
4742 | wxGridTableBase * _arg0; | |
4743 | PyObject * _argo0 = 0; | |
4744 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
4745 | |
4746 | self = self; | |
4747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0)) | |
4748 | return NULL; | |
4749 | if (_argo0) { | |
4750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p."); | |
4753 | return NULL; | |
4754 | } | |
4755 | } | |
4756 | { | |
4268f798 | 4757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4758 | _result = (wxGrid *)wxGridTableBase_GetView(_arg0); |
f6bcfd97 | 4759 | |
4268f798 | 4760 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4761 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 4762 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
4763 | return _resultobj; |
4764 | } | |
4765 | ||
4766 | #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows()) | |
4767 | static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4768 | PyObject * _resultobj; | |
4769 | int _result; | |
4770 | wxGridTableBase * _arg0; | |
4771 | PyObject * _argo0 = 0; | |
4772 | char *_kwnames[] = { "self", NULL }; | |
4773 | ||
4774 | self = self; | |
4775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0)) | |
4776 | return NULL; | |
4777 | if (_argo0) { | |
4778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p."); | |
4781 | return NULL; | |
4782 | } | |
4783 | } | |
4784 | { | |
4268f798 | 4785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4786 | _result = (int )wxGridTableBase_GetNumberRows(_arg0); |
f6bcfd97 | 4787 | |
4268f798 | 4788 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4789 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4790 | } _resultobj = Py_BuildValue("i",_result); |
4791 | return _resultobj; | |
4792 | } | |
4793 | ||
4794 | #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols()) | |
4795 | static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4796 | PyObject * _resultobj; | |
4797 | int _result; | |
4798 | wxGridTableBase * _arg0; | |
4799 | PyObject * _argo0 = 0; | |
4800 | char *_kwnames[] = { "self", NULL }; | |
4801 | ||
4802 | self = self; | |
4803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0)) | |
4804 | return NULL; | |
4805 | if (_argo0) { | |
4806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p."); | |
4809 | return NULL; | |
4810 | } | |
4811 | } | |
4812 | { | |
4268f798 | 4813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4814 | _result = (int )wxGridTableBase_GetNumberCols(_arg0); |
f6bcfd97 | 4815 | |
4268f798 | 4816 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4817 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4818 | } _resultobj = Py_BuildValue("i",_result); |
4819 | return _resultobj; | |
4820 | } | |
4821 | ||
4822 | #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1)) | |
4823 | static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4824 | PyObject * _resultobj; | |
4825 | bool _result; | |
4826 | wxGridTableBase * _arg0; | |
4827 | int _arg1; | |
4828 | int _arg2; | |
4829 | PyObject * _argo0 = 0; | |
4830 | char *_kwnames[] = { "self","row","col", NULL }; | |
4831 | ||
4832 | self = self; | |
4833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4834 | return NULL; | |
4835 | if (_argo0) { | |
4836 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4837 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4838 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p."); | |
4839 | return NULL; | |
4840 | } | |
4841 | } | |
4842 | { | |
4268f798 | 4843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4844 | _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 4845 | |
4268f798 | 4846 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4847 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4848 | } _resultobj = Py_BuildValue("i",_result); |
4849 | return _resultobj; | |
4850 | } | |
4851 | ||
4852 | #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1)) | |
4853 | static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4854 | PyObject * _resultobj; | |
4855 | wxString * _result; | |
4856 | wxGridTableBase * _arg0; | |
4857 | int _arg1; | |
4858 | int _arg2; | |
4859 | PyObject * _argo0 = 0; | |
4860 | char *_kwnames[] = { "self","row","col", NULL }; | |
4861 | ||
4862 | self = self; | |
4863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4864 | return NULL; | |
4865 | if (_argo0) { | |
4866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p."); | |
4869 | return NULL; | |
4870 | } | |
4871 | } | |
4872 | { | |
4268f798 | 4873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4874 | _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2)); |
f6bcfd97 | 4875 | |
4268f798 | 4876 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4877 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 4878 | }{ |
c8bc7bb8 RD |
4879 | #if wxUSE_UNICODE |
4880 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4881 | #else | |
f6bcfd97 | 4882 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4883 | #endif |
f6bcfd97 BP |
4884 | } |
4885 | { | |
4886 | delete _result; | |
4887 | } | |
4888 | return _resultobj; | |
4889 | } | |
4890 | ||
4891 | #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2)) | |
4892 | static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4893 | PyObject * _resultobj; | |
4894 | wxGridTableBase * _arg0; | |
4895 | int _arg1; | |
4896 | int _arg2; | |
4897 | wxString * _arg3; | |
4898 | PyObject * _argo0 = 0; | |
4899 | PyObject * _obj3 = 0; | |
4900 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
4901 | ||
4902 | self = self; | |
4903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
4904 | return NULL; | |
4905 | if (_argo0) { | |
4906 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4907 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p."); | |
4909 | return NULL; | |
4910 | } | |
4911 | } | |
4912 | { | |
c8bc7bb8 RD |
4913 | _arg3 = wxString_in_helper(_obj3); |
4914 | if (_arg3 == NULL) | |
f6bcfd97 | 4915 | return NULL; |
f6bcfd97 BP |
4916 | } |
4917 | { | |
4268f798 | 4918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4919 | wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 4920 | |
4268f798 | 4921 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4922 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4923 | } Py_INCREF(Py_None); |
4924 | _resultobj = Py_None; | |
4925 | { | |
4926 | if (_obj3) | |
4927 | delete _arg3; | |
4928 | } | |
4929 | return _resultobj; | |
4930 | } | |
4931 | ||
4932 | #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1)) | |
4933 | static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4934 | PyObject * _resultobj; | |
4935 | wxString * _result; | |
4936 | wxGridTableBase * _arg0; | |
4937 | int _arg1; | |
4938 | int _arg2; | |
4939 | PyObject * _argo0 = 0; | |
4940 | char *_kwnames[] = { "self","row","col", NULL }; | |
4941 | ||
4942 | self = self; | |
4943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4944 | return NULL; | |
4945 | if (_argo0) { | |
4946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p."); | |
4949 | return NULL; | |
4950 | } | |
4951 | } | |
4952 | { | |
4268f798 | 4953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4954 | _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2)); |
f6bcfd97 | 4955 | |
4268f798 | 4956 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4957 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 4958 | }{ |
c8bc7bb8 RD |
4959 | #if wxUSE_UNICODE |
4960 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4961 | #else | |
f6bcfd97 | 4962 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4963 | #endif |
f6bcfd97 BP |
4964 | } |
4965 | { | |
4966 | delete _result; | |
4967 | } | |
4968 | return _resultobj; | |
4969 | } | |
4970 | ||
4971 | #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
4972 | static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4973 | PyObject * _resultobj; | |
4974 | bool _result; | |
4975 | wxGridTableBase * _arg0; | |
4976 | int _arg1; | |
4977 | int _arg2; | |
4978 | wxString * _arg3; | |
4979 | PyObject * _argo0 = 0; | |
4980 | PyObject * _obj3 = 0; | |
4981 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
4982 | ||
4983 | self = self; | |
4984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
4985 | return NULL; | |
4986 | if (_argo0) { | |
4987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p."); | |
4990 | return NULL; | |
4991 | } | |
4992 | } | |
4993 | { | |
c8bc7bb8 RD |
4994 | _arg3 = wxString_in_helper(_obj3); |
4995 | if (_arg3 == NULL) | |
185d7c3e | 4996 | return NULL; |
f6bcfd97 BP |
4997 | } |
4998 | { | |
4268f798 | 4999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5000 | _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5001 | |
4268f798 | 5002 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5003 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5004 | } _resultobj = Py_BuildValue("i",_result); |
5005 | { | |
5006 | if (_obj3) | |
5007 | delete _arg3; | |
5008 | } | |
5009 | return _resultobj; | |
5010 | } | |
5011 | ||
5012 | #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5013 | static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5014 | PyObject * _resultobj; | |
5015 | bool _result; | |
5016 | wxGridTableBase * _arg0; | |
5017 | int _arg1; | |
5018 | int _arg2; | |
5019 | wxString * _arg3; | |
5020 | PyObject * _argo0 = 0; | |
5021 | PyObject * _obj3 = 0; | |
5022 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5023 | ||
5024 | self = self; | |
5025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5026 | return NULL; | |
5027 | if (_argo0) { | |
5028 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5029 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5030 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p."); | |
5031 | return NULL; | |
5032 | } | |
5033 | } | |
5034 | { | |
c8bc7bb8 RD |
5035 | _arg3 = wxString_in_helper(_obj3); |
5036 | if (_arg3 == NULL) | |
185d7c3e | 5037 | return NULL; |
f6bcfd97 BP |
5038 | } |
5039 | { | |
4268f798 | 5040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5041 | _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5042 | |
4268f798 | 5043 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5044 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5045 | } _resultobj = Py_BuildValue("i",_result); |
5046 | { | |
5047 | if (_obj3) | |
5048 | delete _arg3; | |
5049 | } | |
5050 | return _resultobj; | |
5051 | } | |
5052 | ||
5053 | #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1)) | |
5054 | static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5055 | PyObject * _resultobj; | |
5056 | long _result; | |
5057 | wxGridTableBase * _arg0; | |
5058 | int _arg1; | |
5059 | int _arg2; | |
5060 | PyObject * _argo0 = 0; | |
5061 | char *_kwnames[] = { "self","row","col", NULL }; | |
5062 | ||
5063 | self = self; | |
5064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5065 | return NULL; | |
5066 | if (_argo0) { | |
5067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p."); | |
5070 | return NULL; | |
5071 | } | |
5072 | } | |
5073 | { | |
4268f798 | 5074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5075 | _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2); |
f6bcfd97 | 5076 | |
4268f798 | 5077 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5078 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5079 | } _resultobj = Py_BuildValue("l",_result); |
5080 | return _resultobj; | |
5081 | } | |
5082 | ||
5083 | #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1)) | |
5084 | static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5085 | PyObject * _resultobj; | |
5086 | double _result; | |
5087 | wxGridTableBase * _arg0; | |
5088 | int _arg1; | |
5089 | int _arg2; | |
5090 | PyObject * _argo0 = 0; | |
5091 | char *_kwnames[] = { "self","row","col", NULL }; | |
5092 | ||
5093 | self = self; | |
5094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5095 | return NULL; | |
5096 | if (_argo0) { | |
5097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p."); | |
5100 | return NULL; | |
5101 | } | |
5102 | } | |
5103 | { | |
4268f798 | 5104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5105 | _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2); |
f6bcfd97 | 5106 | |
4268f798 | 5107 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5108 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5109 | } _resultobj = Py_BuildValue("d",_result); |
5110 | return _resultobj; | |
5111 | } | |
5112 | ||
5113 | #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1)) | |
5114 | static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5115 | PyObject * _resultobj; | |
5116 | bool _result; | |
5117 | wxGridTableBase * _arg0; | |
5118 | int _arg1; | |
5119 | int _arg2; | |
5120 | PyObject * _argo0 = 0; | |
5121 | char *_kwnames[] = { "self","row","col", NULL }; | |
5122 | ||
5123 | self = self; | |
5124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5125 | return NULL; | |
5126 | if (_argo0) { | |
5127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p."); | |
5130 | return NULL; | |
5131 | } | |
5132 | } | |
5133 | { | |
4268f798 | 5134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5135 | _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2); |
f6bcfd97 | 5136 | |
4268f798 | 5137 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5138 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5139 | } _resultobj = Py_BuildValue("i",_result); |
5140 | return _resultobj; | |
5141 | } | |
5142 | ||
5143 | #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2)) | |
5144 | static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5145 | PyObject * _resultobj; | |
5146 | wxGridTableBase * _arg0; | |
5147 | int _arg1; | |
5148 | int _arg2; | |
5149 | long _arg3; | |
5150 | PyObject * _argo0 = 0; | |
5151 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5152 | ||
5153 | self = self; | |
5154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5155 | return NULL; | |
5156 | if (_argo0) { | |
5157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p."); | |
5160 | return NULL; | |
5161 | } | |
5162 | } | |
5163 | { | |
4268f798 | 5164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5165 | wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5166 | |
4268f798 | 5167 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5168 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5169 | } Py_INCREF(Py_None); |
5170 | _resultobj = Py_None; | |
5171 | return _resultobj; | |
5172 | } | |
5173 | ||
5174 | #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2)) | |
5175 | static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5176 | PyObject * _resultobj; | |
5177 | wxGridTableBase * _arg0; | |
5178 | int _arg1; | |
5179 | int _arg2; | |
5180 | double _arg3; | |
5181 | PyObject * _argo0 = 0; | |
5182 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5183 | ||
5184 | self = self; | |
5185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5186 | return NULL; | |
5187 | if (_argo0) { | |
5188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p."); | |
5191 | return NULL; | |
5192 | } | |
5193 | } | |
5194 | { | |
4268f798 | 5195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5196 | wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5197 | |
4268f798 | 5198 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5199 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5200 | } Py_INCREF(Py_None); |
5201 | _resultobj = Py_None; | |
5202 | return _resultobj; | |
5203 | } | |
5204 | ||
5205 | #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2)) | |
5206 | static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5207 | PyObject * _resultobj; | |
5208 | wxGridTableBase * _arg0; | |
5209 | int _arg1; | |
5210 | int _arg2; | |
5211 | bool _arg3; | |
5212 | PyObject * _argo0 = 0; | |
5213 | int tempbool3; | |
5214 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5215 | ||
5216 | self = self; | |
5217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
5218 | return NULL; | |
5219 | if (_argo0) { | |
5220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p."); | |
5223 | return NULL; | |
5224 | } | |
5225 | } | |
5226 | _arg3 = (bool ) tempbool3; | |
5227 | { | |
4268f798 | 5228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5229 | wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5230 | |
4268f798 | 5231 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5232 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5233 | } Py_INCREF(Py_None); |
5234 | _resultobj = Py_None; | |
5235 | return _resultobj; | |
5236 | } | |
5237 | ||
5238 | #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear()) | |
5239 | static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5240 | PyObject * _resultobj; | |
5241 | wxGridTableBase * _arg0; | |
5242 | PyObject * _argo0 = 0; | |
5243 | char *_kwnames[] = { "self", NULL }; | |
5244 | ||
5245 | self = self; | |
5246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0)) | |
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_Clear. Expected _wxGridTableBase_p."); | |
5252 | return NULL; | |
5253 | } | |
5254 | } | |
5255 | { | |
4268f798 | 5256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5257 | wxGridTableBase_Clear(_arg0); |
f6bcfd97 | 5258 | |
4268f798 | 5259 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5260 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5261 | } Py_INCREF(Py_None); |
5262 | _resultobj = Py_None; | |
5263 | return _resultobj; | |
5264 | } | |
5265 | ||
5266 | #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1)) | |
5267 | static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5268 | PyObject * _resultobj; | |
5269 | bool _result; | |
5270 | wxGridTableBase * _arg0; | |
5271 | size_t _arg1 = (size_t ) 0; | |
5272 | size_t _arg2 = (size_t ) 1; | |
5273 | PyObject * _argo0 = 0; | |
5274 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5275 | ||
5276 | self = self; | |
5277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5278 | return NULL; | |
5279 | if (_argo0) { | |
5280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p."); | |
5283 | return NULL; | |
5284 | } | |
5285 | } | |
5286 | { | |
4268f798 | 5287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5288 | _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5289 | |
4268f798 | 5290 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5291 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5292 | } _resultobj = Py_BuildValue("i",_result); |
5293 | return _resultobj; | |
5294 | } | |
5295 | ||
5296 | #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0)) | |
5297 | static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5298 | PyObject * _resultobj; | |
5299 | bool _result; | |
5300 | wxGridTableBase * _arg0; | |
5301 | size_t _arg1 = (size_t ) 1; | |
5302 | PyObject * _argo0 = 0; | |
5303 | char *_kwnames[] = { "self","numRows", NULL }; | |
5304 | ||
5305 | self = self; | |
5306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1)) | |
5307 | return NULL; | |
5308 | if (_argo0) { | |
5309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p."); | |
5312 | return NULL; | |
5313 | } | |
5314 | } | |
5315 | { | |
4268f798 | 5316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5317 | _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1); |
f6bcfd97 | 5318 | |
4268f798 | 5319 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5320 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5321 | } _resultobj = Py_BuildValue("i",_result); |
5322 | return _resultobj; | |
5323 | } | |
5324 | ||
5325 | #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1)) | |
5326 | static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5327 | PyObject * _resultobj; | |
5328 | bool _result; | |
5329 | wxGridTableBase * _arg0; | |
5330 | size_t _arg1 = (size_t ) 0; | |
5331 | size_t _arg2 = (size_t ) 1; | |
5332 | PyObject * _argo0 = 0; | |
5333 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5334 | ||
5335 | self = self; | |
5336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5337 | return NULL; | |
5338 | if (_argo0) { | |
5339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p."); | |
5342 | return NULL; | |
5343 | } | |
5344 | } | |
5345 | { | |
4268f798 | 5346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5347 | _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5348 | |
4268f798 | 5349 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5350 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5351 | } _resultobj = Py_BuildValue("i",_result); |
5352 | return _resultobj; | |
5353 | } | |
5354 | ||
5355 | #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1)) | |
5356 | static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5357 | PyObject * _resultobj; | |
5358 | bool _result; | |
5359 | wxGridTableBase * _arg0; | |
5360 | size_t _arg1 = (size_t ) 0; | |
5361 | size_t _arg2 = (size_t ) 1; | |
5362 | PyObject * _argo0 = 0; | |
5363 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5364 | ||
5365 | self = self; | |
5366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5367 | return NULL; | |
5368 | if (_argo0) { | |
5369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p."); | |
5372 | return NULL; | |
5373 | } | |
5374 | } | |
5375 | { | |
4268f798 | 5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5377 | _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5378 | |
4268f798 | 5379 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5380 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5381 | } _resultobj = Py_BuildValue("i",_result); |
5382 | return _resultobj; | |
5383 | } | |
5384 | ||
5385 | #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0)) | |
5386 | static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5387 | PyObject * _resultobj; | |
5388 | bool _result; | |
5389 | wxGridTableBase * _arg0; | |
5390 | size_t _arg1 = (size_t ) 1; | |
5391 | PyObject * _argo0 = 0; | |
5392 | char *_kwnames[] = { "self","numCols", NULL }; | |
5393 | ||
5394 | self = self; | |
5395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1)) | |
5396 | return NULL; | |
5397 | if (_argo0) { | |
5398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p."); | |
5401 | return NULL; | |
5402 | } | |
5403 | } | |
5404 | { | |
4268f798 | 5405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5406 | _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1); |
f6bcfd97 | 5407 | |
4268f798 | 5408 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5409 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5410 | } _resultobj = Py_BuildValue("i",_result); |
5411 | return _resultobj; | |
5412 | } | |
5413 | ||
5414 | #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1)) | |
5415 | static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5416 | PyObject * _resultobj; | |
5417 | bool _result; | |
5418 | wxGridTableBase * _arg0; | |
5419 | size_t _arg1 = (size_t ) 0; | |
5420 | size_t _arg2 = (size_t ) 1; | |
5421 | PyObject * _argo0 = 0; | |
5422 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5423 | ||
5424 | self = self; | |
5425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5426 | return NULL; | |
5427 | if (_argo0) { | |
5428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p."); | |
5431 | return NULL; | |
5432 | } | |
5433 | } | |
5434 | { | |
4268f798 | 5435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5436 | _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5437 | |
4268f798 | 5438 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5439 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5440 | } _resultobj = Py_BuildValue("i",_result); |
5441 | return _resultobj; | |
5442 | } | |
5443 | ||
5444 | #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0)) | |
5445 | static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5446 | PyObject * _resultobj; | |
5447 | wxString * _result; | |
5448 | wxGridTableBase * _arg0; | |
5449 | int _arg1; | |
5450 | PyObject * _argo0 = 0; | |
5451 | char *_kwnames[] = { "self","row", NULL }; | |
5452 | ||
5453 | self = self; | |
5454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
5455 | return NULL; | |
5456 | if (_argo0) { | |
5457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p."); | |
5460 | return NULL; | |
5461 | } | |
5462 | } | |
5463 | { | |
4268f798 | 5464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5465 | _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 5466 | |
4268f798 | 5467 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5468 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5469 | }{ |
c8bc7bb8 RD |
5470 | #if wxUSE_UNICODE |
5471 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5472 | #else | |
f6bcfd97 | 5473 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5474 | #endif |
f6bcfd97 BP |
5475 | } |
5476 | { | |
5477 | delete _result; | |
5478 | } | |
5479 | return _resultobj; | |
5480 | } | |
5481 | ||
5482 | #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0)) | |
5483 | static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5484 | PyObject * _resultobj; | |
5485 | wxString * _result; | |
5486 | wxGridTableBase * _arg0; | |
5487 | int _arg1; | |
5488 | PyObject * _argo0 = 0; | |
5489 | char *_kwnames[] = { "self","col", NULL }; | |
5490 | ||
5491 | self = self; | |
5492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
5493 | return NULL; | |
5494 | if (_argo0) { | |
5495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p."); | |
5498 | return NULL; | |
5499 | } | |
5500 | } | |
5501 | { | |
4268f798 | 5502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5503 | _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 5504 | |
4268f798 | 5505 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5506 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5507 | }{ |
c8bc7bb8 RD |
5508 | #if wxUSE_UNICODE |
5509 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5510 | #else | |
f6bcfd97 | 5511 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5512 | #endif |
f6bcfd97 BP |
5513 | } |
5514 | { | |
5515 | delete _result; | |
5516 | } | |
5517 | return _resultobj; | |
5518 | } | |
5519 | ||
5520 | #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1)) | |
5521 | static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5522 | PyObject * _resultobj; | |
5523 | wxGridTableBase * _arg0; | |
5524 | int _arg1; | |
5525 | wxString * _arg2; | |
5526 | PyObject * _argo0 = 0; | |
5527 | PyObject * _obj2 = 0; | |
5528 | char *_kwnames[] = { "self","row","value", NULL }; | |
5529 | ||
5530 | self = self; | |
5531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5532 | return NULL; | |
5533 | if (_argo0) { | |
5534 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5535 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p."); | |
5537 | return NULL; | |
5538 | } | |
5539 | } | |
5540 | { | |
c8bc7bb8 RD |
5541 | _arg2 = wxString_in_helper(_obj2); |
5542 | if (_arg2 == NULL) | |
185d7c3e | 5543 | return NULL; |
f6bcfd97 BP |
5544 | } |
5545 | { | |
4268f798 | 5546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5547 | wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5548 | |
4268f798 | 5549 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5550 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5551 | } Py_INCREF(Py_None); |
5552 | _resultobj = Py_None; | |
5553 | { | |
5554 | if (_obj2) | |
5555 | delete _arg2; | |
5556 | } | |
5557 | return _resultobj; | |
5558 | } | |
5559 | ||
5560 | #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1)) | |
5561 | static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5562 | PyObject * _resultobj; | |
5563 | wxGridTableBase * _arg0; | |
5564 | int _arg1; | |
5565 | wxString * _arg2; | |
5566 | PyObject * _argo0 = 0; | |
5567 | PyObject * _obj2 = 0; | |
5568 | char *_kwnames[] = { "self","col","value", NULL }; | |
5569 | ||
5570 | self = self; | |
5571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5572 | return NULL; | |
5573 | if (_argo0) { | |
5574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p."); | |
5577 | return NULL; | |
5578 | } | |
5579 | } | |
5580 | { | |
c8bc7bb8 RD |
5581 | _arg2 = wxString_in_helper(_obj2); |
5582 | if (_arg2 == NULL) | |
185d7c3e | 5583 | return NULL; |
f6bcfd97 BP |
5584 | } |
5585 | { | |
4268f798 | 5586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5587 | wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5588 | |
4268f798 | 5589 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5590 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5591 | } Py_INCREF(Py_None); |
5592 | _resultobj = Py_None; | |
5593 | { | |
5594 | if (_obj2) | |
5595 | delete _arg2; | |
5596 | } | |
5597 | return _resultobj; | |
5598 | } | |
5599 | ||
5600 | #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes()) | |
5601 | static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5602 | PyObject * _resultobj; | |
5603 | bool _result; | |
5604 | wxGridTableBase * _arg0; | |
5605 | PyObject * _argo0 = 0; | |
5606 | char *_kwnames[] = { "self", NULL }; | |
5607 | ||
5608 | self = self; | |
5609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0)) | |
5610 | return NULL; | |
5611 | if (_argo0) { | |
5612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p."); | |
5615 | return NULL; | |
5616 | } | |
5617 | } | |
5618 | { | |
4268f798 | 5619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5620 | _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0); |
f6bcfd97 | 5621 | |
4268f798 | 5622 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5623 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5624 | } _resultobj = Py_BuildValue("i",_result); |
5625 | return _resultobj; | |
5626 | } | |
5627 | ||
9416aa89 | 5628 | #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
5629 | static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
5630 | PyObject * _resultobj; | |
5631 | wxGridCellAttr * _result; | |
5632 | wxGridTableBase * _arg0; | |
5633 | int _arg1; | |
5634 | int _arg2; | |
9416aa89 | 5635 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 5636 | PyObject * _argo0 = 0; |
9416aa89 | 5637 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
5638 | |
5639 | self = self; | |
9416aa89 | 5640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
5641 | return NULL; |
5642 | if (_argo0) { | |
5643 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5644 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p."); | |
5646 | return NULL; | |
5647 | } | |
5648 | } | |
5649 | { | |
4268f798 | 5650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5651 | _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5652 | |
4268f798 | 5653 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5654 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 5655 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
5656 | return _resultobj; |
5657 | } | |
5658 | ||
5659 | #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
5660 | static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5661 | PyObject * _resultobj; | |
5662 | wxGridTableBase * _arg0; | |
5663 | wxGridCellAttr * _arg1; | |
5664 | int _arg2; | |
5665 | int _arg3; | |
5666 | PyObject * _argo0 = 0; | |
5667 | PyObject * _argo1 = 0; | |
5668 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
5669 | ||
5670 | self = self; | |
5671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
5672 | return NULL; | |
5673 | if (_argo0) { | |
5674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p."); | |
5677 | return NULL; | |
5678 | } | |
5679 | } | |
5680 | if (_argo1) { | |
5681 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5682 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p."); | |
5684 | return NULL; | |
5685 | } | |
5686 | } | |
5687 | { | |
4268f798 | 5688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5689 | wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5690 | |
4268f798 | 5691 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5692 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5693 | } Py_INCREF(Py_None); |
5694 | _resultobj = Py_None; | |
5695 | return _resultobj; | |
5696 | } | |
5697 | ||
5698 | #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
5699 | static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5700 | PyObject * _resultobj; | |
5701 | wxGridTableBase * _arg0; | |
5702 | wxGridCellAttr * _arg1; | |
5703 | int _arg2; | |
5704 | PyObject * _argo0 = 0; | |
5705 | PyObject * _argo1 = 0; | |
5706 | char *_kwnames[] = { "self","attr","row", NULL }; | |
5707 | ||
5708 | self = self; | |
5709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5710 | return NULL; | |
5711 | if (_argo0) { | |
5712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p."); | |
5715 | return NULL; | |
5716 | } | |
5717 | } | |
5718 | if (_argo1) { | |
5719 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5720 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p."); | |
5722 | return NULL; | |
5723 | } | |
5724 | } | |
5725 | { | |
4268f798 | 5726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5727 | wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 5728 | |
4268f798 | 5729 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5730 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5731 | } Py_INCREF(Py_None); |
5732 | _resultobj = Py_None; | |
5733 | return _resultobj; | |
5734 | } | |
5735 | ||
5736 | #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
5737 | static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5738 | PyObject * _resultobj; | |
5739 | wxGridTableBase * _arg0; | |
5740 | wxGridCellAttr * _arg1; | |
5741 | int _arg2; | |
5742 | PyObject * _argo0 = 0; | |
5743 | PyObject * _argo1 = 0; | |
5744 | char *_kwnames[] = { "self","attr","col", NULL }; | |
5745 | ||
5746 | self = self; | |
5747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5748 | return NULL; | |
5749 | if (_argo0) { | |
5750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p."); | |
5753 | return NULL; | |
5754 | } | |
5755 | } | |
5756 | if (_argo1) { | |
5757 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5758 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p."); | |
5760 | return NULL; | |
5761 | } | |
5762 | } | |
5763 | { | |
4268f798 | 5764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5765 | wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 5766 | |
4268f798 | 5767 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5768 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5769 | } Py_INCREF(Py_None); |
5770 | _resultobj = Py_None; | |
5771 | return _resultobj; | |
5772 | } | |
5773 | ||
5774 | static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) { | |
5775 | wxPyGridTableBase *src; | |
5776 | wxGridTableBase *dest; | |
5777 | src = (wxPyGridTableBase *) ptr; | |
5778 | dest = (wxGridTableBase *) src; | |
5779 | return (void *) dest; | |
5780 | } | |
5781 | ||
9416aa89 RD |
5782 | static void *SwigwxPyGridTableBaseTowxObject(void *ptr) { |
5783 | wxPyGridTableBase *src; | |
5784 | wxObject *dest; | |
5785 | src = (wxPyGridTableBase *) ptr; | |
5786 | dest = (wxObject *) src; | |
5787 | return (void *) dest; | |
5788 | } | |
5789 | ||
f6bcfd97 BP |
5790 | #define new_wxPyGridTableBase() (new wxPyGridTableBase()) |
5791 | static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5792 | PyObject * _resultobj; | |
5793 | wxPyGridTableBase * _result; | |
5794 | char *_kwnames[] = { NULL }; | |
5795 | char _ptemp[128]; | |
5796 | ||
5797 | self = self; | |
5798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames)) | |
5799 | return NULL; | |
5800 | { | |
4268f798 | 5801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5802 | _result = (wxPyGridTableBase *)new_wxPyGridTableBase(); |
f6bcfd97 | 5803 | |
4268f798 | 5804 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5805 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5806 | } if (_result) { |
5807 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p"); | |
5808 | _resultobj = Py_BuildValue("s",_ptemp); | |
5809 | } else { | |
5810 | Py_INCREF(Py_None); | |
5811 | _resultobj = Py_None; | |
5812 | } | |
5813 | return _resultobj; | |
5814 | } | |
5815 | ||
0122b7e3 RD |
5816 | #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
5817 | static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5818 | PyObject * _resultobj; |
5819 | wxPyGridTableBase * _arg0; | |
5820 | PyObject * _arg1; | |
5821 | PyObject * _arg2; | |
5822 | PyObject * _argo0 = 0; | |
5823 | PyObject * _obj1 = 0; | |
5824 | PyObject * _obj2 = 0; | |
5825 | char *_kwnames[] = { "self","self","_class", NULL }; | |
5826 | ||
5827 | self = self; | |
0122b7e3 | 5828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
5829 | return NULL; |
5830 | if (_argo0) { | |
5831 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5832 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
0122b7e3 | 5833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p."); |
f6bcfd97 BP |
5834 | return NULL; |
5835 | } | |
5836 | } | |
5837 | { | |
5838 | _arg1 = _obj1; | |
5839 | } | |
5840 | { | |
5841 | _arg2 = _obj2; | |
5842 | } | |
5843 | { | |
4268f798 | 5844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5845 | wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 5846 | |
4268f798 | 5847 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5848 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5849 | } Py_INCREF(Py_None); |
5850 | _resultobj = Py_None; | |
5851 | return _resultobj; | |
5852 | } | |
5853 | ||
5854 | static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; } | |
5855 | static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5856 | PyObject * _resultobj; | |
5857 | wxPyGridTableBase * _arg0; | |
5858 | PyObject * _argo0 = 0; | |
5859 | char *_kwnames[] = { "self", NULL }; | |
5860 | ||
5861 | self = self; | |
5862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0)) | |
5863 | return NULL; | |
5864 | if (_argo0) { | |
5865 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5866 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p."); | |
5868 | return NULL; | |
5869 | } | |
5870 | } | |
5871 | { | |
4268f798 | 5872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5873 | wxPyGridTableBase_Destroy(_arg0); |
f6bcfd97 | 5874 | |
4268f798 | 5875 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5876 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5877 | } Py_INCREF(Py_None); |
5878 | _resultobj = Py_None; | |
5879 | return _resultobj; | |
5880 | } | |
5881 | ||
5882 | #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1)) | |
5883 | static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5884 | PyObject * _resultobj; | |
5885 | wxString * _result; | |
5886 | wxPyGridTableBase * _arg0; | |
5887 | int _arg1; | |
5888 | int _arg2; | |
5889 | PyObject * _argo0 = 0; | |
5890 | char *_kwnames[] = { "self","row","col", NULL }; | |
5891 | ||
5892 | self = self; | |
5893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5894 | return NULL; | |
5895 | if (_argo0) { | |
5896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p."); | |
5899 | return NULL; | |
5900 | } | |
5901 | } | |
5902 | { | |
4268f798 | 5903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5904 | _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2)); |
f6bcfd97 | 5905 | |
4268f798 | 5906 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5907 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5908 | }{ |
c8bc7bb8 RD |
5909 | #if wxUSE_UNICODE |
5910 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5911 | #else | |
f6bcfd97 | 5912 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5913 | #endif |
f6bcfd97 BP |
5914 | } |
5915 | { | |
5916 | delete _result; | |
5917 | } | |
5918 | return _resultobj; | |
5919 | } | |
5920 | ||
5921 | #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5922 | static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5923 | PyObject * _resultobj; | |
5924 | bool _result; | |
5925 | wxPyGridTableBase * _arg0; | |
5926 | int _arg1; | |
5927 | int _arg2; | |
5928 | wxString * _arg3; | |
5929 | PyObject * _argo0 = 0; | |
5930 | PyObject * _obj3 = 0; | |
5931 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5932 | ||
5933 | self = self; | |
5934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5935 | return NULL; | |
5936 | if (_argo0) { | |
5937 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5938 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p."); | |
5940 | return NULL; | |
5941 | } | |
5942 | } | |
5943 | { | |
c8bc7bb8 RD |
5944 | _arg3 = wxString_in_helper(_obj3); |
5945 | if (_arg3 == NULL) | |
185d7c3e | 5946 | return NULL; |
f6bcfd97 BP |
5947 | } |
5948 | { | |
4268f798 | 5949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5950 | _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5951 | |
4268f798 | 5952 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5953 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5954 | } _resultobj = Py_BuildValue("i",_result); |
5955 | { | |
5956 | if (_obj3) | |
5957 | delete _arg3; | |
5958 | } | |
5959 | return _resultobj; | |
5960 | } | |
5961 | ||
5962 | #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5963 | static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5964 | PyObject * _resultobj; | |
5965 | bool _result; | |
5966 | wxPyGridTableBase * _arg0; | |
5967 | int _arg1; | |
5968 | int _arg2; | |
5969 | wxString * _arg3; | |
5970 | PyObject * _argo0 = 0; | |
5971 | PyObject * _obj3 = 0; | |
5972 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5973 | ||
5974 | self = self; | |
5975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5976 | return NULL; | |
5977 | if (_argo0) { | |
5978 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5979 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
5980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p."); | |
5981 | return NULL; | |
5982 | } | |
5983 | } | |
5984 | { | |
c8bc7bb8 RD |
5985 | _arg3 = wxString_in_helper(_obj3); |
5986 | if (_arg3 == NULL) | |
185d7c3e | 5987 | return NULL; |
f6bcfd97 BP |
5988 | } |
5989 | { | |
4268f798 | 5990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5991 | _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5992 | |
4268f798 | 5993 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5994 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5995 | } _resultobj = Py_BuildValue("i",_result); |
5996 | { | |
5997 | if (_obj3) | |
5998 | delete _arg3; | |
5999 | } | |
6000 | return _resultobj; | |
6001 | } | |
6002 | ||
6003 | #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear()) | |
6004 | static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6005 | PyObject * _resultobj; | |
6006 | wxPyGridTableBase * _arg0; | |
6007 | PyObject * _argo0 = 0; | |
6008 | char *_kwnames[] = { "self", NULL }; | |
6009 | ||
6010 | self = self; | |
6011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0)) | |
6012 | return NULL; | |
6013 | if (_argo0) { | |
6014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p."); | |
6017 | return NULL; | |
6018 | } | |
6019 | } | |
6020 | { | |
4268f798 | 6021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6022 | wxPyGridTableBase_base_Clear(_arg0); |
f6bcfd97 | 6023 | |
4268f798 | 6024 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6025 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6026 | } Py_INCREF(Py_None); |
6027 | _resultobj = Py_None; | |
6028 | return _resultobj; | |
6029 | } | |
6030 | ||
6031 | #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1)) | |
6032 | static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6033 | PyObject * _resultobj; | |
6034 | bool _result; | |
6035 | wxPyGridTableBase * _arg0; | |
6036 | size_t _arg1 = (size_t ) 0; | |
6037 | size_t _arg2 = (size_t ) 1; | |
6038 | PyObject * _argo0 = 0; | |
6039 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
6040 | ||
6041 | self = self; | |
6042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6043 | return NULL; | |
6044 | if (_argo0) { | |
6045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p."); | |
6048 | return NULL; | |
6049 | } | |
6050 | } | |
6051 | { | |
4268f798 | 6052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6053 | _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 6054 | |
4268f798 | 6055 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6056 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6057 | } _resultobj = Py_BuildValue("i",_result); |
6058 | return _resultobj; | |
6059 | } | |
6060 | ||
6061 | #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0)) | |
6062 | static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6063 | PyObject * _resultobj; | |
6064 | bool _result; | |
6065 | wxPyGridTableBase * _arg0; | |
6066 | size_t _arg1 = (size_t ) 1; | |
6067 | PyObject * _argo0 = 0; | |
6068 | char *_kwnames[] = { "self","numRows", NULL }; | |
6069 | ||
6070 | self = self; | |
6071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1)) | |
6072 | return NULL; | |
6073 | if (_argo0) { | |
6074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p."); | |
6077 | return NULL; | |
6078 | } | |
6079 | } | |
6080 | { | |
4268f798 | 6081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6082 | _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1); |
f6bcfd97 | 6083 | |
4268f798 | 6084 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6085 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6086 | } _resultobj = Py_BuildValue("i",_result); |
6087 | return _resultobj; | |
6088 | } | |
6089 | ||
6090 | #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1)) | |
6091 | static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6092 | PyObject * _resultobj; | |
6093 | bool _result; | |
6094 | wxPyGridTableBase * _arg0; | |
6095 | size_t _arg1 = (size_t ) 0; | |
6096 | size_t _arg2 = (size_t ) 1; | |
6097 | PyObject * _argo0 = 0; | |
6098 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
6099 | ||
6100 | self = self; | |
6101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6102 | return NULL; | |
6103 | if (_argo0) { | |
6104 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6105 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p."); | |
6107 | return NULL; | |
6108 | } | |
6109 | } | |
6110 | { | |
4268f798 | 6111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6112 | _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 6113 | |
4268f798 | 6114 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6115 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6116 | } _resultobj = Py_BuildValue("i",_result); |
6117 | return _resultobj; | |
6118 | } | |
6119 | ||
6120 | #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1)) | |
6121 | static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6122 | PyObject * _resultobj; | |
6123 | bool _result; | |
6124 | wxPyGridTableBase * _arg0; | |
6125 | size_t _arg1 = (size_t ) 0; | |
6126 | size_t _arg2 = (size_t ) 1; | |
6127 | PyObject * _argo0 = 0; | |
6128 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
6129 | ||
6130 | self = self; | |
6131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6132 | return NULL; | |
6133 | if (_argo0) { | |
6134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p."); | |
6137 | return NULL; | |
6138 | } | |
6139 | } | |
6140 | { | |
4268f798 | 6141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6142 | _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 6143 | |
4268f798 | 6144 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6145 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6146 | } _resultobj = Py_BuildValue("i",_result); |
6147 | return _resultobj; | |
6148 | } | |
6149 | ||
6150 | #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0)) | |
6151 | static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6152 | PyObject * _resultobj; | |
6153 | bool _result; | |
6154 | wxPyGridTableBase * _arg0; | |
6155 | size_t _arg1 = (size_t ) 1; | |
6156 | PyObject * _argo0 = 0; | |
6157 | char *_kwnames[] = { "self","numCols", NULL }; | |
6158 | ||
6159 | self = self; | |
6160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1)) | |
6161 | return NULL; | |
6162 | if (_argo0) { | |
6163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p."); | |
6166 | return NULL; | |
6167 | } | |
6168 | } | |
6169 | { | |
4268f798 | 6170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6171 | _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1); |
f6bcfd97 | 6172 | |
4268f798 | 6173 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6174 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6175 | } _resultobj = Py_BuildValue("i",_result); |
6176 | return _resultobj; | |
6177 | } | |
6178 | ||
6179 | #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1)) | |
6180 | static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6181 | PyObject * _resultobj; | |
6182 | bool _result; | |
6183 | wxPyGridTableBase * _arg0; | |
6184 | size_t _arg1 = (size_t ) 0; | |
6185 | size_t _arg2 = (size_t ) 1; | |
6186 | PyObject * _argo0 = 0; | |
6187 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
6188 | ||
6189 | self = self; | |
6190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6191 | return NULL; | |
6192 | if (_argo0) { | |
6193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p."); | |
6196 | return NULL; | |
6197 | } | |
6198 | } | |
6199 | { | |
4268f798 | 6200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6201 | _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 6202 | |
4268f798 | 6203 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6204 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6205 | } _resultobj = Py_BuildValue("i",_result); |
6206 | return _resultobj; | |
6207 | } | |
6208 | ||
6209 | #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0)) | |
6210 | static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6211 | PyObject * _resultobj; | |
6212 | wxString * _result; | |
6213 | wxPyGridTableBase * _arg0; | |
6214 | int _arg1; | |
6215 | PyObject * _argo0 = 0; | |
6216 | char *_kwnames[] = { "self","row", NULL }; | |
6217 | ||
6218 | self = self; | |
6219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
6220 | return NULL; | |
6221 | if (_argo0) { | |
6222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p."); | |
6225 | return NULL; | |
6226 | } | |
6227 | } | |
6228 | { | |
4268f798 | 6229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6230 | _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 6231 | |
4268f798 | 6232 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6233 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6234 | }{ |
c8bc7bb8 RD |
6235 | #if wxUSE_UNICODE |
6236 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
6237 | #else | |
f6bcfd97 | 6238 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6239 | #endif |
f6bcfd97 BP |
6240 | } |
6241 | { | |
6242 | delete _result; | |
6243 | } | |
6244 | return _resultobj; | |
6245 | } | |
6246 | ||
6247 | #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0)) | |
6248 | static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6249 | PyObject * _resultobj; | |
6250 | wxString * _result; | |
6251 | wxPyGridTableBase * _arg0; | |
6252 | int _arg1; | |
6253 | PyObject * _argo0 = 0; | |
6254 | char *_kwnames[] = { "self","col", NULL }; | |
6255 | ||
6256 | self = self; | |
6257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
6258 | return NULL; | |
6259 | if (_argo0) { | |
6260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p."); | |
6263 | return NULL; | |
6264 | } | |
6265 | } | |
6266 | { | |
4268f798 | 6267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6268 | _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 6269 | |
4268f798 | 6270 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6271 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6272 | }{ |
c8bc7bb8 RD |
6273 | #if wxUSE_UNICODE |
6274 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
6275 | #else | |
f6bcfd97 | 6276 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6277 | #endif |
f6bcfd97 BP |
6278 | } |
6279 | { | |
6280 | delete _result; | |
6281 | } | |
6282 | return _resultobj; | |
6283 | } | |
6284 | ||
6285 | #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1)) | |
6286 | static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6287 | PyObject * _resultobj; | |
6288 | wxPyGridTableBase * _arg0; | |
6289 | int _arg1; | |
6290 | wxString * _arg2; | |
6291 | PyObject * _argo0 = 0; | |
6292 | PyObject * _obj2 = 0; | |
6293 | char *_kwnames[] = { "self","row","value", NULL }; | |
6294 | ||
6295 | self = self; | |
6296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6297 | return NULL; | |
6298 | if (_argo0) { | |
6299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p."); | |
6302 | return NULL; | |
6303 | } | |
6304 | } | |
6305 | { | |
c8bc7bb8 RD |
6306 | _arg2 = wxString_in_helper(_obj2); |
6307 | if (_arg2 == NULL) | |
f6bcfd97 | 6308 | return NULL; |
f6bcfd97 BP |
6309 | } |
6310 | { | |
4268f798 | 6311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6312 | wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6313 | |
4268f798 | 6314 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6315 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6316 | } Py_INCREF(Py_None); |
6317 | _resultobj = Py_None; | |
6318 | { | |
6319 | if (_obj2) | |
6320 | delete _arg2; | |
6321 | } | |
6322 | return _resultobj; | |
6323 | } | |
6324 | ||
6325 | #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1)) | |
6326 | static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6327 | PyObject * _resultobj; | |
6328 | wxPyGridTableBase * _arg0; | |
6329 | int _arg1; | |
6330 | wxString * _arg2; | |
6331 | PyObject * _argo0 = 0; | |
6332 | PyObject * _obj2 = 0; | |
6333 | char *_kwnames[] = { "self","col","value", NULL }; | |
6334 | ||
6335 | self = self; | |
6336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6337 | return NULL; | |
6338 | if (_argo0) { | |
6339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p."); | |
6342 | return NULL; | |
6343 | } | |
6344 | } | |
6345 | { | |
c8bc7bb8 RD |
6346 | _arg2 = wxString_in_helper(_obj2); |
6347 | if (_arg2 == NULL) | |
185d7c3e | 6348 | return NULL; |
f6bcfd97 BP |
6349 | } |
6350 | { | |
4268f798 | 6351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6352 | wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6353 | |
4268f798 | 6354 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6355 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6356 | } Py_INCREF(Py_None); |
6357 | _resultobj = Py_None; | |
6358 | { | |
6359 | if (_obj2) | |
6360 | delete _arg2; | |
6361 | } | |
6362 | return _resultobj; | |
6363 | } | |
6364 | ||
6365 | #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes()) | |
6366 | static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6367 | PyObject * _resultobj; | |
6368 | bool _result; | |
6369 | wxPyGridTableBase * _arg0; | |
6370 | PyObject * _argo0 = 0; | |
6371 | char *_kwnames[] = { "self", NULL }; | |
6372 | ||
6373 | self = self; | |
6374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0)) | |
6375 | return NULL; | |
6376 | if (_argo0) { | |
6377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p."); | |
6380 | return NULL; | |
6381 | } | |
6382 | } | |
6383 | { | |
4268f798 | 6384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6385 | _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0); |
f6bcfd97 | 6386 | |
4268f798 | 6387 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6388 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6389 | } _resultobj = Py_BuildValue("i",_result); |
6390 | return _resultobj; | |
6391 | } | |
6392 | ||
9416aa89 | 6393 | #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
6394 | static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
6395 | PyObject * _resultobj; | |
6396 | wxGridCellAttr * _result; | |
6397 | wxPyGridTableBase * _arg0; | |
6398 | int _arg1; | |
6399 | int _arg2; | |
9416aa89 | 6400 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 6401 | PyObject * _argo0 = 0; |
9416aa89 | 6402 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
6403 | |
6404 | self = self; | |
9416aa89 | 6405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
6406 | return NULL; |
6407 | if (_argo0) { | |
6408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p."); | |
6411 | return NULL; | |
6412 | } | |
6413 | } | |
6414 | { | |
4268f798 | 6415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6416 | _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6417 | |
4268f798 | 6418 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6419 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 6420 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
6421 | return _resultobj; |
6422 | } | |
6423 | ||
6424 | #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
6425 | static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6426 | PyObject * _resultobj; | |
6427 | wxPyGridTableBase * _arg0; | |
6428 | wxGridCellAttr * _arg1; | |
6429 | int _arg2; | |
6430 | int _arg3; | |
6431 | PyObject * _argo0 = 0; | |
6432 | PyObject * _argo1 = 0; | |
6433 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
6434 | ||
6435 | self = self; | |
6436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
6437 | return NULL; | |
6438 | if (_argo0) { | |
6439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p."); | |
6442 | return NULL; | |
6443 | } | |
6444 | } | |
6445 | if (_argo1) { | |
6446 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6447 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p."); | |
6449 | return NULL; | |
6450 | } | |
6451 | } | |
6452 | { | |
4268f798 | 6453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6454 | wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6455 | |
4268f798 | 6456 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6457 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6458 | } Py_INCREF(Py_None); |
6459 | _resultobj = Py_None; | |
6460 | return _resultobj; | |
6461 | } | |
6462 | ||
6463 | #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1)) | |
6464 | static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6465 | PyObject * _resultobj; | |
6466 | wxPyGridTableBase * _arg0; | |
6467 | wxGridCellAttr * _arg1; | |
6468 | int _arg2; | |
6469 | PyObject * _argo0 = 0; | |
6470 | PyObject * _argo1 = 0; | |
6471 | char *_kwnames[] = { "self","attr","row", NULL }; | |
6472 | ||
6473 | self = self; | |
6474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6475 | return NULL; | |
6476 | if (_argo0) { | |
6477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p."); | |
6480 | return NULL; | |
6481 | } | |
6482 | } | |
6483 | if (_argo1) { | |
6484 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6485 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p."); | |
6487 | return NULL; | |
6488 | } | |
6489 | } | |
6490 | { | |
4268f798 | 6491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6492 | wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6493 | |
4268f798 | 6494 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6495 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6496 | } Py_INCREF(Py_None); |
6497 | _resultobj = Py_None; | |
6498 | return _resultobj; | |
6499 | } | |
6500 | ||
6501 | #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1)) | |
6502 | static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6503 | PyObject * _resultobj; | |
6504 | wxPyGridTableBase * _arg0; | |
6505 | wxGridCellAttr * _arg1; | |
6506 | int _arg2; | |
6507 | PyObject * _argo0 = 0; | |
6508 | PyObject * _argo1 = 0; | |
6509 | char *_kwnames[] = { "self","attr","col", NULL }; | |
6510 | ||
6511 | self = self; | |
6512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6513 | return NULL; | |
6514 | if (_argo0) { | |
6515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p."); | |
6518 | return NULL; | |
6519 | } | |
6520 | } | |
6521 | if (_argo1) { | |
6522 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6523 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p."); | |
6525 | return NULL; | |
6526 | } | |
6527 | } | |
6528 | { | |
4268f798 | 6529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6530 | wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6531 | |
4268f798 | 6532 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6533 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6534 | } Py_INCREF(Py_None); |
6535 | _resultobj = Py_None; | |
6536 | return _resultobj; | |
6537 | } | |
6538 | ||
6539 | static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) { | |
6540 | wxGridStringTable *src; | |
6541 | wxGridTableBase *dest; | |
6542 | src = (wxGridStringTable *) ptr; | |
6543 | dest = (wxGridTableBase *) src; | |
6544 | return (void *) dest; | |
6545 | } | |
6546 | ||
9416aa89 RD |
6547 | static void *SwigwxGridStringTableTowxObject(void *ptr) { |
6548 | wxGridStringTable *src; | |
6549 | wxObject *dest; | |
6550 | src = (wxGridStringTable *) ptr; | |
6551 | dest = (wxObject *) src; | |
6552 | return (void *) dest; | |
6553 | } | |
6554 | ||
f6bcfd97 BP |
6555 | #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1)) |
6556 | static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6557 | PyObject * _resultobj; | |
6558 | wxGridStringTable * _result; | |
6559 | int _arg0 = (int ) 0; | |
6560 | int _arg1 = (int ) 0; | |
6561 | char *_kwnames[] = { "numRows","numCols", NULL }; | |
6562 | char _ptemp[128]; | |
6563 | ||
6564 | self = self; | |
6565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1)) | |
6566 | return NULL; | |
6567 | { | |
4268f798 | 6568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6569 | _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1); |
f6bcfd97 | 6570 | |
4268f798 | 6571 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6572 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6573 | } if (_result) { |
6574 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p"); | |
6575 | _resultobj = Py_BuildValue("s",_ptemp); | |
6576 | } else { | |
6577 | Py_INCREF(Py_None); | |
6578 | _resultobj = Py_None; | |
6579 | } | |
6580 | return _resultobj; | |
6581 | } | |
6582 | ||
6583 | #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6584 | static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6585 | PyObject * _resultobj; | |
6586 | wxGridTableMessage * _result; | |
6587 | wxGridTableBase * _arg0; | |
6588 | int _arg1; | |
6589 | int _arg2 = (int ) -1; | |
6590 | int _arg3 = (int ) -1; | |
6591 | PyObject * _argo0 = 0; | |
6592 | char *_kwnames[] = { "table","id","comInt1","comInt2", NULL }; | |
6593 | char _ptemp[128]; | |
6594 | ||
6595 | self = self; | |
6596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
6597 | return NULL; | |
6598 | if (_argo0) { | |
6599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p."); | |
6602 | return NULL; | |
6603 | } | |
6604 | } | |
6605 | { | |
4268f798 | 6606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6607 | _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6608 | |
4268f798 | 6609 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6610 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6611 | } if (_result) { |
6612 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p"); | |
6613 | _resultobj = Py_BuildValue("s",_ptemp); | |
6614 | } else { | |
6615 | Py_INCREF(Py_None); | |
6616 | _resultobj = Py_None; | |
6617 | } | |
6618 | return _resultobj; | |
6619 | } | |
6620 | ||
6621 | #define delete_wxGridTableMessage(_swigobj) (delete _swigobj) | |
6622 | static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6623 | PyObject * _resultobj; | |
6624 | wxGridTableMessage * _arg0; | |
6625 | PyObject * _argo0 = 0; | |
6626 | char *_kwnames[] = { "self", NULL }; | |
6627 | ||
6628 | self = self; | |
6629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0)) | |
6630 | return NULL; | |
6631 | if (_argo0) { | |
6632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p."); | |
6635 | return NULL; | |
6636 | } | |
6637 | } | |
6638 | { | |
4268f798 | 6639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6640 | delete_wxGridTableMessage(_arg0); |
f6bcfd97 | 6641 | |
4268f798 | 6642 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6643 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6644 | } Py_INCREF(Py_None); |
6645 | _resultobj = Py_None; | |
6646 | return _resultobj; | |
6647 | } | |
6648 | ||
6649 | #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0)) | |
6650 | static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6651 | PyObject * _resultobj; | |
6652 | wxGridTableMessage * _arg0; | |
6653 | wxGridTableBase * _arg1; | |
6654 | PyObject * _argo0 = 0; | |
6655 | PyObject * _argo1 = 0; | |
6656 | char *_kwnames[] = { "self","table", NULL }; | |
6657 | ||
6658 | self = self; | |
6659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1)) | |
6660 | return NULL; | |
6661 | if (_argo0) { | |
6662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p."); | |
6665 | return NULL; | |
6666 | } | |
6667 | } | |
6668 | if (_argo1) { | |
6669 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6670 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) { | |
6671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p."); | |
6672 | return NULL; | |
6673 | } | |
6674 | } | |
6675 | { | |
4268f798 | 6676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6677 | wxGridTableMessage_SetTableObject(_arg0,_arg1); |
f6bcfd97 | 6678 | |
4268f798 | 6679 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6680 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6681 | } Py_INCREF(Py_None); |
6682 | _resultobj = Py_None; | |
6683 | return _resultobj; | |
6684 | } | |
6685 | ||
6686 | #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject()) | |
6687 | static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6688 | PyObject * _resultobj; | |
6689 | wxGridTableBase * _result; | |
6690 | wxGridTableMessage * _arg0; | |
6691 | PyObject * _argo0 = 0; | |
6692 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
6693 | |
6694 | self = self; | |
6695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0)) | |
6696 | return NULL; | |
6697 | if (_argo0) { | |
6698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p."); | |
6701 | return NULL; | |
6702 | } | |
6703 | } | |
6704 | { | |
4268f798 | 6705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6706 | _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0); |
f6bcfd97 | 6707 | |
4268f798 | 6708 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6709 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 6710 | }{ _resultobj = wxPyMake_wxGridTableBase(_result); } |
f6bcfd97 BP |
6711 | return _resultobj; |
6712 | } | |
6713 | ||
6714 | #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
6715 | static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6716 | PyObject * _resultobj; | |
6717 | wxGridTableMessage * _arg0; | |
6718 | int _arg1; | |
6719 | PyObject * _argo0 = 0; | |
6720 | char *_kwnames[] = { "self","id", NULL }; | |
6721 | ||
6722 | self = self; | |
6723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1)) | |
6724 | return NULL; | |
6725 | if (_argo0) { | |
6726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p."); | |
6729 | return NULL; | |
6730 | } | |
6731 | } | |
6732 | { | |
4268f798 | 6733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6734 | wxGridTableMessage_SetId(_arg0,_arg1); |
f6bcfd97 | 6735 | |
4268f798 | 6736 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6737 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6738 | } Py_INCREF(Py_None); |
6739 | _resultobj = Py_None; | |
6740 | return _resultobj; | |
6741 | } | |
6742 | ||
6743 | #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId()) | |
6744 | static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6745 | PyObject * _resultobj; | |
6746 | int _result; | |
6747 | wxGridTableMessage * _arg0; | |
6748 | PyObject * _argo0 = 0; | |
6749 | char *_kwnames[] = { "self", NULL }; | |
6750 | ||
6751 | self = self; | |
6752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0)) | |
6753 | return NULL; | |
6754 | if (_argo0) { | |
6755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p."); | |
6758 | return NULL; | |
6759 | } | |
6760 | } | |
6761 | { | |
4268f798 | 6762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6763 | _result = (int )wxGridTableMessage_GetId(_arg0); |
f6bcfd97 | 6764 | |
4268f798 | 6765 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6766 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6767 | } _resultobj = Py_BuildValue("i",_result); |
6768 | return _resultobj; | |
6769 | } | |
6770 | ||
6771 | #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0)) | |
6772 | static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6773 | PyObject * _resultobj; | |
6774 | wxGridTableMessage * _arg0; | |
6775 | int _arg1; | |
6776 | PyObject * _argo0 = 0; | |
6777 | char *_kwnames[] = { "self","comInt1", NULL }; | |
6778 | ||
6779 | self = self; | |
6780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1)) | |
6781 | return NULL; | |
6782 | if (_argo0) { | |
6783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p."); | |
6786 | return NULL; | |
6787 | } | |
6788 | } | |
6789 | { | |
4268f798 | 6790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6791 | wxGridTableMessage_SetCommandInt(_arg0,_arg1); |
f6bcfd97 | 6792 | |
4268f798 | 6793 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6794 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6795 | } Py_INCREF(Py_None); |
6796 | _resultobj = Py_None; | |
6797 | return _resultobj; | |
6798 | } | |
6799 | ||
6800 | #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt()) | |
6801 | static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6802 | PyObject * _resultobj; | |
6803 | int _result; | |
6804 | wxGridTableMessage * _arg0; | |
6805 | PyObject * _argo0 = 0; | |
6806 | char *_kwnames[] = { "self", NULL }; | |
6807 | ||
6808 | self = self; | |
6809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0)) | |
6810 | return NULL; | |
6811 | if (_argo0) { | |
6812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p."); | |
6815 | return NULL; | |
6816 | } | |
6817 | } | |
6818 | { | |
4268f798 | 6819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6820 | _result = (int )wxGridTableMessage_GetCommandInt(_arg0); |
f6bcfd97 | 6821 | |
4268f798 | 6822 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6823 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6824 | } _resultobj = Py_BuildValue("i",_result); |
6825 | return _resultobj; | |
6826 | } | |
6827 | ||
6828 | #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0)) | |
6829 | static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6830 | PyObject * _resultobj; | |
6831 | wxGridTableMessage * _arg0; | |
6832 | int _arg1; | |
6833 | PyObject * _argo0 = 0; | |
6834 | char *_kwnames[] = { "self","comInt2", NULL }; | |
6835 | ||
6836 | self = self; | |
6837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1)) | |
6838 | return NULL; | |
6839 | if (_argo0) { | |
6840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p."); | |
6843 | return NULL; | |
6844 | } | |
6845 | } | |
6846 | { | |
4268f798 | 6847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6848 | wxGridTableMessage_SetCommandInt2(_arg0,_arg1); |
f6bcfd97 | 6849 | |
4268f798 | 6850 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6851 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6852 | } Py_INCREF(Py_None); |
6853 | _resultobj = Py_None; | |
6854 | return _resultobj; | |
6855 | } | |
6856 | ||
6857 | #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2()) | |
6858 | static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6859 | PyObject * _resultobj; | |
6860 | int _result; | |
6861 | wxGridTableMessage * _arg0; | |
6862 | PyObject * _argo0 = 0; | |
6863 | char *_kwnames[] = { "self", NULL }; | |
6864 | ||
6865 | self = self; | |
6866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0)) | |
6867 | return NULL; | |
6868 | if (_argo0) { | |
6869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p."); | |
6872 | return NULL; | |
6873 | } | |
6874 | } | |
6875 | { | |
4268f798 | 6876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6877 | _result = (int )wxGridTableMessage_GetCommandInt2(_arg0); |
f6bcfd97 | 6878 | |
4268f798 | 6879 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6880 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6881 | } _resultobj = Py_BuildValue("i",_result); |
6882 | return _resultobj; | |
6883 | } | |
6884 | ||
6885 | #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1)) | |
6886 | static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6887 | PyObject * _resultobj; | |
6888 | wxGridCellCoords * _result; | |
6889 | int _arg0 = (int ) -1; | |
6890 | int _arg1 = (int ) -1; | |
6891 | char *_kwnames[] = { "r","c", NULL }; | |
6892 | char _ptemp[128]; | |
6893 | ||
6894 | self = self; | |
6895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1)) | |
6896 | return NULL; | |
6897 | { | |
4268f798 | 6898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6899 | _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1); |
f6bcfd97 | 6900 | |
4268f798 | 6901 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6902 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6903 | } if (_result) { |
6904 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p"); | |
6905 | _resultobj = Py_BuildValue("s",_ptemp); | |
6906 | } else { | |
6907 | Py_INCREF(Py_None); | |
6908 | _resultobj = Py_None; | |
6909 | } | |
6910 | return _resultobj; | |
6911 | } | |
6912 | ||
6913 | #define delete_wxGridCellCoords(_swigobj) (delete _swigobj) | |
6914 | static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6915 | PyObject * _resultobj; | |
6916 | wxGridCellCoords * _arg0; | |
6917 | PyObject * _argo0 = 0; | |
6918 | char *_kwnames[] = { "self", NULL }; | |
6919 | ||
6920 | self = self; | |
6921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0)) | |
6922 | return NULL; | |
6923 | if (_argo0) { | |
6924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p."); | |
6927 | return NULL; | |
6928 | } | |
6929 | } | |
6930 | { | |
4268f798 | 6931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6932 | delete_wxGridCellCoords(_arg0); |
f6bcfd97 | 6933 | |
4268f798 | 6934 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6935 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6936 | } Py_INCREF(Py_None); |
6937 | _resultobj = Py_None; | |
6938 | return _resultobj; | |
6939 | } | |
6940 | ||
6941 | #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow()) | |
6942 | static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6943 | PyObject * _resultobj; | |
6944 | int _result; | |
6945 | wxGridCellCoords * _arg0; | |
6946 | PyObject * _argo0 = 0; | |
6947 | char *_kwnames[] = { "self", NULL }; | |
6948 | ||
6949 | self = self; | |
6950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0)) | |
6951 | return NULL; | |
6952 | if (_argo0) { | |
6953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p."); | |
6956 | return NULL; | |
6957 | } | |
6958 | } | |
6959 | { | |
4268f798 | 6960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6961 | _result = (int )wxGridCellCoords_GetRow(_arg0); |
f6bcfd97 | 6962 | |
4268f798 | 6963 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6964 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6965 | } _resultobj = Py_BuildValue("i",_result); |
6966 | return _resultobj; | |
6967 | } | |
6968 | ||
6969 | #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0)) | |
6970 | static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6971 | PyObject * _resultobj; | |
6972 | wxGridCellCoords * _arg0; | |
6973 | int _arg1; | |
6974 | PyObject * _argo0 = 0; | |
6975 | char *_kwnames[] = { "self","n", NULL }; | |
6976 | ||
6977 | self = self; | |
6978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1)) | |
6979 | return NULL; | |
6980 | if (_argo0) { | |
6981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
6983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p."); | |
6984 | return NULL; | |
6985 | } | |
6986 | } | |
6987 | { | |
4268f798 | 6988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6989 | wxGridCellCoords_SetRow(_arg0,_arg1); |
f6bcfd97 | 6990 | |
4268f798 | 6991 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6992 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6993 | } Py_INCREF(Py_None); |
6994 | _resultobj = Py_None; | |
6995 | return _resultobj; | |
6996 | } | |
6997 | ||
6998 | #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol()) | |
6999 | static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7000 | PyObject * _resultobj; | |
7001 | int _result; | |
7002 | wxGridCellCoords * _arg0; | |
7003 | PyObject * _argo0 = 0; | |
7004 | char *_kwnames[] = { "self", NULL }; | |
7005 | ||
7006 | self = self; | |
7007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0)) | |
7008 | return NULL; | |
7009 | if (_argo0) { | |
7010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p."); | |
7013 | return NULL; | |
7014 | } | |
7015 | } | |
7016 | { | |
4268f798 | 7017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7018 | _result = (int )wxGridCellCoords_GetCol(_arg0); |
f6bcfd97 | 7019 | |
4268f798 | 7020 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7021 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7022 | } _resultobj = Py_BuildValue("i",_result); |
7023 | return _resultobj; | |
7024 | } | |
7025 | ||
7026 | #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0)) | |
7027 | static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7028 | PyObject * _resultobj; | |
7029 | wxGridCellCoords * _arg0; | |
7030 | int _arg1; | |
7031 | PyObject * _argo0 = 0; | |
7032 | char *_kwnames[] = { "self","n", NULL }; | |
7033 | ||
7034 | self = self; | |
7035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1)) | |
7036 | return NULL; | |
7037 | if (_argo0) { | |
7038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p."); | |
7041 | return NULL; | |
7042 | } | |
7043 | } | |
7044 | { | |
4268f798 | 7045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7046 | wxGridCellCoords_SetCol(_arg0,_arg1); |
f6bcfd97 | 7047 | |
4268f798 | 7048 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7049 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7050 | } Py_INCREF(Py_None); |
7051 | _resultobj = Py_None; | |
7052 | return _resultobj; | |
7053 | } | |
7054 | ||
7055 | #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) | |
7056 | static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7057 | PyObject * _resultobj; | |
7058 | wxGridCellCoords * _arg0; | |
7059 | int _arg1; | |
7060 | int _arg2; | |
7061 | PyObject * _argo0 = 0; | |
7062 | char *_kwnames[] = { "self","row","col", NULL }; | |
7063 | ||
7064 | self = self; | |
7065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7066 | return NULL; | |
7067 | if (_argo0) { | |
7068 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7069 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7070 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p."); | |
7071 | return NULL; | |
7072 | } | |
7073 | } | |
7074 | { | |
4268f798 | 7075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7076 | wxGridCellCoords_Set(_arg0,_arg1,_arg2); |
f6bcfd97 | 7077 | |
4268f798 | 7078 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7079 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7080 | } Py_INCREF(Py_None); |
7081 | _resultobj = Py_None; | |
7082 | return _resultobj; | |
7083 | } | |
7084 | ||
7085 | static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) { | |
7086 | PyObject* tup = PyTuple_New(2); | |
7087 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow())); | |
7088 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol())); | |
7089 | return tup; | |
7090 | } | |
7091 | static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7092 | PyObject * _resultobj; | |
7093 | PyObject * _result; | |
7094 | wxGridCellCoords * _arg0; | |
7095 | PyObject * _argo0 = 0; | |
7096 | char *_kwnames[] = { "self", NULL }; | |
7097 | ||
7098 | self = self; | |
7099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0)) | |
7100 | return NULL; | |
7101 | if (_argo0) { | |
7102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p."); | |
7105 | return NULL; | |
7106 | } | |
7107 | } | |
7108 | { | |
4268f798 | 7109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7110 | _result = (PyObject *)wxGridCellCoords_asTuple(_arg0); |
f6bcfd97 | 7111 | |
4268f798 | 7112 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7113 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7114 | }{ |
7115 | _resultobj = _result; | |
7116 | } | |
7117 | return _resultobj; | |
7118 | } | |
7119 | ||
7120 | static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) { | |
7121 | return *self != other; | |
7122 | } | |
7123 | static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7124 | PyObject * _resultobj; | |
7125 | int _result; | |
7126 | wxGridCellCoords * _arg0; | |
7127 | wxGridCellCoords * _arg1; | |
7128 | PyObject * _argo0 = 0; | |
7129 | PyObject * _argo1 = 0; | |
7130 | char *_kwnames[] = { "self","other", NULL }; | |
7131 | ||
7132 | self = self; | |
7133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1)) | |
7134 | return NULL; | |
7135 | if (_argo0) { | |
7136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p."); | |
7139 | return NULL; | |
7140 | } | |
7141 | } | |
7142 | if (_argo1) { | |
7143 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7144 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) { | |
7145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p."); | |
7146 | return NULL; | |
7147 | } | |
7148 | } | |
7149 | { | |
4268f798 | 7150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7151 | _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1); |
f6bcfd97 | 7152 | |
4268f798 | 7153 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7154 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7155 | } _resultobj = Py_BuildValue("i",_result); |
7156 | return _resultobj; | |
7157 | } | |
7158 | ||
7159 | static void *SwigwxGridTowxScrolledWindow(void *ptr) { | |
7160 | wxGrid *src; | |
7161 | wxScrolledWindow *dest; | |
7162 | src = (wxGrid *) ptr; | |
7163 | dest = (wxScrolledWindow *) src; | |
7164 | return (void *) dest; | |
7165 | } | |
7166 | ||
7167 | static void *SwigwxGridTowxPanel(void *ptr) { | |
7168 | wxGrid *src; | |
7169 | wxPanel *dest; | |
7170 | src = (wxGrid *) ptr; | |
7171 | dest = (wxPanel *) src; | |
7172 | return (void *) dest; | |
7173 | } | |
7174 | ||
7175 | static void *SwigwxGridTowxWindow(void *ptr) { | |
7176 | wxGrid *src; | |
7177 | wxWindow *dest; | |
7178 | src = (wxGrid *) ptr; | |
7179 | dest = (wxWindow *) src; | |
7180 | return (void *) dest; | |
7181 | } | |
7182 | ||
7183 | static void *SwigwxGridTowxEvtHandler(void *ptr) { | |
7184 | wxGrid *src; | |
7185 | wxEvtHandler *dest; | |
7186 | src = (wxGrid *) ptr; | |
7187 | dest = (wxEvtHandler *) src; | |
7188 | return (void *) dest; | |
7189 | } | |
7190 | ||
9416aa89 RD |
7191 | static void *SwigwxGridTowxObject(void *ptr) { |
7192 | wxGrid *src; | |
7193 | wxObject *dest; | |
7194 | src = (wxGrid *) ptr; | |
7195 | dest = (wxObject *) src; | |
7196 | return (void *) dest; | |
7197 | } | |
7198 | ||
f6bcfd97 BP |
7199 | #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
7200 | static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7201 | PyObject * _resultobj; | |
7202 | wxGrid * _result; | |
7203 | wxWindow * _arg0; | |
7204 | wxWindowID _arg1; | |
7205 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
7206 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
7207 | long _arg4 = (long ) wxWANTS_CHARS; | |
137b5242 | 7208 | wxString * _arg5 = (wxString *) &wxPyPanelNameStr; |
f6bcfd97 BP |
7209 | PyObject * _argo0 = 0; |
7210 | wxPoint temp; | |
7211 | PyObject * _obj2 = 0; | |
7212 | wxSize temp0; | |
7213 | PyObject * _obj3 = 0; | |
137b5242 | 7214 | PyObject * _obj5 = 0; |
f6bcfd97 BP |
7215 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
7216 | char _ptemp[128]; | |
7217 | ||
7218 | self = self; | |
137b5242 | 7219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
f6bcfd97 BP |
7220 | return NULL; |
7221 | if (_argo0) { | |
7222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
7224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p."); | |
7225 | return NULL; | |
7226 | } | |
7227 | } | |
7228 | if (_obj2) | |
7229 | { | |
7230 | _arg2 = &temp; | |
7231 | if (! wxPoint_helper(_obj2, &_arg2)) | |
7232 | return NULL; | |
7233 | } | |
7234 | if (_obj3) | |
7235 | { | |
7236 | _arg3 = &temp0; | |
7237 | if (! wxSize_helper(_obj3, &_arg3)) | |
7238 | return NULL; | |
137b5242 RD |
7239 | } |
7240 | if (_obj5) | |
7241 | { | |
7242 | _arg5 = wxString_in_helper(_obj5); | |
7243 | if (_arg5 == NULL) | |
7244 | return NULL; | |
f6bcfd97 BP |
7245 | } |
7246 | { | |
4268f798 | 7247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 7248 | _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
f6bcfd97 | 7249 | |
4268f798 | 7250 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7251 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7252 | } if (_result) { |
7253 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p"); | |
7254 | _resultobj = Py_BuildValue("s",_ptemp); | |
7255 | } else { | |
7256 | Py_INCREF(Py_None); | |
7257 | _resultobj = Py_None; | |
7258 | } | |
137b5242 RD |
7259 | { |
7260 | if (_obj5) | |
7261 | delete _arg5; | |
7262 | } | |
f6bcfd97 BP |
7263 | return _resultobj; |
7264 | } | |
7265 | ||
7266 | #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2)) | |
7267 | static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7268 | PyObject * _resultobj; | |
7269 | bool _result; | |
7270 | wxGrid * _arg0; | |
7271 | int _arg1; | |
7272 | int _arg2; | |
7273 | WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells; | |
7274 | PyObject * _argo0 = 0; | |
7275 | char *_kwnames[] = { "self","numRows","numCols","selmode", NULL }; | |
7276 | ||
7277 | self = self; | |
7278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
7279 | return NULL; | |
7280 | if (_argo0) { | |
7281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p."); | |
7284 | return NULL; | |
7285 | } | |
7286 | } | |
7287 | { | |
4268f798 | 7288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7289 | _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7290 | |
4268f798 | 7291 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7292 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7293 | } _resultobj = Py_BuildValue("i",_result); |
7294 | return _resultobj; | |
7295 | } | |
7296 | ||
7297 | #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0)) | |
7298 | static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7299 | PyObject * _resultobj; | |
7300 | wxGrid * _arg0; | |
7301 | WXGRIDSELECTIONMODES _arg1; | |
7302 | PyObject * _argo0 = 0; | |
7303 | char *_kwnames[] = { "self","selmode", NULL }; | |
7304 | ||
7305 | self = self; | |
7306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1)) | |
7307 | return NULL; | |
7308 | if (_argo0) { | |
7309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p."); | |
7312 | return NULL; | |
7313 | } | |
7314 | } | |
7315 | { | |
4268f798 | 7316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7317 | wxGrid_SetSelectionMode(_arg0,_arg1); |
f6bcfd97 | 7318 | |
4268f798 | 7319 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7320 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7321 | } Py_INCREF(Py_None); |
7322 | _resultobj = Py_None; | |
7323 | return _resultobj; | |
7324 | } | |
7325 | ||
7326 | #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows()) | |
7327 | static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7328 | PyObject * _resultobj; | |
7329 | int _result; | |
7330 | wxGrid * _arg0; | |
7331 | PyObject * _argo0 = 0; | |
7332 | char *_kwnames[] = { "self", NULL }; | |
7333 | ||
7334 | self = self; | |
7335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0)) | |
7336 | return NULL; | |
7337 | if (_argo0) { | |
7338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p."); | |
7341 | return NULL; | |
7342 | } | |
7343 | } | |
7344 | { | |
4268f798 | 7345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7346 | _result = (int )wxGrid_GetNumberRows(_arg0); |
f6bcfd97 | 7347 | |
4268f798 | 7348 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7349 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7350 | } _resultobj = Py_BuildValue("i",_result); |
7351 | return _resultobj; | |
7352 | } | |
7353 | ||
7354 | #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols()) | |
7355 | static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7356 | PyObject * _resultobj; | |
7357 | int _result; | |
7358 | wxGrid * _arg0; | |
7359 | PyObject * _argo0 = 0; | |
7360 | char *_kwnames[] = { "self", NULL }; | |
7361 | ||
7362 | self = self; | |
7363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0)) | |
7364 | return NULL; | |
7365 | if (_argo0) { | |
7366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p."); | |
7369 | return NULL; | |
7370 | } | |
7371 | } | |
7372 | { | |
4268f798 | 7373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7374 | _result = (int )wxGrid_GetNumberCols(_arg0); |
f6bcfd97 | 7375 | |
4268f798 | 7376 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7377 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7378 | } _resultobj = Py_BuildValue("i",_result); |
7379 | return _resultobj; | |
7380 | } | |
7381 | ||
7382 | #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0)) | |
7383 | static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7384 | PyObject * _resultobj; | |
7385 | bool _result; | |
7386 | wxGrid * _arg0; | |
7387 | wxGridTableMessage * _arg1; | |
7388 | PyObject * _argo0 = 0; | |
7389 | PyObject * _argo1 = 0; | |
7390 | char *_kwnames[] = { "self","arg2", NULL }; | |
7391 | ||
7392 | self = self; | |
7393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1)) | |
7394 | return NULL; | |
7395 | if (_argo0) { | |
7396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p."); | |
7399 | return NULL; | |
7400 | } | |
7401 | } | |
7402 | if (_argo1) { | |
7403 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7404 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) { | |
7405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p."); | |
7406 | return NULL; | |
7407 | } | |
7408 | } | |
7409 | { | |
4268f798 | 7410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7411 | _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1); |
f6bcfd97 | 7412 | |
4268f798 | 7413 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7414 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7415 | } _resultobj = Py_BuildValue("i",_result); |
7416 | return _resultobj; | |
7417 | } | |
7418 | ||
7419 | #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable()) | |
7420 | static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7421 | PyObject * _resultobj; | |
7422 | wxGridTableBase * _result; | |
7423 | wxGrid * _arg0; | |
7424 | PyObject * _argo0 = 0; | |
7425 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
7426 | |
7427 | self = self; | |
7428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0)) | |
7429 | return NULL; | |
7430 | if (_argo0) { | |
7431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p."); | |
7434 | return NULL; | |
7435 | } | |
7436 | } | |
7437 | { | |
4268f798 | 7438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7439 | _result = (wxGridTableBase *)wxGrid_GetTable(_arg0); |
f6bcfd97 | 7440 | |
4268f798 | 7441 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7442 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 7443 | }{ _resultobj = wxPyMake_wxGridTableBase(_result); } |
f6bcfd97 BP |
7444 | return _resultobj; |
7445 | } | |
7446 | ||
7447 | #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2)) | |
7448 | static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7449 | PyObject * _resultobj; | |
7450 | bool _result; | |
7451 | wxGrid * _arg0; | |
7452 | wxGridTableBase * _arg1; | |
7453 | bool _arg2 = (bool ) FALSE; | |
7454 | WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells; | |
7455 | PyObject * _argo0 = 0; | |
7456 | PyObject * _argo1 = 0; | |
7457 | int tempbool2 = (int) FALSE; | |
7458 | char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL }; | |
7459 | ||
7460 | self = self; | |
7461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3)) | |
7462 | return NULL; | |
7463 | if (_argo0) { | |
7464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p."); | |
7467 | return NULL; | |
7468 | } | |
7469 | } | |
7470 | if (_argo1) { | |
7471 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7472 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) { | |
7473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p."); | |
7474 | return NULL; | |
7475 | } | |
7476 | } | |
7477 | _arg2 = (bool ) tempbool2; | |
7478 | { | |
4268f798 | 7479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7480 | _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7481 | |
4268f798 | 7482 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7483 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7484 | } _resultobj = Py_BuildValue("i",_result); |
7485 | return _resultobj; | |
7486 | } | |
7487 | ||
7488 | #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid()) | |
7489 | static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7490 | PyObject * _resultobj; | |
7491 | wxGrid * _arg0; | |
7492 | PyObject * _argo0 = 0; | |
7493 | char *_kwnames[] = { "self", NULL }; | |
7494 | ||
7495 | self = self; | |
7496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0)) | |
7497 | return NULL; | |
7498 | if (_argo0) { | |
7499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p."); | |
7502 | return NULL; | |
7503 | } | |
7504 | } | |
7505 | { | |
4268f798 | 7506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7507 | wxGrid_ClearGrid(_arg0); |
f6bcfd97 | 7508 | |
4268f798 | 7509 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7510 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7511 | } Py_INCREF(Py_None); |
7512 | _resultobj = Py_None; | |
7513 | return _resultobj; | |
7514 | } | |
7515 | ||
7516 | #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2)) | |
7517 | static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7518 | PyObject * _resultobj; | |
7519 | bool _result; | |
7520 | wxGrid * _arg0; | |
7521 | int _arg1 = (int ) 0; | |
7522 | int _arg2 = (int ) 1; | |
7523 | bool _arg3 = (bool ) TRUE; | |
7524 | PyObject * _argo0 = 0; | |
7525 | int tempbool3 = (int) TRUE; | |
7526 | char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL }; | |
7527 | ||
7528 | self = self; | |
7529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7530 | return NULL; | |
7531 | if (_argo0) { | |
7532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p."); | |
7535 | return NULL; | |
7536 | } | |
7537 | } | |
7538 | _arg3 = (bool ) tempbool3; | |
7539 | { | |
4268f798 | 7540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7541 | _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7542 | |
4268f798 | 7543 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7544 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7545 | } _resultobj = Py_BuildValue("i",_result); |
7546 | return _resultobj; | |
7547 | } | |
7548 | ||
7549 | #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1)) | |
7550 | static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7551 | PyObject * _resultobj; | |
7552 | bool _result; | |
7553 | wxGrid * _arg0; | |
7554 | int _arg1 = (int ) 1; | |
7555 | bool _arg2 = (bool ) TRUE; | |
7556 | PyObject * _argo0 = 0; | |
7557 | int tempbool2 = (int) TRUE; | |
7558 | char *_kwnames[] = { "self","numRows","updateLabels", NULL }; | |
7559 | ||
7560 | self = self; | |
7561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
7562 | return NULL; | |
7563 | if (_argo0) { | |
7564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p."); | |
7567 | return NULL; | |
7568 | } | |
7569 | } | |
7570 | _arg2 = (bool ) tempbool2; | |
7571 | { | |
4268f798 | 7572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7573 | _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 7574 | |
4268f798 | 7575 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7576 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7577 | } _resultobj = Py_BuildValue("i",_result); |
7578 | return _resultobj; | |
7579 | } | |
7580 | ||
7581 | #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2)) | |
7582 | static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7583 | PyObject * _resultobj; | |
7584 | bool _result; | |
7585 | wxGrid * _arg0; | |
7586 | int _arg1 = (int ) 0; | |
7587 | int _arg2 = (int ) 1; | |
7588 | bool _arg3 = (bool ) TRUE; | |
7589 | PyObject * _argo0 = 0; | |
7590 | int tempbool3 = (int) TRUE; | |
7591 | char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL }; | |
7592 | ||
7593 | self = self; | |
7594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7595 | return NULL; | |
7596 | if (_argo0) { | |
7597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p."); | |
7600 | return NULL; | |
7601 | } | |
7602 | } | |
7603 | _arg3 = (bool ) tempbool3; | |
7604 | { | |
4268f798 | 7605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7606 | _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7607 | |
4268f798 | 7608 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7609 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7610 | } _resultobj = Py_BuildValue("i",_result); |
7611 | return _resultobj; | |
7612 | } | |
7613 | ||
7614 | #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2)) | |
7615 | static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7616 | PyObject * _resultobj; | |
7617 | bool _result; | |
7618 | wxGrid * _arg0; | |
7619 | int _arg1 = (int ) 0; | |
7620 | int _arg2 = (int ) 1; | |
7621 | bool _arg3 = (bool ) TRUE; | |
7622 | PyObject * _argo0 = 0; | |
7623 | int tempbool3 = (int) TRUE; | |
7624 | char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL }; | |
7625 | ||
7626 | self = self; | |
7627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7628 | return NULL; | |
7629 | if (_argo0) { | |
7630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p."); | |
7633 | return NULL; | |
7634 | } | |
7635 | } | |
7636 | _arg3 = (bool ) tempbool3; | |
7637 | { | |
4268f798 | 7638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7639 | _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7640 | |
4268f798 | 7641 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7642 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7643 | } _resultobj = Py_BuildValue("i",_result); |
7644 | return _resultobj; | |
7645 | } | |
7646 | ||
7647 | #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1)) | |
7648 | static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7649 | PyObject * _resultobj; | |
7650 | bool _result; | |
7651 | wxGrid * _arg0; | |
7652 | int _arg1 = (int ) 1; | |
7653 | bool _arg2 = (bool ) TRUE; | |
7654 | PyObject * _argo0 = 0; | |
7655 | int tempbool2 = (int) TRUE; | |
7656 | char *_kwnames[] = { "self","numCols","updateLabels", NULL }; | |
7657 | ||
7658 | self = self; | |
7659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
7660 | return NULL; | |
7661 | if (_argo0) { | |
7662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p."); | |
7665 | return NULL; | |
7666 | } | |
7667 | } | |
7668 | _arg2 = (bool ) tempbool2; | |
7669 | { | |
4268f798 | 7670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7671 | _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 7672 | |
4268f798 | 7673 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7674 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7675 | } _resultobj = Py_BuildValue("i",_result); |
7676 | return _resultobj; | |
7677 | } | |
7678 | ||
7679 | #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2)) | |
7680 | static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7681 | PyObject * _resultobj; | |
7682 | bool _result; | |
7683 | wxGrid * _arg0; | |
7684 | int _arg1 = (int ) 0; | |
7685 | int _arg2 = (int ) 1; | |
7686 | bool _arg3 = (bool ) TRUE; | |
7687 | PyObject * _argo0 = 0; | |
7688 | int tempbool3 = (int) TRUE; | |
7689 | char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL }; | |
7690 | ||
7691 | self = self; | |
7692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7693 | return NULL; | |
7694 | if (_argo0) { | |
7695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p."); | |
7698 | return NULL; | |
7699 | } | |
7700 | } | |
7701 | _arg3 = (bool ) tempbool3; | |
7702 | { | |
4268f798 | 7703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7704 | _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7705 | |
4268f798 | 7706 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7707 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7708 | } _resultobj = Py_BuildValue("i",_result); |
7709 | return _resultobj; | |
7710 | } | |
7711 | ||
7712 | #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1)) | |
7713 | static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7714 | PyObject * _resultobj; | |
7715 | wxGrid * _arg0; | |
7716 | wxDC * _arg1; | |
7717 | wxGridCellAttr * _arg2; | |
7718 | PyObject * _argo0 = 0; | |
7719 | PyObject * _argo1 = 0; | |
7720 | PyObject * _argo2 = 0; | |
7721 | char *_kwnames[] = { "self","dc","attr", NULL }; | |
7722 | ||
7723 | self = self; | |
7724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7725 | return NULL; | |
7726 | if (_argo0) { | |
7727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p."); | |
7730 | return NULL; | |
7731 | } | |
7732 | } | |
7733 | if (_argo1) { | |
7734 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7735 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p."); | |
7737 | return NULL; | |
7738 | } | |
7739 | } | |
7740 | if (_argo2) { | |
7741 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7742 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
7743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p."); | |
7744 | return NULL; | |
7745 | } | |
7746 | } | |
7747 | { | |
4268f798 | 7748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7749 | wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2); |
f6bcfd97 | 7750 | |
4268f798 | 7751 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7752 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7753 | } Py_INCREF(Py_None); |
7754 | _resultobj = Py_None; | |
7755 | return _resultobj; | |
7756 | } | |
7757 | ||
7758 | #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7759 | static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7760 | PyObject * _resultobj; | |
7761 | wxGrid * _arg0; | |
7762 | wxDC * _arg1; | |
7763 | wxString * _arg2; | |
7764 | wxRect * _arg3; | |
7765 | int _arg4 = (int ) wxLEFT; | |
7766 | int _arg5 = (int ) wxTOP; | |
7767 | PyObject * _argo0 = 0; | |
7768 | PyObject * _argo1 = 0; | |
7769 | PyObject * _obj2 = 0; | |
7770 | wxRect temp; | |
7771 | PyObject * _obj3 = 0; | |
7772 | char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL }; | |
7773 | ||
7774 | self = self; | |
7775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
7776 | return NULL; | |
7777 | if (_argo0) { | |
7778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p."); | |
7781 | return NULL; | |
7782 | } | |
7783 | } | |
7784 | if (_argo1) { | |
7785 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7786 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p."); | |
7788 | return NULL; | |
7789 | } | |
7790 | } | |
7791 | { | |
c8bc7bb8 RD |
7792 | _arg2 = wxString_in_helper(_obj2); |
7793 | if (_arg2 == NULL) | |
185d7c3e | 7794 | return NULL; |
f6bcfd97 BP |
7795 | } |
7796 | { | |
7797 | _arg3 = &temp; | |
7798 | if (! wxRect_helper(_obj3, &_arg3)) | |
7799 | return NULL; | |
7800 | } | |
7801 | { | |
4268f798 | 7802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7803 | wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 | 7804 | |
4268f798 | 7805 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7806 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7807 | } Py_INCREF(Py_None); |
7808 | _resultobj = Py_None; | |
7809 | { | |
7810 | if (_obj2) | |
7811 | delete _arg2; | |
7812 | } | |
7813 | return _resultobj; | |
7814 | } | |
7815 | ||
f6bcfd97 BP |
7816 | #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
7817 | static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7818 | PyObject * _resultobj; | |
7819 | wxGrid * _arg0; | |
7820 | wxDC * _arg1; | |
7821 | wxArrayString * _arg2; | |
7822 | long * _arg3; | |
7823 | long temp; | |
7824 | long * _arg4; | |
7825 | long temp0; | |
7826 | PyObject * _argo0 = 0; | |
7827 | PyObject * _argo1 = 0; | |
b37c7e1d | 7828 | PyObject * _obj2 = 0; |
f6bcfd97 BP |
7829 | char *_kwnames[] = { "self","dc","lines", NULL }; |
7830 | ||
7831 | self = self; | |
7832 | { | |
7833 | _arg3 = &temp; | |
7834 | } | |
7835 | { | |
7836 | _arg4 = &temp0; | |
7837 | } | |
b37c7e1d | 7838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2)) |
f6bcfd97 BP |
7839 | return NULL; |
7840 | if (_argo0) { | |
7841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p."); | |
7844 | return NULL; | |
7845 | } | |
7846 | } | |
7847 | if (_argo1) { | |
7848 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7849 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p."); | |
7851 | return NULL; | |
7852 | } | |
7853 | } | |
b37c7e1d RD |
7854 | { |
7855 | if (! PySequence_Check(_obj2)) { | |
7856 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
f6bcfd97 | 7857 | return NULL; |
f6bcfd97 | 7858 | } |
b37c7e1d RD |
7859 | _arg2 = new wxArrayString; |
7860 | int i, len=PySequence_Length(_obj2); | |
7861 | for (i=0; i<len; i++) { | |
7862 | PyObject* item = PySequence_GetItem(_obj2, i); | |
c8bc7bb8 RD |
7863 | #if wxUSE_UNICODE |
7864 | PyObject* str = PyObject_Unicode(item); | |
7865 | _arg2->Add(PyUnicode_AsUnicode(str)); | |
7866 | #else | |
b37c7e1d | 7867 | PyObject* str = PyObject_Str(item); |
293a0a86 | 7868 | _arg2->Add(PyString_AsString(str)); |
c8bc7bb8 | 7869 | #endif |
b37c7e1d RD |
7870 | Py_DECREF(item); |
7871 | Py_DECREF(str); | |
7872 | } | |
7873 | } | |
f6bcfd97 | 7874 | { |
4268f798 | 7875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7876 | wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4); |
f6bcfd97 | 7877 | |
4268f798 | 7878 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7879 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7880 | } Py_INCREF(Py_None); |
7881 | _resultobj = Py_None; | |
7882 | { | |
7883 | PyObject *o; | |
7884 | o = PyInt_FromLong((long) (*_arg3)); | |
7885 | _resultobj = t_output_helper(_resultobj, o); | |
7886 | } | |
7887 | { | |
7888 | PyObject *o; | |
7889 | o = PyInt_FromLong((long) (*_arg4)); | |
7890 | _resultobj = t_output_helper(_resultobj, o); | |
b37c7e1d RD |
7891 | } |
7892 | { | |
7893 | if (_obj2) | |
7894 | delete _arg2; | |
f6bcfd97 BP |
7895 | } |
7896 | return _resultobj; | |
7897 | } | |
7898 | ||
7899 | #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch()) | |
7900 | static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7901 | PyObject * _resultobj; | |
7902 | wxGrid * _arg0; | |
7903 | PyObject * _argo0 = 0; | |
7904 | char *_kwnames[] = { "self", NULL }; | |
7905 | ||
7906 | self = self; | |
7907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0)) | |
7908 | return NULL; | |
7909 | if (_argo0) { | |
7910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p."); | |
7913 | return NULL; | |
7914 | } | |
7915 | } | |
7916 | { | |
4268f798 | 7917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7918 | wxGrid_BeginBatch(_arg0); |
f6bcfd97 | 7919 | |
4268f798 | 7920 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7921 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7922 | } Py_INCREF(Py_None); |
7923 | _resultobj = Py_None; | |
7924 | return _resultobj; | |
7925 | } | |
7926 | ||
7927 | #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch()) | |
7928 | static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7929 | PyObject * _resultobj; | |
7930 | wxGrid * _arg0; | |
7931 | PyObject * _argo0 = 0; | |
7932 | char *_kwnames[] = { "self", NULL }; | |
7933 | ||
7934 | self = self; | |
7935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0)) | |
7936 | return NULL; | |
7937 | if (_argo0) { | |
7938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p."); | |
7941 | return NULL; | |
7942 | } | |
7943 | } | |
7944 | { | |
4268f798 | 7945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7946 | wxGrid_EndBatch(_arg0); |
f6bcfd97 | 7947 | |
4268f798 | 7948 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7949 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7950 | } Py_INCREF(Py_None); |
7951 | _resultobj = Py_None; | |
7952 | return _resultobj; | |
7953 | } | |
7954 | ||
7955 | #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount()) | |
7956 | static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7957 | PyObject * _resultobj; | |
7958 | int _result; | |
7959 | wxGrid * _arg0; | |
7960 | PyObject * _argo0 = 0; | |
7961 | char *_kwnames[] = { "self", NULL }; | |
7962 | ||
7963 | self = self; | |
7964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0)) | |
7965 | return NULL; | |
7966 | if (_argo0) { | |
7967 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7968 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p."); | |
7970 | return NULL; | |
7971 | } | |
7972 | } | |
7973 | { | |
4268f798 | 7974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7975 | _result = (int )wxGrid_GetBatchCount(_arg0); |
f6bcfd97 | 7976 | |
4268f798 | 7977 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7978 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7979 | } _resultobj = Py_BuildValue("i",_result); |
7980 | return _resultobj; | |
7981 | } | |
7982 | ||
edf2f43e RD |
7983 | #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh()) |
7984 | static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7985 | PyObject * _resultobj; | |
7986 | wxGrid * _arg0; | |
7987 | PyObject * _argo0 = 0; | |
7988 | char *_kwnames[] = { "self", NULL }; | |
7989 | ||
7990 | self = self; | |
7991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0)) | |
7992 | return NULL; | |
7993 | if (_argo0) { | |
7994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p."); | |
7997 | return NULL; | |
7998 | } | |
7999 | } | |
8000 | { | |
4268f798 | 8001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8002 | wxGrid_ForceRefresh(_arg0); |
edf2f43e | 8003 | |
4268f798 | 8004 | wxPyEndAllowThreads(__tstate); |
edf2f43e RD |
8005 | if (PyErr_Occurred()) return NULL; |
8006 | } Py_INCREF(Py_None); | |
8007 | _resultobj = Py_None; | |
8008 | return _resultobj; | |
8009 | } | |
8010 | ||
f6bcfd97 BP |
8011 | #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable()) |
8012 | static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8013 | PyObject * _resultobj; | |
8014 | bool _result; | |
8015 | wxGrid * _arg0; | |
8016 | PyObject * _argo0 = 0; | |
8017 | char *_kwnames[] = { "self", NULL }; | |
8018 | ||
8019 | self = self; | |
8020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0)) | |
8021 | return NULL; | |
8022 | if (_argo0) { | |
8023 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8024 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p."); | |
8026 | return NULL; | |
8027 | } | |
8028 | } | |
8029 | { | |
4268f798 | 8030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8031 | _result = (bool )wxGrid_IsEditable(_arg0); |
f6bcfd97 | 8032 | |
4268f798 | 8033 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8034 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8035 | } _resultobj = Py_BuildValue("i",_result); |
8036 | return _resultobj; | |
8037 | } | |
8038 | ||
8039 | #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0)) | |
8040 | static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8041 | PyObject * _resultobj; | |
8042 | wxGrid * _arg0; | |
8043 | bool _arg1; | |
8044 | PyObject * _argo0 = 0; | |
8045 | int tempbool1; | |
8046 | char *_kwnames[] = { "self","edit", NULL }; | |
8047 | ||
8048 | self = self; | |
8049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1)) | |
8050 | return NULL; | |
8051 | if (_argo0) { | |
8052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p."); | |
8055 | return NULL; | |
8056 | } | |
8057 | } | |
8058 | _arg1 = (bool ) tempbool1; | |
8059 | { | |
4268f798 | 8060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8061 | wxGrid_EnableEditing(_arg0,_arg1); |
f6bcfd97 | 8062 | |
4268f798 | 8063 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8064 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8065 | } Py_INCREF(Py_None); |
8066 | _resultobj = Py_None; | |
8067 | return _resultobj; | |
8068 | } | |
8069 | ||
8070 | #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0)) | |
8071 | static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8072 | PyObject * _resultobj; | |
8073 | wxGrid * _arg0; | |
8074 | bool _arg1 = (bool ) TRUE; | |
8075 | PyObject * _argo0 = 0; | |
8076 | int tempbool1 = (int) TRUE; | |
8077 | char *_kwnames[] = { "self","enable", NULL }; | |
8078 | ||
8079 | self = self; | |
8080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1)) | |
8081 | return NULL; | |
8082 | if (_argo0) { | |
8083 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8084 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8085 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p."); | |
8086 | return NULL; | |
8087 | } | |
8088 | } | |
8089 | _arg1 = (bool ) tempbool1; | |
8090 | { | |
4268f798 | 8091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8092 | wxGrid_EnableCellEditControl(_arg0,_arg1); |
f6bcfd97 | 8093 | |
4268f798 | 8094 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8095 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8096 | } Py_INCREF(Py_None); |
8097 | _resultobj = Py_None; | |
8098 | return _resultobj; | |
8099 | } | |
8100 | ||
8101 | #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl()) | |
8102 | static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8103 | PyObject * _resultobj; | |
8104 | wxGrid * _arg0; | |
8105 | PyObject * _argo0 = 0; | |
8106 | char *_kwnames[] = { "self", NULL }; | |
8107 | ||
8108 | self = self; | |
8109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0)) | |
8110 | return NULL; | |
8111 | if (_argo0) { | |
8112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p."); | |
8115 | return NULL; | |
8116 | } | |
8117 | } | |
8118 | { | |
4268f798 | 8119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8120 | wxGrid_DisableCellEditControl(_arg0); |
f6bcfd97 | 8121 | |
4268f798 | 8122 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8123 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8124 | } Py_INCREF(Py_None); |
8125 | _resultobj = Py_None; | |
8126 | return _resultobj; | |
8127 | } | |
8128 | ||
8129 | #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl()) | |
8130 | static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8131 | PyObject * _resultobj; | |
8132 | bool _result; | |
8133 | wxGrid * _arg0; | |
8134 | PyObject * _argo0 = 0; | |
8135 | char *_kwnames[] = { "self", NULL }; | |
8136 | ||
8137 | self = self; | |
8138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0)) | |
8139 | return NULL; | |
8140 | if (_argo0) { | |
8141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p."); | |
8144 | return NULL; | |
8145 | } | |
8146 | } | |
8147 | { | |
4268f798 | 8148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8149 | _result = (bool )wxGrid_CanEnableCellControl(_arg0); |
f6bcfd97 | 8150 | |
4268f798 | 8151 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8152 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8153 | } _resultobj = Py_BuildValue("i",_result); |
8154 | return _resultobj; | |
8155 | } | |
8156 | ||
8157 | #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled()) | |
8158 | static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8159 | PyObject * _resultobj; | |
8160 | bool _result; | |
8161 | wxGrid * _arg0; | |
8162 | PyObject * _argo0 = 0; | |
8163 | char *_kwnames[] = { "self", NULL }; | |
8164 | ||
8165 | self = self; | |
8166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0)) | |
8167 | return NULL; | |
8168 | if (_argo0) { | |
8169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p."); | |
8172 | return NULL; | |
8173 | } | |
8174 | } | |
8175 | { | |
4268f798 | 8176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8177 | _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0); |
f6bcfd97 | 8178 | |
4268f798 | 8179 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8180 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8181 | } _resultobj = Py_BuildValue("i",_result); |
8182 | return _resultobj; | |
8183 | } | |
8184 | ||
8185 | #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown()) | |
8186 | static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8187 | PyObject * _resultobj; | |
8188 | bool _result; | |
8189 | wxGrid * _arg0; | |
8190 | PyObject * _argo0 = 0; | |
8191 | char *_kwnames[] = { "self", NULL }; | |
8192 | ||
8193 | self = self; | |
8194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0)) | |
8195 | return NULL; | |
8196 | if (_argo0) { | |
8197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p."); | |
8200 | return NULL; | |
8201 | } | |
8202 | } | |
8203 | { | |
4268f798 | 8204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8205 | _result = (bool )wxGrid_IsCellEditControlShown(_arg0); |
f6bcfd97 | 8206 | |
4268f798 | 8207 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8208 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8209 | } _resultobj = Py_BuildValue("i",_result); |
8210 | return _resultobj; | |
8211 | } | |
8212 | ||
8213 | #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly()) | |
8214 | static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8215 | PyObject * _resultobj; | |
8216 | bool _result; | |
8217 | wxGrid * _arg0; | |
8218 | PyObject * _argo0 = 0; | |
8219 | char *_kwnames[] = { "self", NULL }; | |
8220 | ||
8221 | self = self; | |
8222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0)) | |
8223 | return NULL; | |
8224 | if (_argo0) { | |
8225 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8226 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p."); | |
8228 | return NULL; | |
8229 | } | |
8230 | } | |
8231 | { | |
4268f798 | 8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8233 | _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0); |
f6bcfd97 | 8234 | |
4268f798 | 8235 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8236 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8237 | } _resultobj = Py_BuildValue("i",_result); |
8238 | return _resultobj; | |
8239 | } | |
8240 | ||
8241 | #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl()) | |
8242 | static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8243 | PyObject * _resultobj; | |
8244 | wxGrid * _arg0; | |
8245 | PyObject * _argo0 = 0; | |
8246 | char *_kwnames[] = { "self", NULL }; | |
8247 | ||
8248 | self = self; | |
8249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0)) | |
8250 | return NULL; | |
8251 | if (_argo0) { | |
8252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p."); | |
8255 | return NULL; | |
8256 | } | |
8257 | } | |
8258 | { | |
4268f798 | 8259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8260 | wxGrid_ShowCellEditControl(_arg0); |
f6bcfd97 | 8261 | |
4268f798 | 8262 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8263 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8264 | } Py_INCREF(Py_None); |
8265 | _resultobj = Py_None; | |
8266 | return _resultobj; | |
8267 | } | |
8268 | ||
8269 | #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl()) | |
8270 | static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8271 | PyObject * _resultobj; | |
8272 | wxGrid * _arg0; | |
8273 | PyObject * _argo0 = 0; | |
8274 | char *_kwnames[] = { "self", NULL }; | |
8275 | ||
8276 | self = self; | |
8277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0)) | |
8278 | return NULL; | |
8279 | if (_argo0) { | |
8280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p."); | |
8283 | return NULL; | |
8284 | } | |
8285 | } | |
8286 | { | |
4268f798 | 8287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8288 | wxGrid_HideCellEditControl(_arg0); |
f6bcfd97 | 8289 | |
4268f798 | 8290 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8291 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8292 | } Py_INCREF(Py_None); |
8293 | _resultobj = Py_None; | |
8294 | return _resultobj; | |
8295 | } | |
8296 | ||
8297 | #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue()) | |
8298 | static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8299 | PyObject * _resultobj; | |
8300 | wxGrid * _arg0; | |
8301 | PyObject * _argo0 = 0; | |
8302 | char *_kwnames[] = { "self", NULL }; | |
8303 | ||
8304 | self = self; | |
8305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0)) | |
8306 | return NULL; | |
8307 | if (_argo0) { | |
8308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p."); | |
8311 | return NULL; | |
8312 | } | |
8313 | } | |
8314 | { | |
4268f798 | 8315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8316 | wxGrid_SaveEditControlValue(_arg0); |
f6bcfd97 | 8317 | |
4268f798 | 8318 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8319 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8320 | } Py_INCREF(Py_None); |
8321 | _resultobj = Py_None; | |
8322 | return _resultobj; | |
8323 | } | |
8324 | ||
8325 | static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) { | |
8326 | wxGridCellCoords rv; | |
8327 | self->XYToCell(x, y, rv); | |
8328 | return new wxGridCellCoords(rv); | |
8329 | } | |
8330 | static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8331 | PyObject * _resultobj; | |
8332 | wxGridCellCoords * _result; | |
8333 | wxGrid * _arg0; | |
8334 | int _arg1; | |
8335 | int _arg2; | |
8336 | PyObject * _argo0 = 0; | |
8337 | char *_kwnames[] = { "self","x","y", NULL }; | |
8338 | char _ptemp[128]; | |
8339 | ||
8340 | self = self; | |
8341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8342 | return NULL; | |
8343 | if (_argo0) { | |
8344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p."); | |
8347 | return NULL; | |
8348 | } | |
8349 | } | |
8350 | { | |
4268f798 | 8351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8352 | _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 8353 | |
4268f798 | 8354 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8355 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8356 | } if (_result) { |
8357 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p"); | |
8358 | _resultobj = Py_BuildValue("s",_ptemp); | |
8359 | } else { | |
8360 | Py_INCREF(Py_None); | |
8361 | _resultobj = Py_None; | |
8362 | } | |
8363 | return _resultobj; | |
8364 | } | |
8365 | ||
8366 | #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0)) | |
8367 | static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8368 | PyObject * _resultobj; | |
8369 | int _result; | |
8370 | wxGrid * _arg0; | |
8371 | int _arg1; | |
8372 | PyObject * _argo0 = 0; | |
8373 | char *_kwnames[] = { "self","y", NULL }; | |
8374 | ||
8375 | self = self; | |
8376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1)) | |
8377 | return NULL; | |
8378 | if (_argo0) { | |
8379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p."); | |
8382 | return NULL; | |
8383 | } | |
8384 | } | |
8385 | { | |
4268f798 | 8386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8387 | _result = (int )wxGrid_YToRow(_arg0,_arg1); |
f6bcfd97 | 8388 | |
4268f798 | 8389 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8390 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8391 | } _resultobj = Py_BuildValue("i",_result); |
8392 | return _resultobj; | |
8393 | } | |
8394 | ||
8395 | #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0)) | |
8396 | static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8397 | PyObject * _resultobj; | |
8398 | int _result; | |
8399 | wxGrid * _arg0; | |
8400 | int _arg1; | |
8401 | PyObject * _argo0 = 0; | |
8402 | char *_kwnames[] = { "self","x", NULL }; | |
8403 | ||
8404 | self = self; | |
8405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1)) | |
8406 | return NULL; | |
8407 | if (_argo0) { | |
8408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p."); | |
8411 | return NULL; | |
8412 | } | |
8413 | } | |
8414 | { | |
4268f798 | 8415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8416 | _result = (int )wxGrid_XToCol(_arg0,_arg1); |
f6bcfd97 | 8417 | |
4268f798 | 8418 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8419 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8420 | } _resultobj = Py_BuildValue("i",_result); |
8421 | return _resultobj; | |
8422 | } | |
8423 | ||
8424 | #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0)) | |
8425 | static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8426 | PyObject * _resultobj; | |
8427 | int _result; | |
8428 | wxGrid * _arg0; | |
8429 | int _arg1; | |
8430 | PyObject * _argo0 = 0; | |
8431 | char *_kwnames[] = { "self","y", NULL }; | |
8432 | ||
8433 | self = self; | |
8434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1)) | |
8435 | return NULL; | |
8436 | if (_argo0) { | |
8437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p."); | |
8440 | return NULL; | |
8441 | } | |
8442 | } | |
8443 | { | |
4268f798 | 8444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8445 | _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1); |
f6bcfd97 | 8446 | |
4268f798 | 8447 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8448 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8449 | } _resultobj = Py_BuildValue("i",_result); |
8450 | return _resultobj; | |
8451 | } | |
8452 | ||
8453 | #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0)) | |
8454 | static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8455 | PyObject * _resultobj; | |
8456 | int _result; | |
8457 | wxGrid * _arg0; | |
8458 | int _arg1; | |
8459 | PyObject * _argo0 = 0; | |
8460 | char *_kwnames[] = { "self","x", NULL }; | |
8461 | ||
8462 | self = self; | |
8463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1)) | |
8464 | return NULL; | |
8465 | if (_argo0) { | |
8466 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8467 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p."); | |
8469 | return NULL; | |
8470 | } | |
8471 | } | |
8472 | { | |
4268f798 | 8473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8474 | _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1); |
f6bcfd97 | 8475 | |
4268f798 | 8476 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8477 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8478 | } _resultobj = Py_BuildValue("i",_result); |
8479 | return _resultobj; | |
8480 | } | |
8481 | ||
8482 | #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1)) | |
8483 | static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8484 | PyObject * _resultobj; | |
8485 | wxRect * _result; | |
8486 | wxGrid * _arg0; | |
8487 | int _arg1; | |
8488 | int _arg2; | |
8489 | PyObject * _argo0 = 0; | |
8490 | char *_kwnames[] = { "self","row","col", NULL }; | |
8491 | char _ptemp[128]; | |
8492 | ||
8493 | self = self; | |
8494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8495 | return NULL; | |
8496 | if (_argo0) { | |
8497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p."); | |
8500 | return NULL; | |
8501 | } | |
8502 | } | |
8503 | { | |
4268f798 | 8504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8505 | _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2)); |
f6bcfd97 | 8506 | |
4268f798 | 8507 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8508 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8509 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
8510 | _resultobj = Py_BuildValue("s",_ptemp); | |
8511 | return _resultobj; | |
8512 | } | |
8513 | ||
8514 | #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow()) | |
8515 | static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8516 | PyObject * _resultobj; | |
8517 | int _result; | |
8518 | wxGrid * _arg0; | |
8519 | PyObject * _argo0 = 0; | |
8520 | char *_kwnames[] = { "self", NULL }; | |
8521 | ||
8522 | self = self; | |
8523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0)) | |
8524 | return NULL; | |
8525 | if (_argo0) { | |
8526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p."); | |
8529 | return NULL; | |
8530 | } | |
8531 | } | |
8532 | { | |
4268f798 | 8533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8534 | _result = (int )wxGrid_GetGridCursorRow(_arg0); |
f6bcfd97 | 8535 | |
4268f798 | 8536 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8537 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8538 | } _resultobj = Py_BuildValue("i",_result); |
8539 | return _resultobj; | |
8540 | } | |
8541 | ||
8542 | #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol()) | |
8543 | static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8544 | PyObject * _resultobj; | |
8545 | int _result; | |
8546 | wxGrid * _arg0; | |
8547 | PyObject * _argo0 = 0; | |
8548 | char *_kwnames[] = { "self", NULL }; | |
8549 | ||
8550 | self = self; | |
8551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0)) | |
8552 | return NULL; | |
8553 | if (_argo0) { | |
8554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p."); | |
8557 | return NULL; | |
8558 | } | |
8559 | } | |
8560 | { | |
4268f798 | 8561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8562 | _result = (int )wxGrid_GetGridCursorCol(_arg0); |
f6bcfd97 | 8563 | |
4268f798 | 8564 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8565 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8566 | } _resultobj = Py_BuildValue("i",_result); |
8567 | return _resultobj; | |
8568 | } | |
8569 | ||
8570 | #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2)) | |
8571 | static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8572 | PyObject * _resultobj; | |
8573 | bool _result; | |
8574 | wxGrid * _arg0; | |
8575 | int _arg1; | |
8576 | int _arg2; | |
8577 | bool _arg3 = (bool ) TRUE; | |
8578 | PyObject * _argo0 = 0; | |
8579 | int tempbool3 = (int) TRUE; | |
8580 | char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL }; | |
8581 | ||
8582 | self = self; | |
8583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
8584 | return NULL; | |
8585 | if (_argo0) { | |
8586 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8587 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p."); | |
8589 | return NULL; | |
8590 | } | |
8591 | } | |
8592 | _arg3 = (bool ) tempbool3; | |
8593 | { | |
4268f798 | 8594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8595 | _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 8596 | |
4268f798 | 8597 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8598 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8599 | } _resultobj = Py_BuildValue("i",_result); |
8600 | return _resultobj; | |
8601 | } | |
8602 | ||
8603 | #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1)) | |
8604 | static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8605 | PyObject * _resultobj; | |
8606 | wxGrid * _arg0; | |
8607 | int _arg1; | |
8608 | int _arg2; | |
8609 | PyObject * _argo0 = 0; | |
8610 | char *_kwnames[] = { "self","row","col", NULL }; | |
8611 | ||
8612 | self = self; | |
8613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8614 | return NULL; | |
8615 | if (_argo0) { | |
8616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p."); | |
8619 | return NULL; | |
8620 | } | |
8621 | } | |
8622 | { | |
4268f798 | 8623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8624 | wxGrid_MakeCellVisible(_arg0,_arg1,_arg2); |
f6bcfd97 | 8625 | |
4268f798 | 8626 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8627 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8628 | } Py_INCREF(Py_None); |
8629 | _resultobj = Py_None; | |
8630 | return _resultobj; | |
8631 | } | |
8632 | ||
8633 | #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1)) | |
8634 | static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8635 | PyObject * _resultobj; | |
8636 | wxGrid * _arg0; | |
8637 | int _arg1; | |
8638 | int _arg2; | |
8639 | PyObject * _argo0 = 0; | |
8640 | char *_kwnames[] = { "self","row","col", NULL }; | |
8641 | ||
8642 | self = self; | |
8643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8644 | return NULL; | |
8645 | if (_argo0) { | |
8646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p."); | |
8649 | return NULL; | |
8650 | } | |
8651 | } | |
8652 | { | |
4268f798 | 8653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8654 | wxGrid_SetGridCursor(_arg0,_arg1,_arg2); |
f6bcfd97 | 8655 | |
4268f798 | 8656 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8657 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8658 | } Py_INCREF(Py_None); |
8659 | _resultobj = Py_None; | |
8660 | return _resultobj; | |
8661 | } | |
8662 | ||
8663 | #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0)) | |
8664 | static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8665 | PyObject * _resultobj; | |
8666 | bool _result; | |
8667 | wxGrid * _arg0; | |
8668 | bool _arg1; | |
8669 | PyObject * _argo0 = 0; | |
8670 | int tempbool1; | |
8671 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8672 | ||
8673 | self = self; | |
8674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1)) | |
8675 | return NULL; | |
8676 | if (_argo0) { | |
8677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p."); | |
8680 | return NULL; | |
8681 | } | |
8682 | } | |
8683 | _arg1 = (bool ) tempbool1; | |
8684 | { | |
4268f798 | 8685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8686 | _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1); |
f6bcfd97 | 8687 | |
4268f798 | 8688 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8689 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8690 | } _resultobj = Py_BuildValue("i",_result); |
8691 | return _resultobj; | |
8692 | } | |
8693 | ||
8694 | #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0)) | |
8695 | static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8696 | PyObject * _resultobj; | |
8697 | bool _result; | |
8698 | wxGrid * _arg0; | |
8699 | bool _arg1; | |
8700 | PyObject * _argo0 = 0; | |
8701 | int tempbool1; | |
8702 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8703 | ||
8704 | self = self; | |
8705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1)) | |
8706 | return NULL; | |
8707 | if (_argo0) { | |
8708 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8709 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p."); | |
8711 | return NULL; | |
8712 | } | |
8713 | } | |
8714 | _arg1 = (bool ) tempbool1; | |
8715 | { | |
4268f798 | 8716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8717 | _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1); |
f6bcfd97 | 8718 | |
4268f798 | 8719 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8720 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8721 | } _resultobj = Py_BuildValue("i",_result); |
8722 | return _resultobj; | |
8723 | } | |
8724 | ||
8725 | #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0)) | |
8726 | static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8727 | PyObject * _resultobj; | |
8728 | bool _result; | |
8729 | wxGrid * _arg0; | |
8730 | bool _arg1; | |
8731 | PyObject * _argo0 = 0; | |
8732 | int tempbool1; | |
8733 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8734 | ||
8735 | self = self; | |
8736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1)) | |
8737 | return NULL; | |
8738 | if (_argo0) { | |
8739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p."); | |
8742 | return NULL; | |
8743 | } | |
8744 | } | |
8745 | _arg1 = (bool ) tempbool1; | |
8746 | { | |
4268f798 | 8747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8748 | _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1); |
f6bcfd97 | 8749 | |
4268f798 | 8750 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8751 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8752 | } _resultobj = Py_BuildValue("i",_result); |
8753 | return _resultobj; | |
8754 | } | |
8755 | ||
8756 | #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0)) | |
8757 | static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8758 | PyObject * _resultobj; | |
8759 | bool _result; | |
8760 | wxGrid * _arg0; | |
8761 | bool _arg1; | |
8762 | PyObject * _argo0 = 0; | |
8763 | int tempbool1; | |
8764 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8765 | ||
8766 | self = self; | |
8767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1)) | |
8768 | return NULL; | |
8769 | if (_argo0) { | |
8770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p."); | |
8773 | return NULL; | |
8774 | } | |
8775 | } | |
8776 | _arg1 = (bool ) tempbool1; | |
8777 | { | |
4268f798 | 8778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8779 | _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1); |
f6bcfd97 | 8780 | |
4268f798 | 8781 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8782 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8783 | } _resultobj = Py_BuildValue("i",_result); |
8784 | return _resultobj; | |
8785 | } | |
8786 | ||
8787 | #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown()) | |
8788 | static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8789 | PyObject * _resultobj; | |
8790 | bool _result; | |
8791 | wxGrid * _arg0; | |
8792 | PyObject * _argo0 = 0; | |
8793 | char *_kwnames[] = { "self", NULL }; | |
8794 | ||
8795 | self = self; | |
8796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0)) | |
8797 | return NULL; | |
8798 | if (_argo0) { | |
8799 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8800 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p."); | |
8802 | return NULL; | |
8803 | } | |
8804 | } | |
8805 | { | |
4268f798 | 8806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8807 | _result = (bool )wxGrid_MovePageDown(_arg0); |
f6bcfd97 | 8808 | |
4268f798 | 8809 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8810 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8811 | } _resultobj = Py_BuildValue("i",_result); |
8812 | return _resultobj; | |
8813 | } | |
8814 | ||
8815 | #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp()) | |
8816 | static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8817 | PyObject * _resultobj; | |
8818 | bool _result; | |
8819 | wxGrid * _arg0; | |
8820 | PyObject * _argo0 = 0; | |
8821 | char *_kwnames[] = { "self", NULL }; | |
8822 | ||
8823 | self = self; | |
8824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0)) | |
8825 | return NULL; | |
8826 | if (_argo0) { | |
8827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p."); | |
8830 | return NULL; | |
8831 | } | |
8832 | } | |
8833 | { | |
4268f798 | 8834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8835 | _result = (bool )wxGrid_MovePageUp(_arg0); |
f6bcfd97 | 8836 | |
4268f798 | 8837 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8838 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8839 | } _resultobj = Py_BuildValue("i",_result); |
8840 | return _resultobj; | |
8841 | } | |
8842 | ||
8843 | #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0)) | |
8844 | static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8845 | PyObject * _resultobj; | |
8846 | bool _result; | |
8847 | wxGrid * _arg0; | |
8848 | bool _arg1; | |
8849 | PyObject * _argo0 = 0; | |
8850 | int tempbool1; | |
8851 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8852 | ||
8853 | self = self; | |
8854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1)) | |
8855 | return NULL; | |
8856 | if (_argo0) { | |
8857 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8858 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p."); | |
8860 | return NULL; | |
8861 | } | |
8862 | } | |
8863 | _arg1 = (bool ) tempbool1; | |
8864 | { | |
4268f798 | 8865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8866 | _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1); |
f6bcfd97 | 8867 | |
4268f798 | 8868 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8869 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8870 | } _resultobj = Py_BuildValue("i",_result); |
8871 | return _resultobj; | |
8872 | } | |
8873 | ||
8874 | #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0)) | |
8875 | static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8876 | PyObject * _resultobj; | |
8877 | bool _result; | |
8878 | wxGrid * _arg0; | |
8879 | bool _arg1; | |
8880 | PyObject * _argo0 = 0; | |
8881 | int tempbool1; | |
8882 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8883 | ||
8884 | self = self; | |
8885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1)) | |
8886 | return NULL; | |
8887 | if (_argo0) { | |
8888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p."); | |
8891 | return NULL; | |
8892 | } | |
8893 | } | |
8894 | _arg1 = (bool ) tempbool1; | |
8895 | { | |
4268f798 | 8896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8897 | _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1); |
f6bcfd97 | 8898 | |
4268f798 | 8899 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8900 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8901 | } _resultobj = Py_BuildValue("i",_result); |
8902 | return _resultobj; | |
8903 | } | |
8904 | ||
8905 | #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0)) | |
8906 | static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8907 | PyObject * _resultobj; | |
8908 | bool _result; | |
8909 | wxGrid * _arg0; | |
8910 | bool _arg1; | |
8911 | PyObject * _argo0 = 0; | |
8912 | int tempbool1; | |
8913 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8914 | ||
8915 | self = self; | |
8916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1)) | |
8917 | return NULL; | |
8918 | if (_argo0) { | |
8919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p."); | |
8922 | return NULL; | |
8923 | } | |
8924 | } | |
8925 | _arg1 = (bool ) tempbool1; | |
8926 | { | |
4268f798 | 8927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8928 | _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1); |
f6bcfd97 | 8929 | |
4268f798 | 8930 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8931 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8932 | } _resultobj = Py_BuildValue("i",_result); |
8933 | return _resultobj; | |
8934 | } | |
8935 | ||
8936 | #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0)) | |
8937 | static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8938 | PyObject * _resultobj; | |
8939 | bool _result; | |
8940 | wxGrid * _arg0; | |
8941 | bool _arg1; | |
8942 | PyObject * _argo0 = 0; | |
8943 | int tempbool1; | |
8944 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8945 | ||
8946 | self = self; | |
8947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1)) | |
8948 | return NULL; | |
8949 | if (_argo0) { | |
8950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p."); | |
8953 | return NULL; | |
8954 | } | |
8955 | } | |
8956 | _arg1 = (bool ) tempbool1; | |
8957 | { | |
4268f798 | 8958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8959 | _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1); |
f6bcfd97 | 8960 | |
4268f798 | 8961 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8962 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8963 | } _resultobj = Py_BuildValue("i",_result); |
8964 | return _resultobj; | |
8965 | } | |
8966 | ||
8967 | #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize()) | |
8968 | static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8969 | PyObject * _resultobj; | |
8970 | int _result; | |
8971 | wxGrid * _arg0; | |
8972 | PyObject * _argo0 = 0; | |
8973 | char *_kwnames[] = { "self", NULL }; | |
8974 | ||
8975 | self = self; | |
8976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0)) | |
8977 | return NULL; | |
8978 | if (_argo0) { | |
8979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p."); | |
8982 | return NULL; | |
8983 | } | |
8984 | } | |
8985 | { | |
4268f798 | 8986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8987 | _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0); |
f6bcfd97 | 8988 | |
4268f798 | 8989 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8990 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8991 | } _resultobj = Py_BuildValue("i",_result); |
8992 | return _resultobj; | |
8993 | } | |
8994 | ||
8995 | #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize()) | |
8996 | static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8997 | PyObject * _resultobj; | |
8998 | int _result; | |
8999 | wxGrid * _arg0; | |
9000 | PyObject * _argo0 = 0; | |
9001 | char *_kwnames[] = { "self", NULL }; | |
9002 | ||
9003 | self = self; | |
9004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0)) | |
9005 | return NULL; | |
9006 | if (_argo0) { | |
9007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p."); | |
9010 | return NULL; | |
9011 | } | |
9012 | } | |
9013 | { | |
4268f798 | 9014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9015 | _result = (int )wxGrid_GetRowLabelSize(_arg0); |
f6bcfd97 | 9016 | |
4268f798 | 9017 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9018 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9019 | } _resultobj = Py_BuildValue("i",_result); |
9020 | return _resultobj; | |
9021 | } | |
9022 | ||
9023 | #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize()) | |
9024 | static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9025 | PyObject * _resultobj; | |
9026 | int _result; | |
9027 | wxGrid * _arg0; | |
9028 | PyObject * _argo0 = 0; | |
9029 | char *_kwnames[] = { "self", NULL }; | |
9030 | ||
9031 | self = self; | |
9032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0)) | |
9033 | return NULL; | |
9034 | if (_argo0) { | |
9035 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9036 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9037 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p."); | |
9038 | return NULL; | |
9039 | } | |
9040 | } | |
9041 | { | |
4268f798 | 9042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9043 | _result = (int )wxGrid_GetDefaultColLabelSize(_arg0); |
f6bcfd97 | 9044 | |
4268f798 | 9045 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9046 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9047 | } _resultobj = Py_BuildValue("i",_result); |
9048 | return _resultobj; | |
9049 | } | |
9050 | ||
9051 | #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize()) | |
9052 | static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9053 | PyObject * _resultobj; | |
9054 | int _result; | |
9055 | wxGrid * _arg0; | |
9056 | PyObject * _argo0 = 0; | |
9057 | char *_kwnames[] = { "self", NULL }; | |
9058 | ||
9059 | self = self; | |
9060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0)) | |
9061 | return NULL; | |
9062 | if (_argo0) { | |
9063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p."); | |
9066 | return NULL; | |
9067 | } | |
9068 | } | |
9069 | { | |
4268f798 | 9070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9071 | _result = (int )wxGrid_GetColLabelSize(_arg0); |
f6bcfd97 | 9072 | |
4268f798 | 9073 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9074 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9075 | } _resultobj = Py_BuildValue("i",_result); |
9076 | return _resultobj; | |
9077 | } | |
9078 | ||
9079 | #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour()) | |
9080 | static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9081 | PyObject * _resultobj; | |
9082 | wxColour * _result; | |
9083 | wxGrid * _arg0; | |
9084 | PyObject * _argo0 = 0; | |
9085 | char *_kwnames[] = { "self", NULL }; | |
9086 | char _ptemp[128]; | |
9087 | ||
9088 | self = self; | |
9089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0)) | |
9090 | return NULL; | |
9091 | if (_argo0) { | |
9092 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9093 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p."); | |
9095 | return NULL; | |
9096 | } | |
9097 | } | |
9098 | { | |
4268f798 | 9099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9100 | _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0)); |
f6bcfd97 | 9101 | |
4268f798 | 9102 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9103 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9104 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9105 | _resultobj = Py_BuildValue("s",_ptemp); | |
9106 | return _resultobj; | |
9107 | } | |
9108 | ||
9109 | #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour()) | |
9110 | static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9111 | PyObject * _resultobj; | |
9112 | wxColour * _result; | |
9113 | wxGrid * _arg0; | |
9114 | PyObject * _argo0 = 0; | |
9115 | char *_kwnames[] = { "self", NULL }; | |
9116 | char _ptemp[128]; | |
9117 | ||
9118 | self = self; | |
9119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0)) | |
9120 | return NULL; | |
9121 | if (_argo0) { | |
9122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p."); | |
9125 | return NULL; | |
9126 | } | |
9127 | } | |
9128 | { | |
4268f798 | 9129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9130 | _result = new wxColour (wxGrid_GetLabelTextColour(_arg0)); |
f6bcfd97 | 9131 | |
4268f798 | 9132 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9133 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9134 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9135 | _resultobj = Py_BuildValue("s",_ptemp); | |
9136 | return _resultobj; | |
9137 | } | |
9138 | ||
9139 | #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont()) | |
9140 | static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9141 | PyObject * _resultobj; | |
9142 | wxFont * _result; | |
9143 | wxGrid * _arg0; | |
9144 | PyObject * _argo0 = 0; | |
9145 | char *_kwnames[] = { "self", NULL }; | |
9146 | char _ptemp[128]; | |
9147 | ||
9148 | self = self; | |
9149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0)) | |
9150 | return NULL; | |
9151 | if (_argo0) { | |
9152 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9153 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p."); | |
9155 | return NULL; | |
9156 | } | |
9157 | } | |
9158 | { | |
4268f798 | 9159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9160 | _result = new wxFont (wxGrid_GetLabelFont(_arg0)); |
f6bcfd97 | 9161 | |
4268f798 | 9162 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9163 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9164 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
9165 | _resultobj = Py_BuildValue("s",_ptemp); | |
9166 | return _resultobj; | |
9167 | } | |
9168 | ||
9169 | #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1)) | |
9170 | static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9171 | PyObject * _resultobj; | |
9172 | wxGrid * _arg0; | |
9173 | int * _arg1; | |
9174 | int temp; | |
9175 | int * _arg2; | |
9176 | int temp0; | |
9177 | PyObject * _argo0 = 0; | |
9178 | char *_kwnames[] = { "self", NULL }; | |
9179 | ||
9180 | self = self; | |
9181 | { | |
9182 | _arg1 = &temp; | |
9183 | } | |
9184 | { | |
9185 | _arg2 = &temp0; | |
9186 | } | |
9187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0)) | |
9188 | return NULL; | |
9189 | if (_argo0) { | |
9190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p."); | |
9193 | return NULL; | |
9194 | } | |
9195 | } | |
9196 | { | |
4268f798 | 9197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9198 | wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9199 | |
4268f798 | 9200 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9201 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9202 | } Py_INCREF(Py_None); |
9203 | _resultobj = Py_None; | |
9204 | { | |
9205 | PyObject *o; | |
9206 | o = PyInt_FromLong((long) (*_arg1)); | |
9207 | _resultobj = t_output_helper(_resultobj, o); | |
9208 | } | |
9209 | { | |
9210 | PyObject *o; | |
9211 | o = PyInt_FromLong((long) (*_arg2)); | |
9212 | _resultobj = t_output_helper(_resultobj, o); | |
9213 | } | |
9214 | return _resultobj; | |
9215 | } | |
9216 | ||
9217 | #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1)) | |
9218 | static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9219 | PyObject * _resultobj; | |
9220 | wxGrid * _arg0; | |
9221 | int * _arg1; | |
9222 | int temp; | |
9223 | int * _arg2; | |
9224 | int temp0; | |
9225 | PyObject * _argo0 = 0; | |
9226 | char *_kwnames[] = { "self", NULL }; | |
9227 | ||
9228 | self = self; | |
9229 | { | |
9230 | _arg1 = &temp; | |
9231 | } | |
9232 | { | |
9233 | _arg2 = &temp0; | |
9234 | } | |
9235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0)) | |
9236 | return NULL; | |
9237 | if (_argo0) { | |
9238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p."); | |
9241 | return NULL; | |
9242 | } | |
9243 | } | |
9244 | { | |
4268f798 | 9245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9246 | wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9247 | |
4268f798 | 9248 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9249 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9250 | } Py_INCREF(Py_None); |
9251 | _resultobj = Py_None; | |
9252 | { | |
9253 | PyObject *o; | |
9254 | o = PyInt_FromLong((long) (*_arg1)); | |
9255 | _resultobj = t_output_helper(_resultobj, o); | |
9256 | } | |
9257 | { | |
9258 | PyObject *o; | |
9259 | o = PyInt_FromLong((long) (*_arg2)); | |
9260 | _resultobj = t_output_helper(_resultobj, o); | |
9261 | } | |
9262 | return _resultobj; | |
9263 | } | |
9264 | ||
9265 | #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0)) | |
9266 | static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9267 | PyObject * _resultobj; | |
9268 | wxString * _result; | |
9269 | wxGrid * _arg0; | |
9270 | int _arg1; | |
9271 | PyObject * _argo0 = 0; | |
9272 | char *_kwnames[] = { "self","row", NULL }; | |
9273 | ||
9274 | self = self; | |
9275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
9276 | return NULL; | |
9277 | if (_argo0) { | |
9278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p."); | |
9281 | return NULL; | |
9282 | } | |
9283 | } | |
9284 | { | |
4268f798 | 9285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9286 | _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 9287 | |
4268f798 | 9288 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9289 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 9290 | }{ |
c8bc7bb8 RD |
9291 | #if wxUSE_UNICODE |
9292 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
9293 | #else | |
f6bcfd97 | 9294 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9295 | #endif |
f6bcfd97 BP |
9296 | } |
9297 | { | |
9298 | delete _result; | |
9299 | } | |
9300 | return _resultobj; | |
9301 | } | |
9302 | ||
9303 | #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0)) | |
9304 | static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9305 | PyObject * _resultobj; | |
9306 | wxString * _result; | |
9307 | wxGrid * _arg0; | |
9308 | int _arg1; | |
9309 | PyObject * _argo0 = 0; | |
9310 | char *_kwnames[] = { "self","col", NULL }; | |
9311 | ||
9312 | self = self; | |
9313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
9314 | return NULL; | |
9315 | if (_argo0) { | |
9316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p."); | |
9319 | return NULL; | |
9320 | } | |
9321 | } | |
9322 | { | |
4268f798 | 9323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9324 | _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 9325 | |
4268f798 | 9326 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9327 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 9328 | }{ |
c8bc7bb8 RD |
9329 | #if wxUSE_UNICODE |
9330 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
9331 | #else | |
f6bcfd97 | 9332 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9333 | #endif |
f6bcfd97 BP |
9334 | } |
9335 | { | |
9336 | delete _result; | |
9337 | } | |
9338 | return _resultobj; | |
9339 | } | |
9340 | ||
9341 | #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour()) | |
9342 | static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9343 | PyObject * _resultobj; | |
9344 | wxColour * _result; | |
9345 | wxGrid * _arg0; | |
9346 | PyObject * _argo0 = 0; | |
9347 | char *_kwnames[] = { "self", NULL }; | |
9348 | char _ptemp[128]; | |
9349 | ||
9350 | self = self; | |
9351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0)) | |
9352 | return NULL; | |
9353 | if (_argo0) { | |
9354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p."); | |
9357 | return NULL; | |
9358 | } | |
9359 | } | |
9360 | { | |
4268f798 | 9361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9362 | _result = new wxColour (wxGrid_GetGridLineColour(_arg0)); |
f6bcfd97 | 9363 | |
4268f798 | 9364 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9365 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9366 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9367 | _resultobj = Py_BuildValue("s",_ptemp); | |
9368 | return _resultobj; | |
9369 | } | |
9370 | ||
9371 | #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour()) | |
9372 | static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9373 | PyObject * _resultobj; | |
9374 | wxColour * _result; | |
9375 | wxGrid * _arg0; | |
9376 | PyObject * _argo0 = 0; | |
9377 | char *_kwnames[] = { "self", NULL }; | |
9378 | char _ptemp[128]; | |
9379 | ||
9380 | self = self; | |
9381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0)) | |
9382 | return NULL; | |
9383 | if (_argo0) { | |
9384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p."); | |
9387 | return NULL; | |
9388 | } | |
9389 | } | |
9390 | { | |
4268f798 | 9391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9392 | _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0)); |
f6bcfd97 | 9393 | |
4268f798 | 9394 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9395 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9396 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9397 | _resultobj = Py_BuildValue("s",_ptemp); | |
9398 | return _resultobj; | |
9399 | } | |
9400 | ||
9416aa89 RD |
9401 | #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth()) |
9402 | static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9403 | PyObject * _resultobj; | |
9404 | int _result; | |
9405 | wxGrid * _arg0; | |
9406 | PyObject * _argo0 = 0; | |
9407 | char *_kwnames[] = { "self", NULL }; | |
9408 | ||
9409 | self = self; | |
9410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0)) | |
9411 | return NULL; | |
9412 | if (_argo0) { | |
9413 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9414 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p."); | |
9416 | return NULL; | |
9417 | } | |
9418 | } | |
9419 | { | |
4268f798 | 9420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9421 | _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0); |
9416aa89 | 9422 | |
4268f798 | 9423 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9424 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
9425 | } _resultobj = Py_BuildValue("i",_result); |
9426 | return _resultobj; | |
9427 | } | |
9428 | ||
9429 | #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth()) | |
9430 | static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9431 | PyObject * _resultobj; | |
9432 | int _result; | |
9433 | wxGrid * _arg0; | |
9434 | PyObject * _argo0 = 0; | |
9435 | char *_kwnames[] = { "self", NULL }; | |
9436 | ||
9437 | self = self; | |
9438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0)) | |
9439 | return NULL; | |
9440 | if (_argo0) { | |
9441 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9442 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9443 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p."); | |
9444 | return NULL; | |
9445 | } | |
9446 | } | |
9447 | { | |
4268f798 | 9448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9449 | _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0); |
9416aa89 | 9450 | |
4268f798 | 9451 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9452 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
9453 | } _resultobj = Py_BuildValue("i",_result); |
9454 | return _resultobj; | |
9455 | } | |
9456 | ||
f6bcfd97 BP |
9457 | #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0)) |
9458 | static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9459 | PyObject * _resultobj; | |
9460 | wxGrid * _arg0; | |
9461 | int _arg1; | |
9462 | PyObject * _argo0 = 0; | |
9463 | char *_kwnames[] = { "self","width", NULL }; | |
9464 | ||
9465 | self = self; | |
9466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1)) | |
9467 | return NULL; | |
9468 | if (_argo0) { | |
9469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p."); | |
9472 | return NULL; | |
9473 | } | |
9474 | } | |
9475 | { | |
4268f798 | 9476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9477 | wxGrid_SetRowLabelSize(_arg0,_arg1); |
f6bcfd97 | 9478 | |
4268f798 | 9479 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9480 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9481 | } Py_INCREF(Py_None); |
9482 | _resultobj = Py_None; | |
9483 | return _resultobj; | |
9484 | } | |
9485 | ||
9486 | #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0)) | |
9487 | static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9488 | PyObject * _resultobj; | |
9489 | wxGrid * _arg0; | |
9490 | int _arg1; | |
9491 | PyObject * _argo0 = 0; | |
9492 | char *_kwnames[] = { "self","height", NULL }; | |
9493 | ||
9494 | self = self; | |
9495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1)) | |
9496 | return NULL; | |
9497 | if (_argo0) { | |
9498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p."); | |
9501 | return NULL; | |
9502 | } | |
9503 | } | |
9504 | { | |
4268f798 | 9505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9506 | wxGrid_SetColLabelSize(_arg0,_arg1); |
f6bcfd97 | 9507 | |
4268f798 | 9508 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9509 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9510 | } Py_INCREF(Py_None); |
9511 | _resultobj = Py_None; | |
9512 | return _resultobj; | |
9513 | } | |
9514 | ||
9515 | #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0)) | |
9516 | static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9517 | PyObject * _resultobj; | |
9518 | wxGrid * _arg0; | |
9519 | wxColour * _arg1; | |
9520 | PyObject * _argo0 = 0; | |
9521 | wxColour temp; | |
9522 | PyObject * _obj1 = 0; | |
9523 | char *_kwnames[] = { "self","arg2", NULL }; | |
9524 | ||
9525 | self = self; | |
9526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
9527 | return NULL; | |
9528 | if (_argo0) { | |
9529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p."); | |
9532 | return NULL; | |
9533 | } | |
9534 | } | |
9535 | { | |
9536 | _arg1 = &temp; | |
9537 | if (! wxColour_helper(_obj1, &_arg1)) | |
9538 | return NULL; | |
9539 | } | |
9540 | { | |
4268f798 | 9541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9542 | wxGrid_SetLabelBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 9543 | |
4268f798 | 9544 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9545 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9546 | } Py_INCREF(Py_None); |
9547 | _resultobj = Py_None; | |
9548 | return _resultobj; | |
9549 | } | |
9550 | ||
9551 | #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0)) | |
9552 | static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9553 | PyObject * _resultobj; | |
9554 | wxGrid * _arg0; | |
9555 | wxColour * _arg1; | |
9556 | PyObject * _argo0 = 0; | |
9557 | wxColour temp; | |
9558 | PyObject * _obj1 = 0; | |
9559 | char *_kwnames[] = { "self","arg2", NULL }; | |
9560 | ||
9561 | self = self; | |
9562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1)) | |
9563 | return NULL; | |
9564 | if (_argo0) { | |
9565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p."); | |
9568 | return NULL; | |
9569 | } | |
9570 | } | |
9571 | { | |
9572 | _arg1 = &temp; | |
9573 | if (! wxColour_helper(_obj1, &_arg1)) | |
9574 | return NULL; | |
9575 | } | |
9576 | { | |
4268f798 | 9577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9578 | wxGrid_SetLabelTextColour(_arg0,*_arg1); |
f6bcfd97 | 9579 | |
4268f798 | 9580 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9581 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9582 | } Py_INCREF(Py_None); |
9583 | _resultobj = Py_None; | |
9584 | return _resultobj; | |
9585 | } | |
9586 | ||
9587 | #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0)) | |
9588 | static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9589 | PyObject * _resultobj; | |
9590 | wxGrid * _arg0; | |
9591 | wxFont * _arg1; | |
9592 | PyObject * _argo0 = 0; | |
9593 | PyObject * _argo1 = 0; | |
9594 | char *_kwnames[] = { "self","arg2", NULL }; | |
9595 | ||
9596 | self = self; | |
9597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1)) | |
9598 | return NULL; | |
9599 | if (_argo0) { | |
9600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p."); | |
9603 | return NULL; | |
9604 | } | |
9605 | } | |
9606 | if (_argo1) { | |
9607 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9608 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
9609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p."); | |
9610 | return NULL; | |
9611 | } | |
9612 | } | |
9613 | { | |
4268f798 | 9614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9615 | wxGrid_SetLabelFont(_arg0,*_arg1); |
f6bcfd97 | 9616 | |
4268f798 | 9617 | wxPyEndAllowThreads(__tstate); |
493f1553 | 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_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1)) | |
9625 | static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9626 | PyObject * _resultobj; | |
9627 | wxGrid * _arg0; | |
9628 | int _arg1; | |
9629 | int _arg2; | |
9630 | PyObject * _argo0 = 0; | |
9631 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
9632 | ||
9633 | self = self; | |
9634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9635 | return NULL; | |
9636 | if (_argo0) { | |
9637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p."); | |
9640 | return NULL; | |
9641 | } | |
9642 | } | |
9643 | { | |
4268f798 | 9644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9645 | wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9646 | |
4268f798 | 9647 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9648 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9649 | } Py_INCREF(Py_None); |
9650 | _resultobj = Py_None; | |
9651 | return _resultobj; | |
9652 | } | |
9653 | ||
9654 | #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1)) | |
9655 | static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9656 | PyObject * _resultobj; | |
9657 | wxGrid * _arg0; | |
9658 | int _arg1; | |
9659 | int _arg2; | |
9660 | PyObject * _argo0 = 0; | |
9661 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
9662 | ||
9663 | self = self; | |
9664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9665 | return NULL; | |
9666 | if (_argo0) { | |
9667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p."); | |
9670 | return NULL; | |
9671 | } | |
9672 | } | |
9673 | { | |
4268f798 | 9674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9675 | wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9676 | |
4268f798 | 9677 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9678 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9679 | } Py_INCREF(Py_None); |
9680 | _resultobj = Py_None; | |
9681 | return _resultobj; | |
9682 | } | |
9683 | ||
9684 | #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1)) | |
9685 | static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9686 | PyObject * _resultobj; | |
9687 | wxGrid * _arg0; | |
9688 | int _arg1; | |
9689 | wxString * _arg2; | |
9690 | PyObject * _argo0 = 0; | |
9691 | PyObject * _obj2 = 0; | |
9692 | char *_kwnames[] = { "self","row","arg3", NULL }; | |
9693 | ||
9694 | self = self; | |
9695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9696 | return NULL; | |
9697 | if (_argo0) { | |
9698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p."); | |
9701 | return NULL; | |
9702 | } | |
9703 | } | |
9704 | { | |
c8bc7bb8 RD |
9705 | _arg2 = wxString_in_helper(_obj2); |
9706 | if (_arg2 == NULL) | |
185d7c3e | 9707 | return NULL; |
f6bcfd97 BP |
9708 | } |
9709 | { | |
4268f798 | 9710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9711 | wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 9712 | |
4268f798 | 9713 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9714 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9715 | } Py_INCREF(Py_None); |
9716 | _resultobj = Py_None; | |
9717 | { | |
9718 | if (_obj2) | |
9719 | delete _arg2; | |
9720 | } | |
9721 | return _resultobj; | |
9722 | } | |
9723 | ||
9724 | #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1)) | |
9725 | static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9726 | PyObject * _resultobj; | |
9727 | wxGrid * _arg0; | |
9728 | int _arg1; | |
9729 | wxString * _arg2; | |
9730 | PyObject * _argo0 = 0; | |
9731 | PyObject * _obj2 = 0; | |
9732 | char *_kwnames[] = { "self","col","arg3", NULL }; | |
9733 | ||
9734 | self = self; | |
9735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9736 | return NULL; | |
9737 | if (_argo0) { | |
9738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p."); | |
9741 | return NULL; | |
9742 | } | |
9743 | } | |
9744 | { | |
c8bc7bb8 RD |
9745 | _arg2 = wxString_in_helper(_obj2); |
9746 | if (_arg2 == NULL) | |
185d7c3e | 9747 | return NULL; |
f6bcfd97 BP |
9748 | } |
9749 | { | |
4268f798 | 9750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9751 | wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 9752 | |
4268f798 | 9753 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9754 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9755 | } Py_INCREF(Py_None); |
9756 | _resultobj = Py_None; | |
9757 | { | |
9758 | if (_obj2) | |
9759 | delete _arg2; | |
9760 | } | |
9761 | return _resultobj; | |
9762 | } | |
9763 | ||
9764 | #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0)) | |
9765 | static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9766 | PyObject * _resultobj; | |
9767 | wxGrid * _arg0; | |
9768 | wxColour * _arg1; | |
9769 | PyObject * _argo0 = 0; | |
9770 | wxColour temp; | |
9771 | PyObject * _obj1 = 0; | |
9772 | char *_kwnames[] = { "self","arg2", NULL }; | |
9773 | ||
9774 | self = self; | |
9775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1)) | |
9776 | return NULL; | |
9777 | if (_argo0) { | |
9778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p."); | |
9781 | return NULL; | |
9782 | } | |
9783 | } | |
9784 | { | |
9785 | _arg1 = &temp; | |
9786 | if (! wxColour_helper(_obj1, &_arg1)) | |
9787 | return NULL; | |
9788 | } | |
9789 | { | |
4268f798 | 9790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9791 | wxGrid_SetGridLineColour(_arg0,*_arg1); |
f6bcfd97 | 9792 | |
4268f798 | 9793 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9794 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9795 | } Py_INCREF(Py_None); |
9796 | _resultobj = Py_None; | |
9797 | return _resultobj; | |
9798 | } | |
9799 | ||
9800 | #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0)) | |
9801 | static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9802 | PyObject * _resultobj; | |
9803 | wxGrid * _arg0; | |
9804 | wxColour * _arg1; | |
9805 | PyObject * _argo0 = 0; | |
9806 | wxColour temp; | |
9807 | PyObject * _obj1 = 0; | |
9808 | char *_kwnames[] = { "self","arg2", NULL }; | |
9809 | ||
9810 | self = self; | |
9811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1)) | |
9812 | return NULL; | |
9813 | if (_argo0) { | |
9814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p."); | |
9817 | return NULL; | |
9818 | } | |
9819 | } | |
9820 | { | |
9821 | _arg1 = &temp; | |
9822 | if (! wxColour_helper(_obj1, &_arg1)) | |
9823 | return NULL; | |
9824 | } | |
9825 | { | |
4268f798 | 9826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9827 | wxGrid_SetCellHighlightColour(_arg0,*_arg1); |
f6bcfd97 | 9828 | |
4268f798 | 9829 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9830 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9831 | } Py_INCREF(Py_None); |
9832 | _resultobj = Py_None; | |
9833 | return _resultobj; | |
9834 | } | |
9835 | ||
9416aa89 RD |
9836 | #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0)) |
9837 | static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9838 | PyObject * _resultobj; | |
9839 | wxGrid * _arg0; | |
9840 | int _arg1; | |
9841 | PyObject * _argo0 = 0; | |
9842 | char *_kwnames[] = { "self","width", NULL }; | |
9843 | ||
9844 | self = self; | |
9845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1)) | |
9846 | return NULL; | |
9847 | if (_argo0) { | |
9848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p."); | |
9851 | return NULL; | |
9852 | } | |
9853 | } | |
9854 | { | |
4268f798 | 9855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9856 | wxGrid_SetCellHighlightPenWidth(_arg0,_arg1); |
9416aa89 | 9857 | |
4268f798 | 9858 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9859 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
9860 | } Py_INCREF(Py_None); |
9861 | _resultobj = Py_None; | |
9862 | return _resultobj; | |
9863 | } | |
9864 | ||
9865 | #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0)) | |
9866 | static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9867 | PyObject * _resultobj; | |
9868 | wxGrid * _arg0; | |
9869 | int _arg1; | |
9870 | PyObject * _argo0 = 0; | |
9871 | char *_kwnames[] = { "self","width", NULL }; | |
9872 | ||
9873 | self = self; | |
9874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1)) | |
9875 | return NULL; | |
9876 | if (_argo0) { | |
9877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p."); | |
9880 | return NULL; | |
9881 | } | |
9882 | } | |
9883 | { | |
4268f798 | 9884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9885 | wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1); |
9416aa89 | 9886 | |
4268f798 | 9887 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9888 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
9889 | } Py_INCREF(Py_None); |
9890 | _resultobj = Py_None; | |
9891 | return _resultobj; | |
9892 | } | |
9893 | ||
f6bcfd97 BP |
9894 | #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0)) |
9895 | static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9896 | PyObject * _resultobj; | |
9897 | wxGrid * _arg0; | |
9898 | bool _arg1 = (bool ) TRUE; | |
9899 | PyObject * _argo0 = 0; | |
9900 | int tempbool1 = (int) TRUE; | |
9901 | char *_kwnames[] = { "self","enable", NULL }; | |
9902 | ||
9903 | self = self; | |
9904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1)) | |
9905 | return NULL; | |
9906 | if (_argo0) { | |
9907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p."); | |
9910 | return NULL; | |
9911 | } | |
9912 | } | |
9913 | _arg1 = (bool ) tempbool1; | |
9914 | { | |
4268f798 | 9915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9916 | wxGrid_EnableDragRowSize(_arg0,_arg1); |
f6bcfd97 | 9917 | |
4268f798 | 9918 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9919 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9920 | } Py_INCREF(Py_None); |
9921 | _resultobj = Py_None; | |
9922 | return _resultobj; | |
9923 | } | |
9924 | ||
9925 | #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize()) | |
9926 | static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9927 | PyObject * _resultobj; | |
9928 | wxGrid * _arg0; | |
9929 | PyObject * _argo0 = 0; | |
9930 | char *_kwnames[] = { "self", NULL }; | |
9931 | ||
9932 | self = self; | |
9933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0)) | |
9934 | return NULL; | |
9935 | if (_argo0) { | |
9936 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9937 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p."); | |
9939 | return NULL; | |
9940 | } | |
9941 | } | |
9942 | { | |
4268f798 | 9943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9944 | wxGrid_DisableDragRowSize(_arg0); |
f6bcfd97 | 9945 | |
4268f798 | 9946 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9947 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9948 | } Py_INCREF(Py_None); |
9949 | _resultobj = Py_None; | |
9950 | return _resultobj; | |
9951 | } | |
9952 | ||
9953 | #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize()) | |
9954 | static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9955 | PyObject * _resultobj; | |
9956 | bool _result; | |
9957 | wxGrid * _arg0; | |
9958 | PyObject * _argo0 = 0; | |
9959 | char *_kwnames[] = { "self", NULL }; | |
9960 | ||
9961 | self = self; | |
9962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0)) | |
9963 | return NULL; | |
9964 | if (_argo0) { | |
9965 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9966 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p."); | |
9968 | return NULL; | |
9969 | } | |
9970 | } | |
9971 | { | |
4268f798 | 9972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9973 | _result = (bool )wxGrid_CanDragRowSize(_arg0); |
f6bcfd97 | 9974 | |
4268f798 | 9975 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9976 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9977 | } _resultobj = Py_BuildValue("i",_result); |
9978 | return _resultobj; | |
9979 | } | |
9980 | ||
9981 | #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0)) | |
9982 | static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9983 | PyObject * _resultobj; | |
9984 | wxGrid * _arg0; | |
9985 | bool _arg1 = (bool ) TRUE; | |
9986 | PyObject * _argo0 = 0; | |
9987 | int tempbool1 = (int) TRUE; | |
9988 | char *_kwnames[] = { "self","enable", NULL }; | |
9989 | ||
9990 | self = self; | |
9991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1)) | |
9992 | return NULL; | |
9993 | if (_argo0) { | |
9994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p."); | |
9997 | return NULL; | |
9998 | } | |
9999 | } | |
10000 | _arg1 = (bool ) tempbool1; | |
10001 | { | |
4268f798 | 10002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10003 | wxGrid_EnableDragColSize(_arg0,_arg1); |
f6bcfd97 | 10004 | |
4268f798 | 10005 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10006 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10007 | } Py_INCREF(Py_None); |
10008 | _resultobj = Py_None; | |
10009 | return _resultobj; | |
10010 | } | |
10011 | ||
10012 | #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize()) | |
10013 | static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10014 | PyObject * _resultobj; | |
10015 | wxGrid * _arg0; | |
10016 | PyObject * _argo0 = 0; | |
10017 | char *_kwnames[] = { "self", NULL }; | |
10018 | ||
10019 | self = self; | |
10020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0)) | |
10021 | return NULL; | |
10022 | if (_argo0) { | |
10023 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10024 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p."); | |
10026 | return NULL; | |
10027 | } | |
10028 | } | |
10029 | { | |
4268f798 | 10030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10031 | wxGrid_DisableDragColSize(_arg0); |
f6bcfd97 | 10032 | |
4268f798 | 10033 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10034 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10035 | } Py_INCREF(Py_None); |
10036 | _resultobj = Py_None; | |
10037 | return _resultobj; | |
10038 | } | |
10039 | ||
10040 | #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize()) | |
10041 | static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10042 | PyObject * _resultobj; | |
10043 | bool _result; | |
10044 | wxGrid * _arg0; | |
10045 | PyObject * _argo0 = 0; | |
10046 | char *_kwnames[] = { "self", NULL }; | |
10047 | ||
10048 | self = self; | |
10049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0)) | |
10050 | return NULL; | |
10051 | if (_argo0) { | |
10052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p."); | |
10055 | return NULL; | |
10056 | } | |
10057 | } | |
10058 | { | |
4268f798 | 10059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10060 | _result = (bool )wxGrid_CanDragColSize(_arg0); |
f6bcfd97 | 10061 | |
4268f798 | 10062 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10063 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10064 | } _resultobj = Py_BuildValue("i",_result); |
10065 | return _resultobj; | |
10066 | } | |
10067 | ||
10068 | #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0)) | |
10069 | static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10070 | PyObject * _resultobj; | |
10071 | wxGrid * _arg0; | |
10072 | bool _arg1 = (bool ) TRUE; | |
10073 | PyObject * _argo0 = 0; | |
10074 | int tempbool1 = (int) TRUE; | |
10075 | char *_kwnames[] = { "self","enable", NULL }; | |
10076 | ||
10077 | self = self; | |
10078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1)) | |
10079 | return NULL; | |
10080 | if (_argo0) { | |
10081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p."); | |
10084 | return NULL; | |
10085 | } | |
10086 | } | |
10087 | _arg1 = (bool ) tempbool1; | |
10088 | { | |
4268f798 | 10089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10090 | wxGrid_EnableDragGridSize(_arg0,_arg1); |
f6bcfd97 | 10091 | |
4268f798 | 10092 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10093 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10094 | } Py_INCREF(Py_None); |
10095 | _resultobj = Py_None; | |
10096 | return _resultobj; | |
10097 | } | |
10098 | ||
10099 | #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize()) | |
10100 | static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10101 | PyObject * _resultobj; | |
10102 | wxGrid * _arg0; | |
10103 | PyObject * _argo0 = 0; | |
10104 | char *_kwnames[] = { "self", NULL }; | |
10105 | ||
10106 | self = self; | |
10107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0)) | |
10108 | return NULL; | |
10109 | if (_argo0) { | |
10110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p."); | |
10113 | return NULL; | |
10114 | } | |
10115 | } | |
10116 | { | |
4268f798 | 10117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10118 | wxGrid_DisableDragGridSize(_arg0); |
f6bcfd97 | 10119 | |
4268f798 | 10120 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10121 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10122 | } Py_INCREF(Py_None); |
10123 | _resultobj = Py_None; | |
10124 | return _resultobj; | |
10125 | } | |
10126 | ||
10127 | #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize()) | |
10128 | static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10129 | PyObject * _resultobj; | |
10130 | bool _result; | |
10131 | wxGrid * _arg0; | |
10132 | PyObject * _argo0 = 0; | |
10133 | char *_kwnames[] = { "self", NULL }; | |
10134 | ||
10135 | self = self; | |
10136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0)) | |
10137 | return NULL; | |
10138 | if (_argo0) { | |
10139 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10140 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p."); | |
10142 | return NULL; | |
10143 | } | |
10144 | } | |
10145 | { | |
4268f798 | 10146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10147 | _result = (bool )wxGrid_CanDragGridSize(_arg0); |
f6bcfd97 | 10148 | |
4268f798 | 10149 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10150 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10151 | } _resultobj = Py_BuildValue("i",_result); |
10152 | return _resultobj; | |
10153 | } | |
10154 | ||
10155 | #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
10156 | static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10157 | PyObject * _resultobj; | |
10158 | wxGrid * _arg0; | |
10159 | int _arg1; | |
10160 | wxGridCellAttr * _arg2; | |
10161 | PyObject * _argo0 = 0; | |
10162 | PyObject * _argo2 = 0; | |
10163 | char *_kwnames[] = { "self","row","attr", NULL }; | |
10164 | ||
10165 | self = self; | |
10166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
10167 | return NULL; | |
10168 | if (_argo0) { | |
10169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p."); | |
10172 | return NULL; | |
10173 | } | |
10174 | } | |
10175 | if (_argo2) { | |
10176 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10177 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
10178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p."); | |
10179 | return NULL; | |
10180 | } | |
10181 | } | |
10182 | { | |
4268f798 | 10183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10184 | wxGrid_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 10185 | |
4268f798 | 10186 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10187 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10188 | } Py_INCREF(Py_None); |
10189 | _resultobj = Py_None; | |
10190 | return _resultobj; | |
10191 | } | |
10192 | ||
10193 | #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
10194 | static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10195 | PyObject * _resultobj; | |
10196 | wxGrid * _arg0; | |
10197 | int _arg1; | |
10198 | wxGridCellAttr * _arg2; | |
10199 | PyObject * _argo0 = 0; | |
10200 | PyObject * _argo2 = 0; | |
10201 | char *_kwnames[] = { "self","col","attr", NULL }; | |
10202 | ||
10203 | self = self; | |
10204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
10205 | return NULL; | |
10206 | if (_argo0) { | |
10207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p."); | |
10210 | return NULL; | |
10211 | } | |
10212 | } | |
10213 | if (_argo2) { | |
10214 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10215 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
10216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p."); | |
10217 | return NULL; | |
10218 | } | |
10219 | } | |
10220 | { | |
4268f798 | 10221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10222 | wxGrid_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 10223 | |
4268f798 | 10224 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10225 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10226 | } Py_INCREF(Py_None); |
10227 | _resultobj = Py_None; | |
10228 | return _resultobj; | |
10229 | } | |
10230 | ||
10231 | #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0)) | |
10232 | static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10233 | PyObject * _resultobj; | |
10234 | wxGrid * _arg0; | |
10235 | int _arg1; | |
10236 | PyObject * _argo0 = 0; | |
10237 | char *_kwnames[] = { "self","col", NULL }; | |
10238 | ||
10239 | self = self; | |
10240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1)) | |
10241 | return NULL; | |
10242 | if (_argo0) { | |
10243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p."); | |
10246 | return NULL; | |
10247 | } | |
10248 | } | |
10249 | { | |
4268f798 | 10250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10251 | wxGrid_SetColFormatBool(_arg0,_arg1); |
f6bcfd97 | 10252 | |
4268f798 | 10253 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10254 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10255 | } Py_INCREF(Py_None); |
10256 | _resultobj = Py_None; | |
10257 | return _resultobj; | |
10258 | } | |
10259 | ||
10260 | #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0)) | |
10261 | static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10262 | PyObject * _resultobj; | |
10263 | wxGrid * _arg0; | |
10264 | int _arg1; | |
10265 | PyObject * _argo0 = 0; | |
10266 | char *_kwnames[] = { "self","col", NULL }; | |
10267 | ||
10268 | self = self; | |
10269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1)) | |
10270 | return NULL; | |
10271 | if (_argo0) { | |
10272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p."); | |
10275 | return NULL; | |
10276 | } | |
10277 | } | |
10278 | { | |
4268f798 | 10279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10280 | wxGrid_SetColFormatNumber(_arg0,_arg1); |
f6bcfd97 | 10281 | |
4268f798 | 10282 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10283 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10284 | } Py_INCREF(Py_None); |
10285 | _resultobj = Py_None; | |
10286 | return _resultobj; | |
10287 | } | |
10288 | ||
10289 | #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2)) | |
10290 | static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10291 | PyObject * _resultobj; | |
10292 | wxGrid * _arg0; | |
10293 | int _arg1; | |
10294 | int _arg2 = (int ) -1; | |
10295 | int _arg3 = (int ) -1; | |
10296 | PyObject * _argo0 = 0; | |
10297 | char *_kwnames[] = { "self","col","width","precision", NULL }; | |
10298 | ||
10299 | self = self; | |
10300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
10301 | return NULL; | |
10302 | if (_argo0) { | |
10303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p."); | |
10306 | return NULL; | |
10307 | } | |
10308 | } | |
10309 | { | |
4268f798 | 10310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10311 | wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 10312 | |
4268f798 | 10313 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10314 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10315 | } Py_INCREF(Py_None); |
10316 | _resultobj = Py_None; | |
10317 | return _resultobj; | |
10318 | } | |
10319 | ||
10320 | #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1)) | |
10321 | static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10322 | PyObject * _resultobj; | |
10323 | wxGrid * _arg0; | |
10324 | int _arg1; | |
10325 | wxString * _arg2; | |
10326 | PyObject * _argo0 = 0; | |
10327 | PyObject * _obj2 = 0; | |
10328 | char *_kwnames[] = { "self","col","typeName", NULL }; | |
10329 | ||
10330 | self = self; | |
10331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2)) | |
10332 | return NULL; | |
10333 | if (_argo0) { | |
10334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p."); | |
10337 | return NULL; | |
10338 | } | |
10339 | } | |
10340 | { | |
c8bc7bb8 RD |
10341 | _arg2 = wxString_in_helper(_obj2); |
10342 | if (_arg2 == NULL) | |
185d7c3e | 10343 | return NULL; |
f6bcfd97 BP |
10344 | } |
10345 | { | |
4268f798 | 10346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10347 | wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2); |
f6bcfd97 | 10348 | |
4268f798 | 10349 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10350 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10351 | } Py_INCREF(Py_None); |
10352 | _resultobj = Py_None; | |
10353 | { | |
10354 | if (_obj2) | |
10355 | delete _arg2; | |
10356 | } | |
10357 | return _resultobj; | |
10358 | } | |
10359 | ||
10360 | #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0)) | |
10361 | static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10362 | PyObject * _resultobj; | |
10363 | wxGrid * _arg0; | |
10364 | bool _arg1 = (bool ) TRUE; | |
10365 | PyObject * _argo0 = 0; | |
10366 | int tempbool1 = (int) TRUE; | |
10367 | char *_kwnames[] = { "self","enable", NULL }; | |
10368 | ||
10369 | self = self; | |
10370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1)) | |
10371 | return NULL; | |
10372 | if (_argo0) { | |
10373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p."); | |
10376 | return NULL; | |
10377 | } | |
10378 | } | |
10379 | _arg1 = (bool ) tempbool1; | |
10380 | { | |
4268f798 | 10381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10382 | wxGrid_EnableGridLines(_arg0,_arg1); |
f6bcfd97 | 10383 | |
4268f798 | 10384 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10385 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10386 | } Py_INCREF(Py_None); |
10387 | _resultobj = Py_None; | |
10388 | return _resultobj; | |
10389 | } | |
10390 | ||
10391 | #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled()) | |
10392 | static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10393 | PyObject * _resultobj; | |
10394 | bool _result; | |
10395 | wxGrid * _arg0; | |
10396 | PyObject * _argo0 = 0; | |
10397 | char *_kwnames[] = { "self", NULL }; | |
10398 | ||
10399 | self = self; | |
10400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0)) | |
10401 | return NULL; | |
10402 | if (_argo0) { | |
10403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p."); | |
10406 | return NULL; | |
10407 | } | |
10408 | } | |
10409 | { | |
4268f798 | 10410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10411 | _result = (bool )wxGrid_GridLinesEnabled(_arg0); |
f6bcfd97 | 10412 | |
4268f798 | 10413 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10414 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10415 | } _resultobj = Py_BuildValue("i",_result); |
10416 | return _resultobj; | |
10417 | } | |
10418 | ||
10419 | #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize()) | |
10420 | static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10421 | PyObject * _resultobj; | |
10422 | int _result; | |
10423 | wxGrid * _arg0; | |
10424 | PyObject * _argo0 = 0; | |
10425 | char *_kwnames[] = { "self", NULL }; | |
10426 | ||
10427 | self = self; | |
10428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0)) | |
10429 | return NULL; | |
10430 | if (_argo0) { | |
10431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p."); | |
10434 | return NULL; | |
10435 | } | |
10436 | } | |
10437 | { | |
4268f798 | 10438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10439 | _result = (int )wxGrid_GetDefaultRowSize(_arg0); |
f6bcfd97 | 10440 | |
4268f798 | 10441 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10442 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10443 | } _resultobj = Py_BuildValue("i",_result); |
10444 | return _resultobj; | |
10445 | } | |
10446 | ||
10447 | #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0)) | |
10448 | static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10449 | PyObject * _resultobj; | |
10450 | int _result; | |
10451 | wxGrid * _arg0; | |
10452 | int _arg1; | |
10453 | PyObject * _argo0 = 0; | |
10454 | char *_kwnames[] = { "self","row", NULL }; | |
10455 | ||
10456 | self = self; | |
10457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1)) | |
10458 | return NULL; | |
10459 | if (_argo0) { | |
10460 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10461 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p."); | |
10463 | return NULL; | |
10464 | } | |
10465 | } | |
10466 | { | |
4268f798 | 10467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10468 | _result = (int )wxGrid_GetRowSize(_arg0,_arg1); |
f6bcfd97 | 10469 | |
4268f798 | 10470 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10471 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10472 | } _resultobj = Py_BuildValue("i",_result); |
10473 | return _resultobj; | |
10474 | } | |
10475 | ||
10476 | #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize()) | |
10477 | static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10478 | PyObject * _resultobj; | |
10479 | int _result; | |
10480 | wxGrid * _arg0; | |
10481 | PyObject * _argo0 = 0; | |
10482 | char *_kwnames[] = { "self", NULL }; | |
10483 | ||
10484 | self = self; | |
10485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0)) | |
10486 | return NULL; | |
10487 | if (_argo0) { | |
10488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p."); | |
10491 | return NULL; | |
10492 | } | |
10493 | } | |
10494 | { | |
4268f798 | 10495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10496 | _result = (int )wxGrid_GetDefaultColSize(_arg0); |
f6bcfd97 | 10497 | |
4268f798 | 10498 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10499 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10500 | } _resultobj = Py_BuildValue("i",_result); |
10501 | return _resultobj; | |
10502 | } | |
10503 | ||
10504 | #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0)) | |
10505 | static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10506 | PyObject * _resultobj; | |
10507 | int _result; | |
10508 | wxGrid * _arg0; | |
10509 | int _arg1; | |
10510 | PyObject * _argo0 = 0; | |
10511 | char *_kwnames[] = { "self","col", NULL }; | |
10512 | ||
10513 | self = self; | |
10514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1)) | |
10515 | return NULL; | |
10516 | if (_argo0) { | |
10517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p."); | |
10520 | return NULL; | |
10521 | } | |
10522 | } | |
10523 | { | |
4268f798 | 10524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10525 | _result = (int )wxGrid_GetColSize(_arg0,_arg1); |
f6bcfd97 | 10526 | |
4268f798 | 10527 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10528 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10529 | } _resultobj = Py_BuildValue("i",_result); |
10530 | return _resultobj; | |
10531 | } | |
10532 | ||
10533 | #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour()) | |
10534 | static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10535 | PyObject * _resultobj; | |
10536 | wxColour * _result; | |
10537 | wxGrid * _arg0; | |
10538 | PyObject * _argo0 = 0; | |
10539 | char *_kwnames[] = { "self", NULL }; | |
10540 | char _ptemp[128]; | |
10541 | ||
10542 | self = self; | |
10543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0)) | |
10544 | return NULL; | |
10545 | if (_argo0) { | |
10546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p."); | |
10549 | return NULL; | |
10550 | } | |
10551 | } | |
10552 | { | |
4268f798 | 10553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10554 | _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0)); |
f6bcfd97 | 10555 | |
4268f798 | 10556 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10557 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10558 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10559 | _resultobj = Py_BuildValue("s",_ptemp); | |
10560 | return _resultobj; | |
10561 | } | |
10562 | ||
10563 | #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1)) | |
10564 | static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10565 | PyObject * _resultobj; | |
10566 | wxColour * _result; | |
10567 | wxGrid * _arg0; | |
10568 | int _arg1; | |
10569 | int _arg2; | |
10570 | PyObject * _argo0 = 0; | |
10571 | char *_kwnames[] = { "self","row","col", NULL }; | |
10572 | char _ptemp[128]; | |
10573 | ||
10574 | self = self; | |
10575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10576 | return NULL; | |
10577 | if (_argo0) { | |
10578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p."); | |
10581 | return NULL; | |
10582 | } | |
10583 | } | |
10584 | { | |
4268f798 | 10585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10586 | _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10587 | |
4268f798 | 10588 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10589 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10590 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10591 | _resultobj = Py_BuildValue("s",_ptemp); | |
10592 | return _resultobj; | |
10593 | } | |
10594 | ||
10595 | #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour()) | |
10596 | static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10597 | PyObject * _resultobj; | |
10598 | wxColour * _result; | |
10599 | wxGrid * _arg0; | |
10600 | PyObject * _argo0 = 0; | |
10601 | char *_kwnames[] = { "self", NULL }; | |
10602 | char _ptemp[128]; | |
10603 | ||
10604 | self = self; | |
10605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0)) | |
10606 | return NULL; | |
10607 | if (_argo0) { | |
10608 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10609 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p."); | |
10611 | return NULL; | |
10612 | } | |
10613 | } | |
10614 | { | |
4268f798 | 10615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10616 | _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0)); |
f6bcfd97 | 10617 | |
4268f798 | 10618 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10619 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10620 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10621 | _resultobj = Py_BuildValue("s",_ptemp); | |
10622 | return _resultobj; | |
10623 | } | |
10624 | ||
10625 | #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1)) | |
10626 | static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10627 | PyObject * _resultobj; | |
10628 | wxColour * _result; | |
10629 | wxGrid * _arg0; | |
10630 | int _arg1; | |
10631 | int _arg2; | |
10632 | PyObject * _argo0 = 0; | |
10633 | char *_kwnames[] = { "self","row","col", NULL }; | |
10634 | char _ptemp[128]; | |
10635 | ||
10636 | self = self; | |
10637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10638 | return NULL; | |
10639 | if (_argo0) { | |
10640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p."); | |
10643 | return NULL; | |
10644 | } | |
10645 | } | |
10646 | { | |
4268f798 | 10647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10648 | _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10649 | |
4268f798 | 10650 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10651 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10652 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10653 | _resultobj = Py_BuildValue("s",_ptemp); | |
10654 | return _resultobj; | |
10655 | } | |
10656 | ||
10657 | #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont()) | |
10658 | static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10659 | PyObject * _resultobj; | |
10660 | wxFont * _result; | |
10661 | wxGrid * _arg0; | |
10662 | PyObject * _argo0 = 0; | |
10663 | char *_kwnames[] = { "self", NULL }; | |
10664 | char _ptemp[128]; | |
10665 | ||
10666 | self = self; | |
10667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0)) | |
10668 | return NULL; | |
10669 | if (_argo0) { | |
10670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p."); | |
10673 | return NULL; | |
10674 | } | |
10675 | } | |
10676 | { | |
4268f798 | 10677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10678 | _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0)); |
f6bcfd97 | 10679 | |
4268f798 | 10680 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10681 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10682 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
10683 | _resultobj = Py_BuildValue("s",_ptemp); | |
10684 | return _resultobj; | |
10685 | } | |
10686 | ||
10687 | #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1)) | |
10688 | static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10689 | PyObject * _resultobj; | |
10690 | wxFont * _result; | |
10691 | wxGrid * _arg0; | |
10692 | int _arg1; | |
10693 | int _arg2; | |
10694 | PyObject * _argo0 = 0; | |
10695 | char *_kwnames[] = { "self","row","col", NULL }; | |
10696 | char _ptemp[128]; | |
10697 | ||
10698 | self = self; | |
10699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10700 | return NULL; | |
10701 | if (_argo0) { | |
10702 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10703 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10704 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p."); | |
10705 | return NULL; | |
10706 | } | |
10707 | } | |
10708 | { | |
4268f798 | 10709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10710 | _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10711 | |
4268f798 | 10712 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10713 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10714 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
10715 | _resultobj = Py_BuildValue("s",_ptemp); | |
10716 | return _resultobj; | |
10717 | } | |
10718 | ||
10719 | #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1)) | |
10720 | static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10721 | PyObject * _resultobj; | |
10722 | wxGrid * _arg0; | |
10723 | int * _arg1; | |
10724 | int * _arg2; | |
10725 | PyObject * _argo0 = 0; | |
10726 | PyObject * _argo1 = 0; | |
10727 | PyObject * _argo2 = 0; | |
10728 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
10729 | ||
10730 | self = self; | |
10731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2)) | |
10732 | return NULL; | |
10733 | if (_argo0) { | |
10734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p."); | |
10737 | return NULL; | |
10738 | } | |
10739 | } | |
10740 | if (_argo1) { | |
10741 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10742 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
10743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p."); | |
10744 | return NULL; | |
10745 | } | |
10746 | } | |
10747 | if (_argo2) { | |
10748 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10749 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
10750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p."); | |
10751 | return NULL; | |
10752 | } | |
10753 | } | |
10754 | { | |
4268f798 | 10755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10756 | wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 10757 | |
4268f798 | 10758 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10759 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10760 | } Py_INCREF(Py_None); |
10761 | _resultobj = Py_None; | |
10762 | return _resultobj; | |
10763 | } | |
10764 | ||
10765 | #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
10766 | static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10767 | PyObject * _resultobj; | |
10768 | wxGrid * _arg0; | |
10769 | int _arg1; | |
10770 | int _arg2; | |
10771 | int * _arg3; | |
10772 | int * _arg4; | |
10773 | PyObject * _argo0 = 0; | |
10774 | PyObject * _argo3 = 0; | |
10775 | PyObject * _argo4 = 0; | |
10776 | char *_kwnames[] = { "self","row","col","horiz","vert", NULL }; | |
10777 | ||
10778 | self = self; | |
10779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4)) | |
10780 | return NULL; | |
10781 | if (_argo0) { | |
10782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p."); | |
10785 | return NULL; | |
10786 | } | |
10787 | } | |
10788 | if (_argo3) { | |
10789 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
10790 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) { | |
10791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p."); | |
10792 | return NULL; | |
10793 | } | |
10794 | } | |
10795 | if (_argo4) { | |
10796 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
10797 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) { | |
10798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p."); | |
10799 | return NULL; | |
10800 | } | |
10801 | } | |
10802 | { | |
4268f798 | 10803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10804 | wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4); |
f6bcfd97 | 10805 | |
4268f798 | 10806 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10807 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10808 | } Py_INCREF(Py_None); |
10809 | _resultobj = Py_None; | |
10810 | return _resultobj; | |
10811 | } | |
10812 | ||
10813 | #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1)) | |
10814 | static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10815 | PyObject * _resultobj; | |
10816 | wxGrid * _arg0; | |
10817 | int _arg1; | |
10818 | bool _arg2 = (bool ) FALSE; | |
10819 | PyObject * _argo0 = 0; | |
10820 | int tempbool2 = (int) FALSE; | |
10821 | char *_kwnames[] = { "self","height","resizeExistingRows", NULL }; | |
10822 | ||
10823 | self = self; | |
10824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10825 | return NULL; | |
10826 | if (_argo0) { | |
10827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p."); | |
10830 | return NULL; | |
10831 | } | |
10832 | } | |
10833 | _arg2 = (bool ) tempbool2; | |
10834 | { | |
4268f798 | 10835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10836 | wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 10837 | |
4268f798 | 10838 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10839 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10840 | } Py_INCREF(Py_None); |
10841 | _resultobj = Py_None; | |
10842 | return _resultobj; | |
10843 | } | |
10844 | ||
10845 | #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1)) | |
10846 | static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10847 | PyObject * _resultobj; | |
10848 | wxGrid * _arg0; | |
10849 | int _arg1; | |
10850 | int _arg2; | |
10851 | PyObject * _argo0 = 0; | |
10852 | char *_kwnames[] = { "self","row","height", NULL }; | |
10853 | ||
10854 | self = self; | |
10855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10856 | return NULL; | |
10857 | if (_argo0) { | |
10858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p."); | |
10861 | return NULL; | |
10862 | } | |
10863 | } | |
10864 | { | |
4268f798 | 10865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10866 | wxGrid_SetRowSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 10867 | |
4268f798 | 10868 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10869 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10870 | } Py_INCREF(Py_None); |
10871 | _resultobj = Py_None; | |
10872 | return _resultobj; | |
10873 | } | |
10874 | ||
10875 | #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1)) | |
10876 | static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10877 | PyObject * _resultobj; | |
10878 | wxGrid * _arg0; | |
10879 | int _arg1; | |
10880 | bool _arg2 = (bool ) FALSE; | |
10881 | PyObject * _argo0 = 0; | |
10882 | int tempbool2 = (int) FALSE; | |
10883 | char *_kwnames[] = { "self","width","resizeExistingCols", NULL }; | |
10884 | ||
10885 | self = self; | |
10886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10887 | return NULL; | |
10888 | if (_argo0) { | |
10889 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10890 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p."); | |
10892 | return NULL; | |
10893 | } | |
10894 | } | |
10895 | _arg2 = (bool ) tempbool2; | |
10896 | { | |
4268f798 | 10897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10898 | wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 10899 | |
4268f798 | 10900 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10901 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10902 | } Py_INCREF(Py_None); |
10903 | _resultobj = Py_None; | |
10904 | return _resultobj; | |
10905 | } | |
10906 | ||
10907 | #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1)) | |
10908 | static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10909 | PyObject * _resultobj; | |
10910 | wxGrid * _arg0; | |
10911 | int _arg1; | |
10912 | int _arg2; | |
10913 | PyObject * _argo0 = 0; | |
10914 | char *_kwnames[] = { "self","col","width", NULL }; | |
10915 | ||
10916 | self = self; | |
10917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10918 | return NULL; | |
10919 | if (_argo0) { | |
10920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p."); | |
10923 | return NULL; | |
10924 | } | |
10925 | } | |
10926 | { | |
4268f798 | 10927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10928 | wxGrid_SetColSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 10929 | |
4268f798 | 10930 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10931 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10932 | } Py_INCREF(Py_None); |
10933 | _resultobj = Py_None; | |
10934 | return _resultobj; | |
10935 | } | |
10936 | ||
10937 | #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1)) | |
10938 | static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10939 | PyObject * _resultobj; | |
10940 | wxGrid * _arg0; | |
10941 | int _arg1; | |
10942 | bool _arg2 = (bool ) TRUE; | |
10943 | PyObject * _argo0 = 0; | |
10944 | int tempbool2 = (int) TRUE; | |
10945 | char *_kwnames[] = { "self","col","setAsMin", NULL }; | |
10946 | ||
10947 | self = self; | |
10948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10949 | return NULL; | |
10950 | if (_argo0) { | |
10951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p."); | |
10954 | return NULL; | |
10955 | } | |
10956 | } | |
10957 | _arg2 = (bool ) tempbool2; | |
10958 | { | |
4268f798 | 10959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10960 | wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2); |
f6bcfd97 | 10961 | |
4268f798 | 10962 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10963 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10964 | } Py_INCREF(Py_None); |
10965 | _resultobj = Py_None; | |
10966 | return _resultobj; | |
10967 | } | |
10968 | ||
10969 | #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1)) | |
10970 | static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10971 | PyObject * _resultobj; | |
10972 | wxGrid * _arg0; | |
10973 | int _arg1; | |
10974 | bool _arg2 = (bool ) TRUE; | |
10975 | PyObject * _argo0 = 0; | |
10976 | int tempbool2 = (int) TRUE; | |
10977 | char *_kwnames[] = { "self","row","setAsMin", NULL }; | |
10978 | ||
10979 | self = self; | |
10980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10981 | return NULL; | |
10982 | if (_argo0) { | |
10983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p."); | |
10986 | return NULL; | |
10987 | } | |
10988 | } | |
10989 | _arg2 = (bool ) tempbool2; | |
10990 | { | |
4268f798 | 10991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10992 | wxGrid_AutoSizeRow(_arg0,_arg1,_arg2); |
f6bcfd97 | 10993 | |
4268f798 | 10994 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10995 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10996 | } Py_INCREF(Py_None); |
10997 | _resultobj = Py_None; | |
10998 | return _resultobj; | |
10999 | } | |
11000 | ||
11001 | #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0)) | |
11002 | static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11003 | PyObject * _resultobj; | |
11004 | wxGrid * _arg0; | |
11005 | bool _arg1 = (bool ) TRUE; | |
11006 | PyObject * _argo0 = 0; | |
11007 | int tempbool1 = (int) TRUE; | |
11008 | char *_kwnames[] = { "self","setAsMin", NULL }; | |
11009 | ||
11010 | self = self; | |
11011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1)) | |
11012 | return NULL; | |
11013 | if (_argo0) { | |
11014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p."); | |
11017 | return NULL; | |
11018 | } | |
11019 | } | |
11020 | _arg1 = (bool ) tempbool1; | |
11021 | { | |
4268f798 | 11022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11023 | wxGrid_AutoSizeColumns(_arg0,_arg1); |
f6bcfd97 | 11024 | |
4268f798 | 11025 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11026 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11027 | } Py_INCREF(Py_None); |
11028 | _resultobj = Py_None; | |
11029 | return _resultobj; | |
11030 | } | |
11031 | ||
11032 | #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0)) | |
11033 | static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11034 | PyObject * _resultobj; | |
11035 | wxGrid * _arg0; | |
11036 | bool _arg1 = (bool ) TRUE; | |
11037 | PyObject * _argo0 = 0; | |
11038 | int tempbool1 = (int) TRUE; | |
11039 | char *_kwnames[] = { "self","setAsMin", NULL }; | |
11040 | ||
11041 | self = self; | |
11042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1)) | |
11043 | return NULL; | |
11044 | if (_argo0) { | |
11045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p."); | |
11048 | return NULL; | |
11049 | } | |
11050 | } | |
11051 | _arg1 = (bool ) tempbool1; | |
11052 | { | |
4268f798 | 11053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11054 | wxGrid_AutoSizeRows(_arg0,_arg1); |
f6bcfd97 | 11055 | |
4268f798 | 11056 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11057 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11058 | } Py_INCREF(Py_None); |
11059 | _resultobj = Py_None; | |
11060 | return _resultobj; | |
11061 | } | |
11062 | ||
11063 | #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize()) | |
11064 | static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11065 | PyObject * _resultobj; | |
11066 | wxGrid * _arg0; | |
11067 | PyObject * _argo0 = 0; | |
11068 | char *_kwnames[] = { "self", NULL }; | |
11069 | ||
11070 | self = self; | |
11071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0)) | |
11072 | return NULL; | |
11073 | if (_argo0) { | |
11074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p."); | |
11077 | return NULL; | |
11078 | } | |
11079 | } | |
11080 | { | |
4268f798 | 11081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11082 | wxGrid_AutoSize(_arg0); |
f6bcfd97 | 11083 | |
4268f798 | 11084 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11085 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11086 | } Py_INCREF(Py_None); |
11087 | _resultobj = Py_None; | |
11088 | return _resultobj; | |
11089 | } | |
11090 | ||
11091 | #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1)) | |
11092 | static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11093 | PyObject * _resultobj; | |
11094 | wxGrid * _arg0; | |
11095 | int _arg1; | |
11096 | int _arg2; | |
11097 | PyObject * _argo0 = 0; | |
11098 | char *_kwnames[] = { "self","col","width", NULL }; | |
11099 | ||
11100 | self = self; | |
11101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11102 | return NULL; | |
11103 | if (_argo0) { | |
11104 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11105 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p."); | |
11107 | return NULL; | |
11108 | } | |
11109 | } | |
11110 | { | |
4268f798 | 11111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11112 | wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2); |
f6bcfd97 | 11113 | |
4268f798 | 11114 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11115 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11116 | } Py_INCREF(Py_None); |
11117 | _resultobj = Py_None; | |
11118 | return _resultobj; | |
11119 | } | |
11120 | ||
11121 | #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1)) | |
11122 | static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11123 | PyObject * _resultobj; | |
11124 | wxGrid * _arg0; | |
11125 | int _arg1; | |
11126 | int _arg2; | |
11127 | PyObject * _argo0 = 0; | |
11128 | char *_kwnames[] = { "self","row","width", NULL }; | |
11129 | ||
11130 | self = self; | |
11131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11132 | return NULL; | |
11133 | if (_argo0) { | |
11134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p."); | |
11137 | return NULL; | |
11138 | } | |
11139 | } | |
11140 | { | |
4268f798 | 11141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11142 | wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2); |
f6bcfd97 | 11143 | |
4268f798 | 11144 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11145 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11146 | } Py_INCREF(Py_None); |
11147 | _resultobj = Py_None; | |
11148 | return _resultobj; | |
11149 | } | |
11150 | ||
11151 | #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0)) | |
11152 | static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11153 | PyObject * _resultobj; | |
11154 | wxGrid * _arg0; | |
11155 | wxColour * _arg1; | |
11156 | PyObject * _argo0 = 0; | |
11157 | wxColour temp; | |
11158 | PyObject * _obj1 = 0; | |
11159 | char *_kwnames[] = { "self","arg2", NULL }; | |
11160 | ||
11161 | self = self; | |
11162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
11163 | return NULL; | |
11164 | if (_argo0) { | |
11165 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11166 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p."); | |
11168 | return NULL; | |
11169 | } | |
11170 | } | |
11171 | { | |
11172 | _arg1 = &temp; | |
11173 | if (! wxColour_helper(_obj1, &_arg1)) | |
11174 | return NULL; | |
11175 | } | |
11176 | { | |
4268f798 | 11177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11178 | wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 11179 | |
4268f798 | 11180 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11181 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11182 | } Py_INCREF(Py_None); |
11183 | _resultobj = Py_None; | |
11184 | return _resultobj; | |
11185 | } | |
11186 | ||
11187 | #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2)) | |
11188 | static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11189 | PyObject * _resultobj; | |
11190 | wxGrid * _arg0; | |
11191 | int _arg1; | |
11192 | int _arg2; | |
11193 | wxColour * _arg3; | |
11194 | PyObject * _argo0 = 0; | |
11195 | wxColour temp; | |
11196 | PyObject * _obj3 = 0; | |
11197 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11198 | ||
11199 | self = self; | |
11200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11201 | return NULL; | |
11202 | if (_argo0) { | |
11203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p."); | |
11206 | return NULL; | |
11207 | } | |
11208 | } | |
11209 | { | |
11210 | _arg3 = &temp; | |
11211 | if (! wxColour_helper(_obj3, &_arg3)) | |
11212 | return NULL; | |
11213 | } | |
11214 | { | |
4268f798 | 11215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11216 | wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11217 | |
4268f798 | 11218 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11219 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11220 | } Py_INCREF(Py_None); |
11221 | _resultobj = Py_None; | |
11222 | return _resultobj; | |
11223 | } | |
11224 | ||
11225 | #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0)) | |
11226 | static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11227 | PyObject * _resultobj; | |
11228 | wxGrid * _arg0; | |
11229 | wxColour * _arg1; | |
11230 | PyObject * _argo0 = 0; | |
11231 | wxColour temp; | |
11232 | PyObject * _obj1 = 0; | |
11233 | char *_kwnames[] = { "self","arg2", NULL }; | |
11234 | ||
11235 | self = self; | |
11236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1)) | |
11237 | return NULL; | |
11238 | if (_argo0) { | |
11239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p."); | |
11242 | return NULL; | |
11243 | } | |
11244 | } | |
11245 | { | |
11246 | _arg1 = &temp; | |
11247 | if (! wxColour_helper(_obj1, &_arg1)) | |
11248 | return NULL; | |
11249 | } | |
11250 | { | |
4268f798 | 11251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11252 | wxGrid_SetDefaultCellTextColour(_arg0,*_arg1); |
f6bcfd97 | 11253 | |
4268f798 | 11254 | wxPyEndAllowThreads(__tstate); |
493f1553 | 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_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2)) | |
11262 | static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11263 | PyObject * _resultobj; | |
11264 | wxGrid * _arg0; | |
11265 | int _arg1; | |
11266 | int _arg2; | |
11267 | wxColour * _arg3; | |
11268 | PyObject * _argo0 = 0; | |
11269 | wxColour temp; | |
11270 | PyObject * _obj3 = 0; | |
11271 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11272 | ||
11273 | self = self; | |
11274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11275 | return NULL; | |
11276 | if (_argo0) { | |
11277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p."); | |
11280 | return NULL; | |
11281 | } | |
11282 | } | |
11283 | { | |
11284 | _arg3 = &temp; | |
11285 | if (! wxColour_helper(_obj3, &_arg3)) | |
11286 | return NULL; | |
11287 | } | |
11288 | { | |
4268f798 | 11289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11290 | wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11291 | |
4268f798 | 11292 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11293 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11294 | } Py_INCREF(Py_None); |
11295 | _resultobj = Py_None; | |
11296 | return _resultobj; | |
11297 | } | |
11298 | ||
11299 | #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0)) | |
11300 | static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11301 | PyObject * _resultobj; | |
11302 | wxGrid * _arg0; | |
11303 | wxFont * _arg1; | |
11304 | PyObject * _argo0 = 0; | |
11305 | PyObject * _argo1 = 0; | |
11306 | char *_kwnames[] = { "self","arg2", NULL }; | |
11307 | ||
11308 | self = self; | |
11309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1)) | |
11310 | return NULL; | |
11311 | if (_argo0) { | |
11312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p."); | |
11315 | return NULL; | |
11316 | } | |
11317 | } | |
11318 | if (_argo1) { | |
11319 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11320 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
11321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p."); | |
11322 | return NULL; | |
11323 | } | |
11324 | } | |
11325 | { | |
4268f798 | 11326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11327 | wxGrid_SetDefaultCellFont(_arg0,*_arg1); |
f6bcfd97 | 11328 | |
4268f798 | 11329 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11330 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11331 | } Py_INCREF(Py_None); |
11332 | _resultobj = Py_None; | |
11333 | return _resultobj; | |
11334 | } | |
11335 | ||
11336 | #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2)) | |
11337 | static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11338 | PyObject * _resultobj; | |
11339 | wxGrid * _arg0; | |
11340 | int _arg1; | |
11341 | int _arg2; | |
11342 | wxFont * _arg3; | |
11343 | PyObject * _argo0 = 0; | |
11344 | PyObject * _argo3 = 0; | |
11345 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11346 | ||
11347 | self = self; | |
11348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
11349 | return NULL; | |
11350 | if (_argo0) { | |
11351 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11352 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11353 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p."); | |
11354 | return NULL; | |
11355 | } | |
11356 | } | |
11357 | if (_argo3) { | |
11358 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11359 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) { | |
11360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p."); | |
11361 | return NULL; | |
11362 | } | |
11363 | } | |
11364 | { | |
4268f798 | 11365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11366 | wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11367 | |
4268f798 | 11368 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11369 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11370 | } Py_INCREF(Py_None); |
11371 | _resultobj = Py_None; | |
11372 | return _resultobj; | |
11373 | } | |
11374 | ||
11375 | #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1)) | |
11376 | static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11377 | PyObject * _resultobj; | |
11378 | wxGrid * _arg0; | |
11379 | int _arg1; | |
11380 | int _arg2; | |
11381 | PyObject * _argo0 = 0; | |
11382 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
11383 | ||
11384 | self = self; | |
11385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11386 | return NULL; | |
11387 | if (_argo0) { | |
11388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p."); | |
11391 | return NULL; | |
11392 | } | |
11393 | } | |
11394 | { | |
4268f798 | 11395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11396 | wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 11397 | |
4268f798 | 11398 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11399 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11400 | } Py_INCREF(Py_None); |
11401 | _resultobj = Py_None; | |
11402 | return _resultobj; | |
11403 | } | |
11404 | ||
11405 | #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11406 | static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11407 | PyObject * _resultobj; | |
11408 | wxGrid * _arg0; | |
11409 | int _arg1; | |
11410 | int _arg2; | |
11411 | int _arg3; | |
11412 | int _arg4; | |
11413 | PyObject * _argo0 = 0; | |
11414 | char *_kwnames[] = { "self","row","col","horiz","vert", NULL }; | |
11415 | ||
11416 | self = self; | |
11417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11418 | return NULL; | |
11419 | if (_argo0) { | |
11420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p."); | |
11423 | return NULL; | |
11424 | } | |
11425 | } | |
11426 | { | |
4268f798 | 11427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11428 | wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4); |
f6bcfd97 | 11429 | |
4268f798 | 11430 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11431 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11432 | } Py_INCREF(Py_None); |
11433 | _resultobj = Py_None; | |
11434 | return _resultobj; | |
11435 | } | |
11436 | ||
11437 | #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0)) | |
11438 | static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11439 | PyObject * _resultobj; | |
11440 | wxGrid * _arg0; | |
11441 | wxGridCellRenderer * _arg1; | |
11442 | PyObject * _argo0 = 0; | |
11443 | PyObject * _argo1 = 0; | |
11444 | char *_kwnames[] = { "self","renderer", NULL }; | |
11445 | ||
11446 | self = self; | |
11447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1)) | |
11448 | return NULL; | |
11449 | if (_argo0) { | |
11450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p."); | |
11453 | return NULL; | |
11454 | } | |
11455 | } | |
11456 | if (_argo1) { | |
11457 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11458 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) { | |
11459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p."); | |
11460 | return NULL; | |
11461 | } | |
11462 | } | |
11463 | { | |
4268f798 | 11464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11465 | wxGrid_SetDefaultRenderer(_arg0,_arg1); |
f6bcfd97 | 11466 | |
4268f798 | 11467 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11468 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11469 | } Py_INCREF(Py_None); |
11470 | _resultobj = Py_None; | |
11471 | return _resultobj; | |
11472 | } | |
11473 | ||
11474 | #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2)) | |
11475 | static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11476 | PyObject * _resultobj; | |
11477 | wxGrid * _arg0; | |
11478 | int _arg1; | |
11479 | int _arg2; | |
11480 | wxGridCellRenderer * _arg3; | |
11481 | PyObject * _argo0 = 0; | |
11482 | PyObject * _argo3 = 0; | |
11483 | char *_kwnames[] = { "self","row","col","renderer", NULL }; | |
11484 | ||
11485 | self = self; | |
11486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
11487 | return NULL; | |
11488 | if (_argo0) { | |
11489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p."); | |
11492 | return NULL; | |
11493 | } | |
11494 | } | |
11495 | if (_argo3) { | |
11496 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11497 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) { | |
11498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p."); | |
11499 | return NULL; | |
11500 | } | |
11501 | } | |
11502 | { | |
4268f798 | 11503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11504 | wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 11505 | |
4268f798 | 11506 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11507 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11508 | } Py_INCREF(Py_None); |
11509 | _resultobj = Py_None; | |
11510 | return _resultobj; | |
11511 | } | |
11512 | ||
11513 | #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer()) | |
11514 | static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11515 | PyObject * _resultobj; | |
11516 | wxGridCellRenderer * _result; | |
11517 | wxGrid * _arg0; | |
11518 | PyObject * _argo0 = 0; | |
11519 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
11520 | |
11521 | self = self; | |
11522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0)) | |
11523 | return NULL; | |
11524 | if (_argo0) { | |
11525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p."); | |
11528 | return NULL; | |
11529 | } | |
11530 | } | |
11531 | { | |
4268f798 | 11532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11533 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0); |
f6bcfd97 | 11534 | |
4268f798 | 11535 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11536 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 11537 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
11538 | return _resultobj; |
11539 | } | |
11540 | ||
11541 | #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1)) | |
11542 | static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11543 | PyObject * _resultobj; | |
11544 | wxGridCellRenderer * _result; | |
11545 | wxGrid * _arg0; | |
11546 | int _arg1; | |
11547 | int _arg2; | |
11548 | PyObject * _argo0 = 0; | |
11549 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
11550 | |
11551 | self = self; | |
11552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11553 | return NULL; | |
11554 | if (_argo0) { | |
11555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p."); | |
11558 | return NULL; | |
11559 | } | |
11560 | } | |
11561 | { | |
4268f798 | 11562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11563 | _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2); |
f6bcfd97 | 11564 | |
4268f798 | 11565 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11566 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 11567 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
11568 | return _resultobj; |
11569 | } | |
11570 | ||
11571 | #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0)) | |
11572 | static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11573 | PyObject * _resultobj; | |
11574 | wxGrid * _arg0; | |
11575 | wxGridCellEditor * _arg1; | |
11576 | PyObject * _argo0 = 0; | |
11577 | PyObject * _argo1 = 0; | |
11578 | char *_kwnames[] = { "self","editor", NULL }; | |
11579 | ||
11580 | self = self; | |
11581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1)) | |
11582 | return NULL; | |
11583 | if (_argo0) { | |
11584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p."); | |
11587 | return NULL; | |
11588 | } | |
11589 | } | |
11590 | if (_argo1) { | |
11591 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11592 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) { | |
11593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p."); | |
11594 | return NULL; | |
11595 | } | |
11596 | } | |
11597 | { | |
4268f798 | 11598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11599 | wxGrid_SetDefaultEditor(_arg0,_arg1); |
f6bcfd97 | 11600 | |
4268f798 | 11601 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11602 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11603 | } Py_INCREF(Py_None); |
11604 | _resultobj = Py_None; | |
11605 | return _resultobj; | |
11606 | } | |
11607 | ||
11608 | #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2)) | |
11609 | static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11610 | PyObject * _resultobj; | |
11611 | wxGrid * _arg0; | |
11612 | int _arg1; | |
11613 | int _arg2; | |
11614 | wxGridCellEditor * _arg3; | |
11615 | PyObject * _argo0 = 0; | |
11616 | PyObject * _argo3 = 0; | |
11617 | char *_kwnames[] = { "self","row","col","editor", NULL }; | |
11618 | ||
11619 | self = self; | |
11620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
11621 | return NULL; | |
11622 | if (_argo0) { | |
11623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p."); | |
11626 | return NULL; | |
11627 | } | |
11628 | } | |
11629 | if (_argo3) { | |
11630 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11631 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) { | |
11632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p."); | |
11633 | return NULL; | |
11634 | } | |
11635 | } | |
11636 | { | |
4268f798 | 11637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11638 | wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 11639 | |
4268f798 | 11640 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11641 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11642 | } Py_INCREF(Py_None); |
11643 | _resultobj = Py_None; | |
11644 | return _resultobj; | |
11645 | } | |
11646 | ||
11647 | #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor()) | |
11648 | static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11649 | PyObject * _resultobj; | |
11650 | wxGridCellEditor * _result; | |
11651 | wxGrid * _arg0; | |
11652 | PyObject * _argo0 = 0; | |
11653 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
11654 | |
11655 | self = self; | |
11656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0)) | |
11657 | return NULL; | |
11658 | if (_argo0) { | |
11659 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11660 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p."); | |
11662 | return NULL; | |
11663 | } | |
11664 | } | |
11665 | { | |
4268f798 | 11666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11667 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0); |
f6bcfd97 | 11668 | |
4268f798 | 11669 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11670 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 11671 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
11672 | return _resultobj; |
11673 | } | |
11674 | ||
11675 | #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1)) | |
11676 | static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11677 | PyObject * _resultobj; | |
11678 | wxGridCellEditor * _result; | |
11679 | wxGrid * _arg0; | |
11680 | int _arg1; | |
11681 | int _arg2; | |
11682 | PyObject * _argo0 = 0; | |
11683 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
11684 | |
11685 | self = self; | |
11686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11687 | return NULL; | |
11688 | if (_argo0) { | |
11689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p."); | |
11692 | return NULL; | |
11693 | } | |
11694 | } | |
11695 | { | |
4268f798 | 11696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11697 | _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2); |
f6bcfd97 | 11698 | |
4268f798 | 11699 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11700 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 11701 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
11702 | return _resultobj; |
11703 | } | |
11704 | ||
11705 | #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1)) | |
11706 | static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11707 | PyObject * _resultobj; | |
11708 | wxString * _result; | |
11709 | wxGrid * _arg0; | |
11710 | int _arg1; | |
11711 | int _arg2; | |
11712 | PyObject * _argo0 = 0; | |
11713 | char *_kwnames[] = { "self","row","col", NULL }; | |
11714 | ||
11715 | self = self; | |
11716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11717 | return NULL; | |
11718 | if (_argo0) { | |
11719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p."); | |
11722 | return NULL; | |
11723 | } | |
11724 | } | |
11725 | { | |
4268f798 | 11726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11727 | _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2)); |
f6bcfd97 | 11728 | |
4268f798 | 11729 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11730 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 11731 | }{ |
c8bc7bb8 RD |
11732 | #if wxUSE_UNICODE |
11733 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
11734 | #else | |
f6bcfd97 | 11735 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 11736 | #endif |
f6bcfd97 BP |
11737 | } |
11738 | { | |
11739 | delete _result; | |
11740 | } | |
11741 | return _resultobj; | |
11742 | } | |
11743 | ||
11744 | #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2)) | |
11745 | static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11746 | PyObject * _resultobj; | |
11747 | wxGrid * _arg0; | |
11748 | int _arg1; | |
11749 | int _arg2; | |
11750 | wxString * _arg3; | |
11751 | PyObject * _argo0 = 0; | |
11752 | PyObject * _obj3 = 0; | |
11753 | char *_kwnames[] = { "self","row","col","s", NULL }; | |
11754 | ||
11755 | self = self; | |
11756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11757 | return NULL; | |
11758 | if (_argo0) { | |
11759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p."); | |
11762 | return NULL; | |
11763 | } | |
11764 | } | |
11765 | { | |
c8bc7bb8 RD |
11766 | _arg3 = wxString_in_helper(_obj3); |
11767 | if (_arg3 == NULL) | |
185d7c3e | 11768 | return NULL; |
f6bcfd97 BP |
11769 | } |
11770 | { | |
4268f798 | 11771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11772 | wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11773 | |
4268f798 | 11774 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11775 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11776 | } Py_INCREF(Py_None); |
11777 | _resultobj = Py_None; | |
11778 | { | |
11779 | if (_obj3) | |
11780 | delete _arg3; | |
11781 | } | |
11782 | return _resultobj; | |
11783 | } | |
11784 | ||
11785 | #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1)) | |
11786 | static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11787 | PyObject * _resultobj; | |
11788 | bool _result; | |
11789 | wxGrid * _arg0; | |
11790 | int _arg1; | |
11791 | int _arg2; | |
11792 | PyObject * _argo0 = 0; | |
11793 | char *_kwnames[] = { "self","row","col", NULL }; | |
11794 | ||
11795 | self = self; | |
11796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11797 | return NULL; | |
11798 | if (_argo0) { | |
11799 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11800 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p."); | |
11802 | return NULL; | |
11803 | } | |
11804 | } | |
11805 | { | |
4268f798 | 11806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11807 | _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2); |
f6bcfd97 | 11808 | |
4268f798 | 11809 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11810 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11811 | } _resultobj = Py_BuildValue("i",_result); |
11812 | return _resultobj; | |
11813 | } | |
11814 | ||
11815 | #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2)) | |
11816 | static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11817 | PyObject * _resultobj; | |
11818 | wxGrid * _arg0; | |
11819 | int _arg1; | |
11820 | int _arg2; | |
11821 | bool _arg3 = (bool ) TRUE; | |
11822 | PyObject * _argo0 = 0; | |
11823 | int tempbool3 = (int) TRUE; | |
11824 | char *_kwnames[] = { "self","row","col","isReadOnly", NULL }; | |
11825 | ||
11826 | self = self; | |
11827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
11828 | return NULL; | |
11829 | if (_argo0) { | |
11830 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11831 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p."); | |
11833 | return NULL; | |
11834 | } | |
11835 | } | |
11836 | _arg3 = (bool ) tempbool3; | |
11837 | { | |
4268f798 | 11838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11839 | wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 11840 | |
4268f798 | 11841 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11842 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11843 | } Py_INCREF(Py_None); |
11844 | _resultobj = Py_None; | |
11845 | return _resultobj; | |
11846 | } | |
11847 | ||
11848 | #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1)) | |
11849 | static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11850 | PyObject * _resultobj; | |
11851 | wxGrid * _arg0; | |
11852 | int _arg1; | |
11853 | bool _arg2 = (bool ) FALSE; | |
11854 | PyObject * _argo0 = 0; | |
11855 | int tempbool2 = (int) FALSE; | |
11856 | char *_kwnames[] = { "self","row","addToSelected", NULL }; | |
11857 | ||
11858 | self = self; | |
11859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11860 | return NULL; | |
11861 | if (_argo0) { | |
11862 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11863 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p."); | |
11865 | return NULL; | |
11866 | } | |
11867 | } | |
11868 | _arg2 = (bool ) tempbool2; | |
11869 | { | |
4268f798 | 11870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11871 | wxGrid_SelectRow(_arg0,_arg1,_arg2); |
f6bcfd97 | 11872 | |
4268f798 | 11873 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11874 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11875 | } Py_INCREF(Py_None); |
11876 | _resultobj = Py_None; | |
11877 | return _resultobj; | |
11878 | } | |
11879 | ||
11880 | #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1)) | |
11881 | static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11882 | PyObject * _resultobj; | |
11883 | wxGrid * _arg0; | |
11884 | int _arg1; | |
11885 | bool _arg2 = (bool ) FALSE; | |
11886 | PyObject * _argo0 = 0; | |
11887 | int tempbool2 = (int) FALSE; | |
11888 | char *_kwnames[] = { "self","col","addToSelected", NULL }; | |
11889 | ||
11890 | self = self; | |
11891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11892 | return NULL; | |
11893 | if (_argo0) { | |
11894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p."); | |
11897 | return NULL; | |
11898 | } | |
11899 | } | |
11900 | _arg2 = (bool ) tempbool2; | |
11901 | { | |
4268f798 | 11902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11903 | wxGrid_SelectCol(_arg0,_arg1,_arg2); |
f6bcfd97 | 11904 | |
4268f798 | 11905 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11906 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11907 | } Py_INCREF(Py_None); |
11908 | _resultobj = Py_None; | |
11909 | return _resultobj; | |
11910 | } | |
11911 | ||
c368d904 | 11912 | #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
f6bcfd97 BP |
11913 | static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
11914 | PyObject * _resultobj; | |
11915 | wxGrid * _arg0; | |
11916 | int _arg1; | |
11917 | int _arg2; | |
11918 | int _arg3; | |
11919 | int _arg4; | |
c368d904 | 11920 | bool _arg5 = (bool ) FALSE; |
f6bcfd97 | 11921 | PyObject * _argo0 = 0; |
c368d904 RD |
11922 | int tempbool5 = (int) FALSE; |
11923 | char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL }; | |
f6bcfd97 BP |
11924 | |
11925 | self = self; | |
c368d904 | 11926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5)) |
f6bcfd97 BP |
11927 | return NULL; |
11928 | if (_argo0) { | |
11929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p."); | |
11932 | return NULL; | |
11933 | } | |
11934 | } | |
c368d904 | 11935 | _arg5 = (bool ) tempbool5; |
f6bcfd97 | 11936 | { |
4268f798 | 11937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11938 | wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
f6bcfd97 | 11939 | |
4268f798 | 11940 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11941 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11942 | } Py_INCREF(Py_None); |
11943 | _resultobj = Py_None; | |
11944 | return _resultobj; | |
11945 | } | |
11946 | ||
11947 | #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll()) | |
11948 | static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11949 | PyObject * _resultobj; | |
11950 | wxGrid * _arg0; | |
11951 | PyObject * _argo0 = 0; | |
11952 | char *_kwnames[] = { "self", NULL }; | |
11953 | ||
11954 | self = self; | |
11955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0)) | |
11956 | return NULL; | |
11957 | if (_argo0) { | |
11958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p."); | |
11961 | return NULL; | |
11962 | } | |
11963 | } | |
11964 | { | |
4268f798 | 11965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11966 | wxGrid_SelectAll(_arg0); |
f6bcfd97 | 11967 | |
4268f798 | 11968 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11969 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11970 | } Py_INCREF(Py_None); |
11971 | _resultobj = Py_None; | |
11972 | return _resultobj; | |
11973 | } | |
11974 | ||
11975 | #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection()) | |
11976 | static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11977 | PyObject * _resultobj; | |
11978 | bool _result; | |
11979 | wxGrid * _arg0; | |
11980 | PyObject * _argo0 = 0; | |
11981 | char *_kwnames[] = { "self", NULL }; | |
11982 | ||
11983 | self = self; | |
11984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0)) | |
11985 | return NULL; | |
11986 | if (_argo0) { | |
11987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p."); | |
11990 | return NULL; | |
11991 | } | |
11992 | } | |
11993 | { | |
4268f798 | 11994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11995 | _result = (bool )wxGrid_IsSelection(_arg0); |
f6bcfd97 | 11996 | |
4268f798 | 11997 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11998 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11999 | } _resultobj = Py_BuildValue("i",_result); |
12000 | return _resultobj; | |
12001 | } | |
12002 | ||
12003 | #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection()) | |
12004 | static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12005 | PyObject * _resultobj; | |
12006 | wxGrid * _arg0; | |
12007 | PyObject * _argo0 = 0; | |
12008 | char *_kwnames[] = { "self", NULL }; | |
12009 | ||
12010 | self = self; | |
12011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0)) | |
12012 | return NULL; | |
12013 | if (_argo0) { | |
12014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p."); | |
12017 | return NULL; | |
12018 | } | |
12019 | } | |
12020 | { | |
4268f798 | 12021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12022 | wxGrid_ClearSelection(_arg0); |
f6bcfd97 | 12023 | |
4268f798 | 12024 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12025 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12026 | } Py_INCREF(Py_None); |
12027 | _resultobj = Py_None; | |
12028 | return _resultobj; | |
12029 | } | |
12030 | ||
12031 | #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1)) | |
12032 | static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12033 | PyObject * _resultobj; | |
12034 | bool _result; | |
12035 | wxGrid * _arg0; | |
12036 | int _arg1; | |
12037 | int _arg2; | |
12038 | PyObject * _argo0 = 0; | |
12039 | char *_kwnames[] = { "self","row","col", NULL }; | |
12040 | ||
12041 | self = self; | |
12042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12043 | return NULL; | |
12044 | if (_argo0) { | |
12045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p."); | |
12048 | return NULL; | |
12049 | } | |
12050 | } | |
12051 | { | |
4268f798 | 12052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12053 | _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 12054 | |
4268f798 | 12055 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12056 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12057 | } _resultobj = Py_BuildValue("i",_result); |
12058 | return _resultobj; | |
12059 | } | |
12060 | ||
12061 | #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1)) | |
12062 | static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12063 | PyObject * _resultobj; | |
12064 | wxRect * _result; | |
12065 | wxGrid * _arg0; | |
12066 | wxGridCellCoords * _arg1; | |
12067 | wxGridCellCoords * _arg2; | |
12068 | PyObject * _argo0 = 0; | |
12069 | wxGridCellCoords temp; | |
12070 | PyObject * _obj1 = 0; | |
12071 | wxGridCellCoords temp0; | |
12072 | PyObject * _obj2 = 0; | |
12073 | char *_kwnames[] = { "self","topLeft","bottomRight", NULL }; | |
12074 | char _ptemp[128]; | |
12075 | ||
12076 | self = self; | |
12077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2)) | |
12078 | return NULL; | |
12079 | if (_argo0) { | |
12080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p."); | |
12083 | return NULL; | |
12084 | } | |
12085 | } | |
12086 | { | |
12087 | _arg1 = &temp; | |
12088 | if (! wxGridCellCoords_helper(_obj1, &_arg1)) | |
12089 | return NULL; | |
12090 | } | |
12091 | { | |
12092 | _arg2 = &temp0; | |
12093 | if (! wxGridCellCoords_helper(_obj2, &_arg2)) | |
12094 | return NULL; | |
12095 | } | |
12096 | { | |
4268f798 | 12097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12098 | _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2)); |
f6bcfd97 | 12099 | |
4268f798 | 12100 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12101 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12102 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
12103 | _resultobj = Py_BuildValue("s",_ptemp); | |
12104 | return _resultobj; | |
12105 | } | |
12106 | ||
12107 | #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground()) | |
12108 | static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12109 | PyObject * _resultobj; | |
12110 | wxColour * _result; | |
12111 | wxGrid * _arg0; | |
12112 | PyObject * _argo0 = 0; | |
12113 | char *_kwnames[] = { "self", NULL }; | |
12114 | char _ptemp[128]; | |
12115 | ||
12116 | self = self; | |
12117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0)) | |
12118 | return NULL; | |
12119 | if (_argo0) { | |
12120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p."); | |
12123 | return NULL; | |
12124 | } | |
12125 | } | |
12126 | { | |
4268f798 | 12127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12128 | _result = new wxColour (wxGrid_GetSelectionBackground(_arg0)); |
f6bcfd97 | 12129 | |
4268f798 | 12130 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12131 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12132 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
12133 | _resultobj = Py_BuildValue("s",_ptemp); | |
12134 | return _resultobj; | |
12135 | } | |
12136 | ||
12137 | #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground()) | |
12138 | static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12139 | PyObject * _resultobj; | |
12140 | wxColour * _result; | |
12141 | wxGrid * _arg0; | |
12142 | PyObject * _argo0 = 0; | |
12143 | char *_kwnames[] = { "self", NULL }; | |
12144 | char _ptemp[128]; | |
12145 | ||
12146 | self = self; | |
12147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0)) | |
12148 | return NULL; | |
12149 | if (_argo0) { | |
12150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p."); | |
12153 | return NULL; | |
12154 | } | |
12155 | } | |
12156 | { | |
4268f798 | 12157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12158 | _result = new wxColour (wxGrid_GetSelectionForeground(_arg0)); |
f6bcfd97 | 12159 | |
4268f798 | 12160 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12161 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12162 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
12163 | _resultobj = Py_BuildValue("s",_ptemp); | |
12164 | return _resultobj; | |
12165 | } | |
12166 | ||
12167 | #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0)) | |
12168 | static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12169 | PyObject * _resultobj; | |
12170 | wxGrid * _arg0; | |
12171 | wxColour * _arg1; | |
12172 | PyObject * _argo0 = 0; | |
12173 | wxColour temp; | |
12174 | PyObject * _obj1 = 0; | |
12175 | char *_kwnames[] = { "self","c", NULL }; | |
12176 | ||
12177 | self = self; | |
12178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1)) | |
12179 | return NULL; | |
12180 | if (_argo0) { | |
12181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p."); | |
12184 | return NULL; | |
12185 | } | |
12186 | } | |
12187 | { | |
12188 | _arg1 = &temp; | |
12189 | if (! wxColour_helper(_obj1, &_arg1)) | |
12190 | return NULL; | |
12191 | } | |
12192 | { | |
4268f798 | 12193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12194 | wxGrid_SetSelectionBackground(_arg0,*_arg1); |
f6bcfd97 | 12195 | |
4268f798 | 12196 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12197 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12198 | } Py_INCREF(Py_None); |
12199 | _resultobj = Py_None; | |
12200 | return _resultobj; | |
12201 | } | |
12202 | ||
12203 | #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0)) | |
12204 | static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12205 | PyObject * _resultobj; | |
12206 | wxGrid * _arg0; | |
12207 | wxColour * _arg1; | |
12208 | PyObject * _argo0 = 0; | |
12209 | wxColour temp; | |
12210 | PyObject * _obj1 = 0; | |
12211 | char *_kwnames[] = { "self","c", NULL }; | |
12212 | ||
12213 | self = self; | |
12214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1)) | |
12215 | return NULL; | |
12216 | if (_argo0) { | |
12217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p."); | |
12220 | return NULL; | |
12221 | } | |
12222 | } | |
12223 | { | |
12224 | _arg1 = &temp; | |
12225 | if (! wxColour_helper(_obj1, &_arg1)) | |
12226 | return NULL; | |
12227 | } | |
12228 | { | |
4268f798 | 12229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12230 | wxGrid_SetSelectionForeground(_arg0,*_arg1); |
f6bcfd97 | 12231 | |
4268f798 | 12232 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12233 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12234 | } Py_INCREF(Py_None); |
12235 | _resultobj = Py_None; | |
12236 | return _resultobj; | |
12237 | } | |
12238 | ||
12239 | #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2)) | |
12240 | static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12241 | PyObject * _resultobj; | |
12242 | wxGrid * _arg0; | |
12243 | wxString * _arg1; | |
12244 | wxGridCellRenderer * _arg2; | |
12245 | wxGridCellEditor * _arg3; | |
12246 | PyObject * _argo0 = 0; | |
12247 | PyObject * _obj1 = 0; | |
12248 | PyObject * _argo2 = 0; | |
12249 | PyObject * _argo3 = 0; | |
12250 | char *_kwnames[] = { "self","typeName","renderer","editor", NULL }; | |
12251 | ||
12252 | self = self; | |
12253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3)) | |
12254 | return NULL; | |
12255 | if (_argo0) { | |
12256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p."); | |
12259 | return NULL; | |
12260 | } | |
12261 | } | |
12262 | { | |
c8bc7bb8 RD |
12263 | _arg1 = wxString_in_helper(_obj1); |
12264 | if (_arg1 == NULL) | |
185d7c3e | 12265 | return NULL; |
f6bcfd97 BP |
12266 | } |
12267 | if (_argo2) { | |
12268 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
12269 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) { | |
12270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p."); | |
12271 | return NULL; | |
12272 | } | |
12273 | } | |
12274 | if (_argo3) { | |
12275 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
12276 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) { | |
12277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p."); | |
12278 | return NULL; | |
12279 | } | |
12280 | } | |
12281 | { | |
4268f798 | 12282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12283 | wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3); |
f6bcfd97 | 12284 | |
4268f798 | 12285 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12286 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12287 | } Py_INCREF(Py_None); |
12288 | _resultobj = Py_None; | |
12289 | { | |
12290 | if (_obj1) | |
12291 | delete _arg1; | |
12292 | } | |
12293 | return _resultobj; | |
12294 | } | |
12295 | ||
12296 | #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1)) | |
12297 | static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12298 | PyObject * _resultobj; | |
12299 | wxGridCellEditor * _result; | |
12300 | wxGrid * _arg0; | |
12301 | int _arg1; | |
12302 | int _arg2; | |
12303 | PyObject * _argo0 = 0; | |
12304 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
12305 | |
12306 | self = self; | |
12307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12308 | return NULL; | |
12309 | if (_argo0) { | |
12310 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12311 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p."); | |
12313 | return NULL; | |
12314 | } | |
12315 | } | |
12316 | { | |
4268f798 | 12317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12318 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 12319 | |
4268f798 | 12320 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12321 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 12322 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
12323 | return _resultobj; |
12324 | } | |
12325 | ||
12326 | #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1)) | |
12327 | static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12328 | PyObject * _resultobj; | |
12329 | wxGridCellRenderer * _result; | |
12330 | wxGrid * _arg0; | |
12331 | int _arg1; | |
12332 | int _arg2; | |
12333 | PyObject * _argo0 = 0; | |
12334 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
12335 | |
12336 | self = self; | |
12337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12338 | return NULL; | |
12339 | if (_argo0) { | |
12340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p."); | |
12343 | return NULL; | |
12344 | } | |
12345 | } | |
12346 | { | |
4268f798 | 12347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12348 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 12349 | |
4268f798 | 12350 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12351 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 12352 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
12353 | return _resultobj; |
12354 | } | |
12355 | ||
12356 | #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0)) | |
12357 | static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12358 | PyObject * _resultobj; | |
12359 | wxGridCellEditor * _result; | |
12360 | wxGrid * _arg0; | |
12361 | wxString * _arg1; | |
12362 | PyObject * _argo0 = 0; | |
12363 | PyObject * _obj1 = 0; | |
12364 | char *_kwnames[] = { "self","typeName", NULL }; | |
f6bcfd97 BP |
12365 | |
12366 | self = self; | |
12367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1)) | |
12368 | return NULL; | |
12369 | if (_argo0) { | |
12370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p."); | |
12373 | return NULL; | |
12374 | } | |
12375 | } | |
12376 | { | |
c8bc7bb8 RD |
12377 | _arg1 = wxString_in_helper(_obj1); |
12378 | if (_arg1 == NULL) | |
185d7c3e | 12379 | return NULL; |
f6bcfd97 BP |
12380 | } |
12381 | { | |
4268f798 | 12382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12383 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1); |
f6bcfd97 | 12384 | |
4268f798 | 12385 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12386 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 12387 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
12388 | { |
12389 | if (_obj1) | |
12390 | delete _arg1; | |
12391 | } | |
12392 | return _resultobj; | |
12393 | } | |
12394 | ||
12395 | #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0)) | |
12396 | static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12397 | PyObject * _resultobj; | |
12398 | wxGridCellRenderer * _result; | |
12399 | wxGrid * _arg0; | |
12400 | wxString * _arg1; | |
12401 | PyObject * _argo0 = 0; | |
12402 | PyObject * _obj1 = 0; | |
12403 | char *_kwnames[] = { "self","typeName", NULL }; | |
f6bcfd97 BP |
12404 | |
12405 | self = self; | |
12406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1)) | |
12407 | return NULL; | |
12408 | if (_argo0) { | |
12409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p."); | |
12412 | return NULL; | |
12413 | } | |
12414 | } | |
12415 | { | |
c8bc7bb8 RD |
12416 | _arg1 = wxString_in_helper(_obj1); |
12417 | if (_arg1 == NULL) | |
f6bcfd97 | 12418 | return NULL; |
f6bcfd97 BP |
12419 | } |
12420 | { | |
4268f798 | 12421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12422 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1); |
f6bcfd97 | 12423 | |
4268f798 | 12424 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12425 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 12426 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
12427 | { |
12428 | if (_obj1) | |
12429 | delete _arg1; | |
12430 | } | |
12431 | return _resultobj; | |
12432 | } | |
12433 | ||
12434 | #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
12435 | static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12436 | PyObject * _resultobj; | |
12437 | wxGrid * _arg0; | |
12438 | int _arg1; | |
12439 | int _arg2; | |
12440 | PyObject * _argo0 = 0; | |
12441 | char *_kwnames[] = { "self","extraWidth","extraHeight", NULL }; | |
12442 | ||
12443 | self = self; | |
12444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12445 | return NULL; | |
12446 | if (_argo0) { | |
12447 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12448 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p."); | |
12450 | return NULL; | |
12451 | } | |
12452 | } | |
12453 | { | |
4268f798 | 12454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12455 | wxGrid_SetMargins(_arg0,_arg1,_arg2); |
f6bcfd97 | 12456 | |
4268f798 | 12457 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12458 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12459 | } Py_INCREF(Py_None); |
12460 | _resultobj = Py_None; | |
12461 | return _resultobj; | |
12462 | } | |
12463 | ||
9416aa89 RD |
12464 | #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow()) |
12465 | static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12466 | PyObject * _resultobj; | |
12467 | wxWindow * _result; | |
12468 | wxGrid * _arg0; | |
12469 | PyObject * _argo0 = 0; | |
12470 | char *_kwnames[] = { "self", NULL }; | |
12471 | ||
12472 | self = self; | |
12473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0)) | |
12474 | return NULL; | |
12475 | if (_argo0) { | |
12476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p."); | |
12479 | return NULL; | |
12480 | } | |
12481 | } | |
12482 | { | |
4268f798 | 12483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12484 | _result = (wxWindow *)wxGrid_GetGridWindow(_arg0); |
9416aa89 | 12485 | |
4268f798 | 12486 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12487 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
12488 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12489 | return _resultobj; | |
12490 | } | |
12491 | ||
12492 | #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow()) | |
12493 | static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12494 | PyObject * _resultobj; | |
12495 | wxWindow * _result; | |
12496 | wxGrid * _arg0; | |
12497 | PyObject * _argo0 = 0; | |
12498 | char *_kwnames[] = { "self", NULL }; | |
12499 | ||
12500 | self = self; | |
12501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0)) | |
12502 | return NULL; | |
12503 | if (_argo0) { | |
12504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p."); | |
12507 | return NULL; | |
12508 | } | |
12509 | } | |
12510 | { | |
4268f798 | 12511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12512 | _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0); |
9416aa89 | 12513 | |
4268f798 | 12514 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12515 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
12516 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12517 | return _resultobj; | |
12518 | } | |
12519 | ||
12520 | #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow()) | |
12521 | static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12522 | PyObject * _resultobj; | |
12523 | wxWindow * _result; | |
12524 | wxGrid * _arg0; | |
12525 | PyObject * _argo0 = 0; | |
12526 | char *_kwnames[] = { "self", NULL }; | |
12527 | ||
12528 | self = self; | |
12529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0)) | |
12530 | return NULL; | |
12531 | if (_argo0) { | |
12532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p."); | |
12535 | return NULL; | |
12536 | } | |
12537 | } | |
12538 | { | |
4268f798 | 12539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12540 | _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0); |
9416aa89 | 12541 | |
4268f798 | 12542 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12543 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
12544 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12545 | return _resultobj; | |
12546 | } | |
12547 | ||
12548 | #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow()) | |
12549 | static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12550 | PyObject * _resultobj; | |
12551 | wxWindow * _result; | |
12552 | wxGrid * _arg0; | |
12553 | PyObject * _argo0 = 0; | |
12554 | char *_kwnames[] = { "self", NULL }; | |
12555 | ||
12556 | self = self; | |
12557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0)) | |
12558 | return NULL; | |
12559 | if (_argo0) { | |
12560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p."); | |
12563 | return NULL; | |
12564 | } | |
12565 | } | |
12566 | { | |
4268f798 | 12567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12568 | _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0); |
9416aa89 | 12569 | |
4268f798 | 12570 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12571 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
12572 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12573 | return _resultobj; | |
12574 | } | |
12575 | ||
f6bcfd97 BP |
12576 | static void *SwigwxGridEventTowxNotifyEvent(void *ptr) { |
12577 | wxGridEvent *src; | |
12578 | wxNotifyEvent *dest; | |
12579 | src = (wxGridEvent *) ptr; | |
12580 | dest = (wxNotifyEvent *) src; | |
12581 | return (void *) dest; | |
12582 | } | |
12583 | ||
12584 | static void *SwigwxGridEventTowxCommandEvent(void *ptr) { | |
12585 | wxGridEvent *src; | |
12586 | wxCommandEvent *dest; | |
12587 | src = (wxGridEvent *) ptr; | |
12588 | dest = (wxCommandEvent *) src; | |
12589 | return (void *) dest; | |
12590 | } | |
12591 | ||
12592 | static void *SwigwxGridEventTowxEvent(void *ptr) { | |
12593 | wxGridEvent *src; | |
12594 | wxEvent *dest; | |
12595 | src = (wxGridEvent *) ptr; | |
12596 | dest = (wxEvent *) src; | |
12597 | return (void *) dest; | |
12598 | } | |
12599 | ||
9416aa89 RD |
12600 | static void *SwigwxGridEventTowxObject(void *ptr) { |
12601 | wxGridEvent *src; | |
12602 | wxObject *dest; | |
12603 | src = (wxGridEvent *) ptr; | |
12604 | dest = (wxObject *) src; | |
12605 | return (void *) dest; | |
12606 | } | |
12607 | ||
f6bcfd97 BP |
12608 | #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)) |
12609 | static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12610 | PyObject * _resultobj; | |
12611 | wxGridEvent * _result; | |
12612 | int _arg0; | |
12613 | wxEventType _arg1; | |
12614 | wxGrid * _arg2; | |
12615 | int _arg3 = (int ) -1; | |
12616 | int _arg4 = (int ) -1; | |
12617 | int _arg5 = (int ) -1; | |
12618 | int _arg6 = (int ) -1; | |
12619 | bool _arg7 = (bool ) TRUE; | |
12620 | bool _arg8 = (bool ) FALSE; | |
12621 | bool _arg9 = (bool ) FALSE; | |
12622 | bool _arg10 = (bool ) FALSE; | |
12623 | bool _arg11 = (bool ) FALSE; | |
12624 | PyObject * _argo2 = 0; | |
12625 | int tempbool7 = (int) TRUE; | |
12626 | int tempbool8 = (int) FALSE; | |
12627 | int tempbool9 = (int) FALSE; | |
12628 | int tempbool10 = (int) FALSE; | |
12629 | int tempbool11 = (int) FALSE; | |
12630 | char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL }; | |
12631 | char _ptemp[128]; | |
12632 | ||
12633 | self = self; | |
12634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11)) | |
12635 | return NULL; | |
12636 | if (_argo2) { | |
12637 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
12638 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
12639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p."); | |
12640 | return NULL; | |
12641 | } | |
12642 | } | |
12643 | _arg7 = (bool ) tempbool7; | |
12644 | _arg8 = (bool ) tempbool8; | |
12645 | _arg9 = (bool ) tempbool9; | |
12646 | _arg10 = (bool ) tempbool10; | |
12647 | _arg11 = (bool ) tempbool11; | |
12648 | { | |
4268f798 | 12649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12650 | _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11); |
f6bcfd97 | 12651 | |
4268f798 | 12652 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12653 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12654 | } if (_result) { |
12655 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p"); | |
12656 | _resultobj = Py_BuildValue("s",_ptemp); | |
12657 | } else { | |
12658 | Py_INCREF(Py_None); | |
12659 | _resultobj = Py_None; | |
12660 | } | |
12661 | return _resultobj; | |
12662 | } | |
12663 | ||
12664 | #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow()) | |
12665 | static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12666 | PyObject * _resultobj; | |
12667 | int _result; | |
12668 | wxGridEvent * _arg0; | |
12669 | PyObject * _argo0 = 0; | |
12670 | char *_kwnames[] = { "self", NULL }; | |
12671 | ||
12672 | self = self; | |
12673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0)) | |
12674 | return NULL; | |
12675 | if (_argo0) { | |
12676 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12677 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12678 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p."); | |
12679 | return NULL; | |
12680 | } | |
12681 | } | |
12682 | { | |
4268f798 | 12683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12684 | _result = (int )wxGridEvent_GetRow(_arg0); |
f6bcfd97 | 12685 | |
4268f798 | 12686 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12687 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12688 | } _resultobj = Py_BuildValue("i",_result); |
12689 | return _resultobj; | |
12690 | } | |
12691 | ||
12692 | #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
12693 | static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12694 | PyObject * _resultobj; | |
12695 | int _result; | |
12696 | wxGridEvent * _arg0; | |
12697 | PyObject * _argo0 = 0; | |
12698 | char *_kwnames[] = { "self", NULL }; | |
12699 | ||
12700 | self = self; | |
12701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0)) | |
12702 | return NULL; | |
12703 | if (_argo0) { | |
12704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p."); | |
12707 | return NULL; | |
12708 | } | |
12709 | } | |
12710 | { | |
4268f798 | 12711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12712 | _result = (int )wxGridEvent_GetCol(_arg0); |
f6bcfd97 | 12713 | |
4268f798 | 12714 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12715 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12716 | } _resultobj = Py_BuildValue("i",_result); |
12717 | return _resultobj; | |
12718 | } | |
12719 | ||
12720 | #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
12721 | static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12722 | PyObject * _resultobj; | |
12723 | wxPoint * _result; | |
12724 | wxGridEvent * _arg0; | |
12725 | PyObject * _argo0 = 0; | |
12726 | char *_kwnames[] = { "self", NULL }; | |
12727 | char _ptemp[128]; | |
12728 | ||
12729 | self = self; | |
12730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0)) | |
12731 | return NULL; | |
12732 | if (_argo0) { | |
12733 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12734 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12735 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p."); | |
12736 | return NULL; | |
12737 | } | |
12738 | } | |
12739 | { | |
4268f798 | 12740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12741 | _result = new wxPoint (wxGridEvent_GetPosition(_arg0)); |
f6bcfd97 | 12742 | |
4268f798 | 12743 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12744 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12745 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
12746 | _resultobj = Py_BuildValue("s",_ptemp); | |
12747 | return _resultobj; | |
12748 | } | |
12749 | ||
12750 | #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting()) | |
12751 | static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12752 | PyObject * _resultobj; | |
12753 | bool _result; | |
12754 | wxGridEvent * _arg0; | |
12755 | PyObject * _argo0 = 0; | |
12756 | char *_kwnames[] = { "self", NULL }; | |
12757 | ||
12758 | self = self; | |
12759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0)) | |
12760 | return NULL; | |
12761 | if (_argo0) { | |
12762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p."); | |
12765 | return NULL; | |
12766 | } | |
12767 | } | |
12768 | { | |
4268f798 | 12769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12770 | _result = (bool )wxGridEvent_Selecting(_arg0); |
f6bcfd97 | 12771 | |
4268f798 | 12772 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12773 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12774 | } _resultobj = Py_BuildValue("i",_result); |
12775 | return _resultobj; | |
12776 | } | |
12777 | ||
12778 | #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
12779 | static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12780 | PyObject * _resultobj; | |
12781 | bool _result; | |
12782 | wxGridEvent * _arg0; | |
12783 | PyObject * _argo0 = 0; | |
12784 | char *_kwnames[] = { "self", NULL }; | |
12785 | ||
12786 | self = self; | |
12787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0)) | |
12788 | return NULL; | |
12789 | if (_argo0) { | |
12790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p."); | |
12793 | return NULL; | |
12794 | } | |
12795 | } | |
12796 | { | |
4268f798 | 12797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12798 | _result = (bool )wxGridEvent_ControlDown(_arg0); |
f6bcfd97 | 12799 | |
4268f798 | 12800 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12801 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12802 | } _resultobj = Py_BuildValue("i",_result); |
12803 | return _resultobj; | |
12804 | } | |
12805 | ||
12806 | #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
12807 | static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12808 | PyObject * _resultobj; | |
12809 | bool _result; | |
12810 | wxGridEvent * _arg0; | |
12811 | PyObject * _argo0 = 0; | |
12812 | char *_kwnames[] = { "self", NULL }; | |
12813 | ||
12814 | self = self; | |
12815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0)) | |
12816 | return NULL; | |
12817 | if (_argo0) { | |
12818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p."); | |
12821 | return NULL; | |
12822 | } | |
12823 | } | |
12824 | { | |
4268f798 | 12825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12826 | _result = (bool )wxGridEvent_MetaDown(_arg0); |
f6bcfd97 | 12827 | |
4268f798 | 12828 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12829 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12830 | } _resultobj = Py_BuildValue("i",_result); |
12831 | return _resultobj; | |
12832 | } | |
12833 | ||
12834 | #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
12835 | static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12836 | PyObject * _resultobj; | |
12837 | bool _result; | |
12838 | wxGridEvent * _arg0; | |
12839 | PyObject * _argo0 = 0; | |
12840 | char *_kwnames[] = { "self", NULL }; | |
12841 | ||
12842 | self = self; | |
12843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0)) | |
12844 | return NULL; | |
12845 | if (_argo0) { | |
12846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p."); | |
12849 | return NULL; | |
12850 | } | |
12851 | } | |
12852 | { | |
4268f798 | 12853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12854 | _result = (bool )wxGridEvent_ShiftDown(_arg0); |
f6bcfd97 | 12855 | |
4268f798 | 12856 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12857 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12858 | } _resultobj = Py_BuildValue("i",_result); |
12859 | return _resultobj; | |
12860 | } | |
12861 | ||
12862 | #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
12863 | static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12864 | PyObject * _resultobj; | |
12865 | bool _result; | |
12866 | wxGridEvent * _arg0; | |
12867 | PyObject * _argo0 = 0; | |
12868 | char *_kwnames[] = { "self", NULL }; | |
12869 | ||
12870 | self = self; | |
12871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0)) | |
12872 | return NULL; | |
12873 | if (_argo0) { | |
12874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
12876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p."); | |
12877 | return NULL; | |
12878 | } | |
12879 | } | |
12880 | { | |
4268f798 | 12881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12882 | _result = (bool )wxGridEvent_AltDown(_arg0); |
f6bcfd97 | 12883 | |
4268f798 | 12884 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12885 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12886 | } _resultobj = Py_BuildValue("i",_result); |
12887 | return _resultobj; | |
12888 | } | |
12889 | ||
12890 | static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) { | |
12891 | wxGridSizeEvent *src; | |
12892 | wxNotifyEvent *dest; | |
12893 | src = (wxGridSizeEvent *) ptr; | |
12894 | dest = (wxNotifyEvent *) src; | |
12895 | return (void *) dest; | |
12896 | } | |
12897 | ||
12898 | static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) { | |
12899 | wxGridSizeEvent *src; | |
12900 | wxCommandEvent *dest; | |
12901 | src = (wxGridSizeEvent *) ptr; | |
12902 | dest = (wxCommandEvent *) src; | |
12903 | return (void *) dest; | |
12904 | } | |
12905 | ||
12906 | static void *SwigwxGridSizeEventTowxEvent(void *ptr) { | |
12907 | wxGridSizeEvent *src; | |
12908 | wxEvent *dest; | |
12909 | src = (wxGridSizeEvent *) ptr; | |
12910 | dest = (wxEvent *) src; | |
12911 | return (void *) dest; | |
12912 | } | |
12913 | ||
9416aa89 RD |
12914 | static void *SwigwxGridSizeEventTowxObject(void *ptr) { |
12915 | wxGridSizeEvent *src; | |
12916 | wxObject *dest; | |
12917 | src = (wxGridSizeEvent *) ptr; | |
12918 | dest = (wxObject *) src; | |
12919 | return (void *) dest; | |
12920 | } | |
12921 | ||
f6bcfd97 BP |
12922 | #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)) |
12923 | static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12924 | PyObject * _resultobj; | |
12925 | wxGridSizeEvent * _result; | |
12926 | int _arg0; | |
12927 | wxEventType _arg1; | |
12928 | wxGrid * _arg2; | |
12929 | int _arg3 = (int ) -1; | |
12930 | int _arg4 = (int ) -1; | |
12931 | int _arg5 = (int ) -1; | |
12932 | bool _arg6 = (bool ) FALSE; | |
12933 | bool _arg7 = (bool ) FALSE; | |
12934 | bool _arg8 = (bool ) FALSE; | |
12935 | bool _arg9 = (bool ) FALSE; | |
12936 | PyObject * _argo2 = 0; | |
12937 | int tempbool6 = (int) FALSE; | |
12938 | int tempbool7 = (int) FALSE; | |
12939 | int tempbool8 = (int) FALSE; | |
12940 | int tempbool9 = (int) FALSE; | |
12941 | char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL }; | |
12942 | char _ptemp[128]; | |
12943 | ||
12944 | self = self; | |
12945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9)) | |
12946 | return NULL; | |
12947 | if (_argo2) { | |
12948 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
12949 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
12950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p."); | |
12951 | return NULL; | |
12952 | } | |
12953 | } | |
12954 | _arg6 = (bool ) tempbool6; | |
12955 | _arg7 = (bool ) tempbool7; | |
12956 | _arg8 = (bool ) tempbool8; | |
12957 | _arg9 = (bool ) tempbool9; | |
12958 | { | |
4268f798 | 12959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12960 | _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); |
f6bcfd97 | 12961 | |
4268f798 | 12962 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12963 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12964 | } if (_result) { |
12965 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p"); | |
12966 | _resultobj = Py_BuildValue("s",_ptemp); | |
12967 | } else { | |
12968 | Py_INCREF(Py_None); | |
12969 | _resultobj = Py_None; | |
12970 | } | |
12971 | return _resultobj; | |
12972 | } | |
12973 | ||
12974 | #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol()) | |
12975 | static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12976 | PyObject * _resultobj; | |
12977 | int _result; | |
12978 | wxGridSizeEvent * _arg0; | |
12979 | PyObject * _argo0 = 0; | |
12980 | char *_kwnames[] = { "self", NULL }; | |
12981 | ||
12982 | self = self; | |
12983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0)) | |
12984 | return NULL; | |
12985 | if (_argo0) { | |
12986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
12988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p."); | |
12989 | return NULL; | |
12990 | } | |
12991 | } | |
12992 | { | |
4268f798 | 12993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12994 | _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0); |
f6bcfd97 | 12995 | |
4268f798 | 12996 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12997 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12998 | } _resultobj = Py_BuildValue("i",_result); |
12999 | return _resultobj; | |
13000 | } | |
13001 | ||
13002 | #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
13003 | static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13004 | PyObject * _resultobj; | |
13005 | wxPoint * _result; | |
13006 | wxGridSizeEvent * _arg0; | |
13007 | PyObject * _argo0 = 0; | |
13008 | char *_kwnames[] = { "self", NULL }; | |
13009 | char _ptemp[128]; | |
13010 | ||
13011 | self = self; | |
13012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0)) | |
13013 | return NULL; | |
13014 | if (_argo0) { | |
13015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p."); | |
13018 | return NULL; | |
13019 | } | |
13020 | } | |
13021 | { | |
4268f798 | 13022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13023 | _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0)); |
f6bcfd97 | 13024 | |
4268f798 | 13025 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13026 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13027 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
13028 | _resultobj = Py_BuildValue("s",_ptemp); | |
13029 | return _resultobj; | |
13030 | } | |
13031 | ||
13032 | #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
13033 | static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13034 | PyObject * _resultobj; | |
13035 | bool _result; | |
13036 | wxGridSizeEvent * _arg0; | |
13037 | PyObject * _argo0 = 0; | |
13038 | char *_kwnames[] = { "self", NULL }; | |
13039 | ||
13040 | self = self; | |
13041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0)) | |
13042 | return NULL; | |
13043 | if (_argo0) { | |
13044 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13045 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13046 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p."); | |
13047 | return NULL; | |
13048 | } | |
13049 | } | |
13050 | { | |
4268f798 | 13051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13052 | _result = (bool )wxGridSizeEvent_ControlDown(_arg0); |
f6bcfd97 | 13053 | |
4268f798 | 13054 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13055 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13056 | } _resultobj = Py_BuildValue("i",_result); |
13057 | return _resultobj; | |
13058 | } | |
13059 | ||
13060 | #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
13061 | static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13062 | PyObject * _resultobj; | |
13063 | bool _result; | |
13064 | wxGridSizeEvent * _arg0; | |
13065 | PyObject * _argo0 = 0; | |
13066 | char *_kwnames[] = { "self", NULL }; | |
13067 | ||
13068 | self = self; | |
13069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0)) | |
13070 | return NULL; | |
13071 | if (_argo0) { | |
13072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p."); | |
13075 | return NULL; | |
13076 | } | |
13077 | } | |
13078 | { | |
4268f798 | 13079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13080 | _result = (bool )wxGridSizeEvent_MetaDown(_arg0); |
f6bcfd97 | 13081 | |
4268f798 | 13082 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13083 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13084 | } _resultobj = Py_BuildValue("i",_result); |
13085 | return _resultobj; | |
13086 | } | |
13087 | ||
13088 | #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
13089 | static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13090 | PyObject * _resultobj; | |
13091 | bool _result; | |
13092 | wxGridSizeEvent * _arg0; | |
13093 | PyObject * _argo0 = 0; | |
13094 | char *_kwnames[] = { "self", NULL }; | |
13095 | ||
13096 | self = self; | |
13097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0)) | |
13098 | return NULL; | |
13099 | if (_argo0) { | |
13100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p."); | |
13103 | return NULL; | |
13104 | } | |
13105 | } | |
13106 | { | |
4268f798 | 13107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13108 | _result = (bool )wxGridSizeEvent_ShiftDown(_arg0); |
f6bcfd97 | 13109 | |
4268f798 | 13110 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13111 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13112 | } _resultobj = Py_BuildValue("i",_result); |
13113 | return _resultobj; | |
13114 | } | |
13115 | ||
13116 | #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
13117 | static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13118 | PyObject * _resultobj; | |
13119 | bool _result; | |
13120 | wxGridSizeEvent * _arg0; | |
13121 | PyObject * _argo0 = 0; | |
13122 | char *_kwnames[] = { "self", NULL }; | |
13123 | ||
13124 | self = self; | |
13125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0)) | |
13126 | return NULL; | |
13127 | if (_argo0) { | |
13128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p."); | |
13131 | return NULL; | |
13132 | } | |
13133 | } | |
13134 | { | |
4268f798 | 13135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13136 | _result = (bool )wxGridSizeEvent_AltDown(_arg0); |
f6bcfd97 | 13137 | |
4268f798 | 13138 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13139 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13140 | } _resultobj = Py_BuildValue("i",_result); |
13141 | return _resultobj; | |
13142 | } | |
13143 | ||
13144 | static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) { | |
13145 | wxGridRangeSelectEvent *src; | |
13146 | wxNotifyEvent *dest; | |
13147 | src = (wxGridRangeSelectEvent *) ptr; | |
13148 | dest = (wxNotifyEvent *) src; | |
13149 | return (void *) dest; | |
13150 | } | |
13151 | ||
13152 | static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) { | |
13153 | wxGridRangeSelectEvent *src; | |
13154 | wxCommandEvent *dest; | |
13155 | src = (wxGridRangeSelectEvent *) ptr; | |
13156 | dest = (wxCommandEvent *) src; | |
13157 | return (void *) dest; | |
13158 | } | |
13159 | ||
13160 | static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) { | |
13161 | wxGridRangeSelectEvent *src; | |
13162 | wxEvent *dest; | |
13163 | src = (wxGridRangeSelectEvent *) ptr; | |
13164 | dest = (wxEvent *) src; | |
13165 | return (void *) dest; | |
13166 | } | |
13167 | ||
9416aa89 RD |
13168 | static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) { |
13169 | wxGridRangeSelectEvent *src; | |
13170 | wxObject *dest; | |
13171 | src = (wxGridRangeSelectEvent *) ptr; | |
13172 | dest = (wxObject *) src; | |
13173 | return (void *) dest; | |
13174 | } | |
13175 | ||
f6bcfd97 BP |
13176 | #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)) |
13177 | static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13178 | PyObject * _resultobj; | |
13179 | wxGridRangeSelectEvent * _result; | |
13180 | int _arg0; | |
13181 | wxEventType _arg1; | |
13182 | wxGrid * _arg2; | |
13183 | wxGridCellCoords * _arg3; | |
13184 | wxGridCellCoords * _arg4; | |
13185 | bool _arg5 = (bool ) TRUE; | |
13186 | bool _arg6 = (bool ) FALSE; | |
13187 | bool _arg7 = (bool ) FALSE; | |
13188 | bool _arg8 = (bool ) FALSE; | |
13189 | bool _arg9 = (bool ) FALSE; | |
13190 | PyObject * _argo2 = 0; | |
13191 | wxGridCellCoords temp; | |
13192 | PyObject * _obj3 = 0; | |
13193 | wxGridCellCoords temp0; | |
13194 | PyObject * _obj4 = 0; | |
13195 | int tempbool5 = (int) TRUE; | |
13196 | int tempbool6 = (int) FALSE; | |
13197 | int tempbool7 = (int) FALSE; | |
13198 | int tempbool8 = (int) FALSE; | |
13199 | int tempbool9 = (int) FALSE; | |
13200 | char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL }; | |
13201 | char _ptemp[128]; | |
13202 | ||
13203 | self = self; | |
13204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9)) | |
13205 | return NULL; | |
13206 | if (_argo2) { | |
13207 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13208 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
13209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p."); | |
13210 | return NULL; | |
13211 | } | |
13212 | } | |
13213 | { | |
13214 | _arg3 = &temp; | |
13215 | if (! wxGridCellCoords_helper(_obj3, &_arg3)) | |
13216 | return NULL; | |
13217 | } | |
13218 | { | |
13219 | _arg4 = &temp0; | |
13220 | if (! wxGridCellCoords_helper(_obj4, &_arg4)) | |
13221 | return NULL; | |
13222 | } | |
13223 | _arg5 = (bool ) tempbool5; | |
13224 | _arg6 = (bool ) tempbool6; | |
13225 | _arg7 = (bool ) tempbool7; | |
13226 | _arg8 = (bool ) tempbool8; | |
13227 | _arg9 = (bool ) tempbool9; | |
13228 | { | |
4268f798 | 13229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13230 | _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); |
f6bcfd97 | 13231 | |
4268f798 | 13232 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13233 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13234 | } if (_result) { |
13235 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p"); | |
13236 | _resultobj = Py_BuildValue("s",_ptemp); | |
13237 | } else { | |
13238 | Py_INCREF(Py_None); | |
13239 | _resultobj = Py_None; | |
13240 | } | |
13241 | return _resultobj; | |
13242 | } | |
13243 | ||
13244 | #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords()) | |
13245 | static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13246 | PyObject * _resultobj; | |
13247 | wxGridCellCoords * _result; | |
13248 | wxGridRangeSelectEvent * _arg0; | |
13249 | PyObject * _argo0 = 0; | |
13250 | char *_kwnames[] = { "self", NULL }; | |
13251 | char _ptemp[128]; | |
13252 | ||
13253 | self = self; | |
13254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0)) | |
13255 | return NULL; | |
13256 | if (_argo0) { | |
13257 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13258 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p."); | |
13260 | return NULL; | |
13261 | } | |
13262 | } | |
13263 | { | |
4268f798 | 13264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13265 | _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0)); |
f6bcfd97 | 13266 | |
4268f798 | 13267 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13268 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13269 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p"); |
13270 | _resultobj = Py_BuildValue("s",_ptemp); | |
13271 | return _resultobj; | |
13272 | } | |
13273 | ||
13274 | #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords()) | |
13275 | static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13276 | PyObject * _resultobj; | |
13277 | wxGridCellCoords * _result; | |
13278 | wxGridRangeSelectEvent * _arg0; | |
13279 | PyObject * _argo0 = 0; | |
13280 | char *_kwnames[] = { "self", NULL }; | |
13281 | char _ptemp[128]; | |
13282 | ||
13283 | self = self; | |
13284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0)) | |
13285 | return NULL; | |
13286 | if (_argo0) { | |
13287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p."); | |
13290 | return NULL; | |
13291 | } | |
13292 | } | |
13293 | { | |
4268f798 | 13294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13295 | _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0)); |
f6bcfd97 | 13296 | |
4268f798 | 13297 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13298 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13299 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p"); |
13300 | _resultobj = Py_BuildValue("s",_ptemp); | |
13301 | return _resultobj; | |
13302 | } | |
13303 | ||
13304 | #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow()) | |
13305 | static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13306 | PyObject * _resultobj; | |
13307 | int _result; | |
13308 | wxGridRangeSelectEvent * _arg0; | |
13309 | PyObject * _argo0 = 0; | |
13310 | char *_kwnames[] = { "self", NULL }; | |
13311 | ||
13312 | self = self; | |
13313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0)) | |
13314 | return NULL; | |
13315 | if (_argo0) { | |
13316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p."); | |
13319 | return NULL; | |
13320 | } | |
13321 | } | |
13322 | { | |
4268f798 | 13323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13324 | _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0); |
f6bcfd97 | 13325 | |
4268f798 | 13326 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13327 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13328 | } _resultobj = Py_BuildValue("i",_result); |
13329 | return _resultobj; | |
13330 | } | |
13331 | ||
13332 | #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow()) | |
13333 | static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13334 | PyObject * _resultobj; | |
13335 | int _result; | |
13336 | wxGridRangeSelectEvent * _arg0; | |
13337 | PyObject * _argo0 = 0; | |
13338 | char *_kwnames[] = { "self", NULL }; | |
13339 | ||
13340 | self = self; | |
13341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0)) | |
13342 | return NULL; | |
13343 | if (_argo0) { | |
13344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p."); | |
13347 | return NULL; | |
13348 | } | |
13349 | } | |
13350 | { | |
4268f798 | 13351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13352 | _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0); |
f6bcfd97 | 13353 | |
4268f798 | 13354 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13355 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13356 | } _resultobj = Py_BuildValue("i",_result); |
13357 | return _resultobj; | |
13358 | } | |
13359 | ||
13360 | #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol()) | |
13361 | static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13362 | PyObject * _resultobj; | |
13363 | int _result; | |
13364 | wxGridRangeSelectEvent * _arg0; | |
13365 | PyObject * _argo0 = 0; | |
13366 | char *_kwnames[] = { "self", NULL }; | |
13367 | ||
13368 | self = self; | |
13369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0)) | |
13370 | return NULL; | |
13371 | if (_argo0) { | |
13372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p."); | |
13375 | return NULL; | |
13376 | } | |
13377 | } | |
13378 | { | |
4268f798 | 13379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13380 | _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0); |
f6bcfd97 | 13381 | |
4268f798 | 13382 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13383 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13384 | } _resultobj = Py_BuildValue("i",_result); |
13385 | return _resultobj; | |
13386 | } | |
13387 | ||
13388 | #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol()) | |
13389 | static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13390 | PyObject * _resultobj; | |
13391 | int _result; | |
13392 | wxGridRangeSelectEvent * _arg0; | |
13393 | PyObject * _argo0 = 0; | |
13394 | char *_kwnames[] = { "self", NULL }; | |
13395 | ||
13396 | self = self; | |
13397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0)) | |
13398 | return NULL; | |
13399 | if (_argo0) { | |
13400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p."); | |
13403 | return NULL; | |
13404 | } | |
13405 | } | |
13406 | { | |
4268f798 | 13407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13408 | _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0); |
f6bcfd97 | 13409 | |
4268f798 | 13410 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13411 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13412 | } _resultobj = Py_BuildValue("i",_result); |
13413 | return _resultobj; | |
13414 | } | |
13415 | ||
13416 | #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting()) | |
13417 | static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13418 | PyObject * _resultobj; | |
13419 | bool _result; | |
13420 | wxGridRangeSelectEvent * _arg0; | |
13421 | PyObject * _argo0 = 0; | |
13422 | char *_kwnames[] = { "self", NULL }; | |
13423 | ||
13424 | self = self; | |
13425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0)) | |
13426 | return NULL; | |
13427 | if (_argo0) { | |
13428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p."); | |
13431 | return NULL; | |
13432 | } | |
13433 | } | |
13434 | { | |
4268f798 | 13435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13436 | _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0); |
f6bcfd97 | 13437 | |
4268f798 | 13438 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13439 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13440 | } _resultobj = Py_BuildValue("i",_result); |
13441 | return _resultobj; | |
13442 | } | |
13443 | ||
13444 | #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
13445 | static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13446 | PyObject * _resultobj; | |
13447 | bool _result; | |
13448 | wxGridRangeSelectEvent * _arg0; | |
13449 | PyObject * _argo0 = 0; | |
13450 | char *_kwnames[] = { "self", NULL }; | |
13451 | ||
13452 | self = self; | |
13453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0)) | |
13454 | return NULL; | |
13455 | if (_argo0) { | |
13456 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13457 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p."); | |
13459 | return NULL; | |
13460 | } | |
13461 | } | |
13462 | { | |
4268f798 | 13463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13464 | _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0); |
f6bcfd97 | 13465 | |
4268f798 | 13466 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13467 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13468 | } _resultobj = Py_BuildValue("i",_result); |
13469 | return _resultobj; | |
13470 | } | |
13471 | ||
13472 | #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
13473 | static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13474 | PyObject * _resultobj; | |
13475 | bool _result; | |
13476 | wxGridRangeSelectEvent * _arg0; | |
13477 | PyObject * _argo0 = 0; | |
13478 | char *_kwnames[] = { "self", NULL }; | |
13479 | ||
13480 | self = self; | |
13481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0)) | |
13482 | return NULL; | |
13483 | if (_argo0) { | |
13484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p."); | |
13487 | return NULL; | |
13488 | } | |
13489 | } | |
13490 | { | |
4268f798 | 13491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13492 | _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0); |
f6bcfd97 | 13493 | |
4268f798 | 13494 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13495 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13496 | } _resultobj = Py_BuildValue("i",_result); |
13497 | return _resultobj; | |
13498 | } | |
13499 | ||
13500 | #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
13501 | static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13502 | PyObject * _resultobj; | |
13503 | bool _result; | |
13504 | wxGridRangeSelectEvent * _arg0; | |
13505 | PyObject * _argo0 = 0; | |
13506 | char *_kwnames[] = { "self", NULL }; | |
13507 | ||
13508 | self = self; | |
13509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0)) | |
13510 | return NULL; | |
13511 | if (_argo0) { | |
13512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p."); | |
13515 | return NULL; | |
13516 | } | |
13517 | } | |
13518 | { | |
4268f798 | 13519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13520 | _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0); |
f6bcfd97 | 13521 | |
4268f798 | 13522 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13523 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13524 | } _resultobj = Py_BuildValue("i",_result); |
13525 | return _resultobj; | |
13526 | } | |
13527 | ||
13528 | #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
13529 | static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13530 | PyObject * _resultobj; | |
13531 | bool _result; | |
13532 | wxGridRangeSelectEvent * _arg0; | |
13533 | PyObject * _argo0 = 0; | |
13534 | char *_kwnames[] = { "self", NULL }; | |
13535 | ||
13536 | self = self; | |
13537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0)) | |
13538 | return NULL; | |
13539 | if (_argo0) { | |
13540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p."); | |
13543 | return NULL; | |
13544 | } | |
13545 | } | |
13546 | { | |
4268f798 | 13547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13548 | _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0); |
f6bcfd97 | 13549 | |
4268f798 | 13550 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13551 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13552 | } _resultobj = Py_BuildValue("i",_result); |
13553 | return _resultobj; | |
13554 | } | |
13555 | ||
bf7945ce RD |
13556 | static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) { |
13557 | wxGridEditorCreatedEvent *src; | |
13558 | wxCommandEvent *dest; | |
13559 | src = (wxGridEditorCreatedEvent *) ptr; | |
13560 | dest = (wxCommandEvent *) src; | |
13561 | return (void *) dest; | |
13562 | } | |
13563 | ||
13564 | static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) { | |
13565 | wxGridEditorCreatedEvent *src; | |
13566 | wxEvent *dest; | |
13567 | src = (wxGridEditorCreatedEvent *) ptr; | |
13568 | dest = (wxEvent *) src; | |
13569 | return (void *) dest; | |
13570 | } | |
13571 | ||
13572 | static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) { | |
13573 | wxGridEditorCreatedEvent *src; | |
13574 | wxObject *dest; | |
13575 | src = (wxGridEditorCreatedEvent *) ptr; | |
13576 | dest = (wxObject *) src; | |
13577 | return (void *) dest; | |
13578 | } | |
13579 | ||
13580 | #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
13581 | static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13582 | PyObject * _resultobj; | |
13583 | wxGridEditorCreatedEvent * _result; | |
13584 | int _arg0; | |
13585 | wxEventType _arg1; | |
13586 | wxObject * _arg2; | |
13587 | int _arg3; | |
13588 | int _arg4; | |
13589 | wxControl * _arg5; | |
13590 | PyObject * _argo2 = 0; | |
13591 | PyObject * _argo5 = 0; | |
13592 | char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL }; | |
13593 | char _ptemp[128]; | |
13594 | ||
13595 | self = self; | |
13596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5)) | |
13597 | return NULL; | |
13598 | if (_argo2) { | |
13599 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13600 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) { | |
13601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p."); | |
13602 | return NULL; | |
13603 | } | |
13604 | } | |
13605 | if (_argo5) { | |
13606 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
13607 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) { | |
13608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p."); | |
13609 | return NULL; | |
13610 | } | |
13611 | } | |
13612 | { | |
4268f798 | 13613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13614 | _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
bf7945ce | 13615 | |
4268f798 | 13616 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
13617 | if (PyErr_Occurred()) return NULL; |
13618 | } if (_result) { | |
13619 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p"); | |
13620 | _resultobj = Py_BuildValue("s",_ptemp); | |
13621 | } else { | |
13622 | Py_INCREF(Py_None); | |
13623 | _resultobj = Py_None; | |
13624 | } | |
13625 | return _resultobj; | |
13626 | } | |
13627 | ||
13628 | #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow()) | |
13629 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13630 | PyObject * _resultobj; | |
13631 | int _result; | |
13632 | wxGridEditorCreatedEvent * _arg0; | |
13633 | PyObject * _argo0 = 0; | |
13634 | char *_kwnames[] = { "self", NULL }; | |
13635 | ||
13636 | self = self; | |
13637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0)) | |
13638 | return NULL; | |
13639 | if (_argo0) { | |
13640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p."); | |
13643 | return NULL; | |
13644 | } | |
13645 | } | |
13646 | { | |
4268f798 | 13647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13648 | _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0); |
bf7945ce | 13649 | |
4268f798 | 13650 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
13651 | if (PyErr_Occurred()) return NULL; |
13652 | } _resultobj = Py_BuildValue("i",_result); | |
13653 | return _resultobj; | |
13654 | } | |
13655 | ||
13656 | #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
13657 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13658 | PyObject * _resultobj; | |
13659 | int _result; | |
13660 | wxGridEditorCreatedEvent * _arg0; | |
13661 | PyObject * _argo0 = 0; | |
13662 | char *_kwnames[] = { "self", NULL }; | |
13663 | ||
13664 | self = self; | |
13665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0)) | |
13666 | return NULL; | |
13667 | if (_argo0) { | |
13668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p."); | |
13671 | return NULL; | |
13672 | } | |
13673 | } | |
13674 | { | |
4268f798 | 13675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13676 | _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0); |
bf7945ce | 13677 | |
4268f798 | 13678 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
13679 | if (PyErr_Occurred()) return NULL; |
13680 | } _resultobj = Py_BuildValue("i",_result); | |
13681 | return _resultobj; | |
13682 | } | |
13683 | ||
13684 | #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
13685 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13686 | PyObject * _resultobj; | |
13687 | wxControl * _result; | |
13688 | wxGridEditorCreatedEvent * _arg0; | |
13689 | PyObject * _argo0 = 0; | |
13690 | char *_kwnames[] = { "self", NULL }; | |
13691 | ||
13692 | self = self; | |
13693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0)) | |
13694 | return NULL; | |
13695 | if (_argo0) { | |
13696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p."); | |
13699 | return NULL; | |
13700 | } | |
13701 | } | |
13702 | { | |
4268f798 | 13703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13704 | _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0); |
bf7945ce | 13705 | |
4268f798 | 13706 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
13707 | if (PyErr_Occurred()) return NULL; |
13708 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
13709 | return _resultobj; | |
13710 | } | |
13711 | ||
13712 | #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0)) | |
13713 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13714 | PyObject * _resultobj; | |
13715 | wxGridEditorCreatedEvent * _arg0; | |
13716 | int _arg1; | |
13717 | PyObject * _argo0 = 0; | |
13718 | char *_kwnames[] = { "self","row", NULL }; | |
13719 | ||
13720 | self = self; | |
13721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1)) | |
13722 | return NULL; | |
13723 | if (_argo0) { | |
13724 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13725 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p."); | |
13727 | return NULL; | |
13728 | } | |
13729 | } | |
13730 | { | |
4268f798 | 13731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13732 | wxGridEditorCreatedEvent_SetRow(_arg0,_arg1); |
bf7945ce | 13733 | |
4268f798 | 13734 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
13735 | if (PyErr_Occurred()) return NULL; |
13736 | } Py_INCREF(Py_None); | |
13737 | _resultobj = Py_None; | |
13738 | return _resultobj; | |
13739 | } | |
13740 | ||
13741 | #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0)) | |
13742 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13743 | PyObject * _resultobj; | |
13744 | wxGridEditorCreatedEvent * _arg0; | |
13745 | int _arg1; | |
13746 | PyObject * _argo0 = 0; | |
13747 | char *_kwnames[] = { "self","col", NULL }; | |
13748 | ||
13749 | self = self; | |
13750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1)) | |
13751 | return NULL; | |
13752 | if (_argo0) { | |
13753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p."); | |
13756 | return NULL; | |
13757 | } | |
13758 | } | |
13759 | { | |
4268f798 | 13760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13761 | wxGridEditorCreatedEvent_SetCol(_arg0,_arg1); |
bf7945ce | 13762 | |
4268f798 | 13763 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
13764 | if (PyErr_Occurred()) return NULL; |
13765 | } Py_INCREF(Py_None); | |
13766 | _resultobj = Py_None; | |
13767 | return _resultobj; | |
13768 | } | |
13769 | ||
13770 | #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0)) | |
13771 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13772 | PyObject * _resultobj; | |
13773 | wxGridEditorCreatedEvent * _arg0; | |
13774 | wxControl * _arg1; | |
13775 | PyObject * _argo0 = 0; | |
13776 | PyObject * _argo1 = 0; | |
13777 | char *_kwnames[] = { "self","ctrl", NULL }; | |
13778 | ||
13779 | self = self; | |
13780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1)) | |
13781 | return NULL; | |
13782 | if (_argo0) { | |
13783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
13785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p."); | |
13786 | return NULL; | |
13787 | } | |
13788 | } | |
13789 | if (_argo1) { | |
13790 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
13791 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
13792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p."); | |
13793 | return NULL; | |
13794 | } | |
13795 | } | |
13796 | { | |
4268f798 | 13797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13798 | wxGridEditorCreatedEvent_SetControl(_arg0,_arg1); |
bf7945ce | 13799 | |
4268f798 | 13800 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
13801 | if (PyErr_Occurred()) return NULL; |
13802 | } Py_INCREF(Py_None); | |
13803 | _resultobj = Py_None; | |
13804 | return _resultobj; | |
13805 | } | |
13806 | ||
f6bcfd97 | 13807 | static PyMethodDef gridcMethods[] = { |
bf7945ce RD |
13808 | { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS }, |
13809 | { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS }, | |
13810 | { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS }, | |
13811 | { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
13812 | { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
13813 | { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
13814 | { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13815 | { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, |
13816 | { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
13817 | { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
13818 | { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
13819 | { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, | |
13820 | { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS }, | |
13821 | { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS }, | |
13822 | { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS }, | |
13823 | { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS }, | |
13824 | { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS }, | |
13825 | { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS }, | |
13826 | { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS }, | |
13827 | { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
13828 | { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
13829 | { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
13830 | { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
13831 | { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
13832 | { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS }, | |
13833 | { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
13834 | { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
13835 | { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
13836 | { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
13837 | { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
13838 | { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, | |
13839 | { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
13840 | { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
13841 | { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
13842 | { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 RD |
13843 | { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS }, |
13844 | { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS }, | |
13845 | { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS }, | |
13846 | { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13847 | { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS }, |
13848 | { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS }, | |
13849 | { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS }, | |
13850 | { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS }, | |
13851 | { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS }, | |
13852 | { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS }, | |
13853 | { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, | |
13854 | { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
13855 | { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, | |
13856 | { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
13857 | { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS }, | |
13858 | { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS }, | |
13859 | { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS }, | |
13860 | { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS }, | |
13861 | { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
13862 | { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS }, | |
13863 | { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS }, | |
13864 | { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS }, | |
13865 | { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
13866 | { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
13867 | { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
13868 | { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
13869 | { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS }, | |
13870 | { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, | |
13871 | { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS }, | |
13872 | { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, | |
13873 | { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13874 | { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13875 | { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13876 | { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, | |
13877 | { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13878 | { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13879 | { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS }, | |
13880 | { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, | |
13881 | { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13882 | { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13883 | { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13884 | { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13885 | { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS }, | |
13886 | { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS }, | |
13887 | { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS }, | |
13888 | { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS }, | |
13889 | { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS }, | |
13890 | { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS }, | |
13891 | { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS }, | |
13892 | { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS }, | |
13893 | { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, | |
13894 | { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13895 | { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13896 | { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13897 | { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13898 | { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS }, | |
13899 | { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, | |
13900 | { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13901 | { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13902 | { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13903 | { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13904 | { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS }, | |
13905 | { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, | |
13906 | { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13907 | { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13908 | { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS }, | |
13909 | { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS }, | |
13910 | { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS }, | |
13911 | { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS }, | |
13912 | { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS }, | |
13913 | { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS }, | |
13914 | { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
13915 | { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
13916 | { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
13917 | { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
13918 | { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
13919 | { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
13920 | { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
13921 | { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
13922 | { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13923 | { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
13924 | { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 RD |
13925 | { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
13926 | { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13927 | { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
13928 | { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS }, | |
13929 | { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13930 | { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13931 | { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13932 | { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13933 | { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS }, | |
13934 | { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13935 | { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13936 | { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13937 | { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 RD |
13938 | { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
13939 | { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13940 | { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
13941 | { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS }, | |
13942 | { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13943 | { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
13944 | { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13945 | { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
13946 | { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS }, | |
13947 | { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
13948 | { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
13949 | { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13950 | { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13951 | { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13952 | { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
13953 | { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS }, | |
13954 | { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS }, | |
13955 | { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS }, | |
13956 | { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS }, | |
13957 | { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS }, | |
13958 | { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS }, | |
13959 | { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS }, | |
13960 | { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS }, | |
13961 | { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS }, | |
13962 | { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS }, | |
13963 | { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS }, | |
13964 | { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS }, | |
13965 | { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
13966 | { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS }, | |
13967 | { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS }, | |
13968 | { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS }, | |
13969 | { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS }, | |
13970 | { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS }, | |
13971 | { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS }, | |
13972 | { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS }, | |
13973 | { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS }, | |
13974 | { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS }, | |
13975 | { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
13976 | { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
13977 | { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
13978 | { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS }, | |
13979 | { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS }, | |
13980 | { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS }, | |
13981 | { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
13982 | { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
13983 | { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS }, | |
13984 | { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS }, | |
edf2f43e | 13985 | { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
13986 | { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS }, |
13987 | { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS }, | |
13988 | { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS }, | |
13989 | { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
13990 | { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS }, |
13991 | { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS }, | |
13992 | { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
13993 | { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
13994 | { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
13995 | { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
13996 | { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
13997 | { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
13998 | { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS }, | |
13999 | { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS }, | |
14000 | { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS }, | |
14001 | { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
14002 | { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, | |
14003 | { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, | |
14004 | { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS }, | |
14005 | { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS }, | |
14006 | { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS }, | |
14007 | { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS }, | |
14008 | { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS }, | |
14009 | { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS }, | |
14010 | { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS }, | |
14011 | { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
14012 | { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS }, | |
14013 | { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
14014 | { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS }, | |
14015 | { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS }, | |
14016 | { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS }, | |
14017 | { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS }, | |
14018 | { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS }, | |
14019 | { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS }, | |
14020 | { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS }, | |
14021 | { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS }, | |
14022 | { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS }, | |
14023 | { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS }, | |
14024 | { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
14025 | { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
14026 | { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS }, | |
14027 | { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
14028 | { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
14029 | { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14030 | { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14031 | { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, | |
14032 | { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14033 | { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14034 | { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14035 | { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14036 | { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
14037 | { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
14038 | { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
14039 | { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
14040 | { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
14041 | { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
14042 | { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS }, | |
14043 | { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
14044 | { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
14045 | { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS }, | |
14046 | { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 14047 | { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14048 | { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS }, |
14049 | { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
14050 | { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
14051 | { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14052 | { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14053 | { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, | |
14054 | { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14055 | { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14056 | { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14057 | { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14058 | { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
14059 | { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
14060 | { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
14061 | { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
14062 | { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
14063 | { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
14064 | { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS }, | |
14065 | { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS }, | |
14066 | { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, | |
14067 | { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS }, | |
14068 | { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS }, | |
14069 | { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, | |
14070 | { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS }, | |
14071 | { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
14072 | { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
14073 | { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS }, | |
14074 | { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
14075 | { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
14076 | { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS }, | |
14077 | { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, | |
14078 | { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, | |
14079 | { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS }, | |
14080 | { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS }, | |
14081 | { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
14082 | { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 14083 | { "wxGridTableBase__setOORInfo", (PyCFunction) _wrap_wxGridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14084 | { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, |
14085 | { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
14086 | { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14087 | { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 14088 | { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14089 | { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
14090 | { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS }, | |
14091 | { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS }, | |
14092 | { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
14093 | { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
14094 | { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14095 | { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 14096 | { "wxGridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_wxGridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14097 | { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
14098 | { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS }, | |
14099 | { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14100 | { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS }, | |
14101 | { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14102 | { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14103 | { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
14104 | { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14105 | { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 | 14106 | { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14107 | { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS }, |
14108 | { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14109 | { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14110 | { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, | |
14111 | { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14112 | { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 | 14113 | { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14114 | { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS }, |
14115 | { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14116 | { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14117 | { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14118 | { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
14119 | { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14120 | { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
14121 | { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14122 | { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 | 14123 | { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14124 | { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS }, |
14125 | { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 14126 | { "wxGridCellAttr__setOORInfo", (PyCFunction) _wrap_wxGridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
19a97bd6 RD |
14127 | { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS }, |
14128 | { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14129 | { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS }, |
14130 | { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS }, | |
14131 | { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS }, | |
14132 | { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS }, | |
14133 | { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS }, | |
14134 | { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
14135 | { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
14136 | { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS }, | |
14137 | { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS }, | |
14138 | { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS }, | |
dbbb98cd | 14139 | { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14140 | { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS }, |
14141 | { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS }, | |
14142 | { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 14143 | { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14144 | { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS }, |
14145 | { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
14146 | { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS }, | |
14147 | { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS }, | |
14148 | { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS }, | |
14149 | { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, | |
14150 | { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS }, | |
14151 | { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS }, | |
14152 | { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
14153 | { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS }, | |
14154 | { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS }, | |
14155 | { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS }, | |
14156 | { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS }, | |
14157 | { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS }, | |
14158 | { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14159 | { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
14160 | { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
14161 | { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS }, | |
14162 | { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
14163 | { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 14164 | { "wxGridCellEditor__setOORInfo", (PyCFunction) _wrap_wxGridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
19a97bd6 RD |
14165 | { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS }, |
14166 | { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14167 | { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14168 | { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS }, |
14169 | { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS }, | |
14170 | { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS }, | |
14171 | { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS }, | |
14172 | { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
14173 | { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14174 | { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14175 | { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14176 | { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 14177 | { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14178 | { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS }, |
14179 | { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS }, | |
14180 | { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
14181 | { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS }, | |
14182 | { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14183 | { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
14184 | { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 14185 | { "wxGridCellRenderer__setOORInfo", (PyCFunction) _wrap_wxGridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14186 | { NULL, NULL } |
14187 | }; | |
14188 | #ifdef __cplusplus | |
14189 | } | |
14190 | #endif | |
14191 | /* | |
14192 | * This table is used by the pointer type-checker | |
14193 | */ | |
14194 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
bf7945ce | 14195 | { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent}, |
f6bcfd97 | 14196 | { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent}, |
f6bcfd97 | 14197 | { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent}, |
f6bcfd97 | 14198 | { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent}, |
f6bcfd97 | 14199 | { "_signed_long","_long",0}, |
19a97bd6 | 14200 | { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor}, |
f6bcfd97 BP |
14201 | { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0}, |
14202 | { "_wxPrintQuality","_wxCoord",0}, | |
14203 | { "_wxPrintQuality","_int",0}, | |
14204 | { "_wxPrintQuality","_signed_int",0}, | |
14205 | { "_wxPrintQuality","_unsigned_int",0}, | |
14206 | { "_wxPrintQuality","_wxWindowID",0}, | |
14207 | { "_wxPrintQuality","_uint",0}, | |
14208 | { "_wxPrintQuality","_EBool",0}, | |
14209 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 14210 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 | 14211 | { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent}, |
f6bcfd97 | 14212 | { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent}, |
f6bcfd97 | 14213 | { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent}, |
f6bcfd97 | 14214 | { "_byte","_unsigned_char",0}, |
f6bcfd97 BP |
14215 | { "_long","_unsigned_long",0}, |
14216 | { "_long","_signed_long",0}, | |
f6bcfd97 BP |
14217 | { "_size_t","_WXGRIDSELECTIONMODES",0}, |
14218 | { "_size_t","_wxCoord",0}, | |
14219 | { "_size_t","_wxPrintQuality",0}, | |
c368d904 | 14220 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
14221 | { "_size_t","_unsigned_int",0}, |
14222 | { "_size_t","_int",0}, | |
14223 | { "_size_t","_wxWindowID",0}, | |
14224 | { "_size_t","_uint",0}, | |
f6bcfd97 | 14225 | { "_wxPanel","_wxGrid",SwigwxGridTowxPanel}, |
f6bcfd97 BP |
14226 | { "_uint","_WXGRIDSELECTIONMODES",0}, |
14227 | { "_uint","_wxCoord",0}, | |
14228 | { "_uint","_wxPrintQuality",0}, | |
c368d904 | 14229 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
14230 | { "_uint","_size_t",0}, |
14231 | { "_uint","_unsigned_int",0}, | |
14232 | { "_uint","_int",0}, | |
14233 | { "_uint","_wxWindowID",0}, | |
14234 | { "_wxChar","_char",0}, | |
bf7945ce | 14235 | { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent}, |
f6bcfd97 | 14236 | { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent}, |
f6bcfd97 | 14237 | { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent}, |
f6bcfd97 | 14238 | { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent}, |
f6bcfd97 | 14239 | { "_char","_wxChar",0}, |
19a97bd6 RD |
14240 | { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer}, |
14241 | { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer}, | |
14242 | { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer}, | |
f6bcfd97 | 14243 | { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer}, |
f6bcfd97 | 14244 | { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer}, |
3ae53c31 | 14245 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
f6bcfd97 | 14246 | { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase}, |
f6bcfd97 | 14247 | { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase}, |
f6bcfd97 BP |
14248 | { "_EBool","_WXGRIDSELECTIONMODES",0}, |
14249 | { "_EBool","_wxCoord",0}, | |
14250 | { "_EBool","_wxPrintQuality",0}, | |
14251 | { "_EBool","_signed_int",0}, | |
14252 | { "_EBool","_int",0}, | |
14253 | { "_EBool","_wxWindowID",0}, | |
f6bcfd97 | 14254 | { "_unsigned_long","_long",0}, |
f6bcfd97 BP |
14255 | { "_WXGRIDSELECTIONMODES","_int",0}, |
14256 | { "_WXGRIDSELECTIONMODES","_signed_int",0}, | |
14257 | { "_WXGRIDSELECTIONMODES","_unsigned_int",0}, | |
14258 | { "_WXGRIDSELECTIONMODES","_wxWindowID",0}, | |
14259 | { "_WXGRIDSELECTIONMODES","_uint",0}, | |
14260 | { "_WXGRIDSELECTIONMODES","_EBool",0}, | |
14261 | { "_WXGRIDSELECTIONMODES","_size_t",0}, | |
c368d904 | 14262 | { "_WXGRIDSELECTIONMODES","_time_t",0}, |
f6bcfd97 BP |
14263 | { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0}, |
14264 | { "_WXGRIDSELECTIONMODES","_wxCoord",0}, | |
3ae53c31 | 14265 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
f6bcfd97 BP |
14266 | { "_signed_int","_WXGRIDSELECTIONMODES",0}, |
14267 | { "_signed_int","_wxCoord",0}, | |
14268 | { "_signed_int","_wxPrintQuality",0}, | |
14269 | { "_signed_int","_EBool",0}, | |
14270 | { "_signed_int","_wxWindowID",0}, | |
14271 | { "_signed_int","_int",0}, | |
19a97bd6 RD |
14272 | { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor}, |
14273 | { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor}, | |
f6bcfd97 | 14274 | { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor}, |
f6bcfd97 | 14275 | { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor}, |
f6bcfd97 | 14276 | { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor}, |
f6bcfd97 | 14277 | { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor}, |
f6bcfd97 | 14278 | { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor}, |
f6bcfd97 | 14279 | { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor}, |
f6bcfd97 BP |
14280 | { "_WXTYPE","_short",0}, |
14281 | { "_WXTYPE","_signed_short",0}, | |
14282 | { "_WXTYPE","_unsigned_short",0}, | |
f6bcfd97 | 14283 | { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider}, |
f6bcfd97 BP |
14284 | { "_unsigned_short","_WXTYPE",0}, |
14285 | { "_unsigned_short","_short",0}, | |
bf7945ce | 14286 | { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject}, |
9416aa89 | 14287 | { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject}, |
9416aa89 | 14288 | { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject}, |
9416aa89 | 14289 | { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject}, |
9416aa89 | 14290 | { "_wxObject","_wxGrid",SwigwxGridTowxObject}, |
9416aa89 | 14291 | { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject}, |
9416aa89 | 14292 | { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject}, |
9416aa89 | 14293 | { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject}, |
f6bcfd97 BP |
14294 | { "_signed_short","_WXTYPE",0}, |
14295 | { "_signed_short","_short",0}, | |
f6bcfd97 | 14296 | { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow}, |
f6bcfd97 | 14297 | { "_unsigned_char","_byte",0}, |
f6bcfd97 BP |
14298 | { "_unsigned_int","_WXGRIDSELECTIONMODES",0}, |
14299 | { "_unsigned_int","_wxCoord",0}, | |
14300 | { "_unsigned_int","_wxPrintQuality",0}, | |
c368d904 | 14301 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
14302 | { "_unsigned_int","_size_t",0}, |
14303 | { "_unsigned_int","_uint",0}, | |
14304 | { "_unsigned_int","_wxWindowID",0}, | |
14305 | { "_unsigned_int","_int",0}, | |
f6bcfd97 BP |
14306 | { "_short","_WXTYPE",0}, |
14307 | { "_short","_unsigned_short",0}, | |
14308 | { "_short","_signed_short",0}, | |
f6bcfd97 BP |
14309 | { "_wxWindowID","_WXGRIDSELECTIONMODES",0}, |
14310 | { "_wxWindowID","_wxCoord",0}, | |
14311 | { "_wxWindowID","_wxPrintQuality",0}, | |
c368d904 | 14312 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
14313 | { "_wxWindowID","_size_t",0}, |
14314 | { "_wxWindowID","_EBool",0}, | |
14315 | { "_wxWindowID","_uint",0}, | |
14316 | { "_wxWindowID","_int",0}, | |
14317 | { "_wxWindowID","_signed_int",0}, | |
14318 | { "_wxWindowID","_unsigned_int",0}, | |
f6bcfd97 BP |
14319 | { "_int","_WXGRIDSELECTIONMODES",0}, |
14320 | { "_int","_wxCoord",0}, | |
14321 | { "_int","_wxPrintQuality",0}, | |
c368d904 | 14322 | { "_int","_time_t",0}, |
f6bcfd97 BP |
14323 | { "_int","_size_t",0}, |
14324 | { "_int","_EBool",0}, | |
14325 | { "_int","_uint",0}, | |
14326 | { "_int","_wxWindowID",0}, | |
14327 | { "_int","_unsigned_int",0}, | |
14328 | { "_int","_signed_int",0}, | |
c368d904 RD |
14329 | { "_time_t","_WXGRIDSELECTIONMODES",0}, |
14330 | { "_time_t","_wxCoord",0}, | |
14331 | { "_time_t","_wxPrintQuality",0}, | |
14332 | { "_time_t","_unsigned_int",0}, | |
14333 | { "_time_t","_int",0}, | |
14334 | { "_time_t","_wxWindowID",0}, | |
14335 | { "_time_t","_uint",0}, | |
14336 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
14337 | { "_wxCoord","_WXGRIDSELECTIONMODES",0}, |
14338 | { "_wxCoord","_int",0}, | |
14339 | { "_wxCoord","_signed_int",0}, | |
14340 | { "_wxCoord","_unsigned_int",0}, | |
14341 | { "_wxCoord","_wxWindowID",0}, | |
14342 | { "_wxCoord","_uint",0}, | |
14343 | { "_wxCoord","_EBool",0}, | |
14344 | { "_wxCoord","_size_t",0}, | |
c368d904 | 14345 | { "_wxCoord","_time_t",0}, |
f6bcfd97 | 14346 | { "_wxCoord","_wxPrintQuality",0}, |
19a97bd6 RD |
14347 | { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer}, |
14348 | { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer}, | |
14349 | { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer}, | |
f6bcfd97 | 14350 | { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer}, |
f6bcfd97 | 14351 | { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer}, |
f6bcfd97 | 14352 | { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer}, |
f6bcfd97 | 14353 | { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer}, |
f6bcfd97 | 14354 | { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer}, |
19a97bd6 | 14355 | { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14356 | { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14357 | { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14358 | { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler}, |
f6bcfd97 | 14359 | { "_wxWindow","_wxGrid",SwigwxGridTowxWindow}, |
f6bcfd97 BP |
14360 | {0,0,0}}; |
14361 | ||
14362 | static PyObject *SWIG_globals; | |
14363 | #ifdef __cplusplus | |
14364 | extern "C" | |
14365 | #endif | |
14366 | SWIGEXPORT(void) initgridc() { | |
14367 | PyObject *m, *d; | |
14368 | SWIG_globals = SWIG_newvarlink(); | |
14369 | m = Py_InitModule("gridc", gridcMethods); | |
14370 | d = PyModule_GetDict(m); | |
14371 | PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string")); | |
14372 | PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool")); | |
14373 | PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long")); | |
14374 | PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double")); | |
14375 | PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice")); | |
14376 | PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string")); | |
14377 | PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long")); | |
33ff77f6 RD |
14378 | PyDict_SetItemString(d,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint")); |
14379 | PyDict_SetItemString(d,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime")); | |
f6bcfd97 BP |
14380 | PyDict_SetItemString(d,"cvar", SWIG_globals); |
14381 | SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set); | |
14382 | SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set); | |
14383 | PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES)); | |
14384 | PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES)); | |
14385 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED)); | |
14386 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED)); | |
14387 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED)); | |
14388 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED)); | |
14389 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED)); | |
14390 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED)); | |
14391 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK)); | |
14392 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK)); | |
14393 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK)); | |
14394 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK)); | |
14395 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK)); | |
14396 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK)); | |
14397 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK)); | |
14398 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK)); | |
14399 | PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE)); | |
14400 | PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE)); | |
14401 | PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT)); | |
14402 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE)); | |
14403 | PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL)); | |
14404 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN)); | |
14405 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN)); | |
bf7945ce | 14406 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED)); |
e508a2b6 RD |
14407 | |
14408 | wxClassInfo::CleanUpClasses(); | |
14409 | wxClassInfo::InitializeClasses(); | |
9416aa89 RD |
14410 | PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any)); |
14411 | PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default)); | |
14412 | PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell)); | |
14413 | PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row)); | |
14414 | PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col)); | |
14415 | PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged)); | |
f6bcfd97 BP |
14416 | PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells)); |
14417 | PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows)); | |
14418 | PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns)); | |
14419 | { | |
14420 | int i; | |
14421 | for (i = 0; _swig_mapping[i].n1; i++) | |
14422 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
14423 | } | |
14424 | } |