]>
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 | |
7e50db3f RD |
22 | #include "Python.h" |
23 | ||
f6bcfd97 BP |
24 | #include <string.h> |
25 | #include <stdlib.h> | |
26 | /* Definitions for Windows/Unix exporting */ | |
27 | #if defined(__WIN32__) | |
28 | # if defined(_MSC_VER) | |
29 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
30 | # else | |
31 | # if defined(__BORLANDC__) | |
c368d904 | 32 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 33 | # else |
c368d904 | 34 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
35 | # endif |
36 | # endif | |
37 | #else | |
c368d904 | 38 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
39 | #endif |
40 | ||
41 | #ifdef __cplusplus | |
42 | extern "C" { | |
43 | #endif | |
f6bcfd97 BP |
44 | extern void SWIG_MakePtr(char *, void *, char *); |
45 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
46 | extern char *SWIG_GetPtr(char *, void **, char *); | |
47 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
48 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
49 | extern PyObject *SWIG_newvarlink(void); | |
50 | #ifdef __cplusplus | |
51 | } | |
52 | #endif | |
53 | #define SWIG_init initgridc | |
54 | ||
55 | #define SWIG_name "gridc" | |
56 | ||
6e2129f9 | 57 | #include "wxPython.h" |
f6bcfd97 | 58 | #include <wx/grid.h> |
19a97bd6 | 59 | #include <wx/generic/gridctrl.h> |
f6bcfd97 | 60 | |
f6bcfd97 BP |
61 | |
62 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | ||
e0672e2f | 66 | if (!target) { |
f6bcfd97 | 67 | target = o; |
e0672e2f | 68 | } else if (target == Py_None) { |
f6bcfd97 BP |
69 | Py_DECREF(Py_None); |
70 | target = o; | |
e0672e2f | 71 | } else { |
f6bcfd97 BP |
72 | if (!PyTuple_Check(target)) { |
73 | o2 = target; | |
74 | target = PyTuple_New(1); | |
75 | PyTuple_SetItem(target, 0, o2); | |
76 | } | |
e0672e2f RD |
77 | o3 = PyTuple_New(1); |
78 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
79 | |
80 | o2 = target; | |
e0672e2f RD |
81 | target = PySequence_Concat(o2, o3); |
82 | Py_DECREF(o2); | |
f6bcfd97 BP |
83 | Py_DECREF(o3); |
84 | } | |
85 | return target; | |
86 | } | |
87 | ||
137b5242 RD |
88 | // Put some wx default wxChar* values into wxStrings. |
89 | DECLARE_DEF_STRING(PanelNameStr); | |
33ff77f6 RD |
90 | DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c")); |
91 | static const wxString wxPyEmptyString(wxT("")); | |
137b5242 | 92 | |
a66212dc RD |
93 | |
94 | #define wxPyMake_TEMPLATE(TYPE) \ | |
95 | PyObject* wxPyMake_##TYPE(TYPE* source) { \ | |
96 | PyObject* target = NULL; \ | |
97 | if (source) { \ | |
98 | /* Check if there is already a pointer to a Python object in the \ | |
99 | OOR data that we can use. */ \ | |
100 | wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \ | |
101 | if (data) { \ | |
102 | target = data->m_obj; \ | |
103 | Py_INCREF(target); \ | |
104 | } \ | |
105 | /* Otherwise make a new wrapper for it the old fashioned way and \ | |
106 | give it the OOR treatment */ \ | |
107 | if (! target) { \ | |
7e50db3f | 108 | target = wxPyConstructObject(source, wxT(#TYPE), FALSE); \ |
a66212dc RD |
109 | if (target) \ |
110 | source->SetClientObject(new wxPyOORClientData(target)); \ | |
111 | } \ | |
112 | } else { /* source was NULL so return None. */ \ | |
113 | Py_INCREF(Py_None); target = Py_None; \ | |
114 | } \ | |
115 | return target; \ | |
116 | } \ | |
117 | ||
118 | ||
119 | wxPyMake_TEMPLATE(wxGridCellRenderer) | |
120 | wxPyMake_TEMPLATE(wxGridCellEditor) | |
121 | wxPyMake_TEMPLATE(wxGridCellAttr) | |
122 | wxPyMake_TEMPLATE(wxGridCellAttrProvider) | |
123 | wxPyMake_TEMPLATE(wxGridTableBase) | |
124 | ||
125 | ||
9416aa89 RD |
126 | #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \ |
127 | wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ | |
128 | wxGridCellAttr* rval = NULL; \ | |
19a97bd6 | 129 | bool found; \ |
4268f798 | 130 | wxPyBeginBlockThreads(); \ |
19a97bd6 | 131 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
9416aa89 RD |
132 | PyObject* ro; \ |
133 | wxGridCellAttr* ptr; \ | |
134 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ | |
135 | if (ro) { \ | |
f6bcfd97 | 136 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \ |
9416aa89 RD |
137 | rval = ptr; \ |
138 | Py_DECREF(ro); \ | |
139 | } \ | |
140 | } \ | |
4268f798 | 141 | wxPyEndBlockThreads(); \ |
19a97bd6 | 142 | if (! found) \ |
9416aa89 | 143 | rval = PCLASS::CBNAME(a, b, c); \ |
9416aa89 RD |
144 | return rval; \ |
145 | } \ | |
146 | wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ | |
147 | return PCLASS::CBNAME(a, b, c); \ | |
f6bcfd97 BP |
148 | } |
149 | ||
150 | ||
151 | ||
19a97bd6 RD |
152 | #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \ |
153 | void CBNAME(wxGridCellAttr *attr, int a, int b) { \ | |
a66212dc | 154 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
155 | bool found; \ |
156 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
a66212dc RD |
157 | PyObject* obj = wxPyMake_wxGridCellAttr(attr); \ |
158 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \ | |
19a97bd6 RD |
159 | Py_DECREF(obj); \ |
160 | } \ | |
a66212dc | 161 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
162 | if (! found) \ |
163 | PCLASS::CBNAME(attr, a, b); \ | |
164 | } \ | |
165 | void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \ | |
166 | PCLASS::CBNAME(attr, a, b); \ | |
f6bcfd97 BP |
167 | } |
168 | ||
169 | ||
170 | ||
19a97bd6 RD |
171 | #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \ |
172 | void CBNAME(wxGridCellAttr *attr, int val) { \ | |
a66212dc | 173 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
174 | bool found; \ |
175 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
a66212dc | 176 | PyObject* obj = wxPyMake_wxGridCellAttr(attr); \ |
19a97bd6 RD |
177 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \ |
178 | Py_DECREF(obj); \ | |
179 | } \ | |
4268f798 | 180 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
181 | if (! found) \ |
182 | PCLASS::CBNAME(attr, val); \ | |
183 | } \ | |
184 | void base_##CBNAME(wxGridCellAttr *attr, int val) { \ | |
185 | PCLASS::CBNAME(attr, val); \ | |
f6bcfd97 BP |
186 | } |
187 | ||
188 | ||
189 | ||
19a97bd6 RD |
190 | #define PYCALLBACK_INT__pure(CBNAME) \ |
191 | int CBNAME() { \ | |
4268f798 | 192 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
193 | int rval = 0; \ |
194 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ | |
195 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
4268f798 | 196 | wxPyEndBlockThreads(); \ |
19a97bd6 | 197 | return rval; \ |
f6bcfd97 BP |
198 | } |
199 | ||
200 | ||
201 | ||
19a97bd6 RD |
202 | #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \ |
203 | bool CBNAME(int a, int b) { \ | |
4268f798 | 204 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
205 | bool rval = 0; \ |
206 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ | |
207 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
4268f798 | 208 | wxPyEndBlockThreads(); \ |
19a97bd6 | 209 | return rval; \ |
f6bcfd97 | 210 | } |
19a97bd6 RD |
211 | |
212 | ||
19a97bd6 RD |
213 | #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \ |
214 | wxString CBNAME(int a, int b) { \ | |
a541c325 | 215 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
216 | wxString rval; \ |
217 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ | |
218 | PyObject* ro; \ | |
219 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
220 | if (ro) { \ | |
a541c325 RD |
221 | rval = Py2wxString(ro); \ |
222 | Py_DECREF(ro); \ | |
19a97bd6 RD |
223 | } \ |
224 | } \ | |
a541c325 | 225 | wxPyEndBlockThreads(); \ |
19a97bd6 | 226 | return rval; \ |
f6bcfd97 BP |
227 | } |
228 | ||
229 | ||
19a97bd6 RD |
230 | #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \ |
231 | void CBNAME(int a, int b, const wxString& c) { \ | |
a541c325 | 232 | wxPyBeginBlockThreads(); \ |
a66212dc RD |
233 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ |
234 | PyObject* s = wx2PyString(c); \ | |
235 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ | |
236 | Py_DECREF(s); \ | |
237 | } \ | |
a541c325 | 238 | wxPyEndBlockThreads(); \ |
f6bcfd97 BP |
239 | } |
240 | ||
a541c325 | 241 | |
19a97bd6 RD |
242 | #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \ |
243 | wxString CBNAME(int a, int b) { \ | |
244 | bool found; \ | |
a541c325 | 245 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
246 | wxString rval; \ |
247 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
248 | PyObject* ro; \ | |
249 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
250 | if (ro) { \ | |
a541c325 RD |
251 | rval = Py2wxString(ro); \ |
252 | Py_DECREF(ro); \ | |
19a97bd6 RD |
253 | } \ |
254 | } \ | |
a541c325 | 255 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
256 | if (! found) \ |
257 | rval = PCLASS::CBNAME(a, b); \ | |
258 | return rval; \ | |
259 | } \ | |
260 | wxString base_##CBNAME(int a, int b) { \ | |
261 | return PCLASS::CBNAME(a, b); \ | |
262 | } | |
263 | ||
f6bcfd97 | 264 | |
19a97bd6 RD |
265 | #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \ |
266 | bool CBNAME(int a, int b, const wxString& c) { \ | |
262e41eb | 267 | bool rval = 0; \ |
19a97bd6 | 268 | bool found; \ |
a541c325 | 269 | wxPyBeginBlockThreads(); \ |
5d5d57f3 | 270 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
a66212dc RD |
271 | PyObject* s = wx2PyString(c); \ |
272 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ | |
273 | Py_DECREF(s); \ | |
274 | } \ | |
a541c325 | 275 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
276 | if (! found) \ |
277 | rval = PCLASS::CBNAME(a,b,c); \ | |
278 | return rval; \ | |
279 | } \ | |
280 | bool base_##CBNAME(int a, int b, const wxString& c) { \ | |
281 | return PCLASS::CBNAME(a,b,c); \ | |
f6bcfd97 BP |
282 | } |
283 | ||
284 | ||
285 | ||
19a97bd6 RD |
286 | |
287 | #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \ | |
288 | long CBNAME(int a, int b) { \ | |
289 | long rval; \ | |
290 | bool found; \ | |
4268f798 | 291 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
292 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
293 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
4268f798 | 294 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
295 | if (! found) \ |
296 | rval = PCLASS::CBNAME(a,b); \ | |
297 | return rval; \ | |
298 | } \ | |
299 | long base_##CBNAME(int a, int b) { \ | |
300 | return PCLASS::CBNAME(a,b); \ | |
f6bcfd97 BP |
301 | } |
302 | ||
303 | ||
304 | ||
19a97bd6 RD |
305 | #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \ |
306 | bool CBNAME(int a, int b) { \ | |
262e41eb | 307 | bool rval = 0; \ |
19a97bd6 | 308 | bool found; \ |
4268f798 | 309 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
310 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
311 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
4268f798 | 312 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
313 | if (! found) \ |
314 | rval = PCLASS::CBNAME(a,b); \ | |
315 | return rval; \ | |
316 | } \ | |
317 | bool base_##CBNAME(int a, int b) { \ | |
318 | return PCLASS::CBNAME(a,b); \ | |
319 | } | |
320 | ||
f6bcfd97 | 321 | |
19a97bd6 RD |
322 | |
323 | #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \ | |
324 | double CBNAME(int a, int b) { \ | |
325 | bool found; \ | |
4268f798 | 326 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
327 | double rval; \ |
328 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
329 | PyObject* ro; \ | |
330 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
331 | if (ro) { \ | |
332 | PyObject* str = PyObject_Str(ro); \ | |
333 | rval = PyFloat_AsDouble(str); \ | |
334 | Py_DECREF(ro); Py_DECREF(str); \ | |
335 | } \ | |
336 | } \ | |
a66212dc | 337 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
338 | if (! found) \ |
339 | rval = PCLASS::CBNAME(a, b); \ | |
340 | return rval; \ | |
341 | } \ | |
342 | double base_##CBNAME(int a, int b) { \ | |
343 | return PCLASS::CBNAME(a, b); \ | |
344 | } | |
345 | ||
346 | ||
347 | ||
348 | #define PYCALLBACK__(PCLASS, CBNAME) \ | |
349 | void CBNAME() { \ | |
350 | bool found; \ | |
a66212dc | 351 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
352 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
353 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
a66212dc | 354 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
355 | if (! found) \ |
356 | PCLASS::CBNAME(); \ | |
357 | } \ | |
358 | void base_##CBNAME() { \ | |
359 | PCLASS::CBNAME(); \ | |
360 | } | |
361 | ||
362 | ||
363 | ||
364 | ||
365 | #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \ | |
366 | bool CBNAME(size_t a, size_t b) { \ | |
262e41eb | 367 | bool rval = 0; \ |
19a97bd6 | 368 | bool found; \ |
a66212dc | 369 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
370 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
371 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
a66212dc | 372 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
373 | if (! found) \ |
374 | rval = PCLASS::CBNAME(a,b); \ | |
375 | return rval; \ | |
376 | } \ | |
377 | bool base_##CBNAME(size_t a, size_t b) { \ | |
378 | return PCLASS::CBNAME(a,b); \ | |
379 | } | |
380 | ||
381 | ||
382 | ||
383 | #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \ | |
384 | bool CBNAME(size_t a) { \ | |
262e41eb | 385 | bool rval = 0; \ |
19a97bd6 | 386 | bool found; \ |
a66212dc | 387 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
388 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
389 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \ | |
a66212dc | 390 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
391 | if (! found) \ |
392 | rval = PCLASS::CBNAME(a); \ | |
393 | return rval; \ | |
394 | } \ | |
395 | bool base_##CBNAME(size_t a) { \ | |
396 | return PCLASS::CBNAME(a); \ | |
f6bcfd97 BP |
397 | } |
398 | ||
399 | ||
19a97bd6 RD |
400 | #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \ |
401 | wxString CBNAME(int a) { \ | |
402 | bool found; \ | |
a541c325 | 403 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
404 | wxString rval; \ |
405 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
406 | PyObject* ro; \ | |
407 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \ | |
408 | if (ro) { \ | |
a541c325 RD |
409 | rval = Py2wxString(ro); \ |
410 | Py_DECREF(ro); \ | |
19a97bd6 RD |
411 | } \ |
412 | } \ | |
a541c325 | 413 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
414 | if (! found) \ |
415 | rval = PCLASS::CBNAME(a); \ | |
416 | return rval; \ | |
417 | } \ | |
418 | wxString base_##CBNAME(int a) { \ | |
419 | return PCLASS::CBNAME(a); \ | |
420 | } | |
421 | ||
422 | ||
19a97bd6 RD |
423 | #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \ |
424 | void CBNAME(int a, const wxString& c) { \ | |
425 | bool found; \ | |
a541c325 | 426 | wxPyBeginBlockThreads(); \ |
85260f24 | 427 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
a66212dc RD |
428 | PyObject* s = wx2PyString(c); \ |
429 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \ | |
430 | Py_DECREF(s); \ | |
431 | } \ | |
a541c325 | 432 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
433 | if (! found) \ |
434 | PCLASS::CBNAME(a,c); \ | |
435 | } \ | |
436 | void base_##CBNAME(int a, const wxString& c) { \ | |
437 | PCLASS::CBNAME(a,c); \ | |
f6bcfd97 BP |
438 | } |
439 | ||
440 | ||
441 | ||
19a97bd6 RD |
442 | |
443 | #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \ | |
444 | bool CBNAME() { \ | |
262e41eb | 445 | bool rval = 0; \ |
19a97bd6 | 446 | bool found; \ |
a541c325 | 447 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
448 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
449 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
a541c325 | 450 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
451 | if (! found) \ |
452 | rval = PCLASS::CBNAME(); \ | |
453 | return rval; \ | |
454 | } \ | |
455 | bool base_##CBNAME() { \ | |
456 | return PCLASS::CBNAME(); \ | |
457 | } | |
458 | ||
459 | ||
460 | ||
461 | #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \ | |
462 | void CBNAME(size_t a, int b) { \ | |
463 | bool found; \ | |
a541c325 | 464 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
465 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
466 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
a541c325 | 467 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
468 | if (! found) \ |
469 | PCLASS::CBNAME(a,b); \ | |
470 | } \ | |
471 | void base_##CBNAME(size_t a, int b) { \ | |
472 | PCLASS::CBNAME(a,b); \ | |
473 | } | |
474 | ||
475 | ||
476 | ||
477 | ||
478 | #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \ | |
479 | void CBNAME(int a, int b, long c) { \ | |
480 | bool found; \ | |
a541c325 | 481 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
482 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
483 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ | |
a541c325 | 484 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
485 | if (! found) \ |
486 | PCLASS::CBNAME(a,b,c); \ | |
487 | } \ | |
488 | void base_##CBNAME(int a, int b, long c) { \ | |
489 | PCLASS::CBNAME(a,b,c); \ | |
490 | } | |
491 | ||
492 | ||
493 | ||
494 | ||
495 | #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \ | |
496 | void CBNAME(int a, int b, double c) { \ | |
497 | bool found; \ | |
a541c325 | 498 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
499 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
500 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \ | |
a541c325 | 501 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
502 | if (! found) \ |
503 | PCLASS::CBNAME(a,b,c); \ | |
504 | } \ | |
505 | void base_##CBNAME(int a, int b, double c) { \ | |
506 | PCLASS::CBNAME(a,b,c); \ | |
507 | } | |
508 | ||
509 | ||
510 | ||
511 | #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \ | |
512 | void CBNAME(int a, int b, bool c) { \ | |
513 | bool found; \ | |
a541c325 | 514 | wxPyBeginBlockThreads(); \ |
19a97bd6 RD |
515 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
516 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ | |
a541c325 | 517 | wxPyEndBlockThreads(); \ |
19a97bd6 RD |
518 | if (! found) \ |
519 | PCLASS::CBNAME(a,b,c); \ | |
520 | } \ | |
521 | void base_##CBNAME(int a, int b, bool c) { \ | |
522 | PCLASS::CBNAME(a,b,c); \ | |
f6bcfd97 BP |
523 | } |
524 | ||
525 | ||
526 | ||
527 | ||
528 | ||
529 | class wxPyGridCellRenderer : public wxGridCellRenderer | |
530 | { | |
531 | public: | |
532 | wxPyGridCellRenderer() : wxGridCellRenderer() {}; | |
533 | ||
534 | // Implement Python callback aware virtual methods | |
535 | void Draw(wxGrid& grid, wxGridCellAttr& attr, | |
536 | wxDC& dc, const wxRect& rect, | |
537 | int row, int col, bool isSelected) { | |
4268f798 | 538 | wxPyBeginBlockThreads(); |
1e7ecb7b | 539 | if (wxPyCBH_findCallback(m_myInst, "Draw")) { |
a66212dc RD |
540 | PyObject* go = wxPyMake_wxObject(&grid); |
541 | PyObject* dco = wxPyMake_wxObject(&dc); | |
542 | PyObject* ao = wxPyMake_wxGridCellAttr(&attr); | |
7e50db3f | 543 | PyObject* ro = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
a66212dc RD |
544 | |
545 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro, | |
546 | row, col, isSelected)); | |
547 | Py_DECREF(go); | |
548 | Py_DECREF(ao); | |
549 | Py_DECREF(dco); | |
550 | Py_DECREF(ro); | |
f6bcfd97 | 551 | } |
4268f798 | 552 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
553 | } |
554 | ||
555 | wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc, | |
556 | int row, int col) { | |
557 | wxSize rval; | |
4268f798 | 558 | wxPyBeginBlockThreads(); |
1e7ecb7b | 559 | if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) { |
f6bcfd97 BP |
560 | PyObject* ro; |
561 | wxSize* ptr; | |
a66212dc RD |
562 | PyObject* go = wxPyMake_wxObject(&grid); |
563 | PyObject* dco = wxPyMake_wxObject(&dc); | |
564 | PyObject* ao = wxPyMake_wxGridCellAttr(&attr); | |
565 | ||
566 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)", | |
567 | go, ao, dco, | |
568 | row, col)); | |
569 | Py_DECREF(go); | |
570 | Py_DECREF(ao); | |
571 | Py_DECREF(dco); | |
572 | ||
f6bcfd97 | 573 | if (ro) { |
db0ff83e RD |
574 | const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object."; |
575 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) { | |
f6bcfd97 | 576 | rval = *ptr; |
db0ff83e RD |
577 | } |
578 | else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
579 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
580 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
581 | if (PyNumber_Check(o1) && PyNumber_Check(o2)) | |
582 | rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2)); | |
583 | else | |
584 | PyErr_SetString(PyExc_TypeError, errmsg); | |
585 | Py_DECREF(o1); | |
586 | Py_DECREF(o2); | |
587 | } | |
588 | else { | |
589 | PyErr_SetString(PyExc_TypeError, errmsg); | |
590 | } | |
f6bcfd97 BP |
591 | Py_DECREF(ro); |
592 | } | |
593 | } | |
4268f798 | 594 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
595 | return rval; |
596 | } | |
597 | ||
598 | ||
599 | wxGridCellRenderer *Clone() const { | |
600 | wxGridCellRenderer* rval = NULL; | |
4268f798 | 601 | wxPyBeginBlockThreads(); |
1e7ecb7b | 602 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
f6bcfd97 BP |
603 | PyObject* ro; |
604 | wxGridCellRenderer* ptr; | |
1e7ecb7b | 605 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
f6bcfd97 BP |
606 | if (ro) { |
607 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p")) | |
608 | rval = ptr; | |
609 | Py_DECREF(ro); | |
610 | } | |
611 | } | |
4268f798 | 612 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
613 | return rval; |
614 | } | |
615 | ||
616 | DEC_PYCALLBACK__STRING(SetParameters); | |
617 | ||
618 | PYPRIVATE; | |
619 | }; | |
620 | ||
621 | IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters); | |
622 | ||
623 | ||
624 | class wxPyGridCellEditor : public wxGridCellEditor | |
625 | { | |
626 | public: | |
627 | wxPyGridCellEditor() : wxGridCellEditor() {} | |
628 | ||
629 | void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) { | |
4268f798 | 630 | wxPyBeginBlockThreads(); |
1e7ecb7b | 631 | if (wxPyCBH_findCallback(m_myInst, "Create")) { |
a66212dc RD |
632 | PyObject* po = wxPyMake_wxObject(parent); |
633 | PyObject* eo = wxPyMake_wxObject(evtHandler); | |
634 | ||
635 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo)); | |
636 | Py_DECREF(po); | |
637 | Py_DECREF(eo); | |
f6bcfd97 | 638 | } |
4268f798 | 639 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
640 | } |
641 | ||
642 | ||
643 | void BeginEdit(int row, int col, wxGrid* grid) { | |
4268f798 | 644 | wxPyBeginBlockThreads(); |
1e7ecb7b | 645 | if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) { |
a66212dc RD |
646 | PyObject* go = wxPyMake_wxObject(grid); |
647 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go)); | |
648 | Py_DECREF(go); | |
f6bcfd97 | 649 | } |
4268f798 | 650 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
651 | } |
652 | ||
653 | ||
654 | bool EndEdit(int row, int col, wxGrid* grid) { | |
655 | bool rv = FALSE; | |
4268f798 | 656 | wxPyBeginBlockThreads(); |
1e7ecb7b | 657 | if (wxPyCBH_findCallback(m_myInst, "EndEdit")) { |
a66212dc RD |
658 | PyObject* go = wxPyMake_wxObject(grid); |
659 | rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go)); | |
660 | Py_DECREF(go); | |
f6bcfd97 | 661 | } |
4268f798 | 662 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
663 | return rv; |
664 | } | |
665 | ||
666 | ||
7e50db3f | 667 | wxGridCellEditor* Clone() const { |
f6bcfd97 | 668 | wxGridCellEditor* rval = NULL; |
4268f798 | 669 | wxPyBeginBlockThreads(); |
1e7ecb7b | 670 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
f6bcfd97 BP |
671 | PyObject* ro; |
672 | wxGridCellEditor* ptr; | |
1e7ecb7b | 673 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
f6bcfd97 BP |
674 | if (ro) { |
675 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p")) | |
676 | rval = ptr; | |
677 | Py_DECREF(ro); | |
678 | } | |
679 | } | |
4268f798 | 680 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
681 | return rval; |
682 | } | |
683 | ||
684 | ||
685 | void Show(bool show, wxGridCellAttr *attr) { | |
19a97bd6 | 686 | bool found; |
4268f798 | 687 | wxPyBeginBlockThreads(); |
a66212dc RD |
688 | if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) { |
689 | PyObject* ao = wxPyMake_wxGridCellAttr(attr); | |
690 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao)); | |
691 | Py_DECREF(ao); | |
692 | } | |
4268f798 | 693 | wxPyEndBlockThreads(); |
19a97bd6 | 694 | if (! found) |
f6bcfd97 | 695 | wxGridCellEditor::Show(show, attr); |
f6bcfd97 BP |
696 | } |
697 | void base_Show(bool show, wxGridCellAttr *attr) { | |
698 | wxGridCellEditor::Show(show, attr); | |
699 | } | |
700 | ||
701 | ||
702 | void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { | |
a66212dc | 703 | bool found; |
4268f798 | 704 | wxPyBeginBlockThreads(); |
a66212dc RD |
705 | if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) { |
706 | PyObject* ao = wxPyMake_wxGridCellAttr(attr); | |
7e50db3f | 707 | PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0); |
a66212dc RD |
708 | |
709 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao)); | |
710 | ||
711 | Py_DECREF(ro); | |
712 | Py_DECREF(ao); | |
713 | } | |
4268f798 | 714 | wxPyEndBlockThreads(); |
19a97bd6 | 715 | if (! found) |
f6bcfd97 | 716 | wxGridCellEditor::PaintBackground(rectCell, attr); |
f6bcfd97 BP |
717 | } |
718 | void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { | |
719 | wxGridCellEditor::PaintBackground(rectCell, attr); | |
720 | } | |
721 | ||
722 | ||
723 | DEC_PYCALLBACK___pure(Reset); | |
724 | DEC_PYCALLBACK__constany(SetSize, wxRect); | |
725 | DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent); | |
726 | DEC_PYCALLBACK__any(StartingKey, wxKeyEvent); | |
727 | DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent); | |
728 | DEC_PYCALLBACK__(StartingClick); | |
729 | DEC_PYCALLBACK__(Destroy); | |
730 | DEC_PYCALLBACK__STRING(SetParameters); | |
3856ee0b | 731 | DEC_PYCALLBACK_STRING__constpure(GetValue); |
f6bcfd97 BP |
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); | |
3856ee0b | 745 | IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor, wxGridCellEditor, GetValue); |
f6bcfd97 BP |
746 | |
747 | ||
748 | class wxPyGridCellAttrProvider : public wxGridCellAttrProvider | |
749 | { | |
750 | public: | |
751 | wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; | |
752 | ||
9416aa89 | 753 | PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr); |
f6bcfd97 BP |
754 | PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr); |
755 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr); | |
756 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr); | |
757 | ||
758 | PYPRIVATE; | |
759 | }; | |
760 | ||
761 | class wxPyGridTableBase : public wxGridTableBase | |
762 | { | |
763 | public: | |
764 | wxPyGridTableBase() : wxGridTableBase() {} | |
765 | ||
766 | PYCALLBACK_INT__pure(GetNumberRows); | |
767 | PYCALLBACK_INT__pure(GetNumberCols); | |
768 | PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell); | |
769 | PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName); | |
770 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs); | |
771 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs); | |
772 | PYCALLBACK__(wxGridTableBase, Clear); | |
773 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows); | |
774 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows); | |
775 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols); | |
776 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols); | |
777 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows); | |
778 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols); | |
779 | PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue); | |
780 | PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue); | |
781 | PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue); | |
782 | PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue); | |
783 | PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes); | |
9416aa89 | 784 | PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr); |
f6bcfd97 BP |
785 | PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr); |
786 | PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr); | |
787 | PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr); | |
788 | ||
789 | ||
f6bcfd97 | 790 | wxString GetValue(int row, int col) { |
4268f798 | 791 | wxPyBeginBlockThreads(); |
f6bcfd97 | 792 | wxString rval; |
1e7ecb7b | 793 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 | 794 | PyObject* ro; |
1e7ecb7b | 795 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col)); |
f6bcfd97 | 796 | if (ro) { |
a541c325 | 797 | rval = Py2wxString(ro); |
f6bcfd97 BP |
798 | Py_DECREF(ro); |
799 | } | |
800 | } | |
4268f798 | 801 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
802 | return rval; |
803 | } | |
804 | ||
805 | void SetValue(int row, int col, const wxString& val) { | |
4268f798 | 806 | wxPyBeginBlockThreads(); |
c8bc7bb8 | 807 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
a66212dc RD |
808 | PyObject* s = wx2PyString(val); |
809 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s)); | |
810 | Py_DECREF(s); | |
c8bc7bb8 | 811 | } |
4268f798 | 812 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
813 | } |
814 | ||
815 | ||
816 | // Map the Get/Set methods for the standard non-string types to | |
817 | // the GetValue and SetValue python methods. | |
818 | long GetValueAsLong( int row, int col ) { | |
819 | long rval = 0; | |
4268f798 | 820 | wxPyBeginBlockThreads(); |
1e7ecb7b | 821 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 BP |
822 | PyObject* ro; |
823 | PyObject* num; | |
1e7ecb7b | 824 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
f6bcfd97 BP |
825 | if (ro && PyNumber_Check(ro)) { |
826 | num = PyNumber_Int(ro); | |
827 | if (num) { | |
828 | rval = PyInt_AsLong(num); | |
829 | Py_DECREF(num); | |
830 | } | |
831 | Py_DECREF(ro); | |
832 | } | |
833 | } | |
4268f798 | 834 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
835 | return rval; |
836 | } | |
837 | ||
838 | double GetValueAsDouble( int row, int col ) { | |
839 | double rval = 0.0; | |
4268f798 | 840 | wxPyBeginBlockThreads(); |
1e7ecb7b | 841 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 BP |
842 | PyObject* ro; |
843 | PyObject* num; | |
1e7ecb7b | 844 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
f6bcfd97 BP |
845 | if (ro && PyNumber_Check(ro)) { |
846 | num = PyNumber_Float(ro); | |
847 | if (num) { | |
848 | rval = PyFloat_AsDouble(num); | |
849 | Py_DECREF(num); | |
850 | } | |
851 | Py_DECREF(ro); | |
852 | } | |
853 | } | |
4268f798 | 854 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
855 | return rval; |
856 | } | |
857 | ||
858 | bool GetValueAsBool( int row, int col ) { | |
859 | return (bool)GetValueAsLong(row, col); | |
860 | } | |
861 | ||
862 | void SetValueAsLong( int row, int col, long value ) { | |
4268f798 | 863 | wxPyBeginBlockThreads(); |
1e7ecb7b RD |
864 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
865 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value)); | |
f6bcfd97 | 866 | } |
4268f798 | 867 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
868 | } |
869 | ||
870 | void SetValueAsDouble( int row, int col, double value ) { | |
4268f798 | 871 | wxPyBeginBlockThreads(); |
1e7ecb7b RD |
872 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
873 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value)); | |
f6bcfd97 | 874 | } |
4268f798 | 875 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
876 | } |
877 | ||
878 | void SetValueAsBool( int row, int col, bool value ) { | |
879 | SetValueAsLong( row, col, (long)value ); | |
880 | } | |
881 | ||
882 | ||
883 | PYPRIVATE; | |
884 | }; | |
885 | ||
886 | bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { | |
887 | ||
888 | // If source is an object instance then it may already be the right type | |
889 | if (PyInstance_Check(source)) { | |
890 | wxGridCellCoords* ptr; | |
891 | if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p")) | |
892 | goto error; | |
893 | *obj = ptr; | |
894 | return TRUE; | |
895 | } | |
896 | // otherwise a 2-tuple of integers is expected | |
897 | else if (PySequence_Check(source) && PyObject_Length(source) == 2) { | |
898 | PyObject* o1 = PySequence_GetItem(source, 0); | |
899 | PyObject* o2 = PySequence_GetItem(source, 1); | |
900 | **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2)); | |
901 | return TRUE; | |
902 | } | |
903 | ||
904 | error: | |
905 | PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object."); | |
906 | return FALSE; | |
907 | } | |
908 | ||
7e50db3f RD |
909 | PyObject* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray* source) |
910 | { | |
911 | PyObject* list = PyList_New(0); | |
912 | size_t idx; | |
913 | for (idx = 0; idx < source->GetCount(); idx += 1) { | |
914 | wxGridCellCoords& coord = source->Item(idx); | |
915 | PyObject* tup = PyTuple_New(2); | |
916 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(coord.GetRow())); | |
917 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(coord.GetCol())); | |
918 | PyList_Append(list, tup); | |
919 | Py_DECREF(tup); | |
920 | } | |
921 | return list; | |
922 | } | |
923 | ||
f6bcfd97 BP |
924 | typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES; |
925 | #ifdef __cplusplus | |
926 | extern "C" { | |
927 | #endif | |
928 | static int _wrap_wxGridNoCellCoords_set(PyObject *val) { | |
929 | ||
930 | PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only."); | |
931 | return 1; | |
932 | } | |
933 | ||
934 | static PyObject *_wrap_wxGridNoCellCoords_get() { | |
935 | PyObject * pyobj; | |
936 | char ptemp[128]; | |
937 | ||
938 | SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p"); | |
939 | pyobj = PyString_FromString(ptemp); | |
940 | return pyobj; | |
941 | } | |
942 | ||
943 | static int _wrap_wxGridNoCellRect_set(PyObject *val) { | |
944 | ||
945 | PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only."); | |
946 | return 1; | |
947 | } | |
948 | ||
949 | static PyObject *_wrap_wxGridNoCellRect_get() { | |
950 | PyObject * pyobj; | |
951 | char ptemp[128]; | |
952 | ||
953 | SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p"); | |
954 | pyobj = PyString_FromString(ptemp); | |
955 | return pyobj; | |
956 | } | |
957 | ||
33ff77f6 RD |
958 | static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject * _self) { |
959 | self->SetClientObject(new wxPyOORClientData(_self)); | |
960 | } | |
961 | static PyObject *_wrap_wxGridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
962 | PyObject * _resultobj; | |
963 | wxGridCellRenderer * _arg0; | |
964 | PyObject * _arg1; | |
965 | PyObject * _argo0 = 0; | |
966 | PyObject * _obj1 = 0; | |
967 | char *_kwnames[] = { "self","_self", NULL }; | |
968 | ||
969 | self = self; | |
970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
971 | return NULL; | |
972 | if (_argo0) { | |
973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p."); | |
976 | return NULL; | |
977 | } | |
978 | } | |
979 | { | |
980 | _arg1 = _obj1; | |
981 | } | |
982 | { | |
983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
984 | wxGridCellRenderer__setOORInfo(_arg0,_arg1); | |
985 | ||
986 | wxPyEndAllowThreads(__tstate); | |
987 | if (PyErr_Occurred()) return NULL; | |
988 | } Py_INCREF(Py_None); | |
989 | _resultobj = Py_None; | |
990 | return _resultobj; | |
991 | } | |
992 | ||
f6bcfd97 BP |
993 | #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0)) |
994 | static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
995 | PyObject * _resultobj; | |
996 | wxGridCellRenderer * _arg0; | |
997 | wxString * _arg1; | |
998 | PyObject * _argo0 = 0; | |
999 | PyObject * _obj1 = 0; | |
1000 | char *_kwnames[] = { "self","params", NULL }; | |
1001 | ||
1002 | self = self; | |
1003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1004 | return NULL; | |
1005 | if (_argo0) { | |
1006 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1007 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1008 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p."); | |
1009 | return NULL; | |
1010 | } | |
1011 | } | |
1012 | { | |
c8bc7bb8 RD |
1013 | _arg1 = wxString_in_helper(_obj1); |
1014 | if (_arg1 == NULL) | |
185d7c3e | 1015 | return NULL; |
f6bcfd97 BP |
1016 | } |
1017 | { | |
4268f798 | 1018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1019 | wxGridCellRenderer_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1020 | |
4268f798 | 1021 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1022 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1023 | } Py_INCREF(Py_None); |
1024 | _resultobj = Py_None; | |
1025 | { | |
1026 | if (_obj1) | |
1027 | delete _arg1; | |
1028 | } | |
1029 | return _resultobj; | |
1030 | } | |
1031 | ||
1032 | #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef()) | |
1033 | static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1034 | PyObject * _resultobj; | |
1035 | wxGridCellRenderer * _arg0; | |
1036 | PyObject * _argo0 = 0; | |
1037 | char *_kwnames[] = { "self", NULL }; | |
1038 | ||
1039 | self = self; | |
1040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0)) | |
1041 | return NULL; | |
1042 | if (_argo0) { | |
1043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p."); | |
1046 | return NULL; | |
1047 | } | |
1048 | } | |
1049 | { | |
4268f798 | 1050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1051 | wxGridCellRenderer_IncRef(_arg0); |
f6bcfd97 | 1052 | |
4268f798 | 1053 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1054 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1055 | } Py_INCREF(Py_None); |
1056 | _resultobj = Py_None; | |
1057 | return _resultobj; | |
1058 | } | |
1059 | ||
1060 | #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef()) | |
1061 | static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1062 | PyObject * _resultobj; | |
1063 | wxGridCellRenderer * _arg0; | |
1064 | PyObject * _argo0 = 0; | |
1065 | char *_kwnames[] = { "self", NULL }; | |
1066 | ||
1067 | self = self; | |
1068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0)) | |
1069 | return NULL; | |
1070 | if (_argo0) { | |
1071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p."); | |
1074 | return NULL; | |
1075 | } | |
1076 | } | |
1077 | { | |
4268f798 | 1078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1079 | wxGridCellRenderer_DecRef(_arg0); |
f6bcfd97 | 1080 | |
4268f798 | 1081 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1082 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1083 | } Py_INCREF(Py_None); |
1084 | _resultobj = Py_None; | |
1085 | return _resultobj; | |
1086 | } | |
1087 | ||
1088 | #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
1089 | static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1090 | PyObject * _resultobj; | |
1091 | wxGridCellRenderer * _arg0; | |
1092 | wxGrid * _arg1; | |
1093 | wxGridCellAttr * _arg2; | |
1094 | wxDC * _arg3; | |
1095 | wxRect * _arg4; | |
1096 | int _arg5; | |
1097 | int _arg6; | |
1098 | bool _arg7; | |
1099 | PyObject * _argo0 = 0; | |
1100 | PyObject * _argo1 = 0; | |
1101 | PyObject * _argo2 = 0; | |
1102 | PyObject * _argo3 = 0; | |
1103 | wxRect temp; | |
1104 | PyObject * _obj4 = 0; | |
1105 | int tempbool7; | |
1106 | char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL }; | |
1107 | ||
1108 | self = self; | |
1109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7)) | |
1110 | return NULL; | |
1111 | if (_argo0) { | |
1112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p."); | |
1115 | return NULL; | |
1116 | } | |
1117 | } | |
1118 | if (_argo1) { | |
7e50db3f | 1119 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { |
f6bcfd97 BP |
1120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p."); |
1121 | return NULL; | |
1122 | } | |
1123 | } | |
1124 | if (_argo2) { | |
7e50db3f | 1125 | if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { |
f6bcfd97 BP |
1126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p."); |
1127 | return NULL; | |
1128 | } | |
1129 | } | |
1130 | if (_argo3) { | |
7e50db3f | 1131 | if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) { |
f6bcfd97 BP |
1132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p."); |
1133 | return NULL; | |
1134 | } | |
1135 | } | |
1136 | { | |
1137 | _arg4 = &temp; | |
1138 | if (! wxRect_helper(_obj4, &_arg4)) | |
1139 | return NULL; | |
1140 | } | |
1141 | _arg7 = (bool ) tempbool7; | |
1142 | { | |
4268f798 | 1143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1144 | wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7); |
f6bcfd97 | 1145 | |
4268f798 | 1146 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1147 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1148 | } Py_INCREF(Py_None); |
1149 | _resultobj = Py_None; | |
1150 | return _resultobj; | |
1151 | } | |
1152 | ||
1153 | #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1154 | static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1155 | PyObject * _resultobj; | |
1156 | wxSize * _result; | |
1157 | wxGridCellRenderer * _arg0; | |
1158 | wxGrid * _arg1; | |
1159 | wxGridCellAttr * _arg2; | |
1160 | wxDC * _arg3; | |
1161 | int _arg4; | |
1162 | int _arg5; | |
1163 | PyObject * _argo0 = 0; | |
1164 | PyObject * _argo1 = 0; | |
1165 | PyObject * _argo2 = 0; | |
1166 | PyObject * _argo3 = 0; | |
1167 | char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL }; | |
1168 | char _ptemp[128]; | |
1169 | ||
1170 | self = self; | |
1171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5)) | |
1172 | return NULL; | |
1173 | if (_argo0) { | |
1174 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1175 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p."); | |
1177 | return NULL; | |
1178 | } | |
1179 | } | |
1180 | if (_argo1) { | |
7e50db3f | 1181 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { |
f6bcfd97 BP |
1182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p."); |
1183 | return NULL; | |
1184 | } | |
1185 | } | |
1186 | if (_argo2) { | |
7e50db3f | 1187 | if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { |
f6bcfd97 BP |
1188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p."); |
1189 | return NULL; | |
1190 | } | |
1191 | } | |
1192 | if (_argo3) { | |
7e50db3f | 1193 | if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) { |
f6bcfd97 BP |
1194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p."); |
1195 | return NULL; | |
1196 | } | |
1197 | } | |
1198 | { | |
4268f798 | 1199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1200 | _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5)); |
f6bcfd97 | 1201 | |
4268f798 | 1202 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1203 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1204 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
1205 | _resultobj = Py_BuildValue("s",_ptemp); | |
1206 | return _resultobj; | |
1207 | } | |
1208 | ||
1209 | #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone()) | |
1210 | static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1211 | PyObject * _resultobj; | |
1212 | wxGridCellRenderer * _result; | |
1213 | wxGridCellRenderer * _arg0; | |
1214 | PyObject * _argo0 = 0; | |
1215 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
1216 | |
1217 | self = self; | |
1218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0)) | |
1219 | return NULL; | |
1220 | if (_argo0) { | |
1221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p."); | |
1224 | return NULL; | |
1225 | } | |
1226 | } | |
1227 | { | |
4268f798 | 1228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1229 | _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0); |
f6bcfd97 | 1230 | |
4268f798 | 1231 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1232 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 1233 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
1234 | return _resultobj; |
1235 | } | |
1236 | ||
1237 | static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) { | |
1238 | wxPyGridCellRenderer *src; | |
1239 | wxGridCellRenderer *dest; | |
1240 | src = (wxPyGridCellRenderer *) ptr; | |
1241 | dest = (wxGridCellRenderer *) src; | |
1242 | return (void *) dest; | |
1243 | } | |
1244 | ||
1245 | #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer()) | |
1246 | static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1247 | PyObject * _resultobj; | |
1248 | wxPyGridCellRenderer * _result; | |
1249 | char *_kwnames[] = { NULL }; | |
1250 | char _ptemp[128]; | |
1251 | ||
1252 | self = self; | |
1253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames)) | |
1254 | return NULL; | |
1255 | { | |
4268f798 | 1256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1257 | _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer(); |
f6bcfd97 | 1258 | |
4268f798 | 1259 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1260 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1261 | } if (_result) { |
1262 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p"); | |
1263 | _resultobj = Py_BuildValue("s",_ptemp); | |
1264 | } else { | |
1265 | Py_INCREF(Py_None); | |
1266 | _resultobj = Py_None; | |
1267 | } | |
1268 | return _resultobj; | |
1269 | } | |
1270 | ||
0122b7e3 RD |
1271 | #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
1272 | static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1273 | PyObject * _resultobj; |
1274 | wxPyGridCellRenderer * _arg0; | |
1275 | PyObject * _arg1; | |
1276 | PyObject * _arg2; | |
1277 | PyObject * _argo0 = 0; | |
1278 | PyObject * _obj1 = 0; | |
1279 | PyObject * _obj2 = 0; | |
1280 | char *_kwnames[] = { "self","self","_class", NULL }; | |
1281 | ||
1282 | self = self; | |
0122b7e3 | 1283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
1284 | return NULL; |
1285 | if (_argo0) { | |
1286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) { | |
0122b7e3 | 1288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p."); |
f6bcfd97 BP |
1289 | return NULL; |
1290 | } | |
1291 | } | |
1292 | { | |
1293 | _arg1 = _obj1; | |
1294 | } | |
1295 | { | |
1296 | _arg2 = _obj2; | |
1297 | } | |
1298 | { | |
4268f798 | 1299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1300 | wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 1301 | |
4268f798 | 1302 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1303 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1304 | } Py_INCREF(Py_None); |
1305 | _resultobj = Py_None; | |
1306 | return _resultobj; | |
1307 | } | |
1308 | ||
1309 | #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0)) | |
1310 | static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1311 | PyObject * _resultobj; | |
1312 | wxPyGridCellRenderer * _arg0; | |
1313 | wxString * _arg1; | |
1314 | PyObject * _argo0 = 0; | |
1315 | PyObject * _obj1 = 0; | |
1316 | char *_kwnames[] = { "self","params", NULL }; | |
1317 | ||
1318 | self = self; | |
1319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1320 | return NULL; | |
1321 | if (_argo0) { | |
1322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) { | |
1324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p."); | |
1325 | return NULL; | |
1326 | } | |
1327 | } | |
1328 | { | |
c8bc7bb8 RD |
1329 | _arg1 = wxString_in_helper(_obj1); |
1330 | if (_arg1 == NULL) | |
185d7c3e | 1331 | return NULL; |
f6bcfd97 BP |
1332 | } |
1333 | { | |
4268f798 | 1334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1335 | wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1336 | |
4268f798 | 1337 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1338 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1339 | } Py_INCREF(Py_None); |
1340 | _resultobj = Py_None; | |
1341 | { | |
1342 | if (_obj1) | |
1343 | delete _arg1; | |
1344 | } | |
1345 | return _resultobj; | |
1346 | } | |
1347 | ||
1348 | static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) { | |
1349 | wxGridCellStringRenderer *src; | |
1350 | wxGridCellRenderer *dest; | |
1351 | src = (wxGridCellStringRenderer *) ptr; | |
1352 | dest = (wxGridCellRenderer *) src; | |
1353 | return (void *) dest; | |
1354 | } | |
1355 | ||
1356 | #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer()) | |
1357 | static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1358 | PyObject * _resultobj; | |
1359 | wxGridCellStringRenderer * _result; | |
1360 | char *_kwnames[] = { NULL }; | |
1361 | char _ptemp[128]; | |
1362 | ||
1363 | self = self; | |
1364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames)) | |
1365 | return NULL; | |
1366 | { | |
4268f798 | 1367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1368 | _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer(); |
f6bcfd97 | 1369 | |
4268f798 | 1370 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1371 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1372 | } if (_result) { |
1373 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p"); | |
1374 | _resultobj = Py_BuildValue("s",_ptemp); | |
1375 | } else { | |
1376 | Py_INCREF(Py_None); | |
1377 | _resultobj = Py_None; | |
1378 | } | |
1379 | return _resultobj; | |
1380 | } | |
1381 | ||
1382 | static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) { | |
1383 | wxGridCellNumberRenderer *src; | |
1384 | wxGridCellStringRenderer *dest; | |
1385 | src = (wxGridCellNumberRenderer *) ptr; | |
1386 | dest = (wxGridCellStringRenderer *) src; | |
1387 | return (void *) dest; | |
1388 | } | |
1389 | ||
1390 | static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) { | |
1391 | wxGridCellNumberRenderer *src; | |
1392 | wxGridCellRenderer *dest; | |
1393 | src = (wxGridCellNumberRenderer *) ptr; | |
1394 | dest = (wxGridCellRenderer *) src; | |
1395 | return (void *) dest; | |
1396 | } | |
1397 | ||
1398 | #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer()) | |
1399 | static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1400 | PyObject * _resultobj; | |
1401 | wxGridCellNumberRenderer * _result; | |
1402 | char *_kwnames[] = { NULL }; | |
1403 | char _ptemp[128]; | |
1404 | ||
1405 | self = self; | |
1406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames)) | |
1407 | return NULL; | |
1408 | { | |
4268f798 | 1409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1410 | _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer(); |
f6bcfd97 | 1411 | |
4268f798 | 1412 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1413 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1414 | } if (_result) { |
1415 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p"); | |
1416 | _resultobj = Py_BuildValue("s",_ptemp); | |
1417 | } else { | |
1418 | Py_INCREF(Py_None); | |
1419 | _resultobj = Py_None; | |
1420 | } | |
1421 | return _resultobj; | |
1422 | } | |
1423 | ||
1424 | static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) { | |
1425 | wxGridCellFloatRenderer *src; | |
1426 | wxGridCellStringRenderer *dest; | |
1427 | src = (wxGridCellFloatRenderer *) ptr; | |
1428 | dest = (wxGridCellStringRenderer *) src; | |
1429 | return (void *) dest; | |
1430 | } | |
1431 | ||
1432 | static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) { | |
1433 | wxGridCellFloatRenderer *src; | |
1434 | wxGridCellRenderer *dest; | |
1435 | src = (wxGridCellFloatRenderer *) ptr; | |
1436 | dest = (wxGridCellRenderer *) src; | |
1437 | return (void *) dest; | |
1438 | } | |
1439 | ||
1440 | #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1)) | |
1441 | static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1442 | PyObject * _resultobj; | |
1443 | wxGridCellFloatRenderer * _result; | |
1444 | int _arg0 = (int ) -1; | |
1445 | int _arg1 = (int ) -1; | |
1446 | char *_kwnames[] = { "width","precision", NULL }; | |
1447 | char _ptemp[128]; | |
1448 | ||
1449 | self = self; | |
1450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1)) | |
1451 | return NULL; | |
1452 | { | |
4268f798 | 1453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1454 | _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1); |
f6bcfd97 | 1455 | |
4268f798 | 1456 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1457 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1458 | } if (_result) { |
1459 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p"); | |
1460 | _resultobj = Py_BuildValue("s",_ptemp); | |
1461 | } else { | |
1462 | Py_INCREF(Py_None); | |
1463 | _resultobj = Py_None; | |
1464 | } | |
1465 | return _resultobj; | |
1466 | } | |
1467 | ||
1468 | #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1469 | static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1470 | PyObject * _resultobj; | |
1471 | int _result; | |
1472 | wxGridCellFloatRenderer * _arg0; | |
1473 | PyObject * _argo0 = 0; | |
1474 | char *_kwnames[] = { "self", NULL }; | |
1475 | ||
1476 | self = self; | |
1477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0)) | |
1478 | return NULL; | |
1479 | if (_argo0) { | |
1480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p."); | |
1483 | return NULL; | |
1484 | } | |
1485 | } | |
1486 | { | |
4268f798 | 1487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1488 | _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0); |
f6bcfd97 | 1489 | |
4268f798 | 1490 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1491 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1492 | } _resultobj = Py_BuildValue("i",_result); |
1493 | return _resultobj; | |
1494 | } | |
1495 | ||
1496 | #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
1497 | static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1498 | PyObject * _resultobj; | |
1499 | wxGridCellFloatRenderer * _arg0; | |
1500 | int _arg1; | |
1501 | PyObject * _argo0 = 0; | |
1502 | char *_kwnames[] = { "self","width", NULL }; | |
1503 | ||
1504 | self = self; | |
1505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1)) | |
1506 | return NULL; | |
1507 | if (_argo0) { | |
1508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p."); | |
1511 | return NULL; | |
1512 | } | |
1513 | } | |
1514 | { | |
4268f798 | 1515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1516 | wxGridCellFloatRenderer_SetWidth(_arg0,_arg1); |
f6bcfd97 | 1517 | |
4268f798 | 1518 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1519 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1520 | } Py_INCREF(Py_None); |
1521 | _resultobj = Py_None; | |
1522 | return _resultobj; | |
1523 | } | |
1524 | ||
1525 | #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision()) | |
1526 | static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1527 | PyObject * _resultobj; | |
1528 | int _result; | |
1529 | wxGridCellFloatRenderer * _arg0; | |
1530 | PyObject * _argo0 = 0; | |
1531 | char *_kwnames[] = { "self", NULL }; | |
1532 | ||
1533 | self = self; | |
1534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0)) | |
1535 | return NULL; | |
1536 | if (_argo0) { | |
1537 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1538 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p."); | |
1540 | return NULL; | |
1541 | } | |
1542 | } | |
1543 | { | |
4268f798 | 1544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1545 | _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0); |
f6bcfd97 | 1546 | |
4268f798 | 1547 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1548 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1549 | } _resultobj = Py_BuildValue("i",_result); |
1550 | return _resultobj; | |
1551 | } | |
1552 | ||
1553 | #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0)) | |
1554 | static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1555 | PyObject * _resultobj; | |
1556 | wxGridCellFloatRenderer * _arg0; | |
1557 | int _arg1; | |
1558 | PyObject * _argo0 = 0; | |
1559 | char *_kwnames[] = { "self","precision", NULL }; | |
1560 | ||
1561 | self = self; | |
1562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1)) | |
1563 | return NULL; | |
1564 | if (_argo0) { | |
1565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p."); | |
1568 | return NULL; | |
1569 | } | |
1570 | } | |
1571 | { | |
4268f798 | 1572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1573 | wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1); |
f6bcfd97 | 1574 | |
4268f798 | 1575 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1576 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1577 | } Py_INCREF(Py_None); |
1578 | _resultobj = Py_None; | |
1579 | return _resultobj; | |
1580 | } | |
1581 | ||
1582 | static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) { | |
1583 | wxGridCellBoolRenderer *src; | |
1584 | wxGridCellRenderer *dest; | |
1585 | src = (wxGridCellBoolRenderer *) ptr; | |
1586 | dest = (wxGridCellRenderer *) src; | |
1587 | return (void *) dest; | |
1588 | } | |
1589 | ||
1590 | #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer()) | |
1591 | static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1592 | PyObject * _resultobj; | |
1593 | wxGridCellBoolRenderer * _result; | |
1594 | char *_kwnames[] = { NULL }; | |
1595 | char _ptemp[128]; | |
1596 | ||
1597 | self = self; | |
1598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames)) | |
1599 | return NULL; | |
1600 | { | |
4268f798 | 1601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1602 | _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer(); |
f6bcfd97 | 1603 | |
4268f798 | 1604 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1605 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1606 | } if (_result) { |
1607 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p"); | |
1608 | _resultobj = Py_BuildValue("s",_ptemp); | |
1609 | } else { | |
1610 | Py_INCREF(Py_None); | |
1611 | _resultobj = Py_None; | |
1612 | } | |
1613 | return _resultobj; | |
1614 | } | |
1615 | ||
19a97bd6 RD |
1616 | static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) { |
1617 | wxGridCellDateTimeRenderer *src; | |
1618 | wxGridCellStringRenderer *dest; | |
1619 | src = (wxGridCellDateTimeRenderer *) ptr; | |
1620 | dest = (wxGridCellStringRenderer *) src; | |
1621 | return (void *) dest; | |
1622 | } | |
1623 | ||
1624 | static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) { | |
1625 | wxGridCellDateTimeRenderer *src; | |
1626 | wxGridCellRenderer *dest; | |
1627 | src = (wxGridCellDateTimeRenderer *) ptr; | |
1628 | dest = (wxGridCellRenderer *) src; | |
1629 | return (void *) dest; | |
1630 | } | |
1631 | ||
1632 | #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1)) | |
1633 | static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1634 | PyObject * _resultobj; | |
1635 | wxGridCellDateTimeRenderer * _result; | |
33ff77f6 RD |
1636 | wxString * _arg0 = (wxString *) &wxPyDateTimeFormatStr; |
1637 | wxString * _arg1 = (wxString *) &wxPyDateTimeFormatStr; | |
19a97bd6 RD |
1638 | PyObject * _obj0 = 0; |
1639 | PyObject * _obj1 = 0; | |
1640 | char *_kwnames[] = { "outformat","informat", NULL }; | |
1641 | char _ptemp[128]; | |
1642 | ||
1643 | self = self; | |
1644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1)) | |
1645 | return NULL; | |
1646 | if (_obj0) | |
1647 | { | |
c8bc7bb8 RD |
1648 | _arg0 = wxString_in_helper(_obj0); |
1649 | if (_arg0 == NULL) | |
19a97bd6 | 1650 | return NULL; |
19a97bd6 RD |
1651 | } |
1652 | if (_obj1) | |
1653 | { | |
c8bc7bb8 RD |
1654 | _arg1 = wxString_in_helper(_obj1); |
1655 | if (_arg1 == NULL) | |
19a97bd6 | 1656 | return NULL; |
19a97bd6 RD |
1657 | } |
1658 | { | |
4268f798 | 1659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1660 | _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1); |
19a97bd6 | 1661 | |
4268f798 | 1662 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
1663 | if (PyErr_Occurred()) return NULL; |
1664 | } if (_result) { | |
1665 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p"); | |
1666 | _resultobj = Py_BuildValue("s",_ptemp); | |
1667 | } else { | |
1668 | Py_INCREF(Py_None); | |
1669 | _resultobj = Py_None; | |
1670 | } | |
1671 | { | |
1672 | if (_obj0) | |
1673 | delete _arg0; | |
1674 | } | |
1675 | { | |
1676 | if (_obj1) | |
1677 | delete _arg1; | |
1678 | } | |
1679 | return _resultobj; | |
1680 | } | |
1681 | ||
1682 | static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) { | |
1683 | wxGridCellEnumRenderer *src; | |
1684 | wxGridCellStringRenderer *dest; | |
1685 | src = (wxGridCellEnumRenderer *) ptr; | |
1686 | dest = (wxGridCellStringRenderer *) src; | |
1687 | return (void *) dest; | |
1688 | } | |
1689 | ||
1690 | static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) { | |
1691 | wxGridCellEnumRenderer *src; | |
1692 | wxGridCellRenderer *dest; | |
1693 | src = (wxGridCellEnumRenderer *) ptr; | |
1694 | dest = (wxGridCellRenderer *) src; | |
1695 | return (void *) dest; | |
1696 | } | |
1697 | ||
1698 | #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0)) | |
1699 | static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1700 | PyObject * _resultobj; | |
1701 | wxGridCellEnumRenderer * _result; | |
33ff77f6 | 1702 | wxString * _arg0 = (wxString *) &wxPyEmptyString; |
19a97bd6 RD |
1703 | PyObject * _obj0 = 0; |
1704 | char *_kwnames[] = { "choices", NULL }; | |
1705 | char _ptemp[128]; | |
1706 | ||
1707 | self = self; | |
1708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0)) | |
1709 | return NULL; | |
1710 | if (_obj0) | |
1711 | { | |
1712 | _arg0 = wxString_LIST_helper(_obj0); | |
1713 | if (_arg0 == NULL) { | |
1714 | return NULL; | |
1715 | } | |
1716 | } | |
1717 | { | |
4268f798 | 1718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1719 | _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0); |
19a97bd6 | 1720 | |
4268f798 | 1721 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
1722 | if (PyErr_Occurred()) return NULL; |
1723 | } if (_result) { | |
1724 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p"); | |
1725 | _resultobj = Py_BuildValue("s",_ptemp); | |
1726 | } else { | |
1727 | Py_INCREF(Py_None); | |
1728 | _resultobj = Py_None; | |
1729 | } | |
1730 | { | |
1731 | delete [] _arg0; | |
1732 | } | |
1733 | return _resultobj; | |
1734 | } | |
1735 | ||
1736 | static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) { | |
1737 | wxGridCellAutoWrapStringRenderer *src; | |
1738 | wxGridCellStringRenderer *dest; | |
1739 | src = (wxGridCellAutoWrapStringRenderer *) ptr; | |
1740 | dest = (wxGridCellStringRenderer *) src; | |
1741 | return (void *) dest; | |
1742 | } | |
1743 | ||
1744 | static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) { | |
1745 | wxGridCellAutoWrapStringRenderer *src; | |
1746 | wxGridCellRenderer *dest; | |
1747 | src = (wxGridCellAutoWrapStringRenderer *) ptr; | |
1748 | dest = (wxGridCellRenderer *) src; | |
1749 | return (void *) dest; | |
1750 | } | |
1751 | ||
1752 | #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer()) | |
1753 | static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1754 | PyObject * _resultobj; | |
1755 | wxGridCellAutoWrapStringRenderer * _result; | |
1756 | char *_kwnames[] = { NULL }; | |
1757 | char _ptemp[128]; | |
1758 | ||
1759 | self = self; | |
1760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames)) | |
1761 | return NULL; | |
1762 | { | |
4268f798 | 1763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1764 | _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer(); |
19a97bd6 | 1765 | |
4268f798 | 1766 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
1767 | if (PyErr_Occurred()) return NULL; |
1768 | } if (_result) { | |
1769 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p"); | |
1770 | _resultobj = Py_BuildValue("s",_ptemp); | |
1771 | } else { | |
1772 | Py_INCREF(Py_None); | |
1773 | _resultobj = Py_None; | |
1774 | } | |
1775 | return _resultobj; | |
1776 | } | |
1777 | ||
33ff77f6 RD |
1778 | static void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject * _self) { |
1779 | self->SetClientObject(new wxPyOORClientData(_self)); | |
1780 | } | |
1781 | static PyObject *_wrap_wxGridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1782 | PyObject * _resultobj; | |
1783 | wxGridCellEditor * _arg0; | |
1784 | PyObject * _arg1; | |
1785 | PyObject * _argo0 = 0; | |
1786 | PyObject * _obj1 = 0; | |
1787 | char *_kwnames[] = { "self","_self", NULL }; | |
1788 | ||
1789 | self = self; | |
1790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
1791 | return NULL; | |
1792 | if (_argo0) { | |
1793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p."); | |
1796 | return NULL; | |
1797 | } | |
1798 | } | |
1799 | { | |
1800 | _arg1 = _obj1; | |
1801 | } | |
1802 | { | |
1803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1804 | wxGridCellEditor__setOORInfo(_arg0,_arg1); | |
1805 | ||
1806 | wxPyEndAllowThreads(__tstate); | |
1807 | if (PyErr_Occurred()) return NULL; | |
1808 | } Py_INCREF(Py_None); | |
1809 | _resultobj = Py_None; | |
1810 | return _resultobj; | |
1811 | } | |
1812 | ||
f6bcfd97 BP |
1813 | #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated()) |
1814 | static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1815 | PyObject * _resultobj; | |
1816 | bool _result; | |
1817 | wxGridCellEditor * _arg0; | |
1818 | PyObject * _argo0 = 0; | |
1819 | char *_kwnames[] = { "self", NULL }; | |
1820 | ||
1821 | self = self; | |
1822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0)) | |
1823 | return NULL; | |
1824 | if (_argo0) { | |
1825 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1826 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p."); | |
1828 | return NULL; | |
1829 | } | |
1830 | } | |
1831 | { | |
4268f798 | 1832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1833 | _result = (bool )wxGridCellEditor_IsCreated(_arg0); |
f6bcfd97 | 1834 | |
4268f798 | 1835 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1836 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1837 | } _resultobj = Py_BuildValue("i",_result); |
1838 | return _resultobj; | |
1839 | } | |
1840 | ||
1841 | #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl()) | |
1842 | static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1843 | PyObject * _resultobj; | |
1844 | wxControl * _result; | |
1845 | wxGridCellEditor * _arg0; | |
1846 | PyObject * _argo0 = 0; | |
1847 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
1848 | |
1849 | self = self; | |
1850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0)) | |
1851 | return NULL; | |
1852 | if (_argo0) { | |
1853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p."); | |
1856 | return NULL; | |
1857 | } | |
1858 | } | |
1859 | { | |
4268f798 | 1860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1861 | _result = (wxControl *)wxGridCellEditor_GetControl(_arg0); |
f6bcfd97 | 1862 | |
4268f798 | 1863 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1864 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 1865 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
1866 | return _resultobj; |
1867 | } | |
1868 | ||
1869 | #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0)) | |
1870 | static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1871 | PyObject * _resultobj; | |
1872 | wxGridCellEditor * _arg0; | |
1873 | wxControl * _arg1; | |
1874 | PyObject * _argo0 = 0; | |
1875 | PyObject * _argo1 = 0; | |
1876 | char *_kwnames[] = { "self","control", NULL }; | |
1877 | ||
1878 | self = self; | |
1879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1)) | |
1880 | return NULL; | |
1881 | if (_argo0) { | |
1882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p."); | |
1885 | return NULL; | |
1886 | } | |
1887 | } | |
1888 | if (_argo1) { | |
1889 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1890 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
1891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p."); | |
1892 | return NULL; | |
1893 | } | |
1894 | } | |
1895 | { | |
4268f798 | 1896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1897 | wxGridCellEditor_SetControl(_arg0,_arg1); |
f6bcfd97 | 1898 | |
4268f798 | 1899 | wxPyEndAllowThreads(__tstate); |
493f1553 | 1900 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1901 | } Py_INCREF(Py_None); |
1902 | _resultobj = Py_None; | |
1903 | return _resultobj; | |
1904 | } | |
1905 | ||
7e50db3f RD |
1906 | #define wxGridCellEditor_GetCellAttr(_swigobj) (_swigobj->GetCellAttr()) |
1907 | static PyObject *_wrap_wxGridCellEditor_GetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1908 | PyObject * _resultobj; | |
1909 | wxGridCellAttr * _result; | |
1910 | wxGridCellEditor * _arg0; | |
1911 | PyObject * _argo0 = 0; | |
1912 | char *_kwnames[] = { "self", NULL }; | |
1913 | ||
1914 | self = self; | |
1915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetCellAttr",_kwnames,&_argo0)) | |
1916 | return NULL; | |
1917 | if (_argo0) { | |
1918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetCellAttr. Expected _wxGridCellEditor_p."); | |
1921 | return NULL; | |
1922 | } | |
1923 | } | |
1924 | { | |
1925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1926 | _result = (wxGridCellAttr *)wxGridCellEditor_GetCellAttr(_arg0); | |
1927 | ||
1928 | wxPyEndAllowThreads(__tstate); | |
1929 | if (PyErr_Occurred()) return NULL; | |
1930 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } | |
1931 | return _resultobj; | |
1932 | } | |
1933 | ||
1934 | #define wxGridCellEditor_SetCellAttr(_swigobj,_swigarg0) (_swigobj->SetCellAttr(_swigarg0)) | |
1935 | static PyObject *_wrap_wxGridCellEditor_SetCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1936 | PyObject * _resultobj; | |
1937 | wxGridCellEditor * _arg0; | |
1938 | wxGridCellAttr * _arg1; | |
1939 | PyObject * _argo0 = 0; | |
1940 | PyObject * _argo1 = 0; | |
1941 | char *_kwnames[] = { "self","attr", NULL }; | |
1942 | ||
1943 | self = self; | |
1944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetCellAttr",_kwnames,&_argo0,&_argo1)) | |
1945 | return NULL; | |
1946 | if (_argo0) { | |
1947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellEditor_p."); | |
1950 | return NULL; | |
1951 | } | |
1952 | } | |
1953 | if (_argo1) { | |
1954 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1955 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
1956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellAttr_p."); | |
1957 | return NULL; | |
1958 | } | |
1959 | } | |
1960 | { | |
1961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1962 | wxGridCellEditor_SetCellAttr(_arg0,_arg1); | |
1963 | ||
1964 | wxPyEndAllowThreads(__tstate); | |
1965 | if (PyErr_Occurred()) return NULL; | |
1966 | } Py_INCREF(Py_None); | |
1967 | _resultobj = Py_None; | |
1968 | return _resultobj; | |
1969 | } | |
1970 | ||
f6bcfd97 BP |
1971 | #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0)) |
1972 | static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1973 | PyObject * _resultobj; | |
1974 | wxGridCellEditor * _arg0; | |
1975 | wxString * _arg1; | |
1976 | PyObject * _argo0 = 0; | |
1977 | PyObject * _obj1 = 0; | |
1978 | char *_kwnames[] = { "self","params", NULL }; | |
1979 | ||
1980 | self = self; | |
1981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1982 | return NULL; | |
1983 | if (_argo0) { | |
1984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p."); | |
1987 | return NULL; | |
1988 | } | |
1989 | } | |
1990 | { | |
c8bc7bb8 RD |
1991 | _arg1 = wxString_in_helper(_obj1); |
1992 | if (_arg1 == NULL) | |
185d7c3e | 1993 | return NULL; |
f6bcfd97 BP |
1994 | } |
1995 | { | |
4268f798 | 1996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1997 | wxGridCellEditor_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1998 | |
4268f798 | 1999 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2000 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2001 | } Py_INCREF(Py_None); |
2002 | _resultobj = Py_None; | |
2003 | { | |
2004 | if (_obj1) | |
2005 | delete _arg1; | |
2006 | } | |
2007 | return _resultobj; | |
2008 | } | |
2009 | ||
2010 | #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef()) | |
2011 | static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2012 | PyObject * _resultobj; | |
2013 | wxGridCellEditor * _arg0; | |
2014 | PyObject * _argo0 = 0; | |
2015 | char *_kwnames[] = { "self", NULL }; | |
2016 | ||
2017 | self = self; | |
2018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0)) | |
2019 | return NULL; | |
2020 | if (_argo0) { | |
2021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p."); | |
2024 | return NULL; | |
2025 | } | |
2026 | } | |
2027 | { | |
4268f798 | 2028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2029 | wxGridCellEditor_IncRef(_arg0); |
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_DecRef(_swigobj) (_swigobj->DecRef()) | |
2039 | static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2040 | PyObject * _resultobj; | |
2041 | wxGridCellEditor * _arg0; | |
2042 | PyObject * _argo0 = 0; | |
2043 | char *_kwnames[] = { "self", NULL }; | |
2044 | ||
2045 | self = self; | |
2046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0)) | |
2047 | return NULL; | |
2048 | if (_argo0) { | |
2049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p."); | |
2052 | return NULL; | |
2053 | } | |
2054 | } | |
2055 | { | |
4268f798 | 2056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2057 | wxGridCellEditor_DecRef(_arg0); |
f6bcfd97 | 2058 | |
4268f798 | 2059 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2060 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2061 | } Py_INCREF(Py_None); |
2062 | _resultobj = Py_None; | |
2063 | return _resultobj; | |
2064 | } | |
2065 | ||
2066 | #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2)) | |
2067 | static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2068 | PyObject * _resultobj; | |
2069 | wxGridCellEditor * _arg0; | |
2070 | wxWindow * _arg1; | |
2071 | wxWindowID _arg2; | |
2072 | wxEvtHandler * _arg3; | |
2073 | PyObject * _argo0 = 0; | |
2074 | PyObject * _argo1 = 0; | |
2075 | PyObject * _argo3 = 0; | |
2076 | char *_kwnames[] = { "self","parent","id","evtHandler", NULL }; | |
2077 | ||
2078 | self = self; | |
2079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3)) | |
2080 | return NULL; | |
2081 | if (_argo0) { | |
2082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p."); | |
2085 | return NULL; | |
2086 | } | |
2087 | } | |
2088 | if (_argo1) { | |
2089 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2090 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p."); | |
2092 | return NULL; | |
2093 | } | |
2094 | } | |
2095 | if (_argo3) { | |
2096 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2097 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) { | |
2098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p."); | |
2099 | return NULL; | |
2100 | } | |
2101 | } | |
2102 | { | |
4268f798 | 2103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2104 | wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2105 | |
4268f798 | 2106 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2107 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2108 | } Py_INCREF(Py_None); |
2109 | _resultobj = Py_None; | |
2110 | return _resultobj; | |
2111 | } | |
2112 | ||
2113 | #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2)) | |
2114 | static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2115 | PyObject * _resultobj; | |
2116 | wxGridCellEditor * _arg0; | |
2117 | int _arg1; | |
2118 | int _arg2; | |
2119 | wxGrid * _arg3; | |
2120 | PyObject * _argo0 = 0; | |
2121 | PyObject * _argo3 = 0; | |
2122 | char *_kwnames[] = { "self","row","col","grid", NULL }; | |
2123 | ||
2124 | self = self; | |
2125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
2126 | return NULL; | |
2127 | if (_argo0) { | |
2128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p."); | |
2131 | return NULL; | |
2132 | } | |
2133 | } | |
2134 | if (_argo3) { | |
2135 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2136 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) { | |
2137 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p."); | |
2138 | return NULL; | |
2139 | } | |
2140 | } | |
2141 | { | |
4268f798 | 2142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2143 | wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2144 | |
4268f798 | 2145 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2146 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2147 | } Py_INCREF(Py_None); |
2148 | _resultobj = Py_None; | |
2149 | return _resultobj; | |
2150 | } | |
2151 | ||
2152 | #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2)) | |
2153 | static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2154 | PyObject * _resultobj; | |
2155 | bool _result; | |
2156 | wxGridCellEditor * _arg0; | |
2157 | int _arg1; | |
2158 | int _arg2; | |
2159 | wxGrid * _arg3; | |
2160 | PyObject * _argo0 = 0; | |
2161 | PyObject * _argo3 = 0; | |
2162 | char *_kwnames[] = { "self","row","col","grid", NULL }; | |
2163 | ||
2164 | self = self; | |
2165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
2166 | return NULL; | |
2167 | if (_argo0) { | |
2168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p."); | |
2171 | return NULL; | |
2172 | } | |
2173 | } | |
2174 | if (_argo3) { | |
2175 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2176 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) { | |
2177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p."); | |
2178 | return NULL; | |
2179 | } | |
2180 | } | |
2181 | { | |
4268f798 | 2182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2183 | _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2184 | |
4268f798 | 2185 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2186 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2187 | } _resultobj = Py_BuildValue("i",_result); |
2188 | return _resultobj; | |
2189 | } | |
2190 | ||
2191 | #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset()) | |
2192 | static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2193 | PyObject * _resultobj; | |
2194 | wxGridCellEditor * _arg0; | |
2195 | PyObject * _argo0 = 0; | |
2196 | char *_kwnames[] = { "self", NULL }; | |
2197 | ||
2198 | self = self; | |
2199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0)) | |
2200 | return NULL; | |
2201 | if (_argo0) { | |
2202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p."); | |
2205 | return NULL; | |
2206 | } | |
2207 | } | |
2208 | { | |
4268f798 | 2209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2210 | wxGridCellEditor_Reset(_arg0); |
f6bcfd97 | 2211 | |
4268f798 | 2212 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2213 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2214 | } Py_INCREF(Py_None); |
2215 | _resultobj = Py_None; | |
2216 | return _resultobj; | |
2217 | } | |
2218 | ||
2219 | #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone()) | |
2220 | static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2221 | PyObject * _resultobj; | |
2222 | wxGridCellEditor * _result; | |
2223 | wxGridCellEditor * _arg0; | |
2224 | PyObject * _argo0 = 0; | |
2225 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
2226 | |
2227 | self = self; | |
2228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0)) | |
2229 | return NULL; | |
2230 | if (_argo0) { | |
2231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p."); | |
2234 | return NULL; | |
2235 | } | |
2236 | } | |
2237 | { | |
4268f798 | 2238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2239 | _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0); |
f6bcfd97 | 2240 | |
4268f798 | 2241 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2242 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 2243 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
2244 | return _resultobj; |
2245 | } | |
2246 | ||
2247 | #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
2248 | static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2249 | PyObject * _resultobj; | |
2250 | wxGridCellEditor * _arg0; | |
2251 | wxRect * _arg1; | |
2252 | PyObject * _argo0 = 0; | |
2253 | wxRect temp; | |
2254 | PyObject * _obj1 = 0; | |
2255 | char *_kwnames[] = { "self","rect", NULL }; | |
2256 | ||
2257 | self = self; | |
2258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1)) | |
2259 | return NULL; | |
2260 | if (_argo0) { | |
2261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p."); | |
2264 | return NULL; | |
2265 | } | |
2266 | } | |
2267 | { | |
2268 | _arg1 = &temp; | |
2269 | if (! wxRect_helper(_obj1, &_arg1)) | |
2270 | return NULL; | |
2271 | } | |
2272 | { | |
4268f798 | 2273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2274 | wxGridCellEditor_SetSize(_arg0,*_arg1); |
f6bcfd97 | 2275 | |
4268f798 | 2276 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2277 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2278 | } Py_INCREF(Py_None); |
2279 | _resultobj = Py_None; | |
2280 | return _resultobj; | |
2281 | } | |
2282 | ||
2283 | #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1)) | |
2284 | static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2285 | PyObject * _resultobj; | |
2286 | wxGridCellEditor * _arg0; | |
2287 | bool _arg1; | |
2288 | wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL; | |
2289 | PyObject * _argo0 = 0; | |
2290 | int tempbool1; | |
2291 | PyObject * _argo2 = 0; | |
2292 | char *_kwnames[] = { "self","show","attr", NULL }; | |
2293 | ||
2294 | self = self; | |
2295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
2296 | return NULL; | |
2297 | if (_argo0) { | |
2298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p."); | |
2301 | return NULL; | |
2302 | } | |
2303 | } | |
2304 | _arg1 = (bool ) tempbool1; | |
2305 | if (_argo2) { | |
2306 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2307 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p."); | |
2309 | return NULL; | |
2310 | } | |
2311 | } | |
2312 | { | |
4268f798 | 2313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2314 | wxGridCellEditor_Show(_arg0,_arg1,_arg2); |
f6bcfd97 | 2315 | |
4268f798 | 2316 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2317 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2318 | } Py_INCREF(Py_None); |
2319 | _resultobj = Py_None; | |
2320 | return _resultobj; | |
2321 | } | |
2322 | ||
2323 | #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1)) | |
2324 | static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2325 | PyObject * _resultobj; | |
2326 | wxGridCellEditor * _arg0; | |
2327 | wxRect * _arg1; | |
2328 | wxGridCellAttr * _arg2; | |
2329 | PyObject * _argo0 = 0; | |
2330 | wxRect temp; | |
2331 | PyObject * _obj1 = 0; | |
2332 | PyObject * _argo2 = 0; | |
2333 | char *_kwnames[] = { "self","rectCell","attr", NULL }; | |
2334 | ||
2335 | self = self; | |
2336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2)) | |
2337 | return NULL; | |
2338 | if (_argo0) { | |
2339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p."); | |
2342 | return NULL; | |
2343 | } | |
2344 | } | |
2345 | { | |
2346 | _arg1 = &temp; | |
2347 | if (! wxRect_helper(_obj1, &_arg1)) | |
2348 | return NULL; | |
2349 | } | |
2350 | if (_argo2) { | |
2351 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2352 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2353 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p."); | |
2354 | return NULL; | |
2355 | } | |
2356 | } | |
2357 | { | |
4268f798 | 2358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2359 | wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2); |
f6bcfd97 | 2360 | |
4268f798 | 2361 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2362 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2363 | } Py_INCREF(Py_None); |
2364 | _resultobj = Py_None; | |
2365 | return _resultobj; | |
2366 | } | |
2367 | ||
2368 | #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0)) | |
2369 | static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2370 | PyObject * _resultobj; | |
2371 | bool _result; | |
2372 | wxGridCellEditor * _arg0; | |
2373 | wxKeyEvent * _arg1; | |
2374 | PyObject * _argo0 = 0; | |
2375 | PyObject * _argo1 = 0; | |
2376 | char *_kwnames[] = { "self","event", NULL }; | |
2377 | ||
2378 | self = self; | |
2379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1)) | |
2380 | return NULL; | |
2381 | if (_argo0) { | |
2382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p."); | |
2385 | return NULL; | |
2386 | } | |
2387 | } | |
2388 | if (_argo1) { | |
7e50db3f | 2389 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { |
f6bcfd97 BP |
2390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p."); |
2391 | return NULL; | |
2392 | } | |
2393 | } | |
2394 | { | |
4268f798 | 2395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2396 | _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1); |
f6bcfd97 | 2397 | |
4268f798 | 2398 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2399 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2400 | } _resultobj = Py_BuildValue("i",_result); |
2401 | return _resultobj; | |
2402 | } | |
2403 | ||
2404 | #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0)) | |
2405 | static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2406 | PyObject * _resultobj; | |
2407 | wxGridCellEditor * _arg0; | |
2408 | wxKeyEvent * _arg1; | |
2409 | PyObject * _argo0 = 0; | |
2410 | PyObject * _argo1 = 0; | |
2411 | char *_kwnames[] = { "self","event", NULL }; | |
2412 | ||
2413 | self = self; | |
2414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1)) | |
2415 | return NULL; | |
2416 | if (_argo0) { | |
2417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p."); | |
2420 | return NULL; | |
2421 | } | |
2422 | } | |
2423 | if (_argo1) { | |
7e50db3f | 2424 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { |
f6bcfd97 BP |
2425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p."); |
2426 | return NULL; | |
2427 | } | |
2428 | } | |
2429 | { | |
4268f798 | 2430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2431 | wxGridCellEditor_StartingKey(_arg0,*_arg1); |
f6bcfd97 | 2432 | |
4268f798 | 2433 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2434 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2435 | } Py_INCREF(Py_None); |
2436 | _resultobj = Py_None; | |
2437 | return _resultobj; | |
2438 | } | |
2439 | ||
2440 | #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick()) | |
2441 | static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2442 | PyObject * _resultobj; | |
2443 | wxGridCellEditor * _arg0; | |
2444 | PyObject * _argo0 = 0; | |
2445 | char *_kwnames[] = { "self", NULL }; | |
2446 | ||
2447 | self = self; | |
2448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0)) | |
2449 | return NULL; | |
2450 | if (_argo0) { | |
2451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p."); | |
2454 | return NULL; | |
2455 | } | |
2456 | } | |
2457 | { | |
4268f798 | 2458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2459 | wxGridCellEditor_StartingClick(_arg0); |
f6bcfd97 | 2460 | |
4268f798 | 2461 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2462 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2463 | } Py_INCREF(Py_None); |
2464 | _resultobj = Py_None; | |
2465 | return _resultobj; | |
2466 | } | |
2467 | ||
2468 | #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0)) | |
2469 | static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2470 | PyObject * _resultobj; | |
2471 | wxGridCellEditor * _arg0; | |
2472 | wxKeyEvent * _arg1; | |
2473 | PyObject * _argo0 = 0; | |
2474 | PyObject * _argo1 = 0; | |
2475 | char *_kwnames[] = { "self","event", NULL }; | |
2476 | ||
2477 | self = self; | |
2478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1)) | |
2479 | return NULL; | |
2480 | if (_argo0) { | |
2481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p."); | |
2484 | return NULL; | |
2485 | } | |
2486 | } | |
2487 | if (_argo1) { | |
7e50db3f | 2488 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { |
f6bcfd97 BP |
2489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p."); |
2490 | return NULL; | |
2491 | } | |
2492 | } | |
2493 | { | |
4268f798 | 2494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2495 | wxGridCellEditor_HandleReturn(_arg0,*_arg1); |
f6bcfd97 | 2496 | |
4268f798 | 2497 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2498 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2499 | } Py_INCREF(Py_None); |
2500 | _resultobj = Py_None; | |
2501 | return _resultobj; | |
2502 | } | |
2503 | ||
2504 | #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy()) | |
2505 | static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2506 | PyObject * _resultobj; | |
2507 | wxGridCellEditor * _arg0; | |
2508 | PyObject * _argo0 = 0; | |
2509 | char *_kwnames[] = { "self", NULL }; | |
2510 | ||
2511 | self = self; | |
2512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0)) | |
2513 | return NULL; | |
2514 | if (_argo0) { | |
2515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p."); | |
2518 | return NULL; | |
2519 | } | |
2520 | } | |
2521 | { | |
4268f798 | 2522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2523 | wxGridCellEditor_Destroy(_arg0); |
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 | static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) { | |
2533 | wxPyGridCellEditor *src; | |
2534 | wxGridCellEditor *dest; | |
2535 | src = (wxPyGridCellEditor *) ptr; | |
2536 | dest = (wxGridCellEditor *) src; | |
2537 | return (void *) dest; | |
2538 | } | |
2539 | ||
2540 | #define new_wxPyGridCellEditor() (new wxPyGridCellEditor()) | |
2541 | static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2542 | PyObject * _resultobj; | |
2543 | wxPyGridCellEditor * _result; | |
2544 | char *_kwnames[] = { NULL }; | |
2545 | char _ptemp[128]; | |
2546 | ||
2547 | self = self; | |
2548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames)) | |
2549 | return NULL; | |
2550 | { | |
4268f798 | 2551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2552 | _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor(); |
f6bcfd97 | 2553 | |
4268f798 | 2554 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2555 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2556 | } if (_result) { |
2557 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p"); | |
2558 | _resultobj = Py_BuildValue("s",_ptemp); | |
2559 | } else { | |
2560 | Py_INCREF(Py_None); | |
2561 | _resultobj = Py_None; | |
2562 | } | |
2563 | return _resultobj; | |
2564 | } | |
2565 | ||
0122b7e3 RD |
2566 | #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
2567 | static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2568 | PyObject * _resultobj; |
2569 | wxPyGridCellEditor * _arg0; | |
2570 | PyObject * _arg1; | |
2571 | PyObject * _arg2; | |
2572 | PyObject * _argo0 = 0; | |
2573 | PyObject * _obj1 = 0; | |
2574 | PyObject * _obj2 = 0; | |
2575 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2576 | ||
2577 | self = self; | |
0122b7e3 | 2578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
2579 | return NULL; |
2580 | if (_argo0) { | |
2581 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2582 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
0122b7e3 | 2583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p."); |
f6bcfd97 BP |
2584 | return NULL; |
2585 | } | |
2586 | } | |
2587 | { | |
2588 | _arg1 = _obj1; | |
2589 | } | |
2590 | { | |
2591 | _arg2 = _obj2; | |
2592 | } | |
2593 | { | |
4268f798 | 2594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2595 | wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 2596 | |
4268f798 | 2597 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2598 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2599 | } Py_INCREF(Py_None); |
2600 | _resultobj = Py_None; | |
2601 | return _resultobj; | |
2602 | } | |
2603 | ||
2604 | #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0)) | |
2605 | static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2606 | PyObject * _resultobj; | |
2607 | wxPyGridCellEditor * _arg0; | |
2608 | wxRect * _arg1; | |
2609 | PyObject * _argo0 = 0; | |
2610 | wxRect temp; | |
2611 | PyObject * _obj1 = 0; | |
2612 | char *_kwnames[] = { "self","rect", NULL }; | |
2613 | ||
2614 | self = self; | |
2615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1)) | |
2616 | return NULL; | |
2617 | if (_argo0) { | |
2618 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2619 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p."); | |
2621 | return NULL; | |
2622 | } | |
2623 | } | |
2624 | { | |
2625 | _arg1 = &temp; | |
2626 | if (! wxRect_helper(_obj1, &_arg1)) | |
2627 | return NULL; | |
2628 | } | |
2629 | { | |
4268f798 | 2630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2631 | wxPyGridCellEditor_base_SetSize(_arg0,*_arg1); |
f6bcfd97 | 2632 | |
4268f798 | 2633 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2634 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2635 | } Py_INCREF(Py_None); |
2636 | _resultobj = Py_None; | |
2637 | return _resultobj; | |
2638 | } | |
2639 | ||
2640 | #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1)) | |
2641 | static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2642 | PyObject * _resultobj; | |
2643 | wxPyGridCellEditor * _arg0; | |
2644 | bool _arg1; | |
2645 | wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL; | |
2646 | PyObject * _argo0 = 0; | |
2647 | int tempbool1; | |
2648 | PyObject * _argo2 = 0; | |
2649 | char *_kwnames[] = { "self","show","attr", NULL }; | |
2650 | ||
2651 | self = self; | |
2652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
2653 | return NULL; | |
2654 | if (_argo0) { | |
2655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p."); | |
2658 | return NULL; | |
2659 | } | |
2660 | } | |
2661 | _arg1 = (bool ) tempbool1; | |
2662 | if (_argo2) { | |
2663 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2664 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p."); | |
2666 | return NULL; | |
2667 | } | |
2668 | } | |
2669 | { | |
4268f798 | 2670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2671 | wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2); |
f6bcfd97 | 2672 | |
4268f798 | 2673 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2674 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2675 | } Py_INCREF(Py_None); |
2676 | _resultobj = Py_None; | |
2677 | return _resultobj; | |
2678 | } | |
2679 | ||
2680 | #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1)) | |
2681 | static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2682 | PyObject * _resultobj; | |
2683 | wxPyGridCellEditor * _arg0; | |
2684 | wxRect * _arg1; | |
2685 | wxGridCellAttr * _arg2; | |
2686 | PyObject * _argo0 = 0; | |
2687 | wxRect temp; | |
2688 | PyObject * _obj1 = 0; | |
2689 | PyObject * _argo2 = 0; | |
2690 | char *_kwnames[] = { "self","rectCell","attr", NULL }; | |
2691 | ||
2692 | self = self; | |
2693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2)) | |
2694 | return NULL; | |
2695 | if (_argo0) { | |
2696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p."); | |
2699 | return NULL; | |
2700 | } | |
2701 | } | |
2702 | { | |
2703 | _arg1 = &temp; | |
2704 | if (! wxRect_helper(_obj1, &_arg1)) | |
2705 | return NULL; | |
2706 | } | |
2707 | if (_argo2) { | |
2708 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2709 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p."); | |
2711 | return NULL; | |
2712 | } | |
2713 | } | |
2714 | { | |
4268f798 | 2715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2716 | wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2); |
f6bcfd97 | 2717 | |
4268f798 | 2718 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2719 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2720 | } Py_INCREF(Py_None); |
2721 | _resultobj = Py_None; | |
2722 | return _resultobj; | |
2723 | } | |
2724 | ||
dbbb98cd RD |
2725 | #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0)) |
2726 | static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2727 | PyObject * _resultobj; | |
2728 | wxPyGridCellEditor * _arg0; | |
2729 | wxKeyEvent * _arg1; | |
2730 | PyObject * _argo0 = 0; | |
2731 | PyObject * _argo1 = 0; | |
2732 | char *_kwnames[] = { "self","event", NULL }; | |
2733 | ||
2734 | self = self; | |
2735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1)) | |
2736 | return NULL; | |
2737 | if (_argo0) { | |
2738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p."); | |
2741 | return NULL; | |
2742 | } | |
2743 | } | |
2744 | if (_argo1) { | |
7e50db3f | 2745 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { |
dbbb98cd RD |
2746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p."); |
2747 | return NULL; | |
2748 | } | |
2749 | } | |
2750 | { | |
4268f798 | 2751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2752 | wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1); |
dbbb98cd | 2753 | |
4268f798 | 2754 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2755 | if (PyErr_Occurred()) return NULL; |
dbbb98cd RD |
2756 | } Py_INCREF(Py_None); |
2757 | _resultobj = Py_None; | |
2758 | return _resultobj; | |
2759 | } | |
2760 | ||
f6bcfd97 BP |
2761 | #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0)) |
2762 | static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2763 | PyObject * _resultobj; | |
2764 | wxPyGridCellEditor * _arg0; | |
2765 | wxKeyEvent * _arg1; | |
2766 | PyObject * _argo0 = 0; | |
2767 | PyObject * _argo1 = 0; | |
2768 | char *_kwnames[] = { "self","event", NULL }; | |
2769 | ||
2770 | self = self; | |
2771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1)) | |
2772 | return NULL; | |
2773 | if (_argo0) { | |
2774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p."); | |
2777 | return NULL; | |
2778 | } | |
2779 | } | |
2780 | if (_argo1) { | |
7e50db3f | 2781 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { |
f6bcfd97 BP |
2782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p."); |
2783 | return NULL; | |
2784 | } | |
2785 | } | |
2786 | { | |
4268f798 | 2787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2788 | wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1); |
f6bcfd97 | 2789 | |
4268f798 | 2790 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2791 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2792 | } Py_INCREF(Py_None); |
2793 | _resultobj = Py_None; | |
2794 | return _resultobj; | |
2795 | } | |
2796 | ||
2797 | #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick()) | |
2798 | static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2799 | PyObject * _resultobj; | |
2800 | wxPyGridCellEditor * _arg0; | |
2801 | PyObject * _argo0 = 0; | |
2802 | char *_kwnames[] = { "self", NULL }; | |
2803 | ||
2804 | self = self; | |
2805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0)) | |
2806 | return NULL; | |
2807 | if (_argo0) { | |
2808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p."); | |
2811 | return NULL; | |
2812 | } | |
2813 | } | |
2814 | { | |
4268f798 | 2815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2816 | wxPyGridCellEditor_base_StartingClick(_arg0); |
f6bcfd97 | 2817 | |
4268f798 | 2818 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2819 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2820 | } Py_INCREF(Py_None); |
2821 | _resultobj = Py_None; | |
2822 | return _resultobj; | |
2823 | } | |
2824 | ||
2825 | #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0)) | |
2826 | static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2827 | PyObject * _resultobj; | |
2828 | wxPyGridCellEditor * _arg0; | |
2829 | wxKeyEvent * _arg1; | |
2830 | PyObject * _argo0 = 0; | |
2831 | PyObject * _argo1 = 0; | |
2832 | char *_kwnames[] = { "self","event", NULL }; | |
2833 | ||
2834 | self = self; | |
2835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1)) | |
2836 | return NULL; | |
2837 | if (_argo0) { | |
2838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p."); | |
2841 | return NULL; | |
2842 | } | |
2843 | } | |
2844 | if (_argo1) { | |
7e50db3f | 2845 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { |
f6bcfd97 BP |
2846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p."); |
2847 | return NULL; | |
2848 | } | |
2849 | } | |
2850 | { | |
4268f798 | 2851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2852 | wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1); |
f6bcfd97 | 2853 | |
4268f798 | 2854 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2855 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2856 | } Py_INCREF(Py_None); |
2857 | _resultobj = Py_None; | |
2858 | return _resultobj; | |
2859 | } | |
2860 | ||
2861 | #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy()) | |
2862 | static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2863 | PyObject * _resultobj; | |
2864 | wxPyGridCellEditor * _arg0; | |
2865 | PyObject * _argo0 = 0; | |
2866 | char *_kwnames[] = { "self", NULL }; | |
2867 | ||
2868 | self = self; | |
2869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0)) | |
2870 | return NULL; | |
2871 | if (_argo0) { | |
2872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p."); | |
2875 | return NULL; | |
2876 | } | |
2877 | } | |
2878 | { | |
4268f798 | 2879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2880 | wxPyGridCellEditor_base_Destroy(_arg0); |
f6bcfd97 | 2881 | |
4268f798 | 2882 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2883 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2884 | } Py_INCREF(Py_None); |
2885 | _resultobj = Py_None; | |
2886 | return _resultobj; | |
2887 | } | |
2888 | ||
2889 | #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0)) | |
2890 | static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2891 | PyObject * _resultobj; | |
2892 | wxPyGridCellEditor * _arg0; | |
2893 | wxString * _arg1; | |
2894 | PyObject * _argo0 = 0; | |
2895 | PyObject * _obj1 = 0; | |
2896 | char *_kwnames[] = { "self","params", NULL }; | |
2897 | ||
2898 | self = self; | |
2899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1)) | |
2900 | return NULL; | |
2901 | if (_argo0) { | |
2902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p."); | |
2905 | return NULL; | |
2906 | } | |
2907 | } | |
2908 | { | |
c8bc7bb8 RD |
2909 | _arg1 = wxString_in_helper(_obj1); |
2910 | if (_arg1 == NULL) | |
185d7c3e | 2911 | return NULL; |
f6bcfd97 BP |
2912 | } |
2913 | { | |
4268f798 | 2914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2915 | wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 2916 | |
4268f798 | 2917 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2918 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2919 | } Py_INCREF(Py_None); |
2920 | _resultobj = Py_None; | |
2921 | { | |
2922 | if (_obj1) | |
2923 | delete _arg1; | |
2924 | } | |
2925 | return _resultobj; | |
2926 | } | |
2927 | ||
2928 | static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) { | |
2929 | wxGridCellTextEditor *src; | |
2930 | wxGridCellEditor *dest; | |
2931 | src = (wxGridCellTextEditor *) ptr; | |
2932 | dest = (wxGridCellEditor *) src; | |
2933 | return (void *) dest; | |
2934 | } | |
2935 | ||
2936 | #define new_wxGridCellTextEditor() (new wxGridCellTextEditor()) | |
2937 | static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2938 | PyObject * _resultobj; | |
2939 | wxGridCellTextEditor * _result; | |
2940 | char *_kwnames[] = { NULL }; | |
2941 | char _ptemp[128]; | |
2942 | ||
2943 | self = self; | |
2944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames)) | |
2945 | return NULL; | |
2946 | { | |
4268f798 | 2947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2948 | _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor(); |
f6bcfd97 | 2949 | |
4268f798 | 2950 | wxPyEndAllowThreads(__tstate); |
493f1553 | 2951 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2952 | } if (_result) { |
2953 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p"); | |
2954 | _resultobj = Py_BuildValue("s",_ptemp); | |
2955 | } else { | |
2956 | Py_INCREF(Py_None); | |
2957 | _resultobj = Py_None; | |
2958 | } | |
2959 | return _resultobj; | |
2960 | } | |
2961 | ||
3856ee0b RD |
2962 | #define wxGridCellTextEditor_GetValue(_swigobj) (_swigobj->GetValue()) |
2963 | static PyObject *_wrap_wxGridCellTextEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2964 | PyObject * _resultobj; | |
2965 | wxString * _result; | |
2966 | wxGridCellTextEditor * _arg0; | |
2967 | PyObject * _argo0 = 0; | |
2968 | char *_kwnames[] = { "self", NULL }; | |
2969 | ||
2970 | self = self; | |
2971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellTextEditor_GetValue",_kwnames,&_argo0)) | |
2972 | return NULL; | |
2973 | if (_argo0) { | |
2974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellTextEditor_p")) { | |
2976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellTextEditor_GetValue. Expected _wxGridCellTextEditor_p."); | |
2977 | return NULL; | |
2978 | } | |
2979 | } | |
2980 | { | |
2981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2982 | _result = new wxString (wxGridCellTextEditor_GetValue(_arg0)); | |
2983 | ||
2984 | wxPyEndAllowThreads(__tstate); | |
2985 | if (PyErr_Occurred()) return NULL; | |
2986 | }{ | |
2987 | #if wxUSE_UNICODE | |
2988 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); | |
2989 | #else | |
2990 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
2991 | #endif | |
2992 | } | |
2993 | { | |
2994 | delete _result; | |
2995 | } | |
2996 | return _resultobj; | |
2997 | } | |
2998 | ||
f6bcfd97 BP |
2999 | static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) { |
3000 | wxGridCellNumberEditor *src; | |
3001 | wxGridCellTextEditor *dest; | |
3002 | src = (wxGridCellNumberEditor *) ptr; | |
3003 | dest = (wxGridCellTextEditor *) src; | |
3004 | return (void *) dest; | |
3005 | } | |
3006 | ||
3007 | static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) { | |
3008 | wxGridCellNumberEditor *src; | |
3009 | wxGridCellEditor *dest; | |
3010 | src = (wxGridCellNumberEditor *) ptr; | |
3011 | dest = (wxGridCellEditor *) src; | |
3012 | return (void *) dest; | |
3013 | } | |
3014 | ||
3015 | #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1)) | |
3016 | static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3017 | PyObject * _resultobj; | |
3018 | wxGridCellNumberEditor * _result; | |
3019 | int _arg0 = (int ) -1; | |
3020 | int _arg1 = (int ) -1; | |
3021 | char *_kwnames[] = { "min","max", NULL }; | |
3022 | char _ptemp[128]; | |
3023 | ||
3024 | self = self; | |
3025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1)) | |
3026 | return NULL; | |
3027 | { | |
4268f798 | 3028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3029 | _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1); |
f6bcfd97 | 3030 | |
4268f798 | 3031 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3032 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3033 | } if (_result) { |
3034 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p"); | |
3035 | _resultobj = Py_BuildValue("s",_ptemp); | |
3036 | } else { | |
3037 | Py_INCREF(Py_None); | |
3038 | _resultobj = Py_None; | |
3039 | } | |
3040 | return _resultobj; | |
3041 | } | |
3042 | ||
3856ee0b RD |
3043 | #define wxGridCellNumberEditor_GetValue(_swigobj) (_swigobj->GetValue()) |
3044 | static PyObject *_wrap_wxGridCellNumberEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3045 | PyObject * _resultobj; | |
3046 | wxString * _result; | |
3047 | wxGridCellNumberEditor * _arg0; | |
3048 | PyObject * _argo0 = 0; | |
3049 | char *_kwnames[] = { "self", NULL }; | |
3050 | ||
3051 | self = self; | |
3052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellNumberEditor_GetValue",_kwnames,&_argo0)) | |
3053 | return NULL; | |
3054 | if (_argo0) { | |
3055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellNumberEditor_p")) { | |
3057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellNumberEditor_GetValue. Expected _wxGridCellNumberEditor_p."); | |
3058 | return NULL; | |
3059 | } | |
3060 | } | |
3061 | { | |
3062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3063 | _result = new wxString (wxGridCellNumberEditor_GetValue(_arg0)); | |
3064 | ||
3065 | wxPyEndAllowThreads(__tstate); | |
3066 | if (PyErr_Occurred()) return NULL; | |
3067 | }{ | |
3068 | #if wxUSE_UNICODE | |
3069 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); | |
3070 | #else | |
3071 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
3072 | #endif | |
3073 | } | |
3074 | { | |
3075 | delete _result; | |
3076 | } | |
3077 | return _resultobj; | |
3078 | } | |
3079 | ||
f6bcfd97 BP |
3080 | static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) { |
3081 | wxGridCellFloatEditor *src; | |
3082 | wxGridCellTextEditor *dest; | |
3083 | src = (wxGridCellFloatEditor *) ptr; | |
3084 | dest = (wxGridCellTextEditor *) src; | |
3085 | return (void *) dest; | |
3086 | } | |
3087 | ||
3088 | static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) { | |
3089 | wxGridCellFloatEditor *src; | |
3090 | wxGridCellEditor *dest; | |
3091 | src = (wxGridCellFloatEditor *) ptr; | |
3092 | dest = (wxGridCellEditor *) src; | |
3093 | return (void *) dest; | |
3094 | } | |
3095 | ||
3096 | #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor()) | |
3097 | static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3098 | PyObject * _resultobj; | |
3099 | wxGridCellFloatEditor * _result; | |
3100 | char *_kwnames[] = { NULL }; | |
3101 | char _ptemp[128]; | |
3102 | ||
3103 | self = self; | |
3104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames)) | |
3105 | return NULL; | |
3106 | { | |
4268f798 | 3107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3108 | _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor(); |
f6bcfd97 | 3109 | |
4268f798 | 3110 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3111 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3112 | } if (_result) { |
3113 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p"); | |
3114 | _resultobj = Py_BuildValue("s",_ptemp); | |
3115 | } else { | |
3116 | Py_INCREF(Py_None); | |
3117 | _resultobj = Py_None; | |
3118 | } | |
3119 | return _resultobj; | |
3120 | } | |
3121 | ||
3856ee0b RD |
3122 | #define wxGridCellFloatEditor_GetValue(_swigobj) (_swigobj->GetValue()) |
3123 | static PyObject *_wrap_wxGridCellFloatEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3124 | PyObject * _resultobj; | |
3125 | wxString * _result; | |
3126 | wxGridCellFloatEditor * _arg0; | |
3127 | PyObject * _argo0 = 0; | |
3128 | char *_kwnames[] = { "self", NULL }; | |
3129 | ||
3130 | self = self; | |
3131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatEditor_GetValue",_kwnames,&_argo0)) | |
3132 | return NULL; | |
3133 | if (_argo0) { | |
3134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatEditor_p")) { | |
3136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatEditor_GetValue. Expected _wxGridCellFloatEditor_p."); | |
3137 | return NULL; | |
3138 | } | |
3139 | } | |
3140 | { | |
3141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3142 | _result = new wxString (wxGridCellFloatEditor_GetValue(_arg0)); | |
3143 | ||
3144 | wxPyEndAllowThreads(__tstate); | |
3145 | if (PyErr_Occurred()) return NULL; | |
3146 | }{ | |
3147 | #if wxUSE_UNICODE | |
3148 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); | |
3149 | #else | |
3150 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
3151 | #endif | |
3152 | } | |
3153 | { | |
3154 | delete _result; | |
3155 | } | |
3156 | return _resultobj; | |
3157 | } | |
3158 | ||
f6bcfd97 BP |
3159 | static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) { |
3160 | wxGridCellBoolEditor *src; | |
3161 | wxGridCellEditor *dest; | |
3162 | src = (wxGridCellBoolEditor *) ptr; | |
3163 | dest = (wxGridCellEditor *) src; | |
3164 | return (void *) dest; | |
3165 | } | |
3166 | ||
3167 | #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor()) | |
3168 | static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3169 | PyObject * _resultobj; | |
3170 | wxGridCellBoolEditor * _result; | |
3171 | char *_kwnames[] = { NULL }; | |
3172 | char _ptemp[128]; | |
3173 | ||
3174 | self = self; | |
3175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames)) | |
3176 | return NULL; | |
3177 | { | |
4268f798 | 3178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3179 | _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor(); |
f6bcfd97 | 3180 | |
4268f798 | 3181 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3182 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3183 | } if (_result) { |
3184 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p"); | |
3185 | _resultobj = Py_BuildValue("s",_ptemp); | |
3186 | } else { | |
3187 | Py_INCREF(Py_None); | |
3188 | _resultobj = Py_None; | |
3189 | } | |
3190 | return _resultobj; | |
3191 | } | |
3192 | ||
3856ee0b RD |
3193 | #define wxGridCellBoolEditor_GetValue(_swigobj) (_swigobj->GetValue()) |
3194 | static PyObject *_wrap_wxGridCellBoolEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3195 | PyObject * _resultobj; | |
3196 | wxString * _result; | |
3197 | wxGridCellBoolEditor * _arg0; | |
3198 | PyObject * _argo0 = 0; | |
3199 | char *_kwnames[] = { "self", NULL }; | |
3200 | ||
3201 | self = self; | |
3202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellBoolEditor_GetValue",_kwnames,&_argo0)) | |
3203 | return NULL; | |
3204 | if (_argo0) { | |
3205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellBoolEditor_p")) { | |
3207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellBoolEditor_GetValue. Expected _wxGridCellBoolEditor_p."); | |
3208 | return NULL; | |
3209 | } | |
3210 | } | |
3211 | { | |
3212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3213 | _result = new wxString (wxGridCellBoolEditor_GetValue(_arg0)); | |
3214 | ||
3215 | wxPyEndAllowThreads(__tstate); | |
3216 | if (PyErr_Occurred()) return NULL; | |
3217 | }{ | |
3218 | #if wxUSE_UNICODE | |
3219 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); | |
3220 | #else | |
3221 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
3222 | #endif | |
3223 | } | |
3224 | { | |
3225 | delete _result; | |
3226 | } | |
3227 | return _resultobj; | |
3228 | } | |
3229 | ||
f6bcfd97 BP |
3230 | static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) { |
3231 | wxGridCellChoiceEditor *src; | |
3232 | wxGridCellEditor *dest; | |
3233 | src = (wxGridCellChoiceEditor *) ptr; | |
3234 | dest = (wxGridCellEditor *) src; | |
3235 | return (void *) dest; | |
3236 | } | |
3237 | ||
3238 | #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2)) | |
3239 | static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3240 | PyObject * _resultobj; | |
3241 | wxGridCellChoiceEditor * _result; | |
3242 | int _arg0 = (int ) 0; | |
3243 | wxString * _arg1 = (wxString *) NULL; | |
3244 | bool _arg2 = (bool ) FALSE; | |
3245 | PyObject * _obj1 = 0; | |
3246 | int tempbool2 = (int) FALSE; | |
3247 | char *_kwnames[] = { "choices","allowOthers", NULL }; | |
3248 | char _ptemp[128]; | |
3249 | ||
3250 | self = self; | |
3251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2)) | |
3252 | return NULL; | |
3253 | if (_obj1) | |
3254 | { | |
3255 | _arg1 = wxString_LIST_helper(_obj1); | |
3256 | if (_arg1 == NULL) { | |
3257 | return NULL; | |
3258 | } | |
3259 | } | |
3260 | _arg2 = (bool ) tempbool2; | |
3261 | { | |
3262 | if (_obj1) { | |
3263 | _arg0 = PyList_Size(_obj1); | |
3264 | } | |
3265 | else { | |
3266 | _arg0 = 0; | |
3267 | } | |
3268 | } | |
3269 | { | |
4268f798 | 3270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3271 | _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2); |
f6bcfd97 | 3272 | |
4268f798 | 3273 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3274 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3275 | } if (_result) { |
3276 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p"); | |
3277 | _resultobj = Py_BuildValue("s",_ptemp); | |
3278 | } else { | |
3279 | Py_INCREF(Py_None); | |
3280 | _resultobj = Py_None; | |
3281 | } | |
3282 | { | |
3283 | delete [] _arg1; | |
3284 | } | |
3285 | return _resultobj; | |
3286 | } | |
3287 | ||
3856ee0b RD |
3288 | #define wxGridCellChoiceEditor_GetValue(_swigobj) (_swigobj->GetValue()) |
3289 | static PyObject *_wrap_wxGridCellChoiceEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3290 | PyObject * _resultobj; | |
3291 | wxString * _result; | |
3292 | wxGridCellChoiceEditor * _arg0; | |
3293 | PyObject * _argo0 = 0; | |
3294 | char *_kwnames[] = { "self", NULL }; | |
3295 | ||
3296 | self = self; | |
3297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellChoiceEditor_GetValue",_kwnames,&_argo0)) | |
3298 | return NULL; | |
3299 | if (_argo0) { | |
3300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellChoiceEditor_p")) { | |
3302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellChoiceEditor_GetValue. Expected _wxGridCellChoiceEditor_p."); | |
3303 | return NULL; | |
3304 | } | |
3305 | } | |
3306 | { | |
3307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3308 | _result = new wxString (wxGridCellChoiceEditor_GetValue(_arg0)); | |
3309 | ||
3310 | wxPyEndAllowThreads(__tstate); | |
3311 | if (PyErr_Occurred()) return NULL; | |
3312 | }{ | |
3313 | #if wxUSE_UNICODE | |
3314 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); | |
3315 | #else | |
3316 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
3317 | #endif | |
3318 | } | |
3319 | { | |
3320 | delete _result; | |
3321 | } | |
3322 | return _resultobj; | |
3323 | } | |
3324 | ||
19a97bd6 RD |
3325 | static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) { |
3326 | wxGridCellEnumEditor *src; | |
3327 | wxGridCellChoiceEditor *dest; | |
3328 | src = (wxGridCellEnumEditor *) ptr; | |
3329 | dest = (wxGridCellChoiceEditor *) src; | |
3330 | return (void *) dest; | |
3331 | } | |
3332 | ||
3333 | static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) { | |
3334 | wxGridCellEnumEditor *src; | |
3335 | wxGridCellEditor *dest; | |
3336 | src = (wxGridCellEnumEditor *) ptr; | |
3337 | dest = (wxGridCellEditor *) src; | |
3338 | return (void *) dest; | |
3339 | } | |
3340 | ||
3341 | #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0)) | |
3342 | static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3343 | PyObject * _resultobj; | |
3344 | wxGridCellEnumEditor * _result; | |
33ff77f6 | 3345 | wxString * _arg0 = (wxString *) &wxPyEmptyString; |
19a97bd6 RD |
3346 | PyObject * _obj0 = 0; |
3347 | char *_kwnames[] = { "choices", NULL }; | |
3348 | char _ptemp[128]; | |
3349 | ||
3350 | self = self; | |
3351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0)) | |
3352 | return NULL; | |
3353 | if (_obj0) | |
3354 | { | |
3355 | _arg0 = wxString_LIST_helper(_obj0); | |
3356 | if (_arg0 == NULL) { | |
3357 | return NULL; | |
3358 | } | |
3359 | } | |
3360 | { | |
4268f798 | 3361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3362 | _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0); |
19a97bd6 | 3363 | |
4268f798 | 3364 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
3365 | if (PyErr_Occurred()) return NULL; |
3366 | } if (_result) { | |
3367 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p"); | |
3368 | _resultobj = Py_BuildValue("s",_ptemp); | |
3369 | } else { | |
3370 | Py_INCREF(Py_None); | |
3371 | _resultobj = Py_None; | |
3372 | } | |
3373 | { | |
3374 | delete [] _arg0; | |
3375 | } | |
3376 | return _resultobj; | |
3377 | } | |
3378 | ||
3856ee0b RD |
3379 | #define wxGridCellEnumEditor_GetValue(_swigobj) (_swigobj->GetValue()) |
3380 | static PyObject *_wrap_wxGridCellEnumEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3381 | PyObject * _resultobj; | |
3382 | wxString * _result; | |
3383 | wxGridCellEnumEditor * _arg0; | |
3384 | PyObject * _argo0 = 0; | |
3385 | char *_kwnames[] = { "self", NULL }; | |
3386 | ||
3387 | self = self; | |
3388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEnumEditor_GetValue",_kwnames,&_argo0)) | |
3389 | return NULL; | |
3390 | if (_argo0) { | |
3391 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3392 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEnumEditor_p")) { | |
3393 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEnumEditor_GetValue. Expected _wxGridCellEnumEditor_p."); | |
3394 | return NULL; | |
3395 | } | |
3396 | } | |
3397 | { | |
3398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3399 | _result = new wxString (wxGridCellEnumEditor_GetValue(_arg0)); | |
3400 | ||
3401 | wxPyEndAllowThreads(__tstate); | |
3402 | if (PyErr_Occurred()) return NULL; | |
3403 | }{ | |
3404 | #if wxUSE_UNICODE | |
3405 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); | |
3406 | #else | |
3407 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
3408 | #endif | |
3409 | } | |
3410 | { | |
3411 | delete _result; | |
3412 | } | |
3413 | return _resultobj; | |
3414 | } | |
3415 | ||
19a97bd6 RD |
3416 | static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) { |
3417 | wxGridCellAutoWrapStringEditor *src; | |
3418 | wxGridCellTextEditor *dest; | |
3419 | src = (wxGridCellAutoWrapStringEditor *) ptr; | |
3420 | dest = (wxGridCellTextEditor *) src; | |
3421 | return (void *) dest; | |
3422 | } | |
3423 | ||
3424 | static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) { | |
3425 | wxGridCellAutoWrapStringEditor *src; | |
3426 | wxGridCellEditor *dest; | |
3427 | src = (wxGridCellAutoWrapStringEditor *) ptr; | |
3428 | dest = (wxGridCellEditor *) src; | |
3429 | return (void *) dest; | |
3430 | } | |
3431 | ||
3432 | #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor()) | |
3433 | static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3434 | PyObject * _resultobj; | |
3435 | wxGridCellAutoWrapStringEditor * _result; | |
3436 | char *_kwnames[] = { NULL }; | |
3437 | char _ptemp[128]; | |
3438 | ||
3439 | self = self; | |
3440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames)) | |
3441 | return NULL; | |
3442 | { | |
4268f798 | 3443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3444 | _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor(); |
19a97bd6 | 3445 | |
4268f798 | 3446 | wxPyEndAllowThreads(__tstate); |
19a97bd6 RD |
3447 | if (PyErr_Occurred()) return NULL; |
3448 | } if (_result) { | |
3449 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p"); | |
3450 | _resultobj = Py_BuildValue("s",_ptemp); | |
3451 | } else { | |
3452 | Py_INCREF(Py_None); | |
3453 | _resultobj = Py_None; | |
3454 | } | |
3455 | return _resultobj; | |
3456 | } | |
3457 | ||
3856ee0b RD |
3458 | #define wxGridCellAutoWrapStringEditor_GetValue(_swigobj) (_swigobj->GetValue()) |
3459 | static PyObject *_wrap_wxGridCellAutoWrapStringEditor_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3460 | PyObject * _resultobj; | |
3461 | wxString * _result; | |
3462 | wxGridCellAutoWrapStringEditor * _arg0; | |
3463 | PyObject * _argo0 = 0; | |
3464 | char *_kwnames[] = { "self", NULL }; | |
3465 | ||
3466 | self = self; | |
3467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAutoWrapStringEditor_GetValue",_kwnames,&_argo0)) | |
3468 | return NULL; | |
3469 | if (_argo0) { | |
3470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAutoWrapStringEditor_p")) { | |
3472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAutoWrapStringEditor_GetValue. Expected _wxGridCellAutoWrapStringEditor_p."); | |
3473 | return NULL; | |
3474 | } | |
3475 | } | |
3476 | { | |
3477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3478 | _result = new wxString (wxGridCellAutoWrapStringEditor_GetValue(_arg0)); | |
3479 | ||
3480 | wxPyEndAllowThreads(__tstate); | |
3481 | if (PyErr_Occurred()) return NULL; | |
3482 | }{ | |
3483 | #if wxUSE_UNICODE | |
3484 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); | |
3485 | #else | |
3486 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
3487 | #endif | |
3488 | } | |
3489 | { | |
3490 | delete _result; | |
3491 | } | |
3492 | return _resultobj; | |
3493 | } | |
3494 | ||
33ff77f6 RD |
3495 | static void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject * _self) { |
3496 | self->SetClientObject(new wxPyOORClientData(_self)); | |
3497 | } | |
3498 | static PyObject *_wrap_wxGridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3499 | PyObject * _resultobj; | |
3500 | wxGridCellAttr * _arg0; | |
3501 | PyObject * _arg1; | |
3502 | PyObject * _argo0 = 0; | |
3503 | PyObject * _obj1 = 0; | |
3504 | char *_kwnames[] = { "self","_self", NULL }; | |
3505 | ||
3506 | self = self; | |
3507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
3508 | return NULL; | |
3509 | if (_argo0) { | |
3510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p."); | |
3513 | return NULL; | |
3514 | } | |
3515 | } | |
3516 | { | |
3517 | _arg1 = _obj1; | |
3518 | } | |
3519 | { | |
3520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3521 | wxGridCellAttr__setOORInfo(_arg0,_arg1); | |
3522 | ||
3523 | wxPyEndAllowThreads(__tstate); | |
3524 | if (PyErr_Occurred()) return NULL; | |
3525 | } Py_INCREF(Py_None); | |
3526 | _resultobj = Py_None; | |
3527 | return _resultobj; | |
3528 | } | |
3529 | ||
b5a5d647 | 3530 | #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0)) |
f6bcfd97 BP |
3531 | static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
3532 | PyObject * _resultobj; | |
3533 | wxGridCellAttr * _result; | |
b5a5d647 RD |
3534 | wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL; |
3535 | PyObject * _argo0 = 0; | |
3536 | char *_kwnames[] = { "attrDefault", NULL }; | |
f6bcfd97 BP |
3537 | char _ptemp[128]; |
3538 | ||
3539 | self = self; | |
b5a5d647 | 3540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0)) |
f6bcfd97 | 3541 | return NULL; |
b5a5d647 RD |
3542 | if (_argo0) { |
3543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p."); | |
3546 | return NULL; | |
3547 | } | |
3548 | } | |
f6bcfd97 | 3549 | { |
4268f798 | 3550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3551 | _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0); |
f6bcfd97 | 3552 | |
4268f798 | 3553 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3554 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3555 | } if (_result) { |
3556 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
3557 | _resultobj = Py_BuildValue("s",_ptemp); | |
3558 | } else { | |
3559 | Py_INCREF(Py_None); | |
3560 | _resultobj = Py_None; | |
3561 | } | |
3562 | return _resultobj; | |
3563 | } | |
3564 | ||
3565 | #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone()) | |
3566 | static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3567 | PyObject * _resultobj; | |
3568 | wxGridCellAttr * _result; | |
3569 | wxGridCellAttr * _arg0; | |
3570 | PyObject * _argo0 = 0; | |
3571 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
3572 | |
3573 | self = self; | |
3574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0)) | |
3575 | return NULL; | |
3576 | if (_argo0) { | |
3577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p."); | |
3580 | return NULL; | |
3581 | } | |
3582 | } | |
3583 | { | |
4268f798 | 3584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3585 | _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0); |
f6bcfd97 | 3586 | |
4268f798 | 3587 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3588 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 3589 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
3590 | return _resultobj; |
3591 | } | |
3592 | ||
9416aa89 RD |
3593 | #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0)) |
3594 | static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3595 | PyObject * _resultobj; | |
3596 | wxGridCellAttr * _arg0; | |
3597 | wxGridCellAttr * _arg1; | |
3598 | PyObject * _argo0 = 0; | |
3599 | PyObject * _argo1 = 0; | |
3600 | char *_kwnames[] = { "self","mergefrom", NULL }; | |
3601 | ||
3602 | self = self; | |
3603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1)) | |
3604 | return NULL; | |
3605 | if (_argo0) { | |
3606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p."); | |
3609 | return NULL; | |
3610 | } | |
3611 | } | |
3612 | if (_argo1) { | |
3613 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3614 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
3615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p."); | |
3616 | return NULL; | |
3617 | } | |
3618 | } | |
3619 | { | |
4268f798 | 3620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3621 | wxGridCellAttr_MergeWith(_arg0,_arg1); |
9416aa89 | 3622 | |
4268f798 | 3623 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3624 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
3625 | } Py_INCREF(Py_None); |
3626 | _resultobj = Py_None; | |
3627 | return _resultobj; | |
3628 | } | |
3629 | ||
f6bcfd97 BP |
3630 | #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef()) |
3631 | static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3632 | PyObject * _resultobj; | |
3633 | wxGridCellAttr * _arg0; | |
3634 | PyObject * _argo0 = 0; | |
3635 | char *_kwnames[] = { "self", NULL }; | |
3636 | ||
3637 | self = self; | |
3638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0)) | |
3639 | return NULL; | |
3640 | if (_argo0) { | |
3641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p."); | |
3644 | return NULL; | |
3645 | } | |
3646 | } | |
3647 | { | |
4268f798 | 3648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3649 | wxGridCellAttr_IncRef(_arg0); |
f6bcfd97 | 3650 | |
4268f798 | 3651 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3652 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3653 | } Py_INCREF(Py_None); |
3654 | _resultobj = Py_None; | |
3655 | return _resultobj; | |
3656 | } | |
3657 | ||
3658 | #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef()) | |
3659 | static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3660 | PyObject * _resultobj; | |
3661 | wxGridCellAttr * _arg0; | |
3662 | PyObject * _argo0 = 0; | |
3663 | char *_kwnames[] = { "self", NULL }; | |
3664 | ||
3665 | self = self; | |
3666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0)) | |
3667 | return NULL; | |
3668 | if (_argo0) { | |
3669 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3670 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p."); | |
3672 | return NULL; | |
3673 | } | |
3674 | } | |
3675 | { | |
4268f798 | 3676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3677 | wxGridCellAttr_DecRef(_arg0); |
f6bcfd97 | 3678 | |
4268f798 | 3679 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3680 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3681 | } Py_INCREF(Py_None); |
3682 | _resultobj = Py_None; | |
3683 | return _resultobj; | |
3684 | } | |
3685 | ||
3686 | #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
3687 | static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3688 | PyObject * _resultobj; | |
3689 | wxGridCellAttr * _arg0; | |
3690 | wxColour * _arg1; | |
3691 | PyObject * _argo0 = 0; | |
3692 | wxColour temp; | |
3693 | PyObject * _obj1 = 0; | |
3694 | char *_kwnames[] = { "self","colText", NULL }; | |
3695 | ||
3696 | self = self; | |
3697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
3698 | return NULL; | |
3699 | if (_argo0) { | |
3700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p."); | |
3703 | return NULL; | |
3704 | } | |
3705 | } | |
3706 | { | |
3707 | _arg1 = &temp; | |
3708 | if (! wxColour_helper(_obj1, &_arg1)) | |
3709 | return NULL; | |
3710 | } | |
3711 | { | |
4268f798 | 3712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3713 | wxGridCellAttr_SetTextColour(_arg0,*_arg1); |
f6bcfd97 | 3714 | |
4268f798 | 3715 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3716 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3717 | } Py_INCREF(Py_None); |
3718 | _resultobj = Py_None; | |
3719 | return _resultobj; | |
3720 | } | |
3721 | ||
3722 | #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
3723 | static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3724 | PyObject * _resultobj; | |
3725 | wxGridCellAttr * _arg0; | |
3726 | wxColour * _arg1; | |
3727 | PyObject * _argo0 = 0; | |
3728 | wxColour temp; | |
3729 | PyObject * _obj1 = 0; | |
3730 | char *_kwnames[] = { "self","colBack", NULL }; | |
3731 | ||
3732 | self = self; | |
3733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
3734 | return NULL; | |
3735 | if (_argo0) { | |
3736 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3737 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p."); | |
3739 | return NULL; | |
3740 | } | |
3741 | } | |
3742 | { | |
3743 | _arg1 = &temp; | |
3744 | if (! wxColour_helper(_obj1, &_arg1)) | |
3745 | return NULL; | |
3746 | } | |
3747 | { | |
4268f798 | 3748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3749 | wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 3750 | |
4268f798 | 3751 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3752 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3753 | } Py_INCREF(Py_None); |
3754 | _resultobj = Py_None; | |
3755 | return _resultobj; | |
3756 | } | |
3757 | ||
3758 | #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
3759 | static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3760 | PyObject * _resultobj; | |
3761 | wxGridCellAttr * _arg0; | |
3762 | wxFont * _arg1; | |
3763 | PyObject * _argo0 = 0; | |
3764 | PyObject * _argo1 = 0; | |
3765 | char *_kwnames[] = { "self","font", NULL }; | |
3766 | ||
3767 | self = self; | |
3768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1)) | |
3769 | return NULL; | |
3770 | if (_argo0) { | |
3771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p."); | |
3774 | return NULL; | |
3775 | } | |
3776 | } | |
3777 | if (_argo1) { | |
7e50db3f | 3778 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { |
f6bcfd97 BP |
3779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p."); |
3780 | return NULL; | |
3781 | } | |
3782 | } | |
3783 | { | |
4268f798 | 3784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3785 | wxGridCellAttr_SetFont(_arg0,*_arg1); |
f6bcfd97 | 3786 | |
4268f798 | 3787 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3788 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3789 | } Py_INCREF(Py_None); |
3790 | _resultobj = Py_None; | |
3791 | return _resultobj; | |
3792 | } | |
3793 | ||
3794 | #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1)) | |
3795 | static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3796 | PyObject * _resultobj; | |
3797 | wxGridCellAttr * _arg0; | |
3798 | int _arg1; | |
3799 | int _arg2; | |
3800 | PyObject * _argo0 = 0; | |
3801 | char *_kwnames[] = { "self","hAlign","vAlign", NULL }; | |
3802 | ||
3803 | self = self; | |
3804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3805 | return NULL; | |
3806 | if (_argo0) { | |
3807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p."); | |
3810 | return NULL; | |
3811 | } | |
3812 | } | |
3813 | { | |
4268f798 | 3814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3815 | wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 3816 | |
4268f798 | 3817 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3818 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3819 | } Py_INCREF(Py_None); |
3820 | _resultobj = Py_None; | |
3821 | return _resultobj; | |
3822 | } | |
3823 | ||
67a92fff RD |
3824 | #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) |
3825 | static PyObject *_wrap_wxGridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3826 | PyObject * _resultobj; | |
3827 | wxGridCellAttr * _arg0; | |
3828 | int _arg1; | |
3829 | int _arg2; | |
3830 | PyObject * _argo0 = 0; | |
3831 | char *_kwnames[] = { "self","num_rows","num_cols", NULL }; | |
3832 | ||
3833 | self = self; | |
3834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3835 | return NULL; | |
3836 | if (_argo0) { | |
3837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetSize. Expected _wxGridCellAttr_p."); | |
3840 | return NULL; | |
3841 | } | |
3842 | } | |
3843 | { | |
3844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3845 | wxGridCellAttr_SetSize(_arg0,_arg1,_arg2); | |
3846 | ||
3847 | wxPyEndAllowThreads(__tstate); | |
3848 | if (PyErr_Occurred()) return NULL; | |
3849 | } Py_INCREF(Py_None); | |
3850 | _resultobj = Py_None; | |
3851 | return _resultobj; | |
3852 | } | |
3853 | ||
3854 | #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0)) | |
3855 | static PyObject *_wrap_wxGridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3856 | PyObject * _resultobj; | |
3857 | wxGridCellAttr * _arg0; | |
3858 | bool _arg1; | |
3859 | PyObject * _argo0 = 0; | |
3860 | int tempbool1; | |
3861 | char *_kwnames[] = { "self","allow", NULL }; | |
3862 | ||
3863 | self = self; | |
3864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetOverflow",_kwnames,&_argo0,&tempbool1)) | |
3865 | return NULL; | |
3866 | if (_argo0) { | |
3867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetOverflow. Expected _wxGridCellAttr_p."); | |
3870 | return NULL; | |
3871 | } | |
3872 | } | |
3873 | _arg1 = (bool ) tempbool1; | |
3874 | { | |
3875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3876 | wxGridCellAttr_SetOverflow(_arg0,_arg1); | |
3877 | ||
3878 | wxPyEndAllowThreads(__tstate); | |
3879 | if (PyErr_Occurred()) return NULL; | |
3880 | } Py_INCREF(Py_None); | |
3881 | _resultobj = Py_None; | |
3882 | return _resultobj; | |
3883 | } | |
3884 | ||
f6bcfd97 BP |
3885 | #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) |
3886 | static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3887 | PyObject * _resultobj; | |
3888 | wxGridCellAttr * _arg0; | |
3889 | bool _arg1 = (bool ) TRUE; | |
3890 | PyObject * _argo0 = 0; | |
3891 | int tempbool1 = (int) TRUE; | |
3892 | char *_kwnames[] = { "self","isReadOnly", NULL }; | |
3893 | ||
3894 | self = self; | |
3895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1)) | |
3896 | return NULL; | |
3897 | if (_argo0) { | |
3898 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3899 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3900 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p."); | |
3901 | return NULL; | |
3902 | } | |
3903 | } | |
3904 | _arg1 = (bool ) tempbool1; | |
3905 | { | |
4268f798 | 3906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3907 | wxGridCellAttr_SetReadOnly(_arg0,_arg1); |
f6bcfd97 | 3908 | |
4268f798 | 3909 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3910 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3911 | } Py_INCREF(Py_None); |
3912 | _resultobj = Py_None; | |
3913 | return _resultobj; | |
3914 | } | |
3915 | ||
3916 | #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0)) | |
3917 | static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3918 | PyObject * _resultobj; | |
3919 | wxGridCellAttr * _arg0; | |
3920 | wxGridCellRenderer * _arg1; | |
3921 | PyObject * _argo0 = 0; | |
3922 | PyObject * _argo1 = 0; | |
3923 | char *_kwnames[] = { "self","renderer", NULL }; | |
3924 | ||
3925 | self = self; | |
3926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1)) | |
3927 | return NULL; | |
3928 | if (_argo0) { | |
3929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p."); | |
3932 | return NULL; | |
3933 | } | |
3934 | } | |
3935 | if (_argo1) { | |
3936 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3937 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) { | |
3938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p."); | |
3939 | return NULL; | |
3940 | } | |
3941 | } | |
3942 | { | |
4268f798 | 3943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3944 | wxGridCellAttr_SetRenderer(_arg0,_arg1); |
f6bcfd97 | 3945 | |
4268f798 | 3946 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3947 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3948 | } Py_INCREF(Py_None); |
3949 | _resultobj = Py_None; | |
3950 | return _resultobj; | |
3951 | } | |
3952 | ||
3953 | #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0)) | |
3954 | static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3955 | PyObject * _resultobj; | |
3956 | wxGridCellAttr * _arg0; | |
3957 | wxGridCellEditor * _arg1; | |
3958 | PyObject * _argo0 = 0; | |
3959 | PyObject * _argo1 = 0; | |
3960 | char *_kwnames[] = { "self","editor", NULL }; | |
3961 | ||
3962 | self = self; | |
3963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1)) | |
3964 | return NULL; | |
3965 | if (_argo0) { | |
3966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p."); | |
3969 | return NULL; | |
3970 | } | |
3971 | } | |
3972 | if (_argo1) { | |
3973 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3974 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) { | |
3975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p."); | |
3976 | return NULL; | |
3977 | } | |
3978 | } | |
3979 | { | |
4268f798 | 3980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3981 | wxGridCellAttr_SetEditor(_arg0,_arg1); |
f6bcfd97 | 3982 | |
4268f798 | 3983 | wxPyEndAllowThreads(__tstate); |
493f1553 | 3984 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3985 | } Py_INCREF(Py_None); |
3986 | _resultobj = Py_None; | |
3987 | return _resultobj; | |
3988 | } | |
3989 | ||
9416aa89 RD |
3990 | #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0)) |
3991 | static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3992 | PyObject * _resultobj; | |
3993 | wxGridCellAttr * _arg0; | |
3994 | wxGridCellAttr::wxAttrKind _arg1; | |
3995 | PyObject * _argo0 = 0; | |
3996 | char *_kwnames[] = { "self","kind", NULL }; | |
3997 | ||
3998 | self = self; | |
3999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1)) | |
4000 | return NULL; | |
4001 | if (_argo0) { | |
4002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p."); | |
4005 | return NULL; | |
4006 | } | |
4007 | } | |
4008 | { | |
4268f798 | 4009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4010 | wxGridCellAttr_SetKind(_arg0,_arg1); |
9416aa89 | 4011 | |
4268f798 | 4012 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4013 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
4014 | } Py_INCREF(Py_None); |
4015 | _resultobj = Py_None; | |
4016 | return _resultobj; | |
4017 | } | |
4018 | ||
f6bcfd97 BP |
4019 | #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour()) |
4020 | static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4021 | PyObject * _resultobj; | |
4022 | bool _result; | |
4023 | wxGridCellAttr * _arg0; | |
4024 | PyObject * _argo0 = 0; | |
4025 | char *_kwnames[] = { "self", NULL }; | |
4026 | ||
4027 | self = self; | |
4028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0)) | |
4029 | return NULL; | |
4030 | if (_argo0) { | |
4031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p."); | |
4034 | return NULL; | |
4035 | } | |
4036 | } | |
4037 | { | |
4268f798 | 4038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4039 | _result = (bool )wxGridCellAttr_HasTextColour(_arg0); |
f6bcfd97 | 4040 | |
4268f798 | 4041 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4042 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4043 | } _resultobj = Py_BuildValue("i",_result); |
4044 | return _resultobj; | |
4045 | } | |
4046 | ||
4047 | #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour()) | |
4048 | static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4049 | PyObject * _resultobj; | |
4050 | bool _result; | |
4051 | wxGridCellAttr * _arg0; | |
4052 | PyObject * _argo0 = 0; | |
4053 | char *_kwnames[] = { "self", NULL }; | |
4054 | ||
4055 | self = self; | |
4056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0)) | |
4057 | return NULL; | |
4058 | if (_argo0) { | |
4059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p."); | |
4062 | return NULL; | |
4063 | } | |
4064 | } | |
4065 | { | |
4268f798 | 4066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4067 | _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0); |
f6bcfd97 | 4068 | |
4268f798 | 4069 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4070 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4071 | } _resultobj = Py_BuildValue("i",_result); |
4072 | return _resultobj; | |
4073 | } | |
4074 | ||
4075 | #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont()) | |
4076 | static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4077 | PyObject * _resultobj; | |
4078 | bool _result; | |
4079 | wxGridCellAttr * _arg0; | |
4080 | PyObject * _argo0 = 0; | |
4081 | char *_kwnames[] = { "self", NULL }; | |
4082 | ||
4083 | self = self; | |
4084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0)) | |
4085 | return NULL; | |
4086 | if (_argo0) { | |
4087 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4088 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p."); | |
4090 | return NULL; | |
4091 | } | |
4092 | } | |
4093 | { | |
4268f798 | 4094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4095 | _result = (bool )wxGridCellAttr_HasFont(_arg0); |
f6bcfd97 | 4096 | |
4268f798 | 4097 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4098 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4099 | } _resultobj = Py_BuildValue("i",_result); |
4100 | return _resultobj; | |
4101 | } | |
4102 | ||
4103 | #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment()) | |
4104 | static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4105 | PyObject * _resultobj; | |
4106 | bool _result; | |
4107 | wxGridCellAttr * _arg0; | |
4108 | PyObject * _argo0 = 0; | |
4109 | char *_kwnames[] = { "self", NULL }; | |
4110 | ||
4111 | self = self; | |
4112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0)) | |
4113 | return NULL; | |
4114 | if (_argo0) { | |
4115 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4116 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p."); | |
4118 | return NULL; | |
4119 | } | |
4120 | } | |
4121 | { | |
4268f798 | 4122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4123 | _result = (bool )wxGridCellAttr_HasAlignment(_arg0); |
f6bcfd97 | 4124 | |
4268f798 | 4125 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4126 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4127 | } _resultobj = Py_BuildValue("i",_result); |
4128 | return _resultobj; | |
4129 | } | |
4130 | ||
4131 | #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer()) | |
4132 | static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4133 | PyObject * _resultobj; | |
4134 | bool _result; | |
4135 | wxGridCellAttr * _arg0; | |
4136 | PyObject * _argo0 = 0; | |
4137 | char *_kwnames[] = { "self", NULL }; | |
4138 | ||
4139 | self = self; | |
4140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0)) | |
4141 | return NULL; | |
4142 | if (_argo0) { | |
4143 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4144 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p."); | |
4146 | return NULL; | |
4147 | } | |
4148 | } | |
4149 | { | |
4268f798 | 4150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4151 | _result = (bool )wxGridCellAttr_HasRenderer(_arg0); |
f6bcfd97 | 4152 | |
4268f798 | 4153 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4154 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4155 | } _resultobj = Py_BuildValue("i",_result); |
4156 | return _resultobj; | |
4157 | } | |
4158 | ||
4159 | #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor()) | |
4160 | static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4161 | PyObject * _resultobj; | |
4162 | bool _result; | |
4163 | wxGridCellAttr * _arg0; | |
4164 | PyObject * _argo0 = 0; | |
4165 | char *_kwnames[] = { "self", NULL }; | |
4166 | ||
4167 | self = self; | |
4168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0)) | |
4169 | return NULL; | |
4170 | if (_argo0) { | |
4171 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4172 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p."); | |
4174 | return NULL; | |
4175 | } | |
4176 | } | |
4177 | { | |
4268f798 | 4178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4179 | _result = (bool )wxGridCellAttr_HasEditor(_arg0); |
f6bcfd97 | 4180 | |
4268f798 | 4181 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4182 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4183 | } _resultobj = Py_BuildValue("i",_result); |
4184 | return _resultobj; | |
4185 | } | |
4186 | ||
9416aa89 RD |
4187 | #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode()) |
4188 | static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4189 | PyObject * _resultobj; | |
4190 | bool _result; | |
4191 | wxGridCellAttr * _arg0; | |
4192 | PyObject * _argo0 = 0; | |
4193 | char *_kwnames[] = { "self", NULL }; | |
4194 | ||
4195 | self = self; | |
4196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0)) | |
4197 | return NULL; | |
4198 | if (_argo0) { | |
4199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p."); | |
4202 | return NULL; | |
4203 | } | |
4204 | } | |
4205 | { | |
4268f798 | 4206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4207 | _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0); |
9416aa89 | 4208 | |
4268f798 | 4209 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4210 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
4211 | } _resultobj = Py_BuildValue("i",_result); |
4212 | return _resultobj; | |
4213 | } | |
4214 | ||
f6bcfd97 BP |
4215 | #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour()) |
4216 | static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4217 | PyObject * _resultobj; | |
4218 | wxColour * _result; | |
4219 | wxGridCellAttr * _arg0; | |
4220 | PyObject * _argo0 = 0; | |
4221 | char *_kwnames[] = { "self", NULL }; | |
4222 | char _ptemp[128]; | |
4223 | ||
4224 | self = self; | |
4225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0)) | |
4226 | return NULL; | |
4227 | if (_argo0) { | |
4228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p."); | |
4231 | return NULL; | |
4232 | } | |
4233 | } | |
4234 | { | |
4268f798 | 4235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4236 | _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0)); |
f6bcfd97 | 4237 | |
4268f798 | 4238 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4239 | if (PyErr_Occurred()) return NULL; |
c5943253 RD |
4240 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
4241 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
4242 | return _resultobj; |
4243 | } | |
4244 | ||
4245 | #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
4246 | static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4247 | PyObject * _resultobj; | |
4248 | wxColour * _result; | |
4249 | wxGridCellAttr * _arg0; | |
4250 | PyObject * _argo0 = 0; | |
4251 | char *_kwnames[] = { "self", NULL }; | |
4252 | char _ptemp[128]; | |
4253 | ||
4254 | self = self; | |
4255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0)) | |
4256 | return NULL; | |
4257 | if (_argo0) { | |
4258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p."); | |
4261 | return NULL; | |
4262 | } | |
4263 | } | |
4264 | { | |
4268f798 | 4265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4266 | _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0)); |
f6bcfd97 | 4267 | |
4268f798 | 4268 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4269 | if (PyErr_Occurred()) return NULL; |
c5943253 RD |
4270 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
4271 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
4272 | return _resultobj; |
4273 | } | |
4274 | ||
4275 | #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont()) | |
4276 | static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4277 | PyObject * _resultobj; | |
4278 | wxFont * _result; | |
4279 | wxGridCellAttr * _arg0; | |
4280 | PyObject * _argo0 = 0; | |
4281 | char *_kwnames[] = { "self", NULL }; | |
4282 | char _ptemp[128]; | |
4283 | ||
4284 | self = self; | |
4285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0)) | |
4286 | return NULL; | |
4287 | if (_argo0) { | |
4288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p."); | |
4291 | return NULL; | |
4292 | } | |
4293 | } | |
4294 | { | |
4268f798 | 4295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4296 | _result = new wxFont (wxGridCellAttr_GetFont(_arg0)); |
f6bcfd97 | 4297 | |
4268f798 | 4298 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4299 | if (PyErr_Occurred()) return NULL; |
c5943253 RD |
4300 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
4301 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
4302 | return _resultobj; |
4303 | } | |
4304 | ||
4305 | #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1)) | |
4306 | static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4307 | PyObject * _resultobj; | |
4308 | wxGridCellAttr * _arg0; | |
4309 | int * _arg1; | |
4310 | int temp; | |
4311 | int * _arg2; | |
4312 | int temp0; | |
4313 | PyObject * _argo0 = 0; | |
4314 | char *_kwnames[] = { "self", NULL }; | |
4315 | ||
4316 | self = self; | |
4317 | { | |
4318 | _arg1 = &temp; | |
4319 | } | |
4320 | { | |
4321 | _arg2 = &temp0; | |
4322 | } | |
4323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0)) | |
4324 | return NULL; | |
4325 | if (_argo0) { | |
4326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p."); | |
4329 | return NULL; | |
4330 | } | |
4331 | } | |
4332 | { | |
4268f798 | 4333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4334 | wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 4335 | |
4268f798 | 4336 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4337 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4338 | } Py_INCREF(Py_None); |
4339 | _resultobj = Py_None; | |
4340 | { | |
4341 | PyObject *o; | |
4342 | o = PyInt_FromLong((long) (*_arg1)); | |
4343 | _resultobj = t_output_helper(_resultobj, o); | |
4344 | } | |
4345 | { | |
4346 | PyObject *o; | |
4347 | o = PyInt_FromLong((long) (*_arg2)); | |
4348 | _resultobj = t_output_helper(_resultobj, o); | |
4349 | } | |
4350 | return _resultobj; | |
4351 | } | |
4352 | ||
67a92fff RD |
4353 | #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1)) |
4354 | static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4355 | PyObject * _resultobj; | |
4356 | wxGridCellAttr * _arg0; | |
4357 | int * _arg1; | |
4358 | int * _arg2; | |
4359 | PyObject * _argo0 = 0; | |
4360 | PyObject * _argo1 = 0; | |
4361 | PyObject * _argo2 = 0; | |
4362 | char *_kwnames[] = { "self","num_rows","num_cols", NULL }; | |
4363 | ||
4364 | self = self; | |
4365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellAttr_GetSize",_kwnames,&_argo0,&_argo1,&_argo2)) | |
4366 | return NULL; | |
4367 | if (_argo0) { | |
4368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p."); | |
4371 | return NULL; | |
4372 | } | |
4373 | } | |
4374 | if (_argo1) { | |
4375 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4376 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
4377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetSize. Expected _int_p."); | |
4378 | return NULL; | |
4379 | } | |
4380 | } | |
4381 | if (_argo2) { | |
4382 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4383 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
4384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellAttr_GetSize. Expected _int_p."); | |
4385 | return NULL; | |
4386 | } | |
4387 | } | |
4388 | { | |
4389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4390 | wxGridCellAttr_GetSize(_arg0,_arg1,_arg2); | |
4391 | ||
4392 | wxPyEndAllowThreads(__tstate); | |
4393 | if (PyErr_Occurred()) return NULL; | |
4394 | } Py_INCREF(Py_None); | |
4395 | _resultobj = Py_None; | |
4396 | return _resultobj; | |
4397 | } | |
4398 | ||
4399 | #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow()) | |
4400 | static PyObject *_wrap_wxGridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4401 | PyObject * _resultobj; | |
4402 | bool _result; | |
4403 | wxGridCellAttr * _arg0; | |
4404 | PyObject * _argo0 = 0; | |
4405 | char *_kwnames[] = { "self", NULL }; | |
4406 | ||
4407 | self = self; | |
4408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetOverflow",_kwnames,&_argo0)) | |
4409 | return NULL; | |
4410 | if (_argo0) { | |
4411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p."); | |
4414 | return NULL; | |
4415 | } | |
4416 | } | |
4417 | { | |
4418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4419 | _result = (bool )wxGridCellAttr_GetOverflow(_arg0); | |
4420 | ||
4421 | wxPyEndAllowThreads(__tstate); | |
4422 | if (PyErr_Occurred()) return NULL; | |
4423 | } _resultobj = Py_BuildValue("i",_result); | |
4424 | return _resultobj; | |
4425 | } | |
4426 | ||
f6bcfd97 BP |
4427 | #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2)) |
4428 | static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4429 | PyObject * _resultobj; | |
4430 | wxGridCellRenderer * _result; | |
4431 | wxGridCellAttr * _arg0; | |
4432 | wxGrid * _arg1; | |
4433 | int _arg2; | |
4434 | int _arg3; | |
4435 | PyObject * _argo0 = 0; | |
4436 | PyObject * _argo1 = 0; | |
4437 | char *_kwnames[] = { "self","grid","row","col", NULL }; | |
f6bcfd97 BP |
4438 | |
4439 | self = self; | |
4440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4441 | return NULL; | |
4442 | if (_argo0) { | |
4443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p."); | |
4446 | return NULL; | |
4447 | } | |
4448 | } | |
4449 | if (_argo1) { | |
4450 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4451 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
4452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p."); | |
4453 | return NULL; | |
4454 | } | |
4455 | } | |
4456 | { | |
4268f798 | 4457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4458 | _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4459 | |
4268f798 | 4460 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4461 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4462 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
4463 | return _resultobj; |
4464 | } | |
4465 | ||
4466 | #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2)) | |
4467 | static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4468 | PyObject * _resultobj; | |
4469 | wxGridCellEditor * _result; | |
4470 | wxGridCellAttr * _arg0; | |
4471 | wxGrid * _arg1; | |
4472 | int _arg2; | |
4473 | int _arg3; | |
4474 | PyObject * _argo0 = 0; | |
4475 | PyObject * _argo1 = 0; | |
4476 | char *_kwnames[] = { "self","grid","row","col", NULL }; | |
f6bcfd97 BP |
4477 | |
4478 | self = self; | |
4479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4480 | return NULL; | |
4481 | if (_argo0) { | |
4482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p."); | |
4485 | return NULL; | |
4486 | } | |
4487 | } | |
4488 | if (_argo1) { | |
4489 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4490 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
4491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p."); | |
4492 | return NULL; | |
4493 | } | |
4494 | } | |
4495 | { | |
4268f798 | 4496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4497 | _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4498 | |
4268f798 | 4499 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4500 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4501 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
4502 | return _resultobj; |
4503 | } | |
4504 | ||
4505 | #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly()) | |
4506 | static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4507 | PyObject * _resultobj; | |
4508 | bool _result; | |
4509 | wxGridCellAttr * _arg0; | |
4510 | PyObject * _argo0 = 0; | |
4511 | char *_kwnames[] = { "self", NULL }; | |
4512 | ||
4513 | self = self; | |
4514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0)) | |
4515 | return NULL; | |
4516 | if (_argo0) { | |
4517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p."); | |
4520 | return NULL; | |
4521 | } | |
4522 | } | |
4523 | { | |
4268f798 | 4524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4525 | _result = (bool )wxGridCellAttr_IsReadOnly(_arg0); |
f6bcfd97 | 4526 | |
4268f798 | 4527 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4528 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4529 | } _resultobj = Py_BuildValue("i",_result); |
4530 | return _resultobj; | |
4531 | } | |
4532 | ||
4533 | #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0)) | |
4534 | static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4535 | PyObject * _resultobj; | |
4536 | wxGridCellAttr * _arg0; | |
4537 | wxGridCellAttr * _arg1; | |
4538 | PyObject * _argo0 = 0; | |
4539 | PyObject * _argo1 = 0; | |
4540 | char *_kwnames[] = { "self","defAttr", NULL }; | |
4541 | ||
4542 | self = self; | |
4543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1)) | |
4544 | return NULL; | |
4545 | if (_argo0) { | |
4546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p."); | |
4549 | return NULL; | |
4550 | } | |
4551 | } | |
4552 | if (_argo1) { | |
4553 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4554 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p."); | |
4556 | return NULL; | |
4557 | } | |
4558 | } | |
4559 | { | |
4268f798 | 4560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4561 | wxGridCellAttr_SetDefAttr(_arg0,_arg1); |
f6bcfd97 | 4562 | |
4268f798 | 4563 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4564 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4565 | } Py_INCREF(Py_None); |
4566 | _resultobj = Py_None; | |
4567 | return _resultobj; | |
4568 | } | |
4569 | ||
4570 | #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider()) | |
4571 | static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4572 | PyObject * _resultobj; | |
4573 | wxGridCellAttrProvider * _result; | |
4574 | char *_kwnames[] = { NULL }; | |
4575 | char _ptemp[128]; | |
4576 | ||
4577 | self = self; | |
4578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames)) | |
4579 | return NULL; | |
4580 | { | |
4268f798 | 4581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4582 | _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider(); |
f6bcfd97 | 4583 | |
4268f798 | 4584 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4585 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4586 | } if (_result) { |
4587 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p"); | |
4588 | _resultobj = Py_BuildValue("s",_ptemp); | |
4589 | } else { | |
4590 | Py_INCREF(Py_None); | |
4591 | _resultobj = Py_None; | |
4592 | } | |
4593 | return _resultobj; | |
4594 | } | |
4595 | ||
33ff77f6 RD |
4596 | static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject * _self) { |
4597 | self->SetClientObject(new wxPyOORClientData(_self)); | |
4598 | } | |
4599 | static PyObject *_wrap_wxGridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4600 | PyObject * _resultobj; | |
4601 | wxGridCellAttrProvider * _arg0; | |
4602 | PyObject * _arg1; | |
4603 | PyObject * _argo0 = 0; | |
4604 | PyObject * _obj1 = 0; | |
4605 | char *_kwnames[] = { "self","_self", NULL }; | |
4606 | ||
4607 | self = self; | |
4608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
4609 | return NULL; | |
4610 | if (_argo0) { | |
4611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p."); | |
4614 | return NULL; | |
4615 | } | |
4616 | } | |
4617 | { | |
4618 | _arg1 = _obj1; | |
4619 | } | |
4620 | { | |
4621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4622 | wxGridCellAttrProvider__setOORInfo(_arg0,_arg1); | |
4623 | ||
4624 | wxPyEndAllowThreads(__tstate); | |
4625 | if (PyErr_Occurred()) return NULL; | |
4626 | } Py_INCREF(Py_None); | |
4627 | _resultobj = Py_None; | |
4628 | return _resultobj; | |
4629 | } | |
4630 | ||
9416aa89 | 4631 | #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
4632 | static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
4633 | PyObject * _resultobj; | |
4634 | wxGridCellAttr * _result; | |
4635 | wxGridCellAttrProvider * _arg0; | |
4636 | int _arg1; | |
4637 | int _arg2; | |
9416aa89 | 4638 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 4639 | PyObject * _argo0 = 0; |
9416aa89 | 4640 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
4641 | |
4642 | self = self; | |
9416aa89 | 4643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
4644 | return NULL; |
4645 | if (_argo0) { | |
4646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p."); | |
4649 | return NULL; | |
4650 | } | |
4651 | } | |
4652 | { | |
4268f798 | 4653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4654 | _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4655 | |
4268f798 | 4656 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4657 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4658 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
4659 | return _resultobj; |
4660 | } | |
4661 | ||
4662 | #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
4663 | static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4664 | PyObject * _resultobj; | |
4665 | wxGridCellAttrProvider * _arg0; | |
4666 | wxGridCellAttr * _arg1; | |
4667 | int _arg2; | |
4668 | int _arg3; | |
4669 | PyObject * _argo0 = 0; | |
4670 | PyObject * _argo1 = 0; | |
4671 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
4672 | ||
4673 | self = self; | |
4674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4675 | return NULL; | |
4676 | if (_argo0) { | |
4677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p."); | |
4680 | return NULL; | |
4681 | } | |
4682 | } | |
4683 | if (_argo1) { | |
4684 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4685 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p."); | |
4687 | return NULL; | |
4688 | } | |
4689 | } | |
4690 | { | |
4268f798 | 4691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4692 | wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4693 | |
4268f798 | 4694 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4695 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4696 | } Py_INCREF(Py_None); |
4697 | _resultobj = Py_None; | |
4698 | return _resultobj; | |
4699 | } | |
4700 | ||
4701 | #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
4702 | static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4703 | PyObject * _resultobj; | |
4704 | wxGridCellAttrProvider * _arg0; | |
4705 | wxGridCellAttr * _arg1; | |
4706 | int _arg2; | |
4707 | PyObject * _argo0 = 0; | |
4708 | PyObject * _argo1 = 0; | |
4709 | char *_kwnames[] = { "self","attr","row", NULL }; | |
4710 | ||
4711 | self = self; | |
4712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4713 | return NULL; | |
4714 | if (_argo0) { | |
4715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p."); | |
4718 | return NULL; | |
4719 | } | |
4720 | } | |
4721 | if (_argo1) { | |
4722 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4723 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p."); | |
4725 | return NULL; | |
4726 | } | |
4727 | } | |
4728 | { | |
4268f798 | 4729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4730 | wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4731 | |
4268f798 | 4732 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4733 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4734 | } Py_INCREF(Py_None); |
4735 | _resultobj = Py_None; | |
4736 | return _resultobj; | |
4737 | } | |
4738 | ||
4739 | #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
4740 | static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4741 | PyObject * _resultobj; | |
4742 | wxGridCellAttrProvider * _arg0; | |
4743 | wxGridCellAttr * _arg1; | |
4744 | int _arg2; | |
4745 | PyObject * _argo0 = 0; | |
4746 | PyObject * _argo1 = 0; | |
4747 | char *_kwnames[] = { "self","attr","col", NULL }; | |
4748 | ||
4749 | self = self; | |
4750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4751 | return NULL; | |
4752 | if (_argo0) { | |
4753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p."); | |
4756 | return NULL; | |
4757 | } | |
4758 | } | |
4759 | if (_argo1) { | |
4760 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4761 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p."); | |
4763 | return NULL; | |
4764 | } | |
4765 | } | |
4766 | { | |
4268f798 | 4767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4768 | wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4769 | |
4268f798 | 4770 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4771 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4772 | } Py_INCREF(Py_None); |
4773 | _resultobj = Py_None; | |
4774 | return _resultobj; | |
4775 | } | |
4776 | ||
4777 | #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1)) | |
4778 | static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4779 | PyObject * _resultobj; | |
4780 | wxGridCellAttrProvider * _arg0; | |
4781 | size_t _arg1; | |
4782 | int _arg2; | |
4783 | PyObject * _argo0 = 0; | |
4784 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
4785 | ||
4786 | self = self; | |
4787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4788 | return NULL; | |
4789 | if (_argo0) { | |
4790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p."); | |
4793 | return NULL; | |
4794 | } | |
4795 | } | |
4796 | { | |
4268f798 | 4797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4798 | wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 4799 | |
4268f798 | 4800 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4801 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4802 | } Py_INCREF(Py_None); |
4803 | _resultobj = Py_None; | |
4804 | return _resultobj; | |
4805 | } | |
4806 | ||
4807 | #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1)) | |
4808 | static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4809 | PyObject * _resultobj; | |
4810 | wxGridCellAttrProvider * _arg0; | |
4811 | size_t _arg1; | |
4812 | int _arg2; | |
4813 | PyObject * _argo0 = 0; | |
4814 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
4815 | ||
4816 | self = self; | |
4817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4818 | return NULL; | |
4819 | if (_argo0) { | |
4820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p."); | |
4823 | return NULL; | |
4824 | } | |
4825 | } | |
4826 | { | |
4268f798 | 4827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4828 | wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 4829 | |
4268f798 | 4830 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4831 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4832 | } Py_INCREF(Py_None); |
4833 | _resultobj = Py_None; | |
4834 | return _resultobj; | |
4835 | } | |
4836 | ||
4837 | static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) { | |
4838 | wxPyGridCellAttrProvider *src; | |
4839 | wxGridCellAttrProvider *dest; | |
4840 | src = (wxPyGridCellAttrProvider *) ptr; | |
4841 | dest = (wxGridCellAttrProvider *) src; | |
4842 | return (void *) dest; | |
4843 | } | |
4844 | ||
4845 | #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider()) | |
4846 | static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4847 | PyObject * _resultobj; | |
4848 | wxPyGridCellAttrProvider * _result; | |
4849 | char *_kwnames[] = { NULL }; | |
4850 | char _ptemp[128]; | |
4851 | ||
4852 | self = self; | |
4853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames)) | |
4854 | return NULL; | |
4855 | { | |
4268f798 | 4856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4857 | _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider(); |
f6bcfd97 | 4858 | |
4268f798 | 4859 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4860 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4861 | } if (_result) { |
4862 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p"); | |
4863 | _resultobj = Py_BuildValue("s",_ptemp); | |
4864 | } else { | |
4865 | Py_INCREF(Py_None); | |
4866 | _resultobj = Py_None; | |
4867 | } | |
4868 | return _resultobj; | |
4869 | } | |
4870 | ||
0122b7e3 RD |
4871 | #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
4872 | static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4873 | PyObject * _resultobj; |
4874 | wxPyGridCellAttrProvider * _arg0; | |
4875 | PyObject * _arg1; | |
4876 | PyObject * _arg2; | |
4877 | PyObject * _argo0 = 0; | |
4878 | PyObject * _obj1 = 0; | |
4879 | PyObject * _obj2 = 0; | |
4880 | char *_kwnames[] = { "self","self","_class", NULL }; | |
4881 | ||
4882 | self = self; | |
0122b7e3 | 4883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
4884 | return NULL; |
4885 | if (_argo0) { | |
4886 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4887 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
0122b7e3 | 4888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p."); |
f6bcfd97 BP |
4889 | return NULL; |
4890 | } | |
4891 | } | |
4892 | { | |
4893 | _arg1 = _obj1; | |
4894 | } | |
4895 | { | |
4896 | _arg2 = _obj2; | |
4897 | } | |
4898 | { | |
4268f798 | 4899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4900 | wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 4901 | |
4268f798 | 4902 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4903 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4904 | } Py_INCREF(Py_None); |
4905 | _resultobj = Py_None; | |
4906 | return _resultobj; | |
4907 | } | |
4908 | ||
9416aa89 | 4909 | #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
4910 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
4911 | PyObject * _resultobj; | |
4912 | wxGridCellAttr * _result; | |
4913 | wxPyGridCellAttrProvider * _arg0; | |
4914 | int _arg1; | |
4915 | int _arg2; | |
9416aa89 | 4916 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 4917 | PyObject * _argo0 = 0; |
9416aa89 | 4918 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
4919 | |
4920 | self = self; | |
9416aa89 | 4921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
4922 | return NULL; |
4923 | if (_argo0) { | |
4924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4927 | return NULL; | |
4928 | } | |
4929 | } | |
4930 | { | |
4268f798 | 4931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4932 | _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4933 | |
4268f798 | 4934 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4935 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 4936 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
4937 | return _resultobj; |
4938 | } | |
4939 | ||
4940 | #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
4941 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4942 | PyObject * _resultobj; | |
4943 | wxPyGridCellAttrProvider * _arg0; | |
4944 | wxGridCellAttr * _arg1; | |
4945 | int _arg2; | |
4946 | int _arg3; | |
4947 | PyObject * _argo0 = 0; | |
4948 | PyObject * _argo1 = 0; | |
4949 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
4950 | ||
4951 | self = self; | |
4952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4953 | return NULL; | |
4954 | if (_argo0) { | |
4955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4958 | return NULL; | |
4959 | } | |
4960 | } | |
4961 | if (_argo1) { | |
4962 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4963 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p."); | |
4965 | return NULL; | |
4966 | } | |
4967 | } | |
4968 | { | |
4268f798 | 4969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4970 | wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4971 | |
4268f798 | 4972 | wxPyEndAllowThreads(__tstate); |
493f1553 | 4973 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4974 | } Py_INCREF(Py_None); |
4975 | _resultobj = Py_None; | |
4976 | return _resultobj; | |
4977 | } | |
4978 | ||
4979 | #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1)) | |
4980 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4981 | PyObject * _resultobj; | |
4982 | wxPyGridCellAttrProvider * _arg0; | |
4983 | wxGridCellAttr * _arg1; | |
4984 | int _arg2; | |
4985 | PyObject * _argo0 = 0; | |
4986 | PyObject * _argo1 = 0; | |
4987 | char *_kwnames[] = { "self","attr","row", NULL }; | |
4988 | ||
4989 | self = self; | |
4990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4991 | return NULL; | |
4992 | if (_argo0) { | |
4993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4996 | return NULL; | |
4997 | } | |
4998 | } | |
4999 | if (_argo1) { | |
5000 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5001 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p."); | |
5003 | return NULL; | |
5004 | } | |
5005 | } | |
5006 | { | |
4268f798 | 5007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5008 | wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 5009 | |
4268f798 | 5010 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5011 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5012 | } Py_INCREF(Py_None); |
5013 | _resultobj = Py_None; | |
5014 | return _resultobj; | |
5015 | } | |
5016 | ||
5017 | #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1)) | |
5018 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5019 | PyObject * _resultobj; | |
5020 | wxPyGridCellAttrProvider * _arg0; | |
5021 | wxGridCellAttr * _arg1; | |
5022 | int _arg2; | |
5023 | PyObject * _argo0 = 0; | |
5024 | PyObject * _argo1 = 0; | |
5025 | char *_kwnames[] = { "self","attr","col", NULL }; | |
5026 | ||
5027 | self = self; | |
5028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5029 | return NULL; | |
5030 | if (_argo0) { | |
5031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
5033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p."); | |
5034 | return NULL; | |
5035 | } | |
5036 | } | |
5037 | if (_argo1) { | |
5038 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5039 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p."); | |
5041 | return NULL; | |
5042 | } | |
5043 | } | |
5044 | { | |
4268f798 | 5045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5046 | wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 5047 | |
4268f798 | 5048 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5049 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5050 | } Py_INCREF(Py_None); |
5051 | _resultobj = Py_None; | |
5052 | return _resultobj; | |
5053 | } | |
5054 | ||
9416aa89 RD |
5055 | static void *SwigwxGridTableBaseTowxObject(void *ptr) { |
5056 | wxGridTableBase *src; | |
5057 | wxObject *dest; | |
5058 | src = (wxGridTableBase *) ptr; | |
5059 | dest = (wxObject *) src; | |
5060 | return (void *) dest; | |
5061 | } | |
5062 | ||
33ff77f6 RD |
5063 | static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject * _self) { |
5064 | self->SetClientObject(new wxPyOORClientData(_self)); | |
5065 | } | |
5066 | static PyObject *_wrap_wxGridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5067 | PyObject * _resultobj; | |
5068 | wxGridTableBase * _arg0; | |
5069 | PyObject * _arg1; | |
5070 | PyObject * _argo0 = 0; | |
5071 | PyObject * _obj1 = 0; | |
5072 | char *_kwnames[] = { "self","_self", NULL }; | |
5073 | ||
5074 | self = self; | |
5075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
5076 | return NULL; | |
5077 | if (_argo0) { | |
5078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p."); | |
5081 | return NULL; | |
5082 | } | |
5083 | } | |
5084 | { | |
5085 | _arg1 = _obj1; | |
5086 | } | |
5087 | { | |
5088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5089 | wxGridTableBase__setOORInfo(_arg0,_arg1); | |
5090 | ||
5091 | wxPyEndAllowThreads(__tstate); | |
5092 | if (PyErr_Occurred()) return NULL; | |
5093 | } Py_INCREF(Py_None); | |
5094 | _resultobj = Py_None; | |
5095 | return _resultobj; | |
5096 | } | |
5097 | ||
f6bcfd97 BP |
5098 | #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0)) |
5099 | static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5100 | PyObject * _resultobj; | |
5101 | wxGridTableBase * _arg0; | |
5102 | wxGridCellAttrProvider * _arg1; | |
5103 | PyObject * _argo0 = 0; | |
5104 | PyObject * _argo1 = 0; | |
5105 | char *_kwnames[] = { "self","attrProvider", NULL }; | |
5106 | ||
5107 | self = self; | |
5108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1)) | |
5109 | return NULL; | |
5110 | if (_argo0) { | |
5111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p."); | |
5114 | return NULL; | |
5115 | } | |
5116 | } | |
5117 | if (_argo1) { | |
5118 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5119 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) { | |
5120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p."); | |
5121 | return NULL; | |
5122 | } | |
5123 | } | |
5124 | { | |
4268f798 | 5125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5126 | wxGridTableBase_SetAttrProvider(_arg0,_arg1); |
f6bcfd97 | 5127 | |
4268f798 | 5128 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5129 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5130 | } Py_INCREF(Py_None); |
5131 | _resultobj = Py_None; | |
5132 | return _resultobj; | |
5133 | } | |
5134 | ||
5135 | #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider()) | |
5136 | static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5137 | PyObject * _resultobj; | |
5138 | wxGridCellAttrProvider * _result; | |
5139 | wxGridTableBase * _arg0; | |
5140 | PyObject * _argo0 = 0; | |
5141 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
5142 | |
5143 | self = self; | |
5144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0)) | |
5145 | return NULL; | |
5146 | if (_argo0) { | |
5147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p."); | |
5150 | return NULL; | |
5151 | } | |
5152 | } | |
5153 | { | |
4268f798 | 5154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5155 | _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0); |
f6bcfd97 | 5156 | |
4268f798 | 5157 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5158 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 5159 | }{ _resultobj = wxPyMake_wxGridCellAttrProvider(_result); } |
f6bcfd97 BP |
5160 | return _resultobj; |
5161 | } | |
5162 | ||
5163 | #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0)) | |
5164 | static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5165 | PyObject * _resultobj; | |
5166 | wxGridTableBase * _arg0; | |
5167 | wxGrid * _arg1; | |
5168 | PyObject * _argo0 = 0; | |
5169 | PyObject * _argo1 = 0; | |
5170 | char *_kwnames[] = { "self","grid", NULL }; | |
5171 | ||
5172 | self = self; | |
5173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1)) | |
5174 | return NULL; | |
5175 | if (_argo0) { | |
5176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p."); | |
5179 | return NULL; | |
5180 | } | |
5181 | } | |
5182 | if (_argo1) { | |
5183 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5184 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
5185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p."); | |
5186 | return NULL; | |
5187 | } | |
5188 | } | |
5189 | { | |
4268f798 | 5190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5191 | wxGridTableBase_SetView(_arg0,_arg1); |
f6bcfd97 | 5192 | |
4268f798 | 5193 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5194 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5195 | } Py_INCREF(Py_None); |
5196 | _resultobj = Py_None; | |
5197 | return _resultobj; | |
5198 | } | |
5199 | ||
5200 | #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView()) | |
5201 | static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5202 | PyObject * _resultobj; | |
5203 | wxGrid * _result; | |
5204 | wxGridTableBase * _arg0; | |
5205 | PyObject * _argo0 = 0; | |
5206 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
5207 | |
5208 | self = self; | |
5209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0)) | |
5210 | return NULL; | |
5211 | if (_argo0) { | |
5212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p."); | |
5215 | return NULL; | |
5216 | } | |
5217 | } | |
5218 | { | |
4268f798 | 5219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5220 | _result = (wxGrid *)wxGridTableBase_GetView(_arg0); |
f6bcfd97 | 5221 | |
4268f798 | 5222 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5223 | if (PyErr_Occurred()) return NULL; |
9416aa89 | 5224 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
5225 | return _resultobj; |
5226 | } | |
5227 | ||
5228 | #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows()) | |
5229 | static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5230 | PyObject * _resultobj; | |
5231 | int _result; | |
5232 | wxGridTableBase * _arg0; | |
5233 | PyObject * _argo0 = 0; | |
5234 | char *_kwnames[] = { "self", NULL }; | |
5235 | ||
5236 | self = self; | |
5237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0)) | |
5238 | return NULL; | |
5239 | if (_argo0) { | |
5240 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5241 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p."); | |
5243 | return NULL; | |
5244 | } | |
5245 | } | |
5246 | { | |
4268f798 | 5247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5248 | _result = (int )wxGridTableBase_GetNumberRows(_arg0); |
f6bcfd97 | 5249 | |
4268f798 | 5250 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5251 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5252 | } _resultobj = Py_BuildValue("i",_result); |
5253 | return _resultobj; | |
5254 | } | |
5255 | ||
5256 | #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols()) | |
5257 | static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5258 | PyObject * _resultobj; | |
5259 | int _result; | |
5260 | wxGridTableBase * _arg0; | |
5261 | PyObject * _argo0 = 0; | |
5262 | char *_kwnames[] = { "self", NULL }; | |
5263 | ||
5264 | self = self; | |
5265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0)) | |
5266 | return NULL; | |
5267 | if (_argo0) { | |
5268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p."); | |
5271 | return NULL; | |
5272 | } | |
5273 | } | |
5274 | { | |
4268f798 | 5275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5276 | _result = (int )wxGridTableBase_GetNumberCols(_arg0); |
f6bcfd97 | 5277 | |
4268f798 | 5278 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5279 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5280 | } _resultobj = Py_BuildValue("i",_result); |
5281 | return _resultobj; | |
5282 | } | |
5283 | ||
5284 | #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1)) | |
5285 | static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5286 | PyObject * _resultobj; | |
5287 | bool _result; | |
5288 | wxGridTableBase * _arg0; | |
5289 | int _arg1; | |
5290 | int _arg2; | |
5291 | PyObject * _argo0 = 0; | |
5292 | char *_kwnames[] = { "self","row","col", NULL }; | |
5293 | ||
5294 | self = self; | |
5295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5296 | return NULL; | |
5297 | if (_argo0) { | |
5298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p."); | |
5301 | return NULL; | |
5302 | } | |
5303 | } | |
5304 | { | |
4268f798 | 5305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5306 | _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 5307 | |
4268f798 | 5308 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5309 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5310 | } _resultobj = Py_BuildValue("i",_result); |
5311 | return _resultobj; | |
5312 | } | |
5313 | ||
5314 | #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1)) | |
5315 | static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5316 | PyObject * _resultobj; | |
5317 | wxString * _result; | |
5318 | wxGridTableBase * _arg0; | |
5319 | int _arg1; | |
5320 | int _arg2; | |
5321 | PyObject * _argo0 = 0; | |
5322 | char *_kwnames[] = { "self","row","col", NULL }; | |
5323 | ||
5324 | self = self; | |
5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5326 | return NULL; | |
5327 | if (_argo0) { | |
5328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p."); | |
5331 | return NULL; | |
5332 | } | |
5333 | } | |
5334 | { | |
4268f798 | 5335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5336 | _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2)); |
f6bcfd97 | 5337 | |
4268f798 | 5338 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5339 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5340 | }{ |
c8bc7bb8 | 5341 | #if wxUSE_UNICODE |
7e50db3f | 5342 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5343 | #else |
f6bcfd97 | 5344 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5345 | #endif |
f6bcfd97 BP |
5346 | } |
5347 | { | |
5348 | delete _result; | |
5349 | } | |
5350 | return _resultobj; | |
5351 | } | |
5352 | ||
5353 | #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2)) | |
5354 | static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5355 | PyObject * _resultobj; | |
5356 | wxGridTableBase * _arg0; | |
5357 | int _arg1; | |
5358 | int _arg2; | |
5359 | wxString * _arg3; | |
5360 | PyObject * _argo0 = 0; | |
5361 | PyObject * _obj3 = 0; | |
5362 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5363 | ||
5364 | self = self; | |
5365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5366 | return NULL; | |
5367 | if (_argo0) { | |
5368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p."); | |
5371 | return NULL; | |
5372 | } | |
5373 | } | |
5374 | { | |
c8bc7bb8 RD |
5375 | _arg3 = wxString_in_helper(_obj3); |
5376 | if (_arg3 == NULL) | |
f6bcfd97 | 5377 | return NULL; |
f6bcfd97 BP |
5378 | } |
5379 | { | |
4268f798 | 5380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5381 | wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5382 | |
4268f798 | 5383 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5384 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5385 | } Py_INCREF(Py_None); |
5386 | _resultobj = Py_None; | |
5387 | { | |
5388 | if (_obj3) | |
5389 | delete _arg3; | |
5390 | } | |
5391 | return _resultobj; | |
5392 | } | |
5393 | ||
5394 | #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1)) | |
5395 | static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5396 | PyObject * _resultobj; | |
5397 | wxString * _result; | |
5398 | wxGridTableBase * _arg0; | |
5399 | int _arg1; | |
5400 | int _arg2; | |
5401 | PyObject * _argo0 = 0; | |
5402 | char *_kwnames[] = { "self","row","col", NULL }; | |
5403 | ||
5404 | self = self; | |
5405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5406 | return NULL; | |
5407 | if (_argo0) { | |
5408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p."); | |
5411 | return NULL; | |
5412 | } | |
5413 | } | |
5414 | { | |
4268f798 | 5415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5416 | _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2)); |
f6bcfd97 | 5417 | |
4268f798 | 5418 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5419 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5420 | }{ |
c8bc7bb8 | 5421 | #if wxUSE_UNICODE |
7e50db3f | 5422 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5423 | #else |
f6bcfd97 | 5424 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5425 | #endif |
f6bcfd97 BP |
5426 | } |
5427 | { | |
5428 | delete _result; | |
5429 | } | |
5430 | return _resultobj; | |
5431 | } | |
5432 | ||
5433 | #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5434 | static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5435 | PyObject * _resultobj; | |
5436 | bool _result; | |
5437 | wxGridTableBase * _arg0; | |
5438 | int _arg1; | |
5439 | int _arg2; | |
5440 | wxString * _arg3; | |
5441 | PyObject * _argo0 = 0; | |
5442 | PyObject * _obj3 = 0; | |
5443 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5444 | ||
5445 | self = self; | |
5446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5447 | return NULL; | |
5448 | if (_argo0) { | |
5449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p."); | |
5452 | return NULL; | |
5453 | } | |
5454 | } | |
5455 | { | |
c8bc7bb8 RD |
5456 | _arg3 = wxString_in_helper(_obj3); |
5457 | if (_arg3 == NULL) | |
185d7c3e | 5458 | return NULL; |
f6bcfd97 BP |
5459 | } |
5460 | { | |
4268f798 | 5461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5462 | _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5463 | |
4268f798 | 5464 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5465 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5466 | } _resultobj = Py_BuildValue("i",_result); |
5467 | { | |
5468 | if (_obj3) | |
5469 | delete _arg3; | |
5470 | } | |
5471 | return _resultobj; | |
5472 | } | |
5473 | ||
5474 | #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5475 | static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5476 | PyObject * _resultobj; | |
5477 | bool _result; | |
5478 | wxGridTableBase * _arg0; | |
5479 | int _arg1; | |
5480 | int _arg2; | |
5481 | wxString * _arg3; | |
5482 | PyObject * _argo0 = 0; | |
5483 | PyObject * _obj3 = 0; | |
5484 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5485 | ||
5486 | self = self; | |
5487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5488 | return NULL; | |
5489 | if (_argo0) { | |
5490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p."); | |
5493 | return NULL; | |
5494 | } | |
5495 | } | |
5496 | { | |
c8bc7bb8 RD |
5497 | _arg3 = wxString_in_helper(_obj3); |
5498 | if (_arg3 == NULL) | |
185d7c3e | 5499 | return NULL; |
f6bcfd97 BP |
5500 | } |
5501 | { | |
4268f798 | 5502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5503 | _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5504 | |
4268f798 | 5505 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5506 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5507 | } _resultobj = Py_BuildValue("i",_result); |
5508 | { | |
5509 | if (_obj3) | |
5510 | delete _arg3; | |
5511 | } | |
5512 | return _resultobj; | |
5513 | } | |
5514 | ||
5515 | #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1)) | |
5516 | static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5517 | PyObject * _resultobj; | |
5518 | long _result; | |
5519 | wxGridTableBase * _arg0; | |
5520 | int _arg1; | |
5521 | int _arg2; | |
5522 | PyObject * _argo0 = 0; | |
5523 | char *_kwnames[] = { "self","row","col", NULL }; | |
5524 | ||
5525 | self = self; | |
5526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5527 | return NULL; | |
5528 | if (_argo0) { | |
5529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p."); | |
5532 | return NULL; | |
5533 | } | |
5534 | } | |
5535 | { | |
4268f798 | 5536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5537 | _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2); |
f6bcfd97 | 5538 | |
4268f798 | 5539 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5540 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5541 | } _resultobj = Py_BuildValue("l",_result); |
5542 | return _resultobj; | |
5543 | } | |
5544 | ||
5545 | #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1)) | |
5546 | static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5547 | PyObject * _resultobj; | |
5548 | double _result; | |
5549 | wxGridTableBase * _arg0; | |
5550 | int _arg1; | |
5551 | int _arg2; | |
5552 | PyObject * _argo0 = 0; | |
5553 | char *_kwnames[] = { "self","row","col", NULL }; | |
5554 | ||
5555 | self = self; | |
5556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5557 | return NULL; | |
5558 | if (_argo0) { | |
5559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p."); | |
5562 | return NULL; | |
5563 | } | |
5564 | } | |
5565 | { | |
4268f798 | 5566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5567 | _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2); |
f6bcfd97 | 5568 | |
4268f798 | 5569 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5570 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5571 | } _resultobj = Py_BuildValue("d",_result); |
5572 | return _resultobj; | |
5573 | } | |
5574 | ||
5575 | #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1)) | |
5576 | static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5577 | PyObject * _resultobj; | |
5578 | bool _result; | |
5579 | wxGridTableBase * _arg0; | |
5580 | int _arg1; | |
5581 | int _arg2; | |
5582 | PyObject * _argo0 = 0; | |
5583 | char *_kwnames[] = { "self","row","col", NULL }; | |
5584 | ||
5585 | self = self; | |
5586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5587 | return NULL; | |
5588 | if (_argo0) { | |
5589 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5590 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p."); | |
5592 | return NULL; | |
5593 | } | |
5594 | } | |
5595 | { | |
4268f798 | 5596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5597 | _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2); |
f6bcfd97 | 5598 | |
4268f798 | 5599 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5600 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5601 | } _resultobj = Py_BuildValue("i",_result); |
5602 | return _resultobj; | |
5603 | } | |
5604 | ||
5605 | #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2)) | |
5606 | static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5607 | PyObject * _resultobj; | |
5608 | wxGridTableBase * _arg0; | |
5609 | int _arg1; | |
5610 | int _arg2; | |
5611 | long _arg3; | |
5612 | PyObject * _argo0 = 0; | |
5613 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5614 | ||
5615 | self = self; | |
5616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5617 | return NULL; | |
5618 | if (_argo0) { | |
5619 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5620 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5621 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p."); | |
5622 | return NULL; | |
5623 | } | |
5624 | } | |
5625 | { | |
4268f798 | 5626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5627 | wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5628 | |
4268f798 | 5629 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5630 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5631 | } Py_INCREF(Py_None); |
5632 | _resultobj = Py_None; | |
5633 | return _resultobj; | |
5634 | } | |
5635 | ||
5636 | #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2)) | |
5637 | static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5638 | PyObject * _resultobj; | |
5639 | wxGridTableBase * _arg0; | |
5640 | int _arg1; | |
5641 | int _arg2; | |
5642 | double _arg3; | |
5643 | PyObject * _argo0 = 0; | |
5644 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5645 | ||
5646 | self = self; | |
5647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5648 | return NULL; | |
5649 | if (_argo0) { | |
5650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p."); | |
5653 | return NULL; | |
5654 | } | |
5655 | } | |
5656 | { | |
4268f798 | 5657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5658 | wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5659 | |
4268f798 | 5660 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5661 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5662 | } Py_INCREF(Py_None); |
5663 | _resultobj = Py_None; | |
5664 | return _resultobj; | |
5665 | } | |
5666 | ||
5667 | #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2)) | |
5668 | static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5669 | PyObject * _resultobj; | |
5670 | wxGridTableBase * _arg0; | |
5671 | int _arg1; | |
5672 | int _arg2; | |
5673 | bool _arg3; | |
5674 | PyObject * _argo0 = 0; | |
5675 | int tempbool3; | |
5676 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5677 | ||
5678 | self = self; | |
5679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
5680 | return NULL; | |
5681 | if (_argo0) { | |
5682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p."); | |
5685 | return NULL; | |
5686 | } | |
5687 | } | |
5688 | _arg3 = (bool ) tempbool3; | |
5689 | { | |
4268f798 | 5690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5691 | wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5692 | |
4268f798 | 5693 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5694 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5695 | } Py_INCREF(Py_None); |
5696 | _resultobj = Py_None; | |
5697 | return _resultobj; | |
5698 | } | |
5699 | ||
5700 | #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear()) | |
5701 | static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5702 | PyObject * _resultobj; | |
5703 | wxGridTableBase * _arg0; | |
5704 | PyObject * _argo0 = 0; | |
5705 | char *_kwnames[] = { "self", NULL }; | |
5706 | ||
5707 | self = self; | |
5708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0)) | |
5709 | return NULL; | |
5710 | if (_argo0) { | |
5711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p."); | |
5714 | return NULL; | |
5715 | } | |
5716 | } | |
5717 | { | |
4268f798 | 5718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5719 | wxGridTableBase_Clear(_arg0); |
f6bcfd97 | 5720 | |
4268f798 | 5721 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5722 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5723 | } Py_INCREF(Py_None); |
5724 | _resultobj = Py_None; | |
5725 | return _resultobj; | |
5726 | } | |
5727 | ||
5728 | #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1)) | |
5729 | static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5730 | PyObject * _resultobj; | |
5731 | bool _result; | |
5732 | wxGridTableBase * _arg0; | |
5733 | size_t _arg1 = (size_t ) 0; | |
5734 | size_t _arg2 = (size_t ) 1; | |
5735 | PyObject * _argo0 = 0; | |
5736 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5737 | ||
5738 | self = self; | |
5739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5740 | return NULL; | |
5741 | if (_argo0) { | |
5742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p."); | |
5745 | return NULL; | |
5746 | } | |
5747 | } | |
5748 | { | |
4268f798 | 5749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5750 | _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5751 | |
4268f798 | 5752 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5753 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5754 | } _resultobj = Py_BuildValue("i",_result); |
5755 | return _resultobj; | |
5756 | } | |
5757 | ||
5758 | #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0)) | |
5759 | static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5760 | PyObject * _resultobj; | |
5761 | bool _result; | |
5762 | wxGridTableBase * _arg0; | |
5763 | size_t _arg1 = (size_t ) 1; | |
5764 | PyObject * _argo0 = 0; | |
5765 | char *_kwnames[] = { "self","numRows", NULL }; | |
5766 | ||
5767 | self = self; | |
5768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1)) | |
5769 | return NULL; | |
5770 | if (_argo0) { | |
5771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p."); | |
5774 | return NULL; | |
5775 | } | |
5776 | } | |
5777 | { | |
4268f798 | 5778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5779 | _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1); |
f6bcfd97 | 5780 | |
4268f798 | 5781 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5782 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5783 | } _resultobj = Py_BuildValue("i",_result); |
5784 | return _resultobj; | |
5785 | } | |
5786 | ||
5787 | #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1)) | |
5788 | static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5789 | PyObject * _resultobj; | |
5790 | bool _result; | |
5791 | wxGridTableBase * _arg0; | |
5792 | size_t _arg1 = (size_t ) 0; | |
5793 | size_t _arg2 = (size_t ) 1; | |
5794 | PyObject * _argo0 = 0; | |
5795 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5796 | ||
5797 | self = self; | |
5798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5799 | return NULL; | |
5800 | if (_argo0) { | |
5801 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5802 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5803 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p."); | |
5804 | return NULL; | |
5805 | } | |
5806 | } | |
5807 | { | |
4268f798 | 5808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5809 | _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5810 | |
4268f798 | 5811 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5812 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5813 | } _resultobj = Py_BuildValue("i",_result); |
5814 | return _resultobj; | |
5815 | } | |
5816 | ||
5817 | #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1)) | |
5818 | static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5819 | PyObject * _resultobj; | |
5820 | bool _result; | |
5821 | wxGridTableBase * _arg0; | |
5822 | size_t _arg1 = (size_t ) 0; | |
5823 | size_t _arg2 = (size_t ) 1; | |
5824 | PyObject * _argo0 = 0; | |
5825 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5826 | ||
5827 | self = self; | |
5828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5829 | return NULL; | |
5830 | if (_argo0) { | |
5831 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5832 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p."); | |
5834 | return NULL; | |
5835 | } | |
5836 | } | |
5837 | { | |
4268f798 | 5838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5839 | _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5840 | |
4268f798 | 5841 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5842 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5843 | } _resultobj = Py_BuildValue("i",_result); |
5844 | return _resultobj; | |
5845 | } | |
5846 | ||
5847 | #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0)) | |
5848 | static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5849 | PyObject * _resultobj; | |
5850 | bool _result; | |
5851 | wxGridTableBase * _arg0; | |
5852 | size_t _arg1 = (size_t ) 1; | |
5853 | PyObject * _argo0 = 0; | |
5854 | char *_kwnames[] = { "self","numCols", NULL }; | |
5855 | ||
5856 | self = self; | |
5857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1)) | |
5858 | return NULL; | |
5859 | if (_argo0) { | |
5860 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5861 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p."); | |
5863 | return NULL; | |
5864 | } | |
5865 | } | |
5866 | { | |
4268f798 | 5867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5868 | _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1); |
f6bcfd97 | 5869 | |
4268f798 | 5870 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5871 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5872 | } _resultobj = Py_BuildValue("i",_result); |
5873 | return _resultobj; | |
5874 | } | |
5875 | ||
5876 | #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1)) | |
5877 | static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5878 | PyObject * _resultobj; | |
5879 | bool _result; | |
5880 | wxGridTableBase * _arg0; | |
5881 | size_t _arg1 = (size_t ) 0; | |
5882 | size_t _arg2 = (size_t ) 1; | |
5883 | PyObject * _argo0 = 0; | |
5884 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5885 | ||
5886 | self = self; | |
5887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5888 | return NULL; | |
5889 | if (_argo0) { | |
5890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p."); | |
5893 | return NULL; | |
5894 | } | |
5895 | } | |
5896 | { | |
4268f798 | 5897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5898 | _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5899 | |
4268f798 | 5900 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5901 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5902 | } _resultobj = Py_BuildValue("i",_result); |
5903 | return _resultobj; | |
5904 | } | |
5905 | ||
5906 | #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0)) | |
5907 | static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5908 | PyObject * _resultobj; | |
5909 | wxString * _result; | |
5910 | wxGridTableBase * _arg0; | |
5911 | int _arg1; | |
5912 | PyObject * _argo0 = 0; | |
5913 | char *_kwnames[] = { "self","row", NULL }; | |
5914 | ||
5915 | self = self; | |
5916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
5917 | return NULL; | |
5918 | if (_argo0) { | |
5919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p."); | |
5922 | return NULL; | |
5923 | } | |
5924 | } | |
5925 | { | |
4268f798 | 5926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5927 | _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 5928 | |
4268f798 | 5929 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5930 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5931 | }{ |
c8bc7bb8 | 5932 | #if wxUSE_UNICODE |
7e50db3f | 5933 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5934 | #else |
f6bcfd97 | 5935 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5936 | #endif |
f6bcfd97 BP |
5937 | } |
5938 | { | |
5939 | delete _result; | |
5940 | } | |
5941 | return _resultobj; | |
5942 | } | |
5943 | ||
5944 | #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0)) | |
5945 | static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5946 | PyObject * _resultobj; | |
5947 | wxString * _result; | |
5948 | wxGridTableBase * _arg0; | |
5949 | int _arg1; | |
5950 | PyObject * _argo0 = 0; | |
5951 | char *_kwnames[] = { "self","col", NULL }; | |
5952 | ||
5953 | self = self; | |
5954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
5955 | return NULL; | |
5956 | if (_argo0) { | |
5957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p."); | |
5960 | return NULL; | |
5961 | } | |
5962 | } | |
5963 | { | |
4268f798 | 5964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5965 | _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 5966 | |
4268f798 | 5967 | wxPyEndAllowThreads(__tstate); |
493f1553 | 5968 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5969 | }{ |
c8bc7bb8 | 5970 | #if wxUSE_UNICODE |
7e50db3f | 5971 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5972 | #else |
f6bcfd97 | 5973 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5974 | #endif |
f6bcfd97 BP |
5975 | } |
5976 | { | |
5977 | delete _result; | |
5978 | } | |
5979 | return _resultobj; | |
5980 | } | |
5981 | ||
5982 | #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1)) | |
5983 | static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5984 | PyObject * _resultobj; | |
5985 | wxGridTableBase * _arg0; | |
5986 | int _arg1; | |
5987 | wxString * _arg2; | |
5988 | PyObject * _argo0 = 0; | |
5989 | PyObject * _obj2 = 0; | |
5990 | char *_kwnames[] = { "self","row","value", NULL }; | |
5991 | ||
5992 | self = self; | |
5993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5994 | return NULL; | |
5995 | if (_argo0) { | |
5996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p."); | |
5999 | return NULL; | |
6000 | } | |
6001 | } | |
6002 | { | |
c8bc7bb8 RD |
6003 | _arg2 = wxString_in_helper(_obj2); |
6004 | if (_arg2 == NULL) | |
185d7c3e | 6005 | return NULL; |
f6bcfd97 BP |
6006 | } |
6007 | { | |
4268f798 | 6008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6009 | wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6010 | |
4268f798 | 6011 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6012 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6013 | } Py_INCREF(Py_None); |
6014 | _resultobj = Py_None; | |
6015 | { | |
6016 | if (_obj2) | |
6017 | delete _arg2; | |
6018 | } | |
6019 | return _resultobj; | |
6020 | } | |
6021 | ||
6022 | #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1)) | |
6023 | static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6024 | PyObject * _resultobj; | |
6025 | wxGridTableBase * _arg0; | |
6026 | int _arg1; | |
6027 | wxString * _arg2; | |
6028 | PyObject * _argo0 = 0; | |
6029 | PyObject * _obj2 = 0; | |
6030 | char *_kwnames[] = { "self","col","value", NULL }; | |
6031 | ||
6032 | self = self; | |
6033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6034 | return NULL; | |
6035 | if (_argo0) { | |
6036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p."); | |
6039 | return NULL; | |
6040 | } | |
6041 | } | |
6042 | { | |
c8bc7bb8 RD |
6043 | _arg2 = wxString_in_helper(_obj2); |
6044 | if (_arg2 == NULL) | |
185d7c3e | 6045 | return NULL; |
f6bcfd97 BP |
6046 | } |
6047 | { | |
4268f798 | 6048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6049 | wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6050 | |
4268f798 | 6051 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6052 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6053 | } Py_INCREF(Py_None); |
6054 | _resultobj = Py_None; | |
6055 | { | |
6056 | if (_obj2) | |
6057 | delete _arg2; | |
6058 | } | |
6059 | return _resultobj; | |
6060 | } | |
6061 | ||
6062 | #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes()) | |
6063 | static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6064 | PyObject * _resultobj; | |
6065 | bool _result; | |
6066 | wxGridTableBase * _arg0; | |
6067 | PyObject * _argo0 = 0; | |
6068 | char *_kwnames[] = { "self", NULL }; | |
6069 | ||
6070 | self = self; | |
6071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0)) | |
6072 | return NULL; | |
6073 | if (_argo0) { | |
6074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p."); | |
6077 | return NULL; | |
6078 | } | |
6079 | } | |
6080 | { | |
4268f798 | 6081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6082 | _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0); |
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 | ||
9416aa89 | 6090 | #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
6091 | static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
6092 | PyObject * _resultobj; | |
6093 | wxGridCellAttr * _result; | |
6094 | wxGridTableBase * _arg0; | |
6095 | int _arg1; | |
6096 | int _arg2; | |
9416aa89 | 6097 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 6098 | PyObject * _argo0 = 0; |
9416aa89 | 6099 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
6100 | |
6101 | self = self; | |
9416aa89 | 6102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
6103 | return NULL; |
6104 | if (_argo0) { | |
6105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p."); | |
6108 | return NULL; | |
6109 | } | |
6110 | } | |
6111 | { | |
4268f798 | 6112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6113 | _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6114 | |
4268f798 | 6115 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6116 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 6117 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
6118 | return _resultobj; |
6119 | } | |
6120 | ||
6121 | #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
6122 | static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6123 | PyObject * _resultobj; | |
6124 | wxGridTableBase * _arg0; | |
6125 | wxGridCellAttr * _arg1; | |
6126 | int _arg2; | |
6127 | int _arg3; | |
6128 | PyObject * _argo0 = 0; | |
6129 | PyObject * _argo1 = 0; | |
6130 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
6131 | ||
6132 | self = self; | |
6133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
6134 | return NULL; | |
6135 | if (_argo0) { | |
6136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p."); | |
6139 | return NULL; | |
6140 | } | |
6141 | } | |
6142 | if (_argo1) { | |
6143 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6144 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p."); | |
6146 | return NULL; | |
6147 | } | |
6148 | } | |
6149 | { | |
4268f798 | 6150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6151 | wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6152 | |
4268f798 | 6153 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6154 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6155 | } Py_INCREF(Py_None); |
6156 | _resultobj = Py_None; | |
6157 | return _resultobj; | |
6158 | } | |
6159 | ||
6160 | #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
6161 | static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6162 | PyObject * _resultobj; | |
6163 | wxGridTableBase * _arg0; | |
6164 | wxGridCellAttr * _arg1; | |
6165 | int _arg2; | |
6166 | PyObject * _argo0 = 0; | |
6167 | PyObject * _argo1 = 0; | |
6168 | char *_kwnames[] = { "self","attr","row", NULL }; | |
6169 | ||
6170 | self = self; | |
6171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6172 | return NULL; | |
6173 | if (_argo0) { | |
6174 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6175 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p."); | |
6177 | return NULL; | |
6178 | } | |
6179 | } | |
6180 | if (_argo1) { | |
6181 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6182 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p."); | |
6184 | return NULL; | |
6185 | } | |
6186 | } | |
6187 | { | |
4268f798 | 6188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6189 | wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6190 | |
4268f798 | 6191 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6192 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6193 | } Py_INCREF(Py_None); |
6194 | _resultobj = Py_None; | |
6195 | return _resultobj; | |
6196 | } | |
6197 | ||
6198 | #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
6199 | static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6200 | PyObject * _resultobj; | |
6201 | wxGridTableBase * _arg0; | |
6202 | wxGridCellAttr * _arg1; | |
6203 | int _arg2; | |
6204 | PyObject * _argo0 = 0; | |
6205 | PyObject * _argo1 = 0; | |
6206 | char *_kwnames[] = { "self","attr","col", NULL }; | |
6207 | ||
6208 | self = self; | |
6209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6210 | return NULL; | |
6211 | if (_argo0) { | |
6212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p."); | |
6215 | return NULL; | |
6216 | } | |
6217 | } | |
6218 | if (_argo1) { | |
6219 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6220 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p."); | |
6222 | return NULL; | |
6223 | } | |
6224 | } | |
6225 | { | |
4268f798 | 6226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6227 | wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6228 | |
4268f798 | 6229 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6230 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6231 | } Py_INCREF(Py_None); |
6232 | _resultobj = Py_None; | |
6233 | return _resultobj; | |
6234 | } | |
6235 | ||
6236 | static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) { | |
6237 | wxPyGridTableBase *src; | |
6238 | wxGridTableBase *dest; | |
6239 | src = (wxPyGridTableBase *) ptr; | |
6240 | dest = (wxGridTableBase *) src; | |
6241 | return (void *) dest; | |
6242 | } | |
6243 | ||
9416aa89 RD |
6244 | static void *SwigwxPyGridTableBaseTowxObject(void *ptr) { |
6245 | wxPyGridTableBase *src; | |
6246 | wxObject *dest; | |
6247 | src = (wxPyGridTableBase *) ptr; | |
6248 | dest = (wxObject *) src; | |
6249 | return (void *) dest; | |
6250 | } | |
6251 | ||
f6bcfd97 BP |
6252 | #define new_wxPyGridTableBase() (new wxPyGridTableBase()) |
6253 | static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6254 | PyObject * _resultobj; | |
6255 | wxPyGridTableBase * _result; | |
6256 | char *_kwnames[] = { NULL }; | |
6257 | char _ptemp[128]; | |
6258 | ||
6259 | self = self; | |
6260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames)) | |
6261 | return NULL; | |
6262 | { | |
4268f798 | 6263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6264 | _result = (wxPyGridTableBase *)new_wxPyGridTableBase(); |
f6bcfd97 | 6265 | |
4268f798 | 6266 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6267 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6268 | } if (_result) { |
6269 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p"); | |
6270 | _resultobj = Py_BuildValue("s",_ptemp); | |
6271 | } else { | |
6272 | Py_INCREF(Py_None); | |
6273 | _resultobj = Py_None; | |
6274 | } | |
6275 | return _resultobj; | |
6276 | } | |
6277 | ||
0122b7e3 RD |
6278 | #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
6279 | static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6280 | PyObject * _resultobj; |
6281 | wxPyGridTableBase * _arg0; | |
6282 | PyObject * _arg1; | |
6283 | PyObject * _arg2; | |
6284 | PyObject * _argo0 = 0; | |
6285 | PyObject * _obj1 = 0; | |
6286 | PyObject * _obj2 = 0; | |
6287 | char *_kwnames[] = { "self","self","_class", NULL }; | |
6288 | ||
6289 | self = self; | |
0122b7e3 | 6290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
6291 | return NULL; |
6292 | if (_argo0) { | |
6293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
0122b7e3 | 6295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p."); |
f6bcfd97 BP |
6296 | return NULL; |
6297 | } | |
6298 | } | |
6299 | { | |
6300 | _arg1 = _obj1; | |
6301 | } | |
6302 | { | |
6303 | _arg2 = _obj2; | |
6304 | } | |
6305 | { | |
4268f798 | 6306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6307 | wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 6308 | |
4268f798 | 6309 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6310 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6311 | } Py_INCREF(Py_None); |
6312 | _resultobj = Py_None; | |
6313 | return _resultobj; | |
6314 | } | |
6315 | ||
6316 | static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; } | |
6317 | static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6318 | PyObject * _resultobj; | |
6319 | wxPyGridTableBase * _arg0; | |
6320 | PyObject * _argo0 = 0; | |
6321 | char *_kwnames[] = { "self", NULL }; | |
6322 | ||
6323 | self = self; | |
6324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0)) | |
6325 | return NULL; | |
6326 | if (_argo0) { | |
6327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p."); | |
6330 | return NULL; | |
6331 | } | |
6332 | } | |
6333 | { | |
4268f798 | 6334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6335 | wxPyGridTableBase_Destroy(_arg0); |
f6bcfd97 | 6336 | |
4268f798 | 6337 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6338 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6339 | } Py_INCREF(Py_None); |
6340 | _resultobj = Py_None; | |
6341 | return _resultobj; | |
6342 | } | |
6343 | ||
6344 | #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1)) | |
6345 | static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6346 | PyObject * _resultobj; | |
6347 | wxString * _result; | |
6348 | wxPyGridTableBase * _arg0; | |
6349 | int _arg1; | |
6350 | int _arg2; | |
6351 | PyObject * _argo0 = 0; | |
6352 | char *_kwnames[] = { "self","row","col", NULL }; | |
6353 | ||
6354 | self = self; | |
6355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6356 | return NULL; | |
6357 | if (_argo0) { | |
6358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p."); | |
6361 | return NULL; | |
6362 | } | |
6363 | } | |
6364 | { | |
4268f798 | 6365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6366 | _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2)); |
f6bcfd97 | 6367 | |
4268f798 | 6368 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6369 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6370 | }{ |
c8bc7bb8 | 6371 | #if wxUSE_UNICODE |
7e50db3f | 6372 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6373 | #else |
f6bcfd97 | 6374 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6375 | #endif |
f6bcfd97 BP |
6376 | } |
6377 | { | |
6378 | delete _result; | |
6379 | } | |
6380 | return _resultobj; | |
6381 | } | |
6382 | ||
6383 | #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
6384 | static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6385 | PyObject * _resultobj; | |
6386 | bool _result; | |
6387 | wxPyGridTableBase * _arg0; | |
6388 | int _arg1; | |
6389 | int _arg2; | |
6390 | wxString * _arg3; | |
6391 | PyObject * _argo0 = 0; | |
6392 | PyObject * _obj3 = 0; | |
6393 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
6394 | ||
6395 | self = self; | |
6396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
6397 | return NULL; | |
6398 | if (_argo0) { | |
6399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p."); | |
6402 | return NULL; | |
6403 | } | |
6404 | } | |
6405 | { | |
c8bc7bb8 RD |
6406 | _arg3 = wxString_in_helper(_obj3); |
6407 | if (_arg3 == NULL) | |
185d7c3e | 6408 | return NULL; |
f6bcfd97 BP |
6409 | } |
6410 | { | |
4268f798 | 6411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6412 | _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 6413 | |
4268f798 | 6414 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6415 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6416 | } _resultobj = Py_BuildValue("i",_result); |
6417 | { | |
6418 | if (_obj3) | |
6419 | delete _arg3; | |
6420 | } | |
6421 | return _resultobj; | |
6422 | } | |
6423 | ||
6424 | #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
6425 | static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6426 | PyObject * _resultobj; | |
6427 | bool _result; | |
6428 | wxPyGridTableBase * _arg0; | |
6429 | int _arg1; | |
6430 | int _arg2; | |
6431 | wxString * _arg3; | |
6432 | PyObject * _argo0 = 0; | |
6433 | PyObject * _obj3 = 0; | |
6434 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
6435 | ||
6436 | self = self; | |
6437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
6438 | return NULL; | |
6439 | if (_argo0) { | |
6440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p."); | |
6443 | return NULL; | |
6444 | } | |
6445 | } | |
6446 | { | |
c8bc7bb8 RD |
6447 | _arg3 = wxString_in_helper(_obj3); |
6448 | if (_arg3 == NULL) | |
185d7c3e | 6449 | return NULL; |
f6bcfd97 BP |
6450 | } |
6451 | { | |
4268f798 | 6452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6453 | _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 6454 | |
4268f798 | 6455 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6456 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6457 | } _resultobj = Py_BuildValue("i",_result); |
6458 | { | |
6459 | if (_obj3) | |
6460 | delete _arg3; | |
6461 | } | |
6462 | return _resultobj; | |
6463 | } | |
6464 | ||
6465 | #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear()) | |
6466 | static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6467 | PyObject * _resultobj; | |
6468 | wxPyGridTableBase * _arg0; | |
6469 | PyObject * _argo0 = 0; | |
6470 | char *_kwnames[] = { "self", NULL }; | |
6471 | ||
6472 | self = self; | |
6473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0)) | |
6474 | return NULL; | |
6475 | if (_argo0) { | |
6476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p."); | |
6479 | return NULL; | |
6480 | } | |
6481 | } | |
6482 | { | |
4268f798 | 6483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6484 | wxPyGridTableBase_base_Clear(_arg0); |
f6bcfd97 | 6485 | |
4268f798 | 6486 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6487 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6488 | } Py_INCREF(Py_None); |
6489 | _resultobj = Py_None; | |
6490 | return _resultobj; | |
6491 | } | |
6492 | ||
6493 | #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1)) | |
6494 | static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6495 | PyObject * _resultobj; | |
6496 | bool _result; | |
6497 | wxPyGridTableBase * _arg0; | |
6498 | size_t _arg1 = (size_t ) 0; | |
6499 | size_t _arg2 = (size_t ) 1; | |
6500 | PyObject * _argo0 = 0; | |
6501 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
6502 | ||
6503 | self = self; | |
6504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6505 | return NULL; | |
6506 | if (_argo0) { | |
6507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p."); | |
6510 | return NULL; | |
6511 | } | |
6512 | } | |
6513 | { | |
4268f798 | 6514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6515 | _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 6516 | |
4268f798 | 6517 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6518 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6519 | } _resultobj = Py_BuildValue("i",_result); |
6520 | return _resultobj; | |
6521 | } | |
6522 | ||
6523 | #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0)) | |
6524 | static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6525 | PyObject * _resultobj; | |
6526 | bool _result; | |
6527 | wxPyGridTableBase * _arg0; | |
6528 | size_t _arg1 = (size_t ) 1; | |
6529 | PyObject * _argo0 = 0; | |
6530 | char *_kwnames[] = { "self","numRows", NULL }; | |
6531 | ||
6532 | self = self; | |
6533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1)) | |
6534 | return NULL; | |
6535 | if (_argo0) { | |
6536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p."); | |
6539 | return NULL; | |
6540 | } | |
6541 | } | |
6542 | { | |
4268f798 | 6543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6544 | _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1); |
f6bcfd97 | 6545 | |
4268f798 | 6546 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6547 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6548 | } _resultobj = Py_BuildValue("i",_result); |
6549 | return _resultobj; | |
6550 | } | |
6551 | ||
6552 | #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1)) | |
6553 | static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6554 | PyObject * _resultobj; | |
6555 | bool _result; | |
6556 | wxPyGridTableBase * _arg0; | |
6557 | size_t _arg1 = (size_t ) 0; | |
6558 | size_t _arg2 = (size_t ) 1; | |
6559 | PyObject * _argo0 = 0; | |
6560 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
6561 | ||
6562 | self = self; | |
6563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6564 | return NULL; | |
6565 | if (_argo0) { | |
6566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p."); | |
6569 | return NULL; | |
6570 | } | |
6571 | } | |
6572 | { | |
4268f798 | 6573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6574 | _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 6575 | |
4268f798 | 6576 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6577 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6578 | } _resultobj = Py_BuildValue("i",_result); |
6579 | return _resultobj; | |
6580 | } | |
6581 | ||
6582 | #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1)) | |
6583 | static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6584 | PyObject * _resultobj; | |
6585 | bool _result; | |
6586 | wxPyGridTableBase * _arg0; | |
6587 | size_t _arg1 = (size_t ) 0; | |
6588 | size_t _arg2 = (size_t ) 1; | |
6589 | PyObject * _argo0 = 0; | |
6590 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
6591 | ||
6592 | self = self; | |
6593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6594 | return NULL; | |
6595 | if (_argo0) { | |
6596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p."); | |
6599 | return NULL; | |
6600 | } | |
6601 | } | |
6602 | { | |
4268f798 | 6603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6604 | _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 6605 | |
4268f798 | 6606 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6607 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6608 | } _resultobj = Py_BuildValue("i",_result); |
6609 | return _resultobj; | |
6610 | } | |
6611 | ||
6612 | #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0)) | |
6613 | static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6614 | PyObject * _resultobj; | |
6615 | bool _result; | |
6616 | wxPyGridTableBase * _arg0; | |
6617 | size_t _arg1 = (size_t ) 1; | |
6618 | PyObject * _argo0 = 0; | |
6619 | char *_kwnames[] = { "self","numCols", NULL }; | |
6620 | ||
6621 | self = self; | |
6622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1)) | |
6623 | return NULL; | |
6624 | if (_argo0) { | |
6625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p."); | |
6628 | return NULL; | |
6629 | } | |
6630 | } | |
6631 | { | |
4268f798 | 6632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6633 | _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1); |
f6bcfd97 | 6634 | |
4268f798 | 6635 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6636 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6637 | } _resultobj = Py_BuildValue("i",_result); |
6638 | return _resultobj; | |
6639 | } | |
6640 | ||
6641 | #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1)) | |
6642 | static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6643 | PyObject * _resultobj; | |
6644 | bool _result; | |
6645 | wxPyGridTableBase * _arg0; | |
6646 | size_t _arg1 = (size_t ) 0; | |
6647 | size_t _arg2 = (size_t ) 1; | |
6648 | PyObject * _argo0 = 0; | |
6649 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
6650 | ||
6651 | self = self; | |
6652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6653 | return NULL; | |
6654 | if (_argo0) { | |
6655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p."); | |
6658 | return NULL; | |
6659 | } | |
6660 | } | |
6661 | { | |
4268f798 | 6662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6663 | _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 6664 | |
4268f798 | 6665 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6666 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6667 | } _resultobj = Py_BuildValue("i",_result); |
6668 | return _resultobj; | |
6669 | } | |
6670 | ||
6671 | #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0)) | |
6672 | static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6673 | PyObject * _resultobj; | |
6674 | wxString * _result; | |
6675 | wxPyGridTableBase * _arg0; | |
6676 | int _arg1; | |
6677 | PyObject * _argo0 = 0; | |
6678 | char *_kwnames[] = { "self","row", NULL }; | |
6679 | ||
6680 | self = self; | |
6681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
6682 | return NULL; | |
6683 | if (_argo0) { | |
6684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p."); | |
6687 | return NULL; | |
6688 | } | |
6689 | } | |
6690 | { | |
4268f798 | 6691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6692 | _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 6693 | |
4268f798 | 6694 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6695 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6696 | }{ |
c8bc7bb8 | 6697 | #if wxUSE_UNICODE |
7e50db3f | 6698 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6699 | #else |
f6bcfd97 | 6700 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6701 | #endif |
f6bcfd97 BP |
6702 | } |
6703 | { | |
6704 | delete _result; | |
6705 | } | |
6706 | return _resultobj; | |
6707 | } | |
6708 | ||
6709 | #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0)) | |
6710 | static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6711 | PyObject * _resultobj; | |
6712 | wxString * _result; | |
6713 | wxPyGridTableBase * _arg0; | |
6714 | int _arg1; | |
6715 | PyObject * _argo0 = 0; | |
6716 | char *_kwnames[] = { "self","col", NULL }; | |
6717 | ||
6718 | self = self; | |
6719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
6720 | return NULL; | |
6721 | if (_argo0) { | |
6722 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6723 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p."); | |
6725 | return NULL; | |
6726 | } | |
6727 | } | |
6728 | { | |
4268f798 | 6729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6730 | _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 6731 | |
4268f798 | 6732 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6733 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6734 | }{ |
c8bc7bb8 | 6735 | #if wxUSE_UNICODE |
7e50db3f | 6736 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6737 | #else |
f6bcfd97 | 6738 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6739 | #endif |
f6bcfd97 BP |
6740 | } |
6741 | { | |
6742 | delete _result; | |
6743 | } | |
6744 | return _resultobj; | |
6745 | } | |
6746 | ||
6747 | #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1)) | |
6748 | static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6749 | PyObject * _resultobj; | |
6750 | wxPyGridTableBase * _arg0; | |
6751 | int _arg1; | |
6752 | wxString * _arg2; | |
6753 | PyObject * _argo0 = 0; | |
6754 | PyObject * _obj2 = 0; | |
6755 | char *_kwnames[] = { "self","row","value", NULL }; | |
6756 | ||
6757 | self = self; | |
6758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6759 | return NULL; | |
6760 | if (_argo0) { | |
6761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p."); | |
6764 | return NULL; | |
6765 | } | |
6766 | } | |
6767 | { | |
c8bc7bb8 RD |
6768 | _arg2 = wxString_in_helper(_obj2); |
6769 | if (_arg2 == NULL) | |
f6bcfd97 | 6770 | return NULL; |
f6bcfd97 BP |
6771 | } |
6772 | { | |
4268f798 | 6773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6774 | wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6775 | |
4268f798 | 6776 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6777 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6778 | } Py_INCREF(Py_None); |
6779 | _resultobj = Py_None; | |
6780 | { | |
6781 | if (_obj2) | |
6782 | delete _arg2; | |
6783 | } | |
6784 | return _resultobj; | |
6785 | } | |
6786 | ||
6787 | #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1)) | |
6788 | static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6789 | PyObject * _resultobj; | |
6790 | wxPyGridTableBase * _arg0; | |
6791 | int _arg1; | |
6792 | wxString * _arg2; | |
6793 | PyObject * _argo0 = 0; | |
6794 | PyObject * _obj2 = 0; | |
6795 | char *_kwnames[] = { "self","col","value", NULL }; | |
6796 | ||
6797 | self = self; | |
6798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6799 | return NULL; | |
6800 | if (_argo0) { | |
6801 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6802 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6803 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p."); | |
6804 | return NULL; | |
6805 | } | |
6806 | } | |
6807 | { | |
c8bc7bb8 RD |
6808 | _arg2 = wxString_in_helper(_obj2); |
6809 | if (_arg2 == NULL) | |
185d7c3e | 6810 | return NULL; |
f6bcfd97 BP |
6811 | } |
6812 | { | |
4268f798 | 6813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6814 | wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6815 | |
4268f798 | 6816 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6817 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6818 | } Py_INCREF(Py_None); |
6819 | _resultobj = Py_None; | |
6820 | { | |
6821 | if (_obj2) | |
6822 | delete _arg2; | |
6823 | } | |
6824 | return _resultobj; | |
6825 | } | |
6826 | ||
6827 | #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes()) | |
6828 | static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6829 | PyObject * _resultobj; | |
6830 | bool _result; | |
6831 | wxPyGridTableBase * _arg0; | |
6832 | PyObject * _argo0 = 0; | |
6833 | char *_kwnames[] = { "self", NULL }; | |
6834 | ||
6835 | self = self; | |
6836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0)) | |
6837 | return NULL; | |
6838 | if (_argo0) { | |
6839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p."); | |
6842 | return NULL; | |
6843 | } | |
6844 | } | |
6845 | { | |
4268f798 | 6846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6847 | _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0); |
f6bcfd97 | 6848 | |
4268f798 | 6849 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6850 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6851 | } _resultobj = Py_BuildValue("i",_result); |
6852 | return _resultobj; | |
6853 | } | |
6854 | ||
9416aa89 | 6855 | #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
6856 | static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
6857 | PyObject * _resultobj; | |
6858 | wxGridCellAttr * _result; | |
6859 | wxPyGridTableBase * _arg0; | |
6860 | int _arg1; | |
6861 | int _arg2; | |
9416aa89 | 6862 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 6863 | PyObject * _argo0 = 0; |
9416aa89 | 6864 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
6865 | |
6866 | self = self; | |
9416aa89 | 6867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
6868 | return NULL; |
6869 | if (_argo0) { | |
6870 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6871 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p."); | |
6873 | return NULL; | |
6874 | } | |
6875 | } | |
6876 | { | |
4268f798 | 6877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6878 | _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6879 | |
4268f798 | 6880 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6881 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 6882 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
6883 | return _resultobj; |
6884 | } | |
6885 | ||
6886 | #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
6887 | static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6888 | PyObject * _resultobj; | |
6889 | wxPyGridTableBase * _arg0; | |
6890 | wxGridCellAttr * _arg1; | |
6891 | int _arg2; | |
6892 | int _arg3; | |
6893 | PyObject * _argo0 = 0; | |
6894 | PyObject * _argo1 = 0; | |
6895 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
6896 | ||
6897 | self = self; | |
6898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
6899 | return NULL; | |
6900 | if (_argo0) { | |
6901 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6902 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p."); | |
6904 | return NULL; | |
6905 | } | |
6906 | } | |
6907 | if (_argo1) { | |
6908 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6909 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6910 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p."); | |
6911 | return NULL; | |
6912 | } | |
6913 | } | |
6914 | { | |
4268f798 | 6915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6916 | wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6917 | |
4268f798 | 6918 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6919 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6920 | } Py_INCREF(Py_None); |
6921 | _resultobj = Py_None; | |
6922 | return _resultobj; | |
6923 | } | |
6924 | ||
6925 | #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1)) | |
6926 | static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6927 | PyObject * _resultobj; | |
6928 | wxPyGridTableBase * _arg0; | |
6929 | wxGridCellAttr * _arg1; | |
6930 | int _arg2; | |
6931 | PyObject * _argo0 = 0; | |
6932 | PyObject * _argo1 = 0; | |
6933 | char *_kwnames[] = { "self","attr","row", NULL }; | |
6934 | ||
6935 | self = self; | |
6936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6937 | return NULL; | |
6938 | if (_argo0) { | |
6939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p."); | |
6942 | return NULL; | |
6943 | } | |
6944 | } | |
6945 | if (_argo1) { | |
6946 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6947 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p."); | |
6949 | return NULL; | |
6950 | } | |
6951 | } | |
6952 | { | |
4268f798 | 6953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6954 | wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6955 | |
4268f798 | 6956 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6957 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6958 | } Py_INCREF(Py_None); |
6959 | _resultobj = Py_None; | |
6960 | return _resultobj; | |
6961 | } | |
6962 | ||
6963 | #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1)) | |
6964 | static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6965 | PyObject * _resultobj; | |
6966 | wxPyGridTableBase * _arg0; | |
6967 | wxGridCellAttr * _arg1; | |
6968 | int _arg2; | |
6969 | PyObject * _argo0 = 0; | |
6970 | PyObject * _argo1 = 0; | |
6971 | char *_kwnames[] = { "self","attr","col", NULL }; | |
6972 | ||
6973 | self = self; | |
6974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6975 | return NULL; | |
6976 | if (_argo0) { | |
6977 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6978 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p."); | |
6980 | return NULL; | |
6981 | } | |
6982 | } | |
6983 | if (_argo1) { | |
6984 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6985 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p."); | |
6987 | return NULL; | |
6988 | } | |
6989 | } | |
6990 | { | |
4268f798 | 6991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6992 | wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6993 | |
4268f798 | 6994 | wxPyEndAllowThreads(__tstate); |
493f1553 | 6995 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6996 | } Py_INCREF(Py_None); |
6997 | _resultobj = Py_None; | |
6998 | return _resultobj; | |
6999 | } | |
7000 | ||
7001 | static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) { | |
7002 | wxGridStringTable *src; | |
7003 | wxGridTableBase *dest; | |
7004 | src = (wxGridStringTable *) ptr; | |
7005 | dest = (wxGridTableBase *) src; | |
7006 | return (void *) dest; | |
7007 | } | |
7008 | ||
9416aa89 RD |
7009 | static void *SwigwxGridStringTableTowxObject(void *ptr) { |
7010 | wxGridStringTable *src; | |
7011 | wxObject *dest; | |
7012 | src = (wxGridStringTable *) ptr; | |
7013 | dest = (wxObject *) src; | |
7014 | return (void *) dest; | |
7015 | } | |
7016 | ||
f6bcfd97 BP |
7017 | #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1)) |
7018 | static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7019 | PyObject * _resultobj; | |
7020 | wxGridStringTable * _result; | |
7021 | int _arg0 = (int ) 0; | |
7022 | int _arg1 = (int ) 0; | |
7023 | char *_kwnames[] = { "numRows","numCols", NULL }; | |
7024 | char _ptemp[128]; | |
7025 | ||
7026 | self = self; | |
7027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1)) | |
7028 | return NULL; | |
7029 | { | |
4268f798 | 7030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7031 | _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1); |
f6bcfd97 | 7032 | |
4268f798 | 7033 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7034 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7035 | } if (_result) { |
7036 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p"); | |
7037 | _resultobj = Py_BuildValue("s",_ptemp); | |
7038 | } else { | |
7039 | Py_INCREF(Py_None); | |
7040 | _resultobj = Py_None; | |
7041 | } | |
7042 | return _resultobj; | |
7043 | } | |
7044 | ||
7045 | #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7046 | static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7047 | PyObject * _resultobj; | |
7048 | wxGridTableMessage * _result; | |
7049 | wxGridTableBase * _arg0; | |
7050 | int _arg1; | |
7051 | int _arg2 = (int ) -1; | |
7052 | int _arg3 = (int ) -1; | |
7053 | PyObject * _argo0 = 0; | |
7054 | char *_kwnames[] = { "table","id","comInt1","comInt2", NULL }; | |
7055 | char _ptemp[128]; | |
7056 | ||
7057 | self = self; | |
7058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
7059 | return NULL; | |
7060 | if (_argo0) { | |
7061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
7063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p."); | |
7064 | return NULL; | |
7065 | } | |
7066 | } | |
7067 | { | |
4268f798 | 7068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7069 | _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7070 | |
4268f798 | 7071 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7072 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7073 | } if (_result) { |
7074 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p"); | |
7075 | _resultobj = Py_BuildValue("s",_ptemp); | |
7076 | } else { | |
7077 | Py_INCREF(Py_None); | |
7078 | _resultobj = Py_None; | |
7079 | } | |
7080 | return _resultobj; | |
7081 | } | |
7082 | ||
7083 | #define delete_wxGridTableMessage(_swigobj) (delete _swigobj) | |
7084 | static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7085 | PyObject * _resultobj; | |
7086 | wxGridTableMessage * _arg0; | |
7087 | PyObject * _argo0 = 0; | |
7088 | char *_kwnames[] = { "self", NULL }; | |
7089 | ||
7090 | self = self; | |
7091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0)) | |
7092 | return NULL; | |
7093 | if (_argo0) { | |
7094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p."); | |
7097 | return NULL; | |
7098 | } | |
7099 | } | |
7100 | { | |
4268f798 | 7101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7102 | delete_wxGridTableMessage(_arg0); |
f6bcfd97 | 7103 | |
4268f798 | 7104 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7105 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7106 | } Py_INCREF(Py_None); |
7107 | _resultobj = Py_None; | |
7108 | return _resultobj; | |
7109 | } | |
7110 | ||
7111 | #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0)) | |
7112 | static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7113 | PyObject * _resultobj; | |
7114 | wxGridTableMessage * _arg0; | |
7115 | wxGridTableBase * _arg1; | |
7116 | PyObject * _argo0 = 0; | |
7117 | PyObject * _argo1 = 0; | |
7118 | char *_kwnames[] = { "self","table", NULL }; | |
7119 | ||
7120 | self = self; | |
7121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1)) | |
7122 | return NULL; | |
7123 | if (_argo0) { | |
7124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p."); | |
7127 | return NULL; | |
7128 | } | |
7129 | } | |
7130 | if (_argo1) { | |
7131 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7132 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) { | |
7133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p."); | |
7134 | return NULL; | |
7135 | } | |
7136 | } | |
7137 | { | |
4268f798 | 7138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7139 | wxGridTableMessage_SetTableObject(_arg0,_arg1); |
f6bcfd97 | 7140 | |
4268f798 | 7141 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7142 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7143 | } Py_INCREF(Py_None); |
7144 | _resultobj = Py_None; | |
7145 | return _resultobj; | |
7146 | } | |
7147 | ||
7148 | #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject()) | |
7149 | static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7150 | PyObject * _resultobj; | |
7151 | wxGridTableBase * _result; | |
7152 | wxGridTableMessage * _arg0; | |
7153 | PyObject * _argo0 = 0; | |
7154 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
7155 | |
7156 | self = self; | |
7157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0)) | |
7158 | return NULL; | |
7159 | if (_argo0) { | |
7160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p."); | |
7163 | return NULL; | |
7164 | } | |
7165 | } | |
7166 | { | |
4268f798 | 7167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7168 | _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0); |
f6bcfd97 | 7169 | |
4268f798 | 7170 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7171 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 7172 | }{ _resultobj = wxPyMake_wxGridTableBase(_result); } |
f6bcfd97 BP |
7173 | return _resultobj; |
7174 | } | |
7175 | ||
7176 | #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
7177 | static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7178 | PyObject * _resultobj; | |
7179 | wxGridTableMessage * _arg0; | |
7180 | int _arg1; | |
7181 | PyObject * _argo0 = 0; | |
7182 | char *_kwnames[] = { "self","id", NULL }; | |
7183 | ||
7184 | self = self; | |
7185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1)) | |
7186 | return NULL; | |
7187 | if (_argo0) { | |
7188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p."); | |
7191 | return NULL; | |
7192 | } | |
7193 | } | |
7194 | { | |
4268f798 | 7195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7196 | wxGridTableMessage_SetId(_arg0,_arg1); |
f6bcfd97 | 7197 | |
4268f798 | 7198 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7199 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7200 | } Py_INCREF(Py_None); |
7201 | _resultobj = Py_None; | |
7202 | return _resultobj; | |
7203 | } | |
7204 | ||
7205 | #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId()) | |
7206 | static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7207 | PyObject * _resultobj; | |
7208 | int _result; | |
7209 | wxGridTableMessage * _arg0; | |
7210 | PyObject * _argo0 = 0; | |
7211 | char *_kwnames[] = { "self", NULL }; | |
7212 | ||
7213 | self = self; | |
7214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0)) | |
7215 | return NULL; | |
7216 | if (_argo0) { | |
7217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p."); | |
7220 | return NULL; | |
7221 | } | |
7222 | } | |
7223 | { | |
4268f798 | 7224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7225 | _result = (int )wxGridTableMessage_GetId(_arg0); |
f6bcfd97 | 7226 | |
4268f798 | 7227 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7228 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7229 | } _resultobj = Py_BuildValue("i",_result); |
7230 | return _resultobj; | |
7231 | } | |
7232 | ||
7233 | #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0)) | |
7234 | static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7235 | PyObject * _resultobj; | |
7236 | wxGridTableMessage * _arg0; | |
7237 | int _arg1; | |
7238 | PyObject * _argo0 = 0; | |
7239 | char *_kwnames[] = { "self","comInt1", NULL }; | |
7240 | ||
7241 | self = self; | |
7242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1)) | |
7243 | return NULL; | |
7244 | if (_argo0) { | |
7245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p."); | |
7248 | return NULL; | |
7249 | } | |
7250 | } | |
7251 | { | |
4268f798 | 7252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7253 | wxGridTableMessage_SetCommandInt(_arg0,_arg1); |
f6bcfd97 | 7254 | |
4268f798 | 7255 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7256 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7257 | } Py_INCREF(Py_None); |
7258 | _resultobj = Py_None; | |
7259 | return _resultobj; | |
7260 | } | |
7261 | ||
7262 | #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt()) | |
7263 | static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7264 | PyObject * _resultobj; | |
7265 | int _result; | |
7266 | wxGridTableMessage * _arg0; | |
7267 | PyObject * _argo0 = 0; | |
7268 | char *_kwnames[] = { "self", NULL }; | |
7269 | ||
7270 | self = self; | |
7271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0)) | |
7272 | return NULL; | |
7273 | if (_argo0) { | |
7274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p."); | |
7277 | return NULL; | |
7278 | } | |
7279 | } | |
7280 | { | |
4268f798 | 7281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7282 | _result = (int )wxGridTableMessage_GetCommandInt(_arg0); |
f6bcfd97 | 7283 | |
4268f798 | 7284 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7285 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7286 | } _resultobj = Py_BuildValue("i",_result); |
7287 | return _resultobj; | |
7288 | } | |
7289 | ||
7290 | #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0)) | |
7291 | static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7292 | PyObject * _resultobj; | |
7293 | wxGridTableMessage * _arg0; | |
7294 | int _arg1; | |
7295 | PyObject * _argo0 = 0; | |
7296 | char *_kwnames[] = { "self","comInt2", NULL }; | |
7297 | ||
7298 | self = self; | |
7299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1)) | |
7300 | return NULL; | |
7301 | if (_argo0) { | |
7302 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7303 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p."); | |
7305 | return NULL; | |
7306 | } | |
7307 | } | |
7308 | { | |
4268f798 | 7309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7310 | wxGridTableMessage_SetCommandInt2(_arg0,_arg1); |
f6bcfd97 | 7311 | |
4268f798 | 7312 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7313 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7314 | } Py_INCREF(Py_None); |
7315 | _resultobj = Py_None; | |
7316 | return _resultobj; | |
7317 | } | |
7318 | ||
7319 | #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2()) | |
7320 | static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7321 | PyObject * _resultobj; | |
7322 | int _result; | |
7323 | wxGridTableMessage * _arg0; | |
7324 | PyObject * _argo0 = 0; | |
7325 | char *_kwnames[] = { "self", NULL }; | |
7326 | ||
7327 | self = self; | |
7328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0)) | |
7329 | return NULL; | |
7330 | if (_argo0) { | |
7331 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7332 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p."); | |
7334 | return NULL; | |
7335 | } | |
7336 | } | |
7337 | { | |
4268f798 | 7338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7339 | _result = (int )wxGridTableMessage_GetCommandInt2(_arg0); |
f6bcfd97 | 7340 | |
4268f798 | 7341 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7342 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7343 | } _resultobj = Py_BuildValue("i",_result); |
7344 | return _resultobj; | |
7345 | } | |
7346 | ||
7347 | #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1)) | |
7348 | static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7349 | PyObject * _resultobj; | |
7350 | wxGridCellCoords * _result; | |
7351 | int _arg0 = (int ) -1; | |
7352 | int _arg1 = (int ) -1; | |
7353 | char *_kwnames[] = { "r","c", NULL }; | |
7354 | char _ptemp[128]; | |
7355 | ||
7356 | self = self; | |
7357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1)) | |
7358 | return NULL; | |
7359 | { | |
4268f798 | 7360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7361 | _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1); |
f6bcfd97 | 7362 | |
4268f798 | 7363 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7364 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7365 | } if (_result) { |
7366 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p"); | |
7367 | _resultobj = Py_BuildValue("s",_ptemp); | |
7368 | } else { | |
7369 | Py_INCREF(Py_None); | |
7370 | _resultobj = Py_None; | |
7371 | } | |
7372 | return _resultobj; | |
7373 | } | |
7374 | ||
7375 | #define delete_wxGridCellCoords(_swigobj) (delete _swigobj) | |
7376 | static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7377 | PyObject * _resultobj; | |
7378 | wxGridCellCoords * _arg0; | |
7379 | PyObject * _argo0 = 0; | |
7380 | char *_kwnames[] = { "self", NULL }; | |
7381 | ||
7382 | self = self; | |
7383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0)) | |
7384 | return NULL; | |
7385 | if (_argo0) { | |
7386 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7387 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p."); | |
7389 | return NULL; | |
7390 | } | |
7391 | } | |
7392 | { | |
4268f798 | 7393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7394 | delete_wxGridCellCoords(_arg0); |
f6bcfd97 | 7395 | |
4268f798 | 7396 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7397 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7398 | } Py_INCREF(Py_None); |
7399 | _resultobj = Py_None; | |
7400 | return _resultobj; | |
7401 | } | |
7402 | ||
7403 | #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow()) | |
7404 | static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7405 | PyObject * _resultobj; | |
7406 | int _result; | |
7407 | wxGridCellCoords * _arg0; | |
7408 | PyObject * _argo0 = 0; | |
7409 | char *_kwnames[] = { "self", NULL }; | |
7410 | ||
7411 | self = self; | |
7412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0)) | |
7413 | return NULL; | |
7414 | if (_argo0) { | |
7415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p."); | |
7418 | return NULL; | |
7419 | } | |
7420 | } | |
7421 | { | |
4268f798 | 7422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7423 | _result = (int )wxGridCellCoords_GetRow(_arg0); |
f6bcfd97 | 7424 | |
4268f798 | 7425 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7426 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7427 | } _resultobj = Py_BuildValue("i",_result); |
7428 | return _resultobj; | |
7429 | } | |
7430 | ||
7431 | #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0)) | |
7432 | static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7433 | PyObject * _resultobj; | |
7434 | wxGridCellCoords * _arg0; | |
7435 | int _arg1; | |
7436 | PyObject * _argo0 = 0; | |
7437 | char *_kwnames[] = { "self","n", NULL }; | |
7438 | ||
7439 | self = self; | |
7440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1)) | |
7441 | return NULL; | |
7442 | if (_argo0) { | |
7443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p."); | |
7446 | return NULL; | |
7447 | } | |
7448 | } | |
7449 | { | |
4268f798 | 7450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7451 | wxGridCellCoords_SetRow(_arg0,_arg1); |
f6bcfd97 | 7452 | |
4268f798 | 7453 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7454 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7455 | } Py_INCREF(Py_None); |
7456 | _resultobj = Py_None; | |
7457 | return _resultobj; | |
7458 | } | |
7459 | ||
7460 | #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol()) | |
7461 | static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7462 | PyObject * _resultobj; | |
7463 | int _result; | |
7464 | wxGridCellCoords * _arg0; | |
7465 | PyObject * _argo0 = 0; | |
7466 | char *_kwnames[] = { "self", NULL }; | |
7467 | ||
7468 | self = self; | |
7469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0)) | |
7470 | return NULL; | |
7471 | if (_argo0) { | |
7472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p."); | |
7475 | return NULL; | |
7476 | } | |
7477 | } | |
7478 | { | |
4268f798 | 7479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7480 | _result = (int )wxGridCellCoords_GetCol(_arg0); |
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 wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0)) | |
7489 | static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7490 | PyObject * _resultobj; | |
7491 | wxGridCellCoords * _arg0; | |
7492 | int _arg1; | |
7493 | PyObject * _argo0 = 0; | |
7494 | char *_kwnames[] = { "self","n", NULL }; | |
7495 | ||
7496 | self = self; | |
7497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1)) | |
7498 | return NULL; | |
7499 | if (_argo0) { | |
7500 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7501 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p."); | |
7503 | return NULL; | |
7504 | } | |
7505 | } | |
7506 | { | |
4268f798 | 7507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7508 | wxGridCellCoords_SetCol(_arg0,_arg1); |
f6bcfd97 | 7509 | |
4268f798 | 7510 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7511 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7512 | } Py_INCREF(Py_None); |
7513 | _resultobj = Py_None; | |
7514 | return _resultobj; | |
7515 | } | |
7516 | ||
7517 | #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) | |
7518 | static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7519 | PyObject * _resultobj; | |
7520 | wxGridCellCoords * _arg0; | |
7521 | int _arg1; | |
7522 | int _arg2; | |
7523 | PyObject * _argo0 = 0; | |
7524 | char *_kwnames[] = { "self","row","col", NULL }; | |
7525 | ||
7526 | self = self; | |
7527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7528 | return NULL; | |
7529 | if (_argo0) { | |
7530 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7531 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p."); | |
7533 | return NULL; | |
7534 | } | |
7535 | } | |
7536 | { | |
4268f798 | 7537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7538 | wxGridCellCoords_Set(_arg0,_arg1,_arg2); |
f6bcfd97 | 7539 | |
4268f798 | 7540 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7541 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7542 | } Py_INCREF(Py_None); |
7543 | _resultobj = Py_None; | |
7544 | return _resultobj; | |
7545 | } | |
7546 | ||
7547 | static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) { | |
7548 | PyObject* tup = PyTuple_New(2); | |
7549 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow())); | |
7550 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol())); | |
7551 | return tup; | |
7552 | } | |
7553 | static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7554 | PyObject * _resultobj; | |
7555 | PyObject * _result; | |
7556 | wxGridCellCoords * _arg0; | |
7557 | PyObject * _argo0 = 0; | |
7558 | char *_kwnames[] = { "self", NULL }; | |
7559 | ||
7560 | self = self; | |
7561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0)) | |
7562 | return NULL; | |
7563 | if (_argo0) { | |
7564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p."); | |
7567 | return NULL; | |
7568 | } | |
7569 | } | |
7570 | { | |
4268f798 | 7571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7572 | _result = (PyObject *)wxGridCellCoords_asTuple(_arg0); |
f6bcfd97 | 7573 | |
4268f798 | 7574 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7575 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7576 | }{ |
7577 | _resultobj = _result; | |
7578 | } | |
7579 | return _resultobj; | |
7580 | } | |
7581 | ||
7582 | static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) { | |
7583 | return *self != other; | |
7584 | } | |
7585 | static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7586 | PyObject * _resultobj; | |
7587 | int _result; | |
7588 | wxGridCellCoords * _arg0; | |
7589 | wxGridCellCoords * _arg1; | |
7590 | PyObject * _argo0 = 0; | |
7591 | PyObject * _argo1 = 0; | |
7592 | char *_kwnames[] = { "self","other", NULL }; | |
7593 | ||
7594 | self = self; | |
7595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1)) | |
7596 | return NULL; | |
7597 | if (_argo0) { | |
7598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p."); | |
7601 | return NULL; | |
7602 | } | |
7603 | } | |
7604 | if (_argo1) { | |
7e50db3f | 7605 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) { |
f6bcfd97 BP |
7606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p."); |
7607 | return NULL; | |
7608 | } | |
7609 | } | |
7610 | { | |
4268f798 | 7611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7612 | _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1); |
f6bcfd97 | 7613 | |
4268f798 | 7614 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7615 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7616 | } _resultobj = Py_BuildValue("i",_result); |
7617 | return _resultobj; | |
7618 | } | |
7619 | ||
7620 | static void *SwigwxGridTowxScrolledWindow(void *ptr) { | |
7621 | wxGrid *src; | |
7622 | wxScrolledWindow *dest; | |
7623 | src = (wxGrid *) ptr; | |
7624 | dest = (wxScrolledWindow *) src; | |
7625 | return (void *) dest; | |
7626 | } | |
7627 | ||
7628 | static void *SwigwxGridTowxPanel(void *ptr) { | |
7629 | wxGrid *src; | |
7630 | wxPanel *dest; | |
7631 | src = (wxGrid *) ptr; | |
7632 | dest = (wxPanel *) src; | |
7633 | return (void *) dest; | |
7634 | } | |
7635 | ||
7636 | static void *SwigwxGridTowxWindow(void *ptr) { | |
7637 | wxGrid *src; | |
7638 | wxWindow *dest; | |
7639 | src = (wxGrid *) ptr; | |
7640 | dest = (wxWindow *) src; | |
7641 | return (void *) dest; | |
7642 | } | |
7643 | ||
7644 | static void *SwigwxGridTowxEvtHandler(void *ptr) { | |
7645 | wxGrid *src; | |
7646 | wxEvtHandler *dest; | |
7647 | src = (wxGrid *) ptr; | |
7648 | dest = (wxEvtHandler *) src; | |
7649 | return (void *) dest; | |
7650 | } | |
7651 | ||
9416aa89 RD |
7652 | static void *SwigwxGridTowxObject(void *ptr) { |
7653 | wxGrid *src; | |
7654 | wxObject *dest; | |
7655 | src = (wxGrid *) ptr; | |
7656 | dest = (wxObject *) src; | |
7657 | return (void *) dest; | |
7658 | } | |
7659 | ||
f6bcfd97 BP |
7660 | #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
7661 | static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7662 | PyObject * _resultobj; | |
7663 | wxGrid * _result; | |
7664 | wxWindow * _arg0; | |
7665 | wxWindowID _arg1; | |
7666 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
7667 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
7668 | long _arg4 = (long ) wxWANTS_CHARS; | |
137b5242 | 7669 | wxString * _arg5 = (wxString *) &wxPyPanelNameStr; |
f6bcfd97 BP |
7670 | PyObject * _argo0 = 0; |
7671 | wxPoint temp; | |
7672 | PyObject * _obj2 = 0; | |
7673 | wxSize temp0; | |
7674 | PyObject * _obj3 = 0; | |
137b5242 | 7675 | PyObject * _obj5 = 0; |
f6bcfd97 BP |
7676 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
7677 | char _ptemp[128]; | |
7678 | ||
7679 | self = self; | |
137b5242 | 7680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
f6bcfd97 BP |
7681 | return NULL; |
7682 | if (_argo0) { | |
7683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
7685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p."); | |
7686 | return NULL; | |
7687 | } | |
7688 | } | |
7689 | if (_obj2) | |
7690 | { | |
7691 | _arg2 = &temp; | |
7692 | if (! wxPoint_helper(_obj2, &_arg2)) | |
7693 | return NULL; | |
7694 | } | |
7695 | if (_obj3) | |
7696 | { | |
7697 | _arg3 = &temp0; | |
7698 | if (! wxSize_helper(_obj3, &_arg3)) | |
7699 | return NULL; | |
137b5242 RD |
7700 | } |
7701 | if (_obj5) | |
7702 | { | |
7703 | _arg5 = wxString_in_helper(_obj5); | |
7704 | if (_arg5 == NULL) | |
7705 | return NULL; | |
f6bcfd97 BP |
7706 | } |
7707 | { | |
4268f798 | 7708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 7709 | _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
f6bcfd97 | 7710 | |
4268f798 | 7711 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7712 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7713 | } if (_result) { |
7714 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p"); | |
7715 | _resultobj = Py_BuildValue("s",_ptemp); | |
7716 | } else { | |
7717 | Py_INCREF(Py_None); | |
7718 | _resultobj = Py_None; | |
7719 | } | |
137b5242 RD |
7720 | { |
7721 | if (_obj5) | |
7722 | delete _arg5; | |
7723 | } | |
f6bcfd97 BP |
7724 | return _resultobj; |
7725 | } | |
7726 | ||
7727 | #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2)) | |
7728 | static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7729 | PyObject * _resultobj; | |
7730 | bool _result; | |
7731 | wxGrid * _arg0; | |
7732 | int _arg1; | |
7733 | int _arg2; | |
7734 | WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells; | |
7735 | PyObject * _argo0 = 0; | |
7736 | char *_kwnames[] = { "self","numRows","numCols","selmode", NULL }; | |
7737 | ||
7738 | self = self; | |
7739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
7740 | return NULL; | |
7741 | if (_argo0) { | |
7742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p."); | |
7745 | return NULL; | |
7746 | } | |
7747 | } | |
7748 | { | |
4268f798 | 7749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7750 | _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7751 | |
4268f798 | 7752 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7753 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7754 | } _resultobj = Py_BuildValue("i",_result); |
7755 | return _resultobj; | |
7756 | } | |
7757 | ||
7758 | #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0)) | |
7759 | static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7760 | PyObject * _resultobj; | |
7761 | wxGrid * _arg0; | |
7762 | WXGRIDSELECTIONMODES _arg1; | |
7763 | PyObject * _argo0 = 0; | |
7764 | char *_kwnames[] = { "self","selmode", NULL }; | |
7765 | ||
7766 | self = self; | |
7767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1)) | |
7768 | return NULL; | |
7769 | if (_argo0) { | |
7770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p."); | |
7773 | return NULL; | |
7774 | } | |
7775 | } | |
7776 | { | |
4268f798 | 7777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7778 | wxGrid_SetSelectionMode(_arg0,_arg1); |
f6bcfd97 | 7779 | |
4268f798 | 7780 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7781 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7782 | } Py_INCREF(Py_None); |
7783 | _resultobj = Py_None; | |
7784 | return _resultobj; | |
7785 | } | |
7786 | ||
1e6796a0 RD |
7787 | #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode()) |
7788 | static PyObject *_wrap_wxGrid_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7789 | PyObject * _resultobj; | |
7790 | WXGRIDSELECTIONMODES _result; | |
7791 | wxGrid * _arg0; | |
7792 | PyObject * _argo0 = 0; | |
7793 | char *_kwnames[] = { "self", NULL }; | |
7794 | ||
7795 | self = self; | |
7796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionMode",_kwnames,&_argo0)) | |
7797 | return NULL; | |
7798 | if (_argo0) { | |
7799 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7800 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionMode. Expected _wxGrid_p."); | |
7802 | return NULL; | |
7803 | } | |
7804 | } | |
7805 | { | |
7806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7807 | _result = (WXGRIDSELECTIONMODES )wxGrid_GetSelectionMode(_arg0); | |
7808 | ||
7809 | wxPyEndAllowThreads(__tstate); | |
7810 | if (PyErr_Occurred()) return NULL; | |
7811 | } _resultobj = Py_BuildValue("i",_result); | |
7812 | return _resultobj; | |
7813 | } | |
7814 | ||
f6bcfd97 BP |
7815 | #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows()) |
7816 | static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7817 | PyObject * _resultobj; | |
7818 | int _result; | |
7819 | wxGrid * _arg0; | |
7820 | PyObject * _argo0 = 0; | |
7821 | char *_kwnames[] = { "self", NULL }; | |
7822 | ||
7823 | self = self; | |
7824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0)) | |
7825 | return NULL; | |
7826 | if (_argo0) { | |
7827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p."); | |
7830 | return NULL; | |
7831 | } | |
7832 | } | |
7833 | { | |
4268f798 | 7834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7835 | _result = (int )wxGrid_GetNumberRows(_arg0); |
f6bcfd97 | 7836 | |
4268f798 | 7837 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7838 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7839 | } _resultobj = Py_BuildValue("i",_result); |
7840 | return _resultobj; | |
7841 | } | |
7842 | ||
7843 | #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols()) | |
7844 | static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7845 | PyObject * _resultobj; | |
7846 | int _result; | |
7847 | wxGrid * _arg0; | |
7848 | PyObject * _argo0 = 0; | |
7849 | char *_kwnames[] = { "self", NULL }; | |
7850 | ||
7851 | self = self; | |
7852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0)) | |
7853 | return NULL; | |
7854 | if (_argo0) { | |
7855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p."); | |
7858 | return NULL; | |
7859 | } | |
7860 | } | |
7861 | { | |
4268f798 | 7862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7863 | _result = (int )wxGrid_GetNumberCols(_arg0); |
f6bcfd97 | 7864 | |
4268f798 | 7865 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7866 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7867 | } _resultobj = Py_BuildValue("i",_result); |
7868 | return _resultobj; | |
7869 | } | |
7870 | ||
7871 | #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0)) | |
7872 | static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7873 | PyObject * _resultobj; | |
7874 | bool _result; | |
7875 | wxGrid * _arg0; | |
7876 | wxGridTableMessage * _arg1; | |
7877 | PyObject * _argo0 = 0; | |
7878 | PyObject * _argo1 = 0; | |
7879 | char *_kwnames[] = { "self","arg2", NULL }; | |
7880 | ||
7881 | self = self; | |
7882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1)) | |
7883 | return NULL; | |
7884 | if (_argo0) { | |
7885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p."); | |
7888 | return NULL; | |
7889 | } | |
7890 | } | |
7891 | if (_argo1) { | |
7e50db3f | 7892 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) { |
f6bcfd97 BP |
7893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p."); |
7894 | return NULL; | |
7895 | } | |
7896 | } | |
7897 | { | |
4268f798 | 7898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7899 | _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1); |
f6bcfd97 | 7900 | |
4268f798 | 7901 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7902 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7903 | } _resultobj = Py_BuildValue("i",_result); |
7904 | return _resultobj; | |
7905 | } | |
7906 | ||
7907 | #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable()) | |
7908 | static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7909 | PyObject * _resultobj; | |
7910 | wxGridTableBase * _result; | |
7911 | wxGrid * _arg0; | |
7912 | PyObject * _argo0 = 0; | |
7913 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
7914 | |
7915 | self = self; | |
7916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0)) | |
7917 | return NULL; | |
7918 | if (_argo0) { | |
7919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p."); | |
7922 | return NULL; | |
7923 | } | |
7924 | } | |
7925 | { | |
4268f798 | 7926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7927 | _result = (wxGridTableBase *)wxGrid_GetTable(_arg0); |
f6bcfd97 | 7928 | |
4268f798 | 7929 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7930 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 7931 | }{ _resultobj = wxPyMake_wxGridTableBase(_result); } |
f6bcfd97 BP |
7932 | return _resultobj; |
7933 | } | |
7934 | ||
7935 | #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2)) | |
7936 | static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7937 | PyObject * _resultobj; | |
7938 | bool _result; | |
7939 | wxGrid * _arg0; | |
7940 | wxGridTableBase * _arg1; | |
7941 | bool _arg2 = (bool ) FALSE; | |
7942 | WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells; | |
7943 | PyObject * _argo0 = 0; | |
7944 | PyObject * _argo1 = 0; | |
7945 | int tempbool2 = (int) FALSE; | |
7946 | char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL }; | |
7947 | ||
7948 | self = self; | |
7949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3)) | |
7950 | return NULL; | |
7951 | if (_argo0) { | |
7952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p."); | |
7955 | return NULL; | |
7956 | } | |
7957 | } | |
7958 | if (_argo1) { | |
7959 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7960 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) { | |
7961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p."); | |
7962 | return NULL; | |
7963 | } | |
7964 | } | |
7965 | _arg2 = (bool ) tempbool2; | |
7966 | { | |
4268f798 | 7967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7968 | _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7969 | |
4268f798 | 7970 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7971 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7972 | } _resultobj = Py_BuildValue("i",_result); |
7973 | return _resultobj; | |
7974 | } | |
7975 | ||
7976 | #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid()) | |
7977 | static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7978 | PyObject * _resultobj; | |
7979 | wxGrid * _arg0; | |
7980 | PyObject * _argo0 = 0; | |
7981 | char *_kwnames[] = { "self", NULL }; | |
7982 | ||
7983 | self = self; | |
7984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0)) | |
7985 | return NULL; | |
7986 | if (_argo0) { | |
7987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p."); | |
7990 | return NULL; | |
7991 | } | |
7992 | } | |
7993 | { | |
4268f798 | 7994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7995 | wxGrid_ClearGrid(_arg0); |
f6bcfd97 | 7996 | |
4268f798 | 7997 | wxPyEndAllowThreads(__tstate); |
493f1553 | 7998 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7999 | } Py_INCREF(Py_None); |
8000 | _resultobj = Py_None; | |
8001 | return _resultobj; | |
8002 | } | |
8003 | ||
8004 | #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2)) | |
8005 | static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8006 | PyObject * _resultobj; | |
8007 | bool _result; | |
8008 | wxGrid * _arg0; | |
8009 | int _arg1 = (int ) 0; | |
8010 | int _arg2 = (int ) 1; | |
8011 | bool _arg3 = (bool ) TRUE; | |
8012 | PyObject * _argo0 = 0; | |
8013 | int tempbool3 = (int) TRUE; | |
8014 | char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL }; | |
8015 | ||
8016 | self = self; | |
8017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
8018 | return NULL; | |
8019 | if (_argo0) { | |
8020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p."); | |
8023 | return NULL; | |
8024 | } | |
8025 | } | |
8026 | _arg3 = (bool ) tempbool3; | |
8027 | { | |
4268f798 | 8028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8029 | _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 8030 | |
4268f798 | 8031 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8032 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8033 | } _resultobj = Py_BuildValue("i",_result); |
8034 | return _resultobj; | |
8035 | } | |
8036 | ||
8037 | #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1)) | |
8038 | static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8039 | PyObject * _resultobj; | |
8040 | bool _result; | |
8041 | wxGrid * _arg0; | |
8042 | int _arg1 = (int ) 1; | |
8043 | bool _arg2 = (bool ) TRUE; | |
8044 | PyObject * _argo0 = 0; | |
8045 | int tempbool2 = (int) TRUE; | |
8046 | char *_kwnames[] = { "self","numRows","updateLabels", NULL }; | |
8047 | ||
8048 | self = self; | |
8049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
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_AppendRows. Expected _wxGrid_p."); | |
8055 | return NULL; | |
8056 | } | |
8057 | } | |
8058 | _arg2 = (bool ) tempbool2; | |
8059 | { | |
4268f798 | 8060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8061 | _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 8062 | |
4268f798 | 8063 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8064 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8065 | } _resultobj = Py_BuildValue("i",_result); |
8066 | return _resultobj; | |
8067 | } | |
8068 | ||
8069 | #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2)) | |
8070 | static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8071 | PyObject * _resultobj; | |
8072 | bool _result; | |
8073 | wxGrid * _arg0; | |
8074 | int _arg1 = (int ) 0; | |
8075 | int _arg2 = (int ) 1; | |
8076 | bool _arg3 = (bool ) TRUE; | |
8077 | PyObject * _argo0 = 0; | |
8078 | int tempbool3 = (int) TRUE; | |
8079 | char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL }; | |
8080 | ||
8081 | self = self; | |
8082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
8083 | return NULL; | |
8084 | if (_argo0) { | |
8085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p."); | |
8088 | return NULL; | |
8089 | } | |
8090 | } | |
8091 | _arg3 = (bool ) tempbool3; | |
8092 | { | |
4268f798 | 8093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8094 | _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 8095 | |
4268f798 | 8096 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8097 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8098 | } _resultobj = Py_BuildValue("i",_result); |
8099 | return _resultobj; | |
8100 | } | |
8101 | ||
8102 | #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2)) | |
8103 | static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8104 | PyObject * _resultobj; | |
8105 | bool _result; | |
8106 | wxGrid * _arg0; | |
8107 | int _arg1 = (int ) 0; | |
8108 | int _arg2 = (int ) 1; | |
8109 | bool _arg3 = (bool ) TRUE; | |
8110 | PyObject * _argo0 = 0; | |
8111 | int tempbool3 = (int) TRUE; | |
8112 | char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL }; | |
8113 | ||
8114 | self = self; | |
8115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
8116 | return NULL; | |
8117 | if (_argo0) { | |
8118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p."); | |
8121 | return NULL; | |
8122 | } | |
8123 | } | |
8124 | _arg3 = (bool ) tempbool3; | |
8125 | { | |
4268f798 | 8126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8127 | _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 8128 | |
4268f798 | 8129 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8130 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8131 | } _resultobj = Py_BuildValue("i",_result); |
8132 | return _resultobj; | |
8133 | } | |
8134 | ||
8135 | #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1)) | |
8136 | static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8137 | PyObject * _resultobj; | |
8138 | bool _result; | |
8139 | wxGrid * _arg0; | |
8140 | int _arg1 = (int ) 1; | |
8141 | bool _arg2 = (bool ) TRUE; | |
8142 | PyObject * _argo0 = 0; | |
8143 | int tempbool2 = (int) TRUE; | |
8144 | char *_kwnames[] = { "self","numCols","updateLabels", NULL }; | |
8145 | ||
8146 | self = self; | |
8147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
8148 | return NULL; | |
8149 | if (_argo0) { | |
8150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p."); | |
8153 | return NULL; | |
8154 | } | |
8155 | } | |
8156 | _arg2 = (bool ) tempbool2; | |
8157 | { | |
4268f798 | 8158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8159 | _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 8160 | |
4268f798 | 8161 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8162 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8163 | } _resultobj = Py_BuildValue("i",_result); |
8164 | return _resultobj; | |
8165 | } | |
8166 | ||
8167 | #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2)) | |
8168 | static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8169 | PyObject * _resultobj; | |
8170 | bool _result; | |
8171 | wxGrid * _arg0; | |
8172 | int _arg1 = (int ) 0; | |
8173 | int _arg2 = (int ) 1; | |
8174 | bool _arg3 = (bool ) TRUE; | |
8175 | PyObject * _argo0 = 0; | |
8176 | int tempbool3 = (int) TRUE; | |
8177 | char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL }; | |
8178 | ||
8179 | self = self; | |
8180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
8181 | return NULL; | |
8182 | if (_argo0) { | |
8183 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8184 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p."); | |
8186 | return NULL; | |
8187 | } | |
8188 | } | |
8189 | _arg3 = (bool ) tempbool3; | |
8190 | { | |
4268f798 | 8191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8192 | _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 8193 | |
4268f798 | 8194 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8195 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8196 | } _resultobj = Py_BuildValue("i",_result); |
8197 | return _resultobj; | |
8198 | } | |
8199 | ||
8200 | #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1)) | |
8201 | static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8202 | PyObject * _resultobj; | |
8203 | wxGrid * _arg0; | |
8204 | wxDC * _arg1; | |
8205 | wxGridCellAttr * _arg2; | |
8206 | PyObject * _argo0 = 0; | |
8207 | PyObject * _argo1 = 0; | |
8208 | PyObject * _argo2 = 0; | |
8209 | char *_kwnames[] = { "self","dc","attr", NULL }; | |
8210 | ||
8211 | self = self; | |
8212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2)) | |
8213 | return NULL; | |
8214 | if (_argo0) { | |
8215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p."); | |
8218 | return NULL; | |
8219 | } | |
8220 | } | |
8221 | if (_argo1) { | |
7e50db3f | 8222 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
f6bcfd97 BP |
8223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p."); |
8224 | return NULL; | |
8225 | } | |
8226 | } | |
8227 | if (_argo2) { | |
8228 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8229 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
8230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p."); | |
8231 | return NULL; | |
8232 | } | |
8233 | } | |
8234 | { | |
4268f798 | 8235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8236 | wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2); |
f6bcfd97 | 8237 | |
4268f798 | 8238 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8239 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8240 | } Py_INCREF(Py_None); |
8241 | _resultobj = Py_None; | |
8242 | return _resultobj; | |
8243 | } | |
8244 | ||
7e50db3f | 8245 | #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
f6bcfd97 BP |
8246 | static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { |
8247 | PyObject * _resultobj; | |
8248 | wxGrid * _arg0; | |
8249 | wxDC * _arg1; | |
8250 | wxString * _arg2; | |
8251 | wxRect * _arg3; | |
8252 | int _arg4 = (int ) wxLEFT; | |
8253 | int _arg5 = (int ) wxTOP; | |
7e50db3f | 8254 | int _arg6 = (int ) wxHORIZONTAL; |
f6bcfd97 BP |
8255 | PyObject * _argo0 = 0; |
8256 | PyObject * _argo1 = 0; | |
8257 | PyObject * _obj2 = 0; | |
8258 | wxRect temp; | |
8259 | PyObject * _obj3 = 0; | |
7e50db3f | 8260 | char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment","textOrientation", NULL }; |
f6bcfd97 BP |
8261 | |
8262 | self = self; | |
7e50db3f | 8263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5,&_arg6)) |
f6bcfd97 BP |
8264 | return NULL; |
8265 | if (_argo0) { | |
8266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p."); | |
8269 | return NULL; | |
8270 | } | |
8271 | } | |
8272 | if (_argo1) { | |
7e50db3f | 8273 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
f6bcfd97 BP |
8274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p."); |
8275 | return NULL; | |
8276 | } | |
8277 | } | |
8278 | { | |
c8bc7bb8 RD |
8279 | _arg2 = wxString_in_helper(_obj2); |
8280 | if (_arg2 == NULL) | |
185d7c3e | 8281 | return NULL; |
f6bcfd97 BP |
8282 | } |
8283 | { | |
8284 | _arg3 = &temp; | |
8285 | if (! wxRect_helper(_obj3, &_arg3)) | |
8286 | return NULL; | |
8287 | } | |
8288 | { | |
4268f798 | 8289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7e50db3f | 8290 | wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6); |
f6bcfd97 | 8291 | |
4268f798 | 8292 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8293 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8294 | } Py_INCREF(Py_None); |
8295 | _resultobj = Py_None; | |
8296 | { | |
8297 | if (_obj2) | |
8298 | delete _arg2; | |
8299 | } | |
8300 | return _resultobj; | |
8301 | } | |
8302 | ||
f6bcfd97 BP |
8303 | #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
8304 | static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8305 | PyObject * _resultobj; | |
8306 | wxGrid * _arg0; | |
8307 | wxDC * _arg1; | |
8308 | wxArrayString * _arg2; | |
8309 | long * _arg3; | |
8310 | long temp; | |
8311 | long * _arg4; | |
8312 | long temp0; | |
8313 | PyObject * _argo0 = 0; | |
8314 | PyObject * _argo1 = 0; | |
b37c7e1d | 8315 | PyObject * _obj2 = 0; |
f6bcfd97 BP |
8316 | char *_kwnames[] = { "self","dc","lines", NULL }; |
8317 | ||
8318 | self = self; | |
8319 | { | |
8320 | _arg3 = &temp; | |
8321 | } | |
8322 | { | |
8323 | _arg4 = &temp0; | |
8324 | } | |
b37c7e1d | 8325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2)) |
f6bcfd97 BP |
8326 | return NULL; |
8327 | if (_argo0) { | |
8328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p."); | |
8331 | return NULL; | |
8332 | } | |
8333 | } | |
8334 | if (_argo1) { | |
7e50db3f | 8335 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
f6bcfd97 BP |
8336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p."); |
8337 | return NULL; | |
8338 | } | |
8339 | } | |
b37c7e1d RD |
8340 | { |
8341 | if (! PySequence_Check(_obj2)) { | |
8342 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
f6bcfd97 | 8343 | return NULL; |
f6bcfd97 | 8344 | } |
b37c7e1d RD |
8345 | _arg2 = new wxArrayString; |
8346 | int i, len=PySequence_Length(_obj2); | |
8347 | for (i=0; i<len; i++) { | |
8348 | PyObject* item = PySequence_GetItem(_obj2, i); | |
c8bc7bb8 RD |
8349 | #if wxUSE_UNICODE |
8350 | PyObject* str = PyObject_Unicode(item); | |
c8bc7bb8 | 8351 | #else |
b37c7e1d | 8352 | PyObject* str = PyObject_Str(item); |
c8bc7bb8 | 8353 | #endif |
7e50db3f | 8354 | _arg2->Add(Py2wxString(str)); |
b37c7e1d RD |
8355 | Py_DECREF(item); |
8356 | Py_DECREF(str); | |
8357 | } | |
8358 | } | |
f6bcfd97 | 8359 | { |
4268f798 | 8360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8361 | wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4); |
f6bcfd97 | 8362 | |
4268f798 | 8363 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8364 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8365 | } Py_INCREF(Py_None); |
8366 | _resultobj = Py_None; | |
8367 | { | |
8368 | PyObject *o; | |
8369 | o = PyInt_FromLong((long) (*_arg3)); | |
8370 | _resultobj = t_output_helper(_resultobj, o); | |
8371 | } | |
8372 | { | |
8373 | PyObject *o; | |
8374 | o = PyInt_FromLong((long) (*_arg4)); | |
8375 | _resultobj = t_output_helper(_resultobj, o); | |
b37c7e1d RD |
8376 | } |
8377 | { | |
8378 | if (_obj2) | |
8379 | delete _arg2; | |
f6bcfd97 BP |
8380 | } |
8381 | return _resultobj; | |
8382 | } | |
8383 | ||
8384 | #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch()) | |
8385 | static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8386 | PyObject * _resultobj; | |
8387 | wxGrid * _arg0; | |
8388 | PyObject * _argo0 = 0; | |
8389 | char *_kwnames[] = { "self", NULL }; | |
8390 | ||
8391 | self = self; | |
8392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0)) | |
8393 | return NULL; | |
8394 | if (_argo0) { | |
8395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p."); | |
8398 | return NULL; | |
8399 | } | |
8400 | } | |
8401 | { | |
4268f798 | 8402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8403 | wxGrid_BeginBatch(_arg0); |
f6bcfd97 | 8404 | |
4268f798 | 8405 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8406 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8407 | } Py_INCREF(Py_None); |
8408 | _resultobj = Py_None; | |
8409 | return _resultobj; | |
8410 | } | |
8411 | ||
8412 | #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch()) | |
8413 | static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8414 | PyObject * _resultobj; | |
8415 | wxGrid * _arg0; | |
8416 | PyObject * _argo0 = 0; | |
8417 | char *_kwnames[] = { "self", NULL }; | |
8418 | ||
8419 | self = self; | |
8420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0)) | |
8421 | return NULL; | |
8422 | if (_argo0) { | |
8423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p."); | |
8426 | return NULL; | |
8427 | } | |
8428 | } | |
8429 | { | |
4268f798 | 8430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8431 | wxGrid_EndBatch(_arg0); |
f6bcfd97 | 8432 | |
4268f798 | 8433 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8434 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8435 | } Py_INCREF(Py_None); |
8436 | _resultobj = Py_None; | |
8437 | return _resultobj; | |
8438 | } | |
8439 | ||
8440 | #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount()) | |
8441 | static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8442 | PyObject * _resultobj; | |
8443 | int _result; | |
8444 | wxGrid * _arg0; | |
8445 | PyObject * _argo0 = 0; | |
8446 | char *_kwnames[] = { "self", NULL }; | |
8447 | ||
8448 | self = self; | |
8449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0)) | |
8450 | return NULL; | |
8451 | if (_argo0) { | |
8452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p."); | |
8455 | return NULL; | |
8456 | } | |
8457 | } | |
8458 | { | |
4268f798 | 8459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8460 | _result = (int )wxGrid_GetBatchCount(_arg0); |
f6bcfd97 | 8461 | |
4268f798 | 8462 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8463 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8464 | } _resultobj = Py_BuildValue("i",_result); |
8465 | return _resultobj; | |
8466 | } | |
8467 | ||
edf2f43e RD |
8468 | #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh()) |
8469 | static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8470 | PyObject * _resultobj; | |
8471 | wxGrid * _arg0; | |
8472 | PyObject * _argo0 = 0; | |
8473 | char *_kwnames[] = { "self", NULL }; | |
8474 | ||
8475 | self = self; | |
8476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0)) | |
8477 | return NULL; | |
8478 | if (_argo0) { | |
8479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p."); | |
8482 | return NULL; | |
8483 | } | |
8484 | } | |
8485 | { | |
4268f798 | 8486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8487 | wxGrid_ForceRefresh(_arg0); |
edf2f43e | 8488 | |
4268f798 | 8489 | wxPyEndAllowThreads(__tstate); |
edf2f43e RD |
8490 | if (PyErr_Occurred()) return NULL; |
8491 | } Py_INCREF(Py_None); | |
8492 | _resultobj = Py_None; | |
8493 | return _resultobj; | |
8494 | } | |
8495 | ||
67a92fff RD |
8496 | #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1)) |
8497 | static PyObject *_wrap_wxGrid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8498 | PyObject * _resultobj; | |
8499 | wxGrid * _arg0; | |
8500 | bool _arg1 = (bool ) TRUE; | |
8501 | wxRect * _arg2 = (wxRect *) NULL; | |
8502 | PyObject * _argo0 = 0; | |
8503 | int tempbool1 = (int) TRUE; | |
8504 | wxRect temp; | |
8505 | PyObject * _obj2 = 0; | |
8506 | char *_kwnames[] = { "self","eraseb","rect", NULL }; | |
8507 | ||
8508 | self = self; | |
8509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxGrid_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
8510 | return NULL; | |
8511 | if (_argo0) { | |
8512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p."); | |
8515 | return NULL; | |
8516 | } | |
8517 | } | |
8518 | _arg1 = (bool ) tempbool1; | |
8519 | if (_obj2) | |
8520 | { | |
8521 | _arg2 = &temp; | |
8522 | if (! wxRect_helper(_obj2, &_arg2)) | |
8523 | return NULL; | |
8524 | } | |
8525 | { | |
8526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8527 | wxGrid_Refresh(_arg0,_arg1,_arg2); | |
8528 | ||
8529 | wxPyEndAllowThreads(__tstate); | |
8530 | if (PyErr_Occurred()) return NULL; | |
8531 | } Py_INCREF(Py_None); | |
8532 | _resultobj = Py_None; | |
8533 | return _resultobj; | |
8534 | } | |
8535 | ||
f6bcfd97 BP |
8536 | #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable()) |
8537 | static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8538 | PyObject * _resultobj; | |
8539 | bool _result; | |
8540 | wxGrid * _arg0; | |
8541 | PyObject * _argo0 = 0; | |
8542 | char *_kwnames[] = { "self", NULL }; | |
8543 | ||
8544 | self = self; | |
8545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0)) | |
8546 | return NULL; | |
8547 | if (_argo0) { | |
8548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p."); | |
8551 | return NULL; | |
8552 | } | |
8553 | } | |
8554 | { | |
4268f798 | 8555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8556 | _result = (bool )wxGrid_IsEditable(_arg0); |
f6bcfd97 | 8557 | |
4268f798 | 8558 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8559 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8560 | } _resultobj = Py_BuildValue("i",_result); |
8561 | return _resultobj; | |
8562 | } | |
8563 | ||
8564 | #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0)) | |
8565 | static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8566 | PyObject * _resultobj; | |
8567 | wxGrid * _arg0; | |
8568 | bool _arg1; | |
8569 | PyObject * _argo0 = 0; | |
8570 | int tempbool1; | |
8571 | char *_kwnames[] = { "self","edit", NULL }; | |
8572 | ||
8573 | self = self; | |
8574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1)) | |
8575 | return NULL; | |
8576 | if (_argo0) { | |
8577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p."); | |
8580 | return NULL; | |
8581 | } | |
8582 | } | |
8583 | _arg1 = (bool ) tempbool1; | |
8584 | { | |
4268f798 | 8585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8586 | wxGrid_EnableEditing(_arg0,_arg1); |
f6bcfd97 | 8587 | |
4268f798 | 8588 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8589 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8590 | } Py_INCREF(Py_None); |
8591 | _resultobj = Py_None; | |
8592 | return _resultobj; | |
8593 | } | |
8594 | ||
8595 | #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0)) | |
8596 | static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8597 | PyObject * _resultobj; | |
8598 | wxGrid * _arg0; | |
8599 | bool _arg1 = (bool ) TRUE; | |
8600 | PyObject * _argo0 = 0; | |
8601 | int tempbool1 = (int) TRUE; | |
8602 | char *_kwnames[] = { "self","enable", NULL }; | |
8603 | ||
8604 | self = self; | |
8605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1)) | |
8606 | return NULL; | |
8607 | if (_argo0) { | |
8608 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8609 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p."); | |
8611 | return NULL; | |
8612 | } | |
8613 | } | |
8614 | _arg1 = (bool ) tempbool1; | |
8615 | { | |
4268f798 | 8616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8617 | wxGrid_EnableCellEditControl(_arg0,_arg1); |
f6bcfd97 | 8618 | |
4268f798 | 8619 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8620 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8621 | } Py_INCREF(Py_None); |
8622 | _resultobj = Py_None; | |
8623 | return _resultobj; | |
8624 | } | |
8625 | ||
8626 | #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl()) | |
8627 | static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8628 | PyObject * _resultobj; | |
8629 | wxGrid * _arg0; | |
8630 | PyObject * _argo0 = 0; | |
8631 | char *_kwnames[] = { "self", NULL }; | |
8632 | ||
8633 | self = self; | |
8634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0)) | |
8635 | return NULL; | |
8636 | if (_argo0) { | |
8637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p."); | |
8640 | return NULL; | |
8641 | } | |
8642 | } | |
8643 | { | |
4268f798 | 8644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8645 | wxGrid_DisableCellEditControl(_arg0); |
f6bcfd97 | 8646 | |
4268f798 | 8647 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8648 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8649 | } Py_INCREF(Py_None); |
8650 | _resultobj = Py_None; | |
8651 | return _resultobj; | |
8652 | } | |
8653 | ||
8654 | #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl()) | |
8655 | static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8656 | PyObject * _resultobj; | |
8657 | bool _result; | |
8658 | wxGrid * _arg0; | |
8659 | PyObject * _argo0 = 0; | |
8660 | char *_kwnames[] = { "self", NULL }; | |
8661 | ||
8662 | self = self; | |
8663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0)) | |
8664 | return NULL; | |
8665 | if (_argo0) { | |
8666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p."); | |
8669 | return NULL; | |
8670 | } | |
8671 | } | |
8672 | { | |
4268f798 | 8673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8674 | _result = (bool )wxGrid_CanEnableCellControl(_arg0); |
f6bcfd97 | 8675 | |
4268f798 | 8676 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8677 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8678 | } _resultobj = Py_BuildValue("i",_result); |
8679 | return _resultobj; | |
8680 | } | |
8681 | ||
8682 | #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled()) | |
8683 | static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8684 | PyObject * _resultobj; | |
8685 | bool _result; | |
8686 | wxGrid * _arg0; | |
8687 | PyObject * _argo0 = 0; | |
8688 | char *_kwnames[] = { "self", NULL }; | |
8689 | ||
8690 | self = self; | |
8691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0)) | |
8692 | return NULL; | |
8693 | if (_argo0) { | |
8694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p."); | |
8697 | return NULL; | |
8698 | } | |
8699 | } | |
8700 | { | |
4268f798 | 8701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8702 | _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0); |
f6bcfd97 | 8703 | |
4268f798 | 8704 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8705 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8706 | } _resultobj = Py_BuildValue("i",_result); |
8707 | return _resultobj; | |
8708 | } | |
8709 | ||
8710 | #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown()) | |
8711 | static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8712 | PyObject * _resultobj; | |
8713 | bool _result; | |
8714 | wxGrid * _arg0; | |
8715 | PyObject * _argo0 = 0; | |
8716 | char *_kwnames[] = { "self", NULL }; | |
8717 | ||
8718 | self = self; | |
8719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0)) | |
8720 | return NULL; | |
8721 | if (_argo0) { | |
8722 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8723 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p."); | |
8725 | return NULL; | |
8726 | } | |
8727 | } | |
8728 | { | |
4268f798 | 8729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8730 | _result = (bool )wxGrid_IsCellEditControlShown(_arg0); |
f6bcfd97 | 8731 | |
4268f798 | 8732 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8733 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8734 | } _resultobj = Py_BuildValue("i",_result); |
8735 | return _resultobj; | |
8736 | } | |
8737 | ||
8738 | #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly()) | |
8739 | static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8740 | PyObject * _resultobj; | |
8741 | bool _result; | |
8742 | wxGrid * _arg0; | |
8743 | PyObject * _argo0 = 0; | |
8744 | char *_kwnames[] = { "self", NULL }; | |
8745 | ||
8746 | self = self; | |
8747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0)) | |
8748 | return NULL; | |
8749 | if (_argo0) { | |
8750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p."); | |
8753 | return NULL; | |
8754 | } | |
8755 | } | |
8756 | { | |
4268f798 | 8757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8758 | _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0); |
f6bcfd97 | 8759 | |
4268f798 | 8760 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8761 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8762 | } _resultobj = Py_BuildValue("i",_result); |
8763 | return _resultobj; | |
8764 | } | |
8765 | ||
8766 | #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl()) | |
8767 | static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8768 | PyObject * _resultobj; | |
8769 | wxGrid * _arg0; | |
8770 | PyObject * _argo0 = 0; | |
8771 | char *_kwnames[] = { "self", NULL }; | |
8772 | ||
8773 | self = self; | |
8774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0)) | |
8775 | return NULL; | |
8776 | if (_argo0) { | |
8777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p."); | |
8780 | return NULL; | |
8781 | } | |
8782 | } | |
8783 | { | |
4268f798 | 8784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8785 | wxGrid_ShowCellEditControl(_arg0); |
f6bcfd97 | 8786 | |
4268f798 | 8787 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8788 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8789 | } Py_INCREF(Py_None); |
8790 | _resultobj = Py_None; | |
8791 | return _resultobj; | |
8792 | } | |
8793 | ||
8794 | #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl()) | |
8795 | static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8796 | PyObject * _resultobj; | |
8797 | wxGrid * _arg0; | |
8798 | PyObject * _argo0 = 0; | |
8799 | char *_kwnames[] = { "self", NULL }; | |
8800 | ||
8801 | self = self; | |
8802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0)) | |
8803 | return NULL; | |
8804 | if (_argo0) { | |
8805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p."); | |
8808 | return NULL; | |
8809 | } | |
8810 | } | |
8811 | { | |
4268f798 | 8812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8813 | wxGrid_HideCellEditControl(_arg0); |
f6bcfd97 | 8814 | |
4268f798 | 8815 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8816 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8817 | } Py_INCREF(Py_None); |
8818 | _resultobj = Py_None; | |
8819 | return _resultobj; | |
8820 | } | |
8821 | ||
8822 | #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue()) | |
8823 | static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8824 | PyObject * _resultobj; | |
8825 | wxGrid * _arg0; | |
8826 | PyObject * _argo0 = 0; | |
8827 | char *_kwnames[] = { "self", NULL }; | |
8828 | ||
8829 | self = self; | |
8830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0)) | |
8831 | return NULL; | |
8832 | if (_argo0) { | |
8833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p."); | |
8836 | return NULL; | |
8837 | } | |
8838 | } | |
8839 | { | |
4268f798 | 8840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8841 | wxGrid_SaveEditControlValue(_arg0); |
f6bcfd97 | 8842 | |
4268f798 | 8843 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8844 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8845 | } Py_INCREF(Py_None); |
8846 | _resultobj = Py_None; | |
8847 | return _resultobj; | |
8848 | } | |
8849 | ||
8850 | static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) { | |
8851 | wxGridCellCoords rv; | |
8852 | self->XYToCell(x, y, rv); | |
8853 | return new wxGridCellCoords(rv); | |
8854 | } | |
8855 | static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8856 | PyObject * _resultobj; | |
8857 | wxGridCellCoords * _result; | |
8858 | wxGrid * _arg0; | |
8859 | int _arg1; | |
8860 | int _arg2; | |
8861 | PyObject * _argo0 = 0; | |
8862 | char *_kwnames[] = { "self","x","y", NULL }; | |
8863 | char _ptemp[128]; | |
8864 | ||
8865 | self = self; | |
8866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8867 | return NULL; | |
8868 | if (_argo0) { | |
8869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p."); | |
8872 | return NULL; | |
8873 | } | |
8874 | } | |
8875 | { | |
4268f798 | 8876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8877 | _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 8878 | |
4268f798 | 8879 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8880 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8881 | } if (_result) { |
8882 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p"); | |
8883 | _resultobj = Py_BuildValue("s",_ptemp); | |
8884 | } else { | |
8885 | Py_INCREF(Py_None); | |
8886 | _resultobj = Py_None; | |
8887 | } | |
8888 | return _resultobj; | |
8889 | } | |
8890 | ||
8891 | #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0)) | |
8892 | static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8893 | PyObject * _resultobj; | |
8894 | int _result; | |
8895 | wxGrid * _arg0; | |
8896 | int _arg1; | |
8897 | PyObject * _argo0 = 0; | |
8898 | char *_kwnames[] = { "self","y", NULL }; | |
8899 | ||
8900 | self = self; | |
8901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1)) | |
8902 | return NULL; | |
8903 | if (_argo0) { | |
8904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p."); | |
8907 | return NULL; | |
8908 | } | |
8909 | } | |
8910 | { | |
4268f798 | 8911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8912 | _result = (int )wxGrid_YToRow(_arg0,_arg1); |
f6bcfd97 | 8913 | |
4268f798 | 8914 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8915 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8916 | } _resultobj = Py_BuildValue("i",_result); |
8917 | return _resultobj; | |
8918 | } | |
8919 | ||
8920 | #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0)) | |
8921 | static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8922 | PyObject * _resultobj; | |
8923 | int _result; | |
8924 | wxGrid * _arg0; | |
8925 | int _arg1; | |
8926 | PyObject * _argo0 = 0; | |
8927 | char *_kwnames[] = { "self","x", NULL }; | |
8928 | ||
8929 | self = self; | |
8930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1)) | |
8931 | return NULL; | |
8932 | if (_argo0) { | |
8933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p."); | |
8936 | return NULL; | |
8937 | } | |
8938 | } | |
8939 | { | |
4268f798 | 8940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8941 | _result = (int )wxGrid_XToCol(_arg0,_arg1); |
f6bcfd97 | 8942 | |
4268f798 | 8943 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8944 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8945 | } _resultobj = Py_BuildValue("i",_result); |
8946 | return _resultobj; | |
8947 | } | |
8948 | ||
8949 | #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0)) | |
8950 | static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8951 | PyObject * _resultobj; | |
8952 | int _result; | |
8953 | wxGrid * _arg0; | |
8954 | int _arg1; | |
8955 | PyObject * _argo0 = 0; | |
8956 | char *_kwnames[] = { "self","y", NULL }; | |
8957 | ||
8958 | self = self; | |
8959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1)) | |
8960 | return NULL; | |
8961 | if (_argo0) { | |
8962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p."); | |
8965 | return NULL; | |
8966 | } | |
8967 | } | |
8968 | { | |
4268f798 | 8969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8970 | _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1); |
f6bcfd97 | 8971 | |
4268f798 | 8972 | wxPyEndAllowThreads(__tstate); |
493f1553 | 8973 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8974 | } _resultobj = Py_BuildValue("i",_result); |
8975 | return _resultobj; | |
8976 | } | |
8977 | ||
8978 | #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0)) | |
8979 | static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8980 | PyObject * _resultobj; | |
8981 | int _result; | |
8982 | wxGrid * _arg0; | |
8983 | int _arg1; | |
8984 | PyObject * _argo0 = 0; | |
8985 | char *_kwnames[] = { "self","x", NULL }; | |
8986 | ||
8987 | self = self; | |
8988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1)) | |
8989 | return NULL; | |
8990 | if (_argo0) { | |
8991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p."); | |
8994 | return NULL; | |
8995 | } | |
8996 | } | |
8997 | { | |
4268f798 | 8998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8999 | _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1); |
f6bcfd97 | 9000 | |
4268f798 | 9001 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9002 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9003 | } _resultobj = Py_BuildValue("i",_result); |
9004 | return _resultobj; | |
9005 | } | |
9006 | ||
9007 | #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1)) | |
9008 | static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9009 | PyObject * _resultobj; | |
9010 | wxRect * _result; | |
9011 | wxGrid * _arg0; | |
9012 | int _arg1; | |
9013 | int _arg2; | |
9014 | PyObject * _argo0 = 0; | |
9015 | char *_kwnames[] = { "self","row","col", NULL }; | |
9016 | char _ptemp[128]; | |
9017 | ||
9018 | self = self; | |
9019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9020 | return NULL; | |
9021 | if (_argo0) { | |
9022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p."); | |
9025 | return NULL; | |
9026 | } | |
9027 | } | |
9028 | { | |
4268f798 | 9029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9030 | _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2)); |
f6bcfd97 | 9031 | |
4268f798 | 9032 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9033 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9034 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
9035 | _resultobj = Py_BuildValue("s",_ptemp); | |
9036 | return _resultobj; | |
9037 | } | |
9038 | ||
9039 | #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow()) | |
9040 | static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9041 | PyObject * _resultobj; | |
9042 | int _result; | |
9043 | wxGrid * _arg0; | |
9044 | PyObject * _argo0 = 0; | |
9045 | char *_kwnames[] = { "self", NULL }; | |
9046 | ||
9047 | self = self; | |
9048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0)) | |
9049 | return NULL; | |
9050 | if (_argo0) { | |
9051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p."); | |
9054 | return NULL; | |
9055 | } | |
9056 | } | |
9057 | { | |
4268f798 | 9058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9059 | _result = (int )wxGrid_GetGridCursorRow(_arg0); |
f6bcfd97 | 9060 | |
4268f798 | 9061 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9062 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9063 | } _resultobj = Py_BuildValue("i",_result); |
9064 | return _resultobj; | |
9065 | } | |
9066 | ||
9067 | #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol()) | |
9068 | static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9069 | PyObject * _resultobj; | |
9070 | int _result; | |
9071 | wxGrid * _arg0; | |
9072 | PyObject * _argo0 = 0; | |
9073 | char *_kwnames[] = { "self", NULL }; | |
9074 | ||
9075 | self = self; | |
9076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0)) | |
9077 | return NULL; | |
9078 | if (_argo0) { | |
9079 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9080 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p."); | |
9082 | return NULL; | |
9083 | } | |
9084 | } | |
9085 | { | |
4268f798 | 9086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9087 | _result = (int )wxGrid_GetGridCursorCol(_arg0); |
f6bcfd97 | 9088 | |
4268f798 | 9089 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9090 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9091 | } _resultobj = Py_BuildValue("i",_result); |
9092 | return _resultobj; | |
9093 | } | |
9094 | ||
9095 | #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2)) | |
9096 | static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9097 | PyObject * _resultobj; | |
9098 | bool _result; | |
9099 | wxGrid * _arg0; | |
9100 | int _arg1; | |
9101 | int _arg2; | |
9102 | bool _arg3 = (bool ) TRUE; | |
9103 | PyObject * _argo0 = 0; | |
9104 | int tempbool3 = (int) TRUE; | |
9105 | char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL }; | |
9106 | ||
9107 | self = self; | |
9108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
9109 | return NULL; | |
9110 | if (_argo0) { | |
9111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p."); | |
9114 | return NULL; | |
9115 | } | |
9116 | } | |
9117 | _arg3 = (bool ) tempbool3; | |
9118 | { | |
4268f798 | 9119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9120 | _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 9121 | |
4268f798 | 9122 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9123 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9124 | } _resultobj = Py_BuildValue("i",_result); |
9125 | return _resultobj; | |
9126 | } | |
9127 | ||
9128 | #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1)) | |
9129 | static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9130 | PyObject * _resultobj; | |
9131 | wxGrid * _arg0; | |
9132 | int _arg1; | |
9133 | int _arg2; | |
9134 | PyObject * _argo0 = 0; | |
9135 | char *_kwnames[] = { "self","row","col", NULL }; | |
9136 | ||
9137 | self = self; | |
9138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9139 | return NULL; | |
9140 | if (_argo0) { | |
9141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p."); | |
9144 | return NULL; | |
9145 | } | |
9146 | } | |
9147 | { | |
4268f798 | 9148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9149 | wxGrid_MakeCellVisible(_arg0,_arg1,_arg2); |
f6bcfd97 | 9150 | |
4268f798 | 9151 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9152 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9153 | } Py_INCREF(Py_None); |
9154 | _resultobj = Py_None; | |
9155 | return _resultobj; | |
9156 | } | |
9157 | ||
9158 | #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1)) | |
9159 | static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9160 | PyObject * _resultobj; | |
9161 | wxGrid * _arg0; | |
9162 | int _arg1; | |
9163 | int _arg2; | |
9164 | PyObject * _argo0 = 0; | |
9165 | char *_kwnames[] = { "self","row","col", NULL }; | |
9166 | ||
9167 | self = self; | |
9168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9169 | return NULL; | |
9170 | if (_argo0) { | |
9171 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9172 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p."); | |
9174 | return NULL; | |
9175 | } | |
9176 | } | |
9177 | { | |
4268f798 | 9178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9179 | wxGrid_SetGridCursor(_arg0,_arg1,_arg2); |
f6bcfd97 | 9180 | |
4268f798 | 9181 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9182 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9183 | } Py_INCREF(Py_None); |
9184 | _resultobj = Py_None; | |
9185 | return _resultobj; | |
9186 | } | |
9187 | ||
9188 | #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0)) | |
9189 | static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9190 | PyObject * _resultobj; | |
9191 | bool _result; | |
9192 | wxGrid * _arg0; | |
9193 | bool _arg1; | |
9194 | PyObject * _argo0 = 0; | |
9195 | int tempbool1; | |
9196 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9197 | ||
9198 | self = self; | |
9199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1)) | |
9200 | return NULL; | |
9201 | if (_argo0) { | |
9202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p."); | |
9205 | return NULL; | |
9206 | } | |
9207 | } | |
9208 | _arg1 = (bool ) tempbool1; | |
9209 | { | |
4268f798 | 9210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9211 | _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1); |
f6bcfd97 | 9212 | |
4268f798 | 9213 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9214 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9215 | } _resultobj = Py_BuildValue("i",_result); |
9216 | return _resultobj; | |
9217 | } | |
9218 | ||
9219 | #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0)) | |
9220 | static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9221 | PyObject * _resultobj; | |
9222 | bool _result; | |
9223 | wxGrid * _arg0; | |
9224 | bool _arg1; | |
9225 | PyObject * _argo0 = 0; | |
9226 | int tempbool1; | |
9227 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9228 | ||
9229 | self = self; | |
9230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1)) | |
9231 | return NULL; | |
9232 | if (_argo0) { | |
9233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p."); | |
9236 | return NULL; | |
9237 | } | |
9238 | } | |
9239 | _arg1 = (bool ) tempbool1; | |
9240 | { | |
4268f798 | 9241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9242 | _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1); |
f6bcfd97 | 9243 | |
4268f798 | 9244 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9245 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9246 | } _resultobj = Py_BuildValue("i",_result); |
9247 | return _resultobj; | |
9248 | } | |
9249 | ||
9250 | #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0)) | |
9251 | static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9252 | PyObject * _resultobj; | |
9253 | bool _result; | |
9254 | wxGrid * _arg0; | |
9255 | bool _arg1; | |
9256 | PyObject * _argo0 = 0; | |
9257 | int tempbool1; | |
9258 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9259 | ||
9260 | self = self; | |
9261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1)) | |
9262 | return NULL; | |
9263 | if (_argo0) { | |
9264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p."); | |
9267 | return NULL; | |
9268 | } | |
9269 | } | |
9270 | _arg1 = (bool ) tempbool1; | |
9271 | { | |
4268f798 | 9272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9273 | _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1); |
f6bcfd97 | 9274 | |
4268f798 | 9275 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9276 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9277 | } _resultobj = Py_BuildValue("i",_result); |
9278 | return _resultobj; | |
9279 | } | |
9280 | ||
9281 | #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0)) | |
9282 | static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9283 | PyObject * _resultobj; | |
9284 | bool _result; | |
9285 | wxGrid * _arg0; | |
9286 | bool _arg1; | |
9287 | PyObject * _argo0 = 0; | |
9288 | int tempbool1; | |
9289 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9290 | ||
9291 | self = self; | |
9292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1)) | |
9293 | return NULL; | |
9294 | if (_argo0) { | |
9295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p."); | |
9298 | return NULL; | |
9299 | } | |
9300 | } | |
9301 | _arg1 = (bool ) tempbool1; | |
9302 | { | |
4268f798 | 9303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9304 | _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1); |
f6bcfd97 | 9305 | |
4268f798 | 9306 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9307 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9308 | } _resultobj = Py_BuildValue("i",_result); |
9309 | return _resultobj; | |
9310 | } | |
9311 | ||
9312 | #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown()) | |
9313 | static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9314 | PyObject * _resultobj; | |
9315 | bool _result; | |
9316 | wxGrid * _arg0; | |
9317 | PyObject * _argo0 = 0; | |
9318 | char *_kwnames[] = { "self", NULL }; | |
9319 | ||
9320 | self = self; | |
9321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0)) | |
9322 | return NULL; | |
9323 | if (_argo0) { | |
9324 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9325 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p."); | |
9327 | return NULL; | |
9328 | } | |
9329 | } | |
9330 | { | |
4268f798 | 9331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9332 | _result = (bool )wxGrid_MovePageDown(_arg0); |
f6bcfd97 | 9333 | |
4268f798 | 9334 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9335 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9336 | } _resultobj = Py_BuildValue("i",_result); |
9337 | return _resultobj; | |
9338 | } | |
9339 | ||
9340 | #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp()) | |
9341 | static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9342 | PyObject * _resultobj; | |
9343 | bool _result; | |
9344 | wxGrid * _arg0; | |
9345 | PyObject * _argo0 = 0; | |
9346 | char *_kwnames[] = { "self", NULL }; | |
9347 | ||
9348 | self = self; | |
9349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0)) | |
9350 | return NULL; | |
9351 | if (_argo0) { | |
9352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p."); | |
9355 | return NULL; | |
9356 | } | |
9357 | } | |
9358 | { | |
4268f798 | 9359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9360 | _result = (bool )wxGrid_MovePageUp(_arg0); |
f6bcfd97 | 9361 | |
4268f798 | 9362 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9363 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9364 | } _resultobj = Py_BuildValue("i",_result); |
9365 | return _resultobj; | |
9366 | } | |
9367 | ||
9368 | #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0)) | |
9369 | static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9370 | PyObject * _resultobj; | |
9371 | bool _result; | |
9372 | wxGrid * _arg0; | |
9373 | bool _arg1; | |
9374 | PyObject * _argo0 = 0; | |
9375 | int tempbool1; | |
9376 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9377 | ||
9378 | self = self; | |
9379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1)) | |
9380 | return NULL; | |
9381 | if (_argo0) { | |
9382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p."); | |
9385 | return NULL; | |
9386 | } | |
9387 | } | |
9388 | _arg1 = (bool ) tempbool1; | |
9389 | { | |
4268f798 | 9390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9391 | _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1); |
f6bcfd97 | 9392 | |
4268f798 | 9393 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9394 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9395 | } _resultobj = Py_BuildValue("i",_result); |
9396 | return _resultobj; | |
9397 | } | |
9398 | ||
9399 | #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0)) | |
9400 | static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9401 | PyObject * _resultobj; | |
9402 | bool _result; | |
9403 | wxGrid * _arg0; | |
9404 | bool _arg1; | |
9405 | PyObject * _argo0 = 0; | |
9406 | int tempbool1; | |
9407 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9408 | ||
9409 | self = self; | |
9410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1)) | |
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_MoveCursorDownBlock. Expected _wxGrid_p."); | |
9416 | return NULL; | |
9417 | } | |
9418 | } | |
9419 | _arg1 = (bool ) tempbool1; | |
9420 | { | |
4268f798 | 9421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9422 | _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1); |
f6bcfd97 | 9423 | |
4268f798 | 9424 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9425 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9426 | } _resultobj = Py_BuildValue("i",_result); |
9427 | return _resultobj; | |
9428 | } | |
9429 | ||
9430 | #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0)) | |
9431 | static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9432 | PyObject * _resultobj; | |
9433 | bool _result; | |
9434 | wxGrid * _arg0; | |
9435 | bool _arg1; | |
9436 | PyObject * _argo0 = 0; | |
9437 | int tempbool1; | |
9438 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9439 | ||
9440 | self = self; | |
9441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1)) | |
9442 | return NULL; | |
9443 | if (_argo0) { | |
9444 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9445 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p."); | |
9447 | return NULL; | |
9448 | } | |
9449 | } | |
9450 | _arg1 = (bool ) tempbool1; | |
9451 | { | |
4268f798 | 9452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9453 | _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1); |
f6bcfd97 | 9454 | |
4268f798 | 9455 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9456 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9457 | } _resultobj = Py_BuildValue("i",_result); |
9458 | return _resultobj; | |
9459 | } | |
9460 | ||
9461 | #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0)) | |
9462 | static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9463 | PyObject * _resultobj; | |
9464 | bool _result; | |
9465 | wxGrid * _arg0; | |
9466 | bool _arg1; | |
9467 | PyObject * _argo0 = 0; | |
9468 | int tempbool1; | |
9469 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9470 | ||
9471 | self = self; | |
9472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1)) | |
9473 | return NULL; | |
9474 | if (_argo0) { | |
9475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p."); | |
9478 | return NULL; | |
9479 | } | |
9480 | } | |
9481 | _arg1 = (bool ) tempbool1; | |
9482 | { | |
4268f798 | 9483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9484 | _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1); |
f6bcfd97 | 9485 | |
4268f798 | 9486 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9487 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9488 | } _resultobj = Py_BuildValue("i",_result); |
9489 | return _resultobj; | |
9490 | } | |
9491 | ||
9492 | #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize()) | |
9493 | static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9494 | PyObject * _resultobj; | |
9495 | int _result; | |
9496 | wxGrid * _arg0; | |
9497 | PyObject * _argo0 = 0; | |
9498 | char *_kwnames[] = { "self", NULL }; | |
9499 | ||
9500 | self = self; | |
9501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0)) | |
9502 | return NULL; | |
9503 | if (_argo0) { | |
9504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p."); | |
9507 | return NULL; | |
9508 | } | |
9509 | } | |
9510 | { | |
4268f798 | 9511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9512 | _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0); |
f6bcfd97 | 9513 | |
4268f798 | 9514 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9515 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9516 | } _resultobj = Py_BuildValue("i",_result); |
9517 | return _resultobj; | |
9518 | } | |
9519 | ||
9520 | #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize()) | |
9521 | static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9522 | PyObject * _resultobj; | |
9523 | int _result; | |
9524 | wxGrid * _arg0; | |
9525 | PyObject * _argo0 = 0; | |
9526 | char *_kwnames[] = { "self", NULL }; | |
9527 | ||
9528 | self = self; | |
9529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0)) | |
9530 | return NULL; | |
9531 | if (_argo0) { | |
9532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p."); | |
9535 | return NULL; | |
9536 | } | |
9537 | } | |
9538 | { | |
4268f798 | 9539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9540 | _result = (int )wxGrid_GetRowLabelSize(_arg0); |
f6bcfd97 | 9541 | |
4268f798 | 9542 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9543 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9544 | } _resultobj = Py_BuildValue("i",_result); |
9545 | return _resultobj; | |
9546 | } | |
9547 | ||
9548 | #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize()) | |
9549 | static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9550 | PyObject * _resultobj; | |
9551 | int _result; | |
9552 | wxGrid * _arg0; | |
9553 | PyObject * _argo0 = 0; | |
9554 | char *_kwnames[] = { "self", NULL }; | |
9555 | ||
9556 | self = self; | |
9557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0)) | |
9558 | return NULL; | |
9559 | if (_argo0) { | |
9560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p."); | |
9563 | return NULL; | |
9564 | } | |
9565 | } | |
9566 | { | |
4268f798 | 9567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9568 | _result = (int )wxGrid_GetDefaultColLabelSize(_arg0); |
f6bcfd97 | 9569 | |
4268f798 | 9570 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9571 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9572 | } _resultobj = Py_BuildValue("i",_result); |
9573 | return _resultobj; | |
9574 | } | |
9575 | ||
9576 | #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize()) | |
9577 | static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9578 | PyObject * _resultobj; | |
9579 | int _result; | |
9580 | wxGrid * _arg0; | |
9581 | PyObject * _argo0 = 0; | |
9582 | char *_kwnames[] = { "self", NULL }; | |
9583 | ||
9584 | self = self; | |
9585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0)) | |
9586 | return NULL; | |
9587 | if (_argo0) { | |
9588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p."); | |
9591 | return NULL; | |
9592 | } | |
9593 | } | |
9594 | { | |
4268f798 | 9595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9596 | _result = (int )wxGrid_GetColLabelSize(_arg0); |
f6bcfd97 | 9597 | |
4268f798 | 9598 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9599 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9600 | } _resultobj = Py_BuildValue("i",_result); |
9601 | return _resultobj; | |
9602 | } | |
9603 | ||
9604 | #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour()) | |
9605 | static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9606 | PyObject * _resultobj; | |
9607 | wxColour * _result; | |
9608 | wxGrid * _arg0; | |
9609 | PyObject * _argo0 = 0; | |
9610 | char *_kwnames[] = { "self", NULL }; | |
9611 | char _ptemp[128]; | |
9612 | ||
9613 | self = self; | |
9614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0)) | |
9615 | return NULL; | |
9616 | if (_argo0) { | |
9617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p."); | |
9620 | return NULL; | |
9621 | } | |
9622 | } | |
9623 | { | |
4268f798 | 9624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9625 | _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0)); |
f6bcfd97 | 9626 | |
4268f798 | 9627 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9628 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9629 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9630 | _resultobj = Py_BuildValue("s",_ptemp); | |
9631 | return _resultobj; | |
9632 | } | |
9633 | ||
9634 | #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour()) | |
9635 | static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9636 | PyObject * _resultobj; | |
9637 | wxColour * _result; | |
9638 | wxGrid * _arg0; | |
9639 | PyObject * _argo0 = 0; | |
9640 | char *_kwnames[] = { "self", NULL }; | |
9641 | char _ptemp[128]; | |
9642 | ||
9643 | self = self; | |
9644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0)) | |
9645 | return NULL; | |
9646 | if (_argo0) { | |
9647 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9648 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p."); | |
9650 | return NULL; | |
9651 | } | |
9652 | } | |
9653 | { | |
4268f798 | 9654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9655 | _result = new wxColour (wxGrid_GetLabelTextColour(_arg0)); |
f6bcfd97 | 9656 | |
4268f798 | 9657 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9658 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9659 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9660 | _resultobj = Py_BuildValue("s",_ptemp); | |
9661 | return _resultobj; | |
9662 | } | |
9663 | ||
9664 | #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont()) | |
9665 | static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9666 | PyObject * _resultobj; | |
9667 | wxFont * _result; | |
9668 | wxGrid * _arg0; | |
9669 | PyObject * _argo0 = 0; | |
9670 | char *_kwnames[] = { "self", NULL }; | |
9671 | char _ptemp[128]; | |
9672 | ||
9673 | self = self; | |
9674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0)) | |
9675 | return NULL; | |
9676 | if (_argo0) { | |
9677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p."); | |
9680 | return NULL; | |
9681 | } | |
9682 | } | |
9683 | { | |
4268f798 | 9684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9685 | _result = new wxFont (wxGrid_GetLabelFont(_arg0)); |
f6bcfd97 | 9686 | |
4268f798 | 9687 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9688 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9689 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
9690 | _resultobj = Py_BuildValue("s",_ptemp); | |
9691 | return _resultobj; | |
9692 | } | |
9693 | ||
9694 | #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1)) | |
9695 | static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9696 | PyObject * _resultobj; | |
9697 | wxGrid * _arg0; | |
9698 | int * _arg1; | |
9699 | int temp; | |
9700 | int * _arg2; | |
9701 | int temp0; | |
9702 | PyObject * _argo0 = 0; | |
9703 | char *_kwnames[] = { "self", NULL }; | |
9704 | ||
9705 | self = self; | |
9706 | { | |
9707 | _arg1 = &temp; | |
9708 | } | |
9709 | { | |
9710 | _arg2 = &temp0; | |
9711 | } | |
9712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0)) | |
9713 | return NULL; | |
9714 | if (_argo0) { | |
9715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p."); | |
9718 | return NULL; | |
9719 | } | |
9720 | } | |
9721 | { | |
4268f798 | 9722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9723 | wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9724 | |
4268f798 | 9725 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9726 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9727 | } Py_INCREF(Py_None); |
9728 | _resultobj = Py_None; | |
9729 | { | |
9730 | PyObject *o; | |
9731 | o = PyInt_FromLong((long) (*_arg1)); | |
9732 | _resultobj = t_output_helper(_resultobj, o); | |
9733 | } | |
9734 | { | |
9735 | PyObject *o; | |
9736 | o = PyInt_FromLong((long) (*_arg2)); | |
9737 | _resultobj = t_output_helper(_resultobj, o); | |
9738 | } | |
9739 | return _resultobj; | |
9740 | } | |
9741 | ||
9742 | #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1)) | |
9743 | static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9744 | PyObject * _resultobj; | |
9745 | wxGrid * _arg0; | |
9746 | int * _arg1; | |
9747 | int temp; | |
9748 | int * _arg2; | |
9749 | int temp0; | |
9750 | PyObject * _argo0 = 0; | |
9751 | char *_kwnames[] = { "self", NULL }; | |
9752 | ||
9753 | self = self; | |
9754 | { | |
9755 | _arg1 = &temp; | |
9756 | } | |
9757 | { | |
9758 | _arg2 = &temp0; | |
9759 | } | |
9760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0)) | |
9761 | return NULL; | |
9762 | if (_argo0) { | |
9763 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9764 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p."); | |
9766 | return NULL; | |
9767 | } | |
9768 | } | |
9769 | { | |
4268f798 | 9770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9771 | wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9772 | |
4268f798 | 9773 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9774 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9775 | } Py_INCREF(Py_None); |
9776 | _resultobj = Py_None; | |
9777 | { | |
9778 | PyObject *o; | |
9779 | o = PyInt_FromLong((long) (*_arg1)); | |
9780 | _resultobj = t_output_helper(_resultobj, o); | |
9781 | } | |
9782 | { | |
9783 | PyObject *o; | |
9784 | o = PyInt_FromLong((long) (*_arg2)); | |
9785 | _resultobj = t_output_helper(_resultobj, o); | |
9786 | } | |
9787 | return _resultobj; | |
9788 | } | |
9789 | ||
7e50db3f RD |
9790 | #define wxGrid_GetColLabelTextOrientation(_swigobj) (_swigobj->GetColLabelTextOrientation()) |
9791 | static PyObject *_wrap_wxGrid_GetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9792 | PyObject * _resultobj; | |
9793 | int _result; | |
9794 | wxGrid * _arg0; | |
9795 | PyObject * _argo0 = 0; | |
9796 | char *_kwnames[] = { "self", NULL }; | |
9797 | ||
9798 | self = self; | |
9799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelTextOrientation",_kwnames,&_argo0)) | |
9800 | return NULL; | |
9801 | if (_argo0) { | |
9802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelTextOrientation. Expected _wxGrid_p."); | |
9805 | return NULL; | |
9806 | } | |
9807 | } | |
9808 | { | |
9809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9810 | _result = (int )wxGrid_GetColLabelTextOrientation(_arg0); | |
9811 | ||
9812 | wxPyEndAllowThreads(__tstate); | |
9813 | if (PyErr_Occurred()) return NULL; | |
9814 | } _resultobj = Py_BuildValue("i",_result); | |
9815 | return _resultobj; | |
9816 | } | |
9817 | ||
f6bcfd97 BP |
9818 | #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0)) |
9819 | static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9820 | PyObject * _resultobj; | |
9821 | wxString * _result; | |
9822 | wxGrid * _arg0; | |
9823 | int _arg1; | |
9824 | PyObject * _argo0 = 0; | |
9825 | char *_kwnames[] = { "self","row", NULL }; | |
9826 | ||
9827 | self = self; | |
9828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
9829 | return NULL; | |
9830 | if (_argo0) { | |
9831 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9832 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p."); | |
9834 | return NULL; | |
9835 | } | |
9836 | } | |
9837 | { | |
4268f798 | 9838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9839 | _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 9840 | |
4268f798 | 9841 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9842 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 9843 | }{ |
c8bc7bb8 | 9844 | #if wxUSE_UNICODE |
7e50db3f | 9845 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9846 | #else |
f6bcfd97 | 9847 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9848 | #endif |
f6bcfd97 BP |
9849 | } |
9850 | { | |
9851 | delete _result; | |
9852 | } | |
9853 | return _resultobj; | |
9854 | } | |
9855 | ||
9856 | #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0)) | |
9857 | static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9858 | PyObject * _resultobj; | |
9859 | wxString * _result; | |
9860 | wxGrid * _arg0; | |
9861 | int _arg1; | |
9862 | PyObject * _argo0 = 0; | |
9863 | char *_kwnames[] = { "self","col", NULL }; | |
9864 | ||
9865 | self = self; | |
9866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
9867 | return NULL; | |
9868 | if (_argo0) { | |
9869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p."); | |
9872 | return NULL; | |
9873 | } | |
9874 | } | |
9875 | { | |
4268f798 | 9876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9877 | _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 9878 | |
4268f798 | 9879 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9880 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 9881 | }{ |
c8bc7bb8 | 9882 | #if wxUSE_UNICODE |
7e50db3f | 9883 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9884 | #else |
f6bcfd97 | 9885 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9886 | #endif |
f6bcfd97 BP |
9887 | } |
9888 | { | |
9889 | delete _result; | |
9890 | } | |
9891 | return _resultobj; | |
9892 | } | |
9893 | ||
9894 | #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour()) | |
9895 | static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9896 | PyObject * _resultobj; | |
9897 | wxColour * _result; | |
9898 | wxGrid * _arg0; | |
9899 | PyObject * _argo0 = 0; | |
9900 | char *_kwnames[] = { "self", NULL }; | |
9901 | char _ptemp[128]; | |
9902 | ||
9903 | self = self; | |
9904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0)) | |
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_GetGridLineColour. Expected _wxGrid_p."); | |
9910 | return NULL; | |
9911 | } | |
9912 | } | |
9913 | { | |
4268f798 | 9914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9915 | _result = new wxColour (wxGrid_GetGridLineColour(_arg0)); |
f6bcfd97 | 9916 | |
4268f798 | 9917 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9918 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9919 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9920 | _resultobj = Py_BuildValue("s",_ptemp); | |
9921 | return _resultobj; | |
9922 | } | |
9923 | ||
9924 | #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour()) | |
9925 | static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9926 | PyObject * _resultobj; | |
9927 | wxColour * _result; | |
9928 | wxGrid * _arg0; | |
9929 | PyObject * _argo0 = 0; | |
9930 | char *_kwnames[] = { "self", NULL }; | |
9931 | char _ptemp[128]; | |
9932 | ||
9933 | self = self; | |
9934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0)) | |
9935 | return NULL; | |
9936 | if (_argo0) { | |
9937 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9938 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p."); | |
9940 | return NULL; | |
9941 | } | |
9942 | } | |
9943 | { | |
4268f798 | 9944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9945 | _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0)); |
f6bcfd97 | 9946 | |
4268f798 | 9947 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9948 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9949 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9950 | _resultobj = Py_BuildValue("s",_ptemp); | |
9951 | return _resultobj; | |
9952 | } | |
9953 | ||
9416aa89 RD |
9954 | #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth()) |
9955 | static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9956 | PyObject * _resultobj; | |
9957 | int _result; | |
9958 | wxGrid * _arg0; | |
9959 | PyObject * _argo0 = 0; | |
9960 | char *_kwnames[] = { "self", NULL }; | |
9961 | ||
9962 | self = self; | |
9963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightPenWidth",_kwnames,&_argo0)) | |
9964 | return NULL; | |
9965 | if (_argo0) { | |
9966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p."); | |
9969 | return NULL; | |
9970 | } | |
9971 | } | |
9972 | { | |
4268f798 | 9973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9974 | _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0); |
9416aa89 | 9975 | |
4268f798 | 9976 | wxPyEndAllowThreads(__tstate); |
493f1553 | 9977 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
9978 | } _resultobj = Py_BuildValue("i",_result); |
9979 | return _resultobj; | |
9980 | } | |
9981 | ||
9982 | #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth()) | |
9983 | static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9984 | PyObject * _resultobj; | |
9985 | int _result; | |
9986 | wxGrid * _arg0; | |
9987 | PyObject * _argo0 = 0; | |
9988 | char *_kwnames[] = { "self", NULL }; | |
9989 | ||
9990 | self = self; | |
9991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0)) | |
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_GetCellHighlightROPenWidth. Expected _wxGrid_p."); | |
9997 | return NULL; | |
9998 | } | |
9999 | } | |
10000 | { | |
4268f798 | 10001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10002 | _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0); |
9416aa89 | 10003 | |
4268f798 | 10004 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10005 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
10006 | } _resultobj = Py_BuildValue("i",_result); |
10007 | return _resultobj; | |
10008 | } | |
10009 | ||
f6bcfd97 BP |
10010 | #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0)) |
10011 | static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10012 | PyObject * _resultobj; | |
10013 | wxGrid * _arg0; | |
10014 | int _arg1; | |
10015 | PyObject * _argo0 = 0; | |
10016 | char *_kwnames[] = { "self","width", NULL }; | |
10017 | ||
10018 | self = self; | |
10019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1)) | |
10020 | return NULL; | |
10021 | if (_argo0) { | |
10022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p."); | |
10025 | return NULL; | |
10026 | } | |
10027 | } | |
10028 | { | |
4268f798 | 10029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10030 | wxGrid_SetRowLabelSize(_arg0,_arg1); |
f6bcfd97 | 10031 | |
4268f798 | 10032 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10033 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10034 | } Py_INCREF(Py_None); |
10035 | _resultobj = Py_None; | |
10036 | return _resultobj; | |
10037 | } | |
10038 | ||
10039 | #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0)) | |
10040 | static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10041 | PyObject * _resultobj; | |
10042 | wxGrid * _arg0; | |
10043 | int _arg1; | |
10044 | PyObject * _argo0 = 0; | |
10045 | char *_kwnames[] = { "self","height", NULL }; | |
10046 | ||
10047 | self = self; | |
10048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1)) | |
10049 | return NULL; | |
10050 | if (_argo0) { | |
10051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p."); | |
10054 | return NULL; | |
10055 | } | |
10056 | } | |
10057 | { | |
4268f798 | 10058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10059 | wxGrid_SetColLabelSize(_arg0,_arg1); |
f6bcfd97 | 10060 | |
4268f798 | 10061 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10062 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10063 | } Py_INCREF(Py_None); |
10064 | _resultobj = Py_None; | |
10065 | return _resultobj; | |
10066 | } | |
10067 | ||
10068 | #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0)) | |
10069 | static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10070 | PyObject * _resultobj; | |
10071 | wxGrid * _arg0; | |
10072 | wxColour * _arg1; | |
10073 | PyObject * _argo0 = 0; | |
10074 | wxColour temp; | |
10075 | PyObject * _obj1 = 0; | |
10076 | char *_kwnames[] = { "self","arg2", NULL }; | |
10077 | ||
10078 | self = self; | |
10079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
10080 | return NULL; | |
10081 | if (_argo0) { | |
10082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p."); | |
10085 | return NULL; | |
10086 | } | |
10087 | } | |
10088 | { | |
10089 | _arg1 = &temp; | |
10090 | if (! wxColour_helper(_obj1, &_arg1)) | |
10091 | return NULL; | |
10092 | } | |
10093 | { | |
4268f798 | 10094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10095 | wxGrid_SetLabelBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 10096 | |
4268f798 | 10097 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10098 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10099 | } Py_INCREF(Py_None); |
10100 | _resultobj = Py_None; | |
10101 | return _resultobj; | |
10102 | } | |
10103 | ||
10104 | #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0)) | |
10105 | static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10106 | PyObject * _resultobj; | |
10107 | wxGrid * _arg0; | |
10108 | wxColour * _arg1; | |
10109 | PyObject * _argo0 = 0; | |
10110 | wxColour temp; | |
10111 | PyObject * _obj1 = 0; | |
10112 | char *_kwnames[] = { "self","arg2", NULL }; | |
10113 | ||
10114 | self = self; | |
10115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1)) | |
10116 | return NULL; | |
10117 | if (_argo0) { | |
10118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p."); | |
10121 | return NULL; | |
10122 | } | |
10123 | } | |
10124 | { | |
10125 | _arg1 = &temp; | |
10126 | if (! wxColour_helper(_obj1, &_arg1)) | |
10127 | return NULL; | |
10128 | } | |
10129 | { | |
4268f798 | 10130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10131 | wxGrid_SetLabelTextColour(_arg0,*_arg1); |
f6bcfd97 | 10132 | |
4268f798 | 10133 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10134 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10135 | } Py_INCREF(Py_None); |
10136 | _resultobj = Py_None; | |
10137 | return _resultobj; | |
10138 | } | |
10139 | ||
10140 | #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0)) | |
10141 | static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10142 | PyObject * _resultobj; | |
10143 | wxGrid * _arg0; | |
10144 | wxFont * _arg1; | |
10145 | PyObject * _argo0 = 0; | |
10146 | PyObject * _argo1 = 0; | |
10147 | char *_kwnames[] = { "self","arg2", NULL }; | |
10148 | ||
10149 | self = self; | |
10150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1)) | |
10151 | return NULL; | |
10152 | if (_argo0) { | |
10153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p."); | |
10156 | return NULL; | |
10157 | } | |
10158 | } | |
10159 | if (_argo1) { | |
7e50db3f | 10160 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { |
f6bcfd97 BP |
10161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p."); |
10162 | return NULL; | |
10163 | } | |
10164 | } | |
10165 | { | |
4268f798 | 10166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10167 | wxGrid_SetLabelFont(_arg0,*_arg1); |
f6bcfd97 | 10168 | |
4268f798 | 10169 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10170 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10171 | } Py_INCREF(Py_None); |
10172 | _resultobj = Py_None; | |
10173 | return _resultobj; | |
10174 | } | |
10175 | ||
10176 | #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1)) | |
10177 | static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10178 | PyObject * _resultobj; | |
10179 | wxGrid * _arg0; | |
10180 | int _arg1; | |
10181 | int _arg2; | |
10182 | PyObject * _argo0 = 0; | |
10183 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
10184 | ||
10185 | self = self; | |
10186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10187 | return NULL; | |
10188 | if (_argo0) { | |
10189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p."); | |
10192 | return NULL; | |
10193 | } | |
10194 | } | |
10195 | { | |
4268f798 | 10196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10197 | wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 10198 | |
4268f798 | 10199 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10200 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10201 | } Py_INCREF(Py_None); |
10202 | _resultobj = Py_None; | |
10203 | return _resultobj; | |
10204 | } | |
10205 | ||
10206 | #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1)) | |
10207 | static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10208 | PyObject * _resultobj; | |
10209 | wxGrid * _arg0; | |
10210 | int _arg1; | |
10211 | int _arg2; | |
10212 | PyObject * _argo0 = 0; | |
10213 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
10214 | ||
10215 | self = self; | |
10216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10217 | return NULL; | |
10218 | if (_argo0) { | |
10219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p."); | |
10222 | return NULL; | |
10223 | } | |
10224 | } | |
10225 | { | |
4268f798 | 10226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10227 | wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 10228 | |
4268f798 | 10229 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10230 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10231 | } Py_INCREF(Py_None); |
10232 | _resultobj = Py_None; | |
10233 | return _resultobj; | |
10234 | } | |
10235 | ||
7e50db3f RD |
10236 | #define wxGrid_SetColLabelTextOrientation(_swigobj,_swigarg0) (_swigobj->SetColLabelTextOrientation(_swigarg0)) |
10237 | static PyObject *_wrap_wxGrid_SetColLabelTextOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10238 | PyObject * _resultobj; | |
10239 | wxGrid * _arg0; | |
10240 | int _arg1; | |
10241 | PyObject * _argo0 = 0; | |
10242 | char *_kwnames[] = { "self","textOrientation", NULL }; | |
10243 | ||
10244 | self = self; | |
10245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelTextOrientation",_kwnames,&_argo0,&_arg1)) | |
10246 | return NULL; | |
10247 | if (_argo0) { | |
10248 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10249 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10250 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelTextOrientation. Expected _wxGrid_p."); | |
10251 | return NULL; | |
10252 | } | |
10253 | } | |
10254 | { | |
10255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10256 | wxGrid_SetColLabelTextOrientation(_arg0,_arg1); | |
10257 | ||
10258 | wxPyEndAllowThreads(__tstate); | |
10259 | if (PyErr_Occurred()) return NULL; | |
10260 | } Py_INCREF(Py_None); | |
10261 | _resultobj = Py_None; | |
10262 | return _resultobj; | |
10263 | } | |
10264 | ||
f6bcfd97 BP |
10265 | #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1)) |
10266 | static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10267 | PyObject * _resultobj; | |
10268 | wxGrid * _arg0; | |
10269 | int _arg1; | |
10270 | wxString * _arg2; | |
10271 | PyObject * _argo0 = 0; | |
10272 | PyObject * _obj2 = 0; | |
10273 | char *_kwnames[] = { "self","row","arg3", NULL }; | |
10274 | ||
10275 | self = self; | |
10276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
10277 | return NULL; | |
10278 | if (_argo0) { | |
10279 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10280 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p."); | |
10282 | return NULL; | |
10283 | } | |
10284 | } | |
10285 | { | |
c8bc7bb8 RD |
10286 | _arg2 = wxString_in_helper(_obj2); |
10287 | if (_arg2 == NULL) | |
185d7c3e | 10288 | return NULL; |
f6bcfd97 BP |
10289 | } |
10290 | { | |
4268f798 | 10291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10292 | wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 10293 | |
4268f798 | 10294 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10295 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10296 | } Py_INCREF(Py_None); |
10297 | _resultobj = Py_None; | |
10298 | { | |
10299 | if (_obj2) | |
10300 | delete _arg2; | |
10301 | } | |
10302 | return _resultobj; | |
10303 | } | |
10304 | ||
10305 | #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1)) | |
10306 | static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10307 | PyObject * _resultobj; | |
10308 | wxGrid * _arg0; | |
10309 | int _arg1; | |
10310 | wxString * _arg2; | |
10311 | PyObject * _argo0 = 0; | |
10312 | PyObject * _obj2 = 0; | |
10313 | char *_kwnames[] = { "self","col","arg3", NULL }; | |
10314 | ||
10315 | self = self; | |
10316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
10317 | return NULL; | |
10318 | if (_argo0) { | |
10319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p."); | |
10322 | return NULL; | |
10323 | } | |
10324 | } | |
10325 | { | |
c8bc7bb8 RD |
10326 | _arg2 = wxString_in_helper(_obj2); |
10327 | if (_arg2 == NULL) | |
185d7c3e | 10328 | return NULL; |
f6bcfd97 BP |
10329 | } |
10330 | { | |
4268f798 | 10331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10332 | wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 10333 | |
4268f798 | 10334 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10335 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10336 | } Py_INCREF(Py_None); |
10337 | _resultobj = Py_None; | |
10338 | { | |
10339 | if (_obj2) | |
10340 | delete _arg2; | |
10341 | } | |
10342 | return _resultobj; | |
10343 | } | |
10344 | ||
10345 | #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0)) | |
10346 | static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10347 | PyObject * _resultobj; | |
10348 | wxGrid * _arg0; | |
10349 | wxColour * _arg1; | |
10350 | PyObject * _argo0 = 0; | |
10351 | wxColour temp; | |
10352 | PyObject * _obj1 = 0; | |
10353 | char *_kwnames[] = { "self","arg2", NULL }; | |
10354 | ||
10355 | self = self; | |
10356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1)) | |
10357 | return NULL; | |
10358 | if (_argo0) { | |
10359 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10360 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p."); | |
10362 | return NULL; | |
10363 | } | |
10364 | } | |
10365 | { | |
10366 | _arg1 = &temp; | |
10367 | if (! wxColour_helper(_obj1, &_arg1)) | |
10368 | return NULL; | |
10369 | } | |
10370 | { | |
4268f798 | 10371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10372 | wxGrid_SetGridLineColour(_arg0,*_arg1); |
f6bcfd97 | 10373 | |
4268f798 | 10374 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10375 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10376 | } Py_INCREF(Py_None); |
10377 | _resultobj = Py_None; | |
10378 | return _resultobj; | |
10379 | } | |
10380 | ||
10381 | #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0)) | |
10382 | static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10383 | PyObject * _resultobj; | |
10384 | wxGrid * _arg0; | |
10385 | wxColour * _arg1; | |
10386 | PyObject * _argo0 = 0; | |
10387 | wxColour temp; | |
10388 | PyObject * _obj1 = 0; | |
10389 | char *_kwnames[] = { "self","arg2", NULL }; | |
10390 | ||
10391 | self = self; | |
10392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1)) | |
10393 | return NULL; | |
10394 | if (_argo0) { | |
10395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p."); | |
10398 | return NULL; | |
10399 | } | |
10400 | } | |
10401 | { | |
10402 | _arg1 = &temp; | |
10403 | if (! wxColour_helper(_obj1, &_arg1)) | |
10404 | return NULL; | |
10405 | } | |
10406 | { | |
4268f798 | 10407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10408 | wxGrid_SetCellHighlightColour(_arg0,*_arg1); |
f6bcfd97 | 10409 | |
4268f798 | 10410 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10411 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10412 | } Py_INCREF(Py_None); |
10413 | _resultobj = Py_None; | |
10414 | return _resultobj; | |
10415 | } | |
10416 | ||
9416aa89 RD |
10417 | #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0)) |
10418 | static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10419 | PyObject * _resultobj; | |
10420 | wxGrid * _arg0; | |
10421 | int _arg1; | |
10422 | PyObject * _argo0 = 0; | |
10423 | char *_kwnames[] = { "self","width", NULL }; | |
10424 | ||
10425 | self = self; | |
10426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1)) | |
10427 | return NULL; | |
10428 | if (_argo0) { | |
10429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p."); | |
10432 | return NULL; | |
10433 | } | |
10434 | } | |
10435 | { | |
4268f798 | 10436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10437 | wxGrid_SetCellHighlightPenWidth(_arg0,_arg1); |
9416aa89 | 10438 | |
4268f798 | 10439 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10440 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
10441 | } Py_INCREF(Py_None); |
10442 | _resultobj = Py_None; | |
10443 | return _resultobj; | |
10444 | } | |
10445 | ||
10446 | #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0)) | |
10447 | static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10448 | PyObject * _resultobj; | |
10449 | wxGrid * _arg0; | |
10450 | int _arg1; | |
10451 | PyObject * _argo0 = 0; | |
10452 | char *_kwnames[] = { "self","width", NULL }; | |
10453 | ||
10454 | self = self; | |
10455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1)) | |
10456 | return NULL; | |
10457 | if (_argo0) { | |
10458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p."); | |
10461 | return NULL; | |
10462 | } | |
10463 | } | |
10464 | { | |
4268f798 | 10465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10466 | wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1); |
9416aa89 | 10467 | |
4268f798 | 10468 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10469 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
10470 | } Py_INCREF(Py_None); |
10471 | _resultobj = Py_None; | |
10472 | return _resultobj; | |
10473 | } | |
10474 | ||
f6bcfd97 BP |
10475 | #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0)) |
10476 | static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10477 | PyObject * _resultobj; | |
10478 | wxGrid * _arg0; | |
10479 | bool _arg1 = (bool ) TRUE; | |
10480 | PyObject * _argo0 = 0; | |
10481 | int tempbool1 = (int) TRUE; | |
10482 | char *_kwnames[] = { "self","enable", NULL }; | |
10483 | ||
10484 | self = self; | |
10485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1)) | |
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_EnableDragRowSize. Expected _wxGrid_p."); | |
10491 | return NULL; | |
10492 | } | |
10493 | } | |
10494 | _arg1 = (bool ) tempbool1; | |
10495 | { | |
4268f798 | 10496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10497 | wxGrid_EnableDragRowSize(_arg0,_arg1); |
f6bcfd97 | 10498 | |
4268f798 | 10499 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10500 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10501 | } Py_INCREF(Py_None); |
10502 | _resultobj = Py_None; | |
10503 | return _resultobj; | |
10504 | } | |
10505 | ||
10506 | #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize()) | |
10507 | static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10508 | PyObject * _resultobj; | |
10509 | wxGrid * _arg0; | |
10510 | PyObject * _argo0 = 0; | |
10511 | char *_kwnames[] = { "self", NULL }; | |
10512 | ||
10513 | self = self; | |
10514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0)) | |
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_DisableDragRowSize. Expected _wxGrid_p."); | |
10520 | return NULL; | |
10521 | } | |
10522 | } | |
10523 | { | |
4268f798 | 10524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10525 | wxGrid_DisableDragRowSize(_arg0); |
f6bcfd97 | 10526 | |
4268f798 | 10527 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10528 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10529 | } Py_INCREF(Py_None); |
10530 | _resultobj = Py_None; | |
10531 | return _resultobj; | |
10532 | } | |
10533 | ||
10534 | #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize()) | |
10535 | static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10536 | PyObject * _resultobj; | |
10537 | bool _result; | |
10538 | wxGrid * _arg0; | |
10539 | PyObject * _argo0 = 0; | |
10540 | char *_kwnames[] = { "self", NULL }; | |
10541 | ||
10542 | self = self; | |
10543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_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_CanDragRowSize. Expected _wxGrid_p."); | |
10549 | return NULL; | |
10550 | } | |
10551 | } | |
10552 | { | |
4268f798 | 10553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10554 | _result = (bool )wxGrid_CanDragRowSize(_arg0); |
f6bcfd97 | 10555 | |
4268f798 | 10556 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10557 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10558 | } _resultobj = Py_BuildValue("i",_result); |
10559 | return _resultobj; | |
10560 | } | |
10561 | ||
10562 | #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0)) | |
10563 | static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10564 | PyObject * _resultobj; | |
10565 | wxGrid * _arg0; | |
10566 | bool _arg1 = (bool ) TRUE; | |
10567 | PyObject * _argo0 = 0; | |
10568 | int tempbool1 = (int) TRUE; | |
10569 | char *_kwnames[] = { "self","enable", NULL }; | |
10570 | ||
10571 | self = self; | |
10572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1)) | |
10573 | return NULL; | |
10574 | if (_argo0) { | |
10575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p."); | |
10578 | return NULL; | |
10579 | } | |
10580 | } | |
10581 | _arg1 = (bool ) tempbool1; | |
10582 | { | |
4268f798 | 10583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10584 | wxGrid_EnableDragColSize(_arg0,_arg1); |
f6bcfd97 | 10585 | |
4268f798 | 10586 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10587 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10588 | } Py_INCREF(Py_None); |
10589 | _resultobj = Py_None; | |
10590 | return _resultobj; | |
10591 | } | |
10592 | ||
10593 | #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize()) | |
10594 | static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10595 | PyObject * _resultobj; | |
10596 | wxGrid * _arg0; | |
10597 | PyObject * _argo0 = 0; | |
10598 | char *_kwnames[] = { "self", NULL }; | |
10599 | ||
10600 | self = self; | |
10601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0)) | |
10602 | return NULL; | |
10603 | if (_argo0) { | |
10604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p."); | |
10607 | return NULL; | |
10608 | } | |
10609 | } | |
10610 | { | |
4268f798 | 10611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10612 | wxGrid_DisableDragColSize(_arg0); |
f6bcfd97 | 10613 | |
4268f798 | 10614 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10615 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10616 | } Py_INCREF(Py_None); |
10617 | _resultobj = Py_None; | |
10618 | return _resultobj; | |
10619 | } | |
10620 | ||
10621 | #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize()) | |
10622 | static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10623 | PyObject * _resultobj; | |
10624 | bool _result; | |
10625 | wxGrid * _arg0; | |
10626 | PyObject * _argo0 = 0; | |
10627 | char *_kwnames[] = { "self", NULL }; | |
10628 | ||
10629 | self = self; | |
10630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0)) | |
10631 | return NULL; | |
10632 | if (_argo0) { | |
10633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p."); | |
10636 | return NULL; | |
10637 | } | |
10638 | } | |
10639 | { | |
4268f798 | 10640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10641 | _result = (bool )wxGrid_CanDragColSize(_arg0); |
f6bcfd97 | 10642 | |
4268f798 | 10643 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10644 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10645 | } _resultobj = Py_BuildValue("i",_result); |
10646 | return _resultobj; | |
10647 | } | |
10648 | ||
10649 | #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0)) | |
10650 | static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10651 | PyObject * _resultobj; | |
10652 | wxGrid * _arg0; | |
10653 | bool _arg1 = (bool ) TRUE; | |
10654 | PyObject * _argo0 = 0; | |
10655 | int tempbool1 = (int) TRUE; | |
10656 | char *_kwnames[] = { "self","enable", NULL }; | |
10657 | ||
10658 | self = self; | |
10659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1)) | |
10660 | return NULL; | |
10661 | if (_argo0) { | |
10662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p."); | |
10665 | return NULL; | |
10666 | } | |
10667 | } | |
10668 | _arg1 = (bool ) tempbool1; | |
10669 | { | |
4268f798 | 10670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10671 | wxGrid_EnableDragGridSize(_arg0,_arg1); |
f6bcfd97 | 10672 | |
4268f798 | 10673 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10674 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10675 | } Py_INCREF(Py_None); |
10676 | _resultobj = Py_None; | |
10677 | return _resultobj; | |
10678 | } | |
10679 | ||
10680 | #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize()) | |
10681 | static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10682 | PyObject * _resultobj; | |
10683 | wxGrid * _arg0; | |
10684 | PyObject * _argo0 = 0; | |
10685 | char *_kwnames[] = { "self", NULL }; | |
10686 | ||
10687 | self = self; | |
10688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0)) | |
10689 | return NULL; | |
10690 | if (_argo0) { | |
10691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p."); | |
10694 | return NULL; | |
10695 | } | |
10696 | } | |
10697 | { | |
4268f798 | 10698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10699 | wxGrid_DisableDragGridSize(_arg0); |
f6bcfd97 | 10700 | |
4268f798 | 10701 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10702 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10703 | } Py_INCREF(Py_None); |
10704 | _resultobj = Py_None; | |
10705 | return _resultobj; | |
10706 | } | |
10707 | ||
10708 | #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize()) | |
10709 | static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10710 | PyObject * _resultobj; | |
10711 | bool _result; | |
10712 | wxGrid * _arg0; | |
10713 | PyObject * _argo0 = 0; | |
10714 | char *_kwnames[] = { "self", NULL }; | |
10715 | ||
10716 | self = self; | |
10717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0)) | |
10718 | return NULL; | |
10719 | if (_argo0) { | |
10720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p."); | |
10723 | return NULL; | |
10724 | } | |
10725 | } | |
10726 | { | |
4268f798 | 10727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10728 | _result = (bool )wxGrid_CanDragGridSize(_arg0); |
f6bcfd97 | 10729 | |
4268f798 | 10730 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10731 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10732 | } _resultobj = Py_BuildValue("i",_result); |
10733 | return _resultobj; | |
10734 | } | |
10735 | ||
67a92fff RD |
10736 | #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) |
10737 | static PyObject *_wrap_wxGrid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10738 | PyObject * _resultobj; | |
10739 | wxGrid * _arg0; | |
10740 | int _arg1; | |
10741 | int _arg2; | |
10742 | wxGridCellAttr * _arg3; | |
10743 | PyObject * _argo0 = 0; | |
10744 | PyObject * _argo3 = 0; | |
10745 | char *_kwnames[] = { "self","row","col","attr", NULL }; | |
10746 | ||
10747 | self = self; | |
10748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
10749 | return NULL; | |
10750 | if (_argo0) { | |
10751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p."); | |
10754 | return NULL; | |
10755 | } | |
10756 | } | |
10757 | if (_argo3) { | |
10758 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
10759 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellAttr_p")) { | |
10760 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p."); | |
10761 | return NULL; | |
10762 | } | |
10763 | } | |
10764 | { | |
10765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10766 | wxGrid_SetAttr(_arg0,_arg1,_arg2,_arg3); | |
10767 | ||
10768 | wxPyEndAllowThreads(__tstate); | |
10769 | if (PyErr_Occurred()) return NULL; | |
10770 | } Py_INCREF(Py_None); | |
10771 | _resultobj = Py_None; | |
10772 | return _resultobj; | |
10773 | } | |
10774 | ||
f6bcfd97 BP |
10775 | #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) |
10776 | static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10777 | PyObject * _resultobj; | |
10778 | wxGrid * _arg0; | |
10779 | int _arg1; | |
10780 | wxGridCellAttr * _arg2; | |
10781 | PyObject * _argo0 = 0; | |
10782 | PyObject * _argo2 = 0; | |
10783 | char *_kwnames[] = { "self","row","attr", NULL }; | |
10784 | ||
10785 | self = self; | |
10786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
10787 | return NULL; | |
10788 | if (_argo0) { | |
10789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p."); | |
10792 | return NULL; | |
10793 | } | |
10794 | } | |
10795 | if (_argo2) { | |
10796 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10797 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
10798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p."); | |
10799 | return NULL; | |
10800 | } | |
10801 | } | |
10802 | { | |
4268f798 | 10803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10804 | wxGrid_SetRowAttr(_arg0,_arg1,_arg2); |
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_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
10814 | static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10815 | PyObject * _resultobj; | |
10816 | wxGrid * _arg0; | |
10817 | int _arg1; | |
10818 | wxGridCellAttr * _arg2; | |
10819 | PyObject * _argo0 = 0; | |
10820 | PyObject * _argo2 = 0; | |
10821 | char *_kwnames[] = { "self","col","attr", NULL }; | |
10822 | ||
10823 | self = self; | |
10824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
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_SetColAttr. Expected _wxGrid_p."); | |
10830 | return NULL; | |
10831 | } | |
10832 | } | |
10833 | if (_argo2) { | |
10834 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10835 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
10836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p."); | |
10837 | return NULL; | |
10838 | } | |
10839 | } | |
10840 | { | |
4268f798 | 10841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10842 | wxGrid_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 10843 | |
4268f798 | 10844 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10845 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10846 | } Py_INCREF(Py_None); |
10847 | _resultobj = Py_None; | |
10848 | return _resultobj; | |
10849 | } | |
10850 | ||
10851 | #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0)) | |
10852 | static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10853 | PyObject * _resultobj; | |
10854 | wxGrid * _arg0; | |
10855 | int _arg1; | |
10856 | PyObject * _argo0 = 0; | |
10857 | char *_kwnames[] = { "self","col", NULL }; | |
10858 | ||
10859 | self = self; | |
10860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1)) | |
10861 | return NULL; | |
10862 | if (_argo0) { | |
10863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p."); | |
10866 | return NULL; | |
10867 | } | |
10868 | } | |
10869 | { | |
4268f798 | 10870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10871 | wxGrid_SetColFormatBool(_arg0,_arg1); |
f6bcfd97 | 10872 | |
4268f798 | 10873 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10874 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10875 | } Py_INCREF(Py_None); |
10876 | _resultobj = Py_None; | |
10877 | return _resultobj; | |
10878 | } | |
10879 | ||
10880 | #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0)) | |
10881 | static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10882 | PyObject * _resultobj; | |
10883 | wxGrid * _arg0; | |
10884 | int _arg1; | |
10885 | PyObject * _argo0 = 0; | |
10886 | char *_kwnames[] = { "self","col", NULL }; | |
10887 | ||
10888 | self = self; | |
10889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1)) | |
10890 | return NULL; | |
10891 | if (_argo0) { | |
10892 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10893 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p."); | |
10895 | return NULL; | |
10896 | } | |
10897 | } | |
10898 | { | |
4268f798 | 10899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10900 | wxGrid_SetColFormatNumber(_arg0,_arg1); |
f6bcfd97 | 10901 | |
4268f798 | 10902 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10903 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10904 | } Py_INCREF(Py_None); |
10905 | _resultobj = Py_None; | |
10906 | return _resultobj; | |
10907 | } | |
10908 | ||
10909 | #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2)) | |
10910 | static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10911 | PyObject * _resultobj; | |
10912 | wxGrid * _arg0; | |
10913 | int _arg1; | |
10914 | int _arg2 = (int ) -1; | |
10915 | int _arg3 = (int ) -1; | |
10916 | PyObject * _argo0 = 0; | |
10917 | char *_kwnames[] = { "self","col","width","precision", NULL }; | |
10918 | ||
10919 | self = self; | |
10920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
10921 | return NULL; | |
10922 | if (_argo0) { | |
10923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p."); | |
10926 | return NULL; | |
10927 | } | |
10928 | } | |
10929 | { | |
4268f798 | 10930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10931 | wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 10932 | |
4268f798 | 10933 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10934 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10935 | } Py_INCREF(Py_None); |
10936 | _resultobj = Py_None; | |
10937 | return _resultobj; | |
10938 | } | |
10939 | ||
10940 | #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1)) | |
10941 | static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10942 | PyObject * _resultobj; | |
10943 | wxGrid * _arg0; | |
10944 | int _arg1; | |
10945 | wxString * _arg2; | |
10946 | PyObject * _argo0 = 0; | |
10947 | PyObject * _obj2 = 0; | |
10948 | char *_kwnames[] = { "self","col","typeName", NULL }; | |
10949 | ||
10950 | self = self; | |
10951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2)) | |
10952 | return NULL; | |
10953 | if (_argo0) { | |
10954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p."); | |
10957 | return NULL; | |
10958 | } | |
10959 | } | |
10960 | { | |
c8bc7bb8 RD |
10961 | _arg2 = wxString_in_helper(_obj2); |
10962 | if (_arg2 == NULL) | |
185d7c3e | 10963 | return NULL; |
f6bcfd97 BP |
10964 | } |
10965 | { | |
4268f798 | 10966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10967 | wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2); |
f6bcfd97 | 10968 | |
4268f798 | 10969 | wxPyEndAllowThreads(__tstate); |
493f1553 | 10970 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10971 | } Py_INCREF(Py_None); |
10972 | _resultobj = Py_None; | |
10973 | { | |
10974 | if (_obj2) | |
10975 | delete _arg2; | |
10976 | } | |
10977 | return _resultobj; | |
10978 | } | |
10979 | ||
10980 | #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0)) | |
10981 | static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10982 | PyObject * _resultobj; | |
10983 | wxGrid * _arg0; | |
10984 | bool _arg1 = (bool ) TRUE; | |
10985 | PyObject * _argo0 = 0; | |
10986 | int tempbool1 = (int) TRUE; | |
10987 | char *_kwnames[] = { "self","enable", NULL }; | |
10988 | ||
10989 | self = self; | |
10990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1)) | |
10991 | return NULL; | |
10992 | if (_argo0) { | |
10993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p."); | |
10996 | return NULL; | |
10997 | } | |
10998 | } | |
10999 | _arg1 = (bool ) tempbool1; | |
11000 | { | |
4268f798 | 11001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11002 | wxGrid_EnableGridLines(_arg0,_arg1); |
f6bcfd97 | 11003 | |
4268f798 | 11004 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11005 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11006 | } Py_INCREF(Py_None); |
11007 | _resultobj = Py_None; | |
11008 | return _resultobj; | |
11009 | } | |
11010 | ||
11011 | #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled()) | |
11012 | static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11013 | PyObject * _resultobj; | |
11014 | bool _result; | |
11015 | wxGrid * _arg0; | |
11016 | PyObject * _argo0 = 0; | |
11017 | char *_kwnames[] = { "self", NULL }; | |
11018 | ||
11019 | self = self; | |
11020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0)) | |
11021 | return NULL; | |
11022 | if (_argo0) { | |
11023 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11024 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p."); | |
11026 | return NULL; | |
11027 | } | |
11028 | } | |
11029 | { | |
4268f798 | 11030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11031 | _result = (bool )wxGrid_GridLinesEnabled(_arg0); |
f6bcfd97 | 11032 | |
4268f798 | 11033 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11034 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11035 | } _resultobj = Py_BuildValue("i",_result); |
11036 | return _resultobj; | |
11037 | } | |
11038 | ||
11039 | #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize()) | |
11040 | static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11041 | PyObject * _resultobj; | |
11042 | int _result; | |
11043 | wxGrid * _arg0; | |
11044 | PyObject * _argo0 = 0; | |
11045 | char *_kwnames[] = { "self", NULL }; | |
11046 | ||
11047 | self = self; | |
11048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0)) | |
11049 | return NULL; | |
11050 | if (_argo0) { | |
11051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p."); | |
11054 | return NULL; | |
11055 | } | |
11056 | } | |
11057 | { | |
4268f798 | 11058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11059 | _result = (int )wxGrid_GetDefaultRowSize(_arg0); |
f6bcfd97 | 11060 | |
4268f798 | 11061 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11062 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11063 | } _resultobj = Py_BuildValue("i",_result); |
11064 | return _resultobj; | |
11065 | } | |
11066 | ||
11067 | #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0)) | |
11068 | static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11069 | PyObject * _resultobj; | |
11070 | int _result; | |
11071 | wxGrid * _arg0; | |
11072 | int _arg1; | |
11073 | PyObject * _argo0 = 0; | |
11074 | char *_kwnames[] = { "self","row", NULL }; | |
11075 | ||
11076 | self = self; | |
11077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1)) | |
11078 | return NULL; | |
11079 | if (_argo0) { | |
11080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p."); | |
11083 | return NULL; | |
11084 | } | |
11085 | } | |
11086 | { | |
4268f798 | 11087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11088 | _result = (int )wxGrid_GetRowSize(_arg0,_arg1); |
f6bcfd97 | 11089 | |
4268f798 | 11090 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11091 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11092 | } _resultobj = Py_BuildValue("i",_result); |
11093 | return _resultobj; | |
11094 | } | |
11095 | ||
11096 | #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize()) | |
11097 | static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11098 | PyObject * _resultobj; | |
11099 | int _result; | |
11100 | wxGrid * _arg0; | |
11101 | PyObject * _argo0 = 0; | |
11102 | char *_kwnames[] = { "self", NULL }; | |
11103 | ||
11104 | self = self; | |
11105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0)) | |
11106 | return NULL; | |
11107 | if (_argo0) { | |
11108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p."); | |
11111 | return NULL; | |
11112 | } | |
11113 | } | |
11114 | { | |
4268f798 | 11115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11116 | _result = (int )wxGrid_GetDefaultColSize(_arg0); |
f6bcfd97 | 11117 | |
4268f798 | 11118 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11119 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11120 | } _resultobj = Py_BuildValue("i",_result); |
11121 | return _resultobj; | |
11122 | } | |
11123 | ||
11124 | #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0)) | |
11125 | static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11126 | PyObject * _resultobj; | |
11127 | int _result; | |
11128 | wxGrid * _arg0; | |
11129 | int _arg1; | |
11130 | PyObject * _argo0 = 0; | |
11131 | char *_kwnames[] = { "self","col", NULL }; | |
11132 | ||
11133 | self = self; | |
11134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1)) | |
11135 | return NULL; | |
11136 | if (_argo0) { | |
11137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p."); | |
11140 | return NULL; | |
11141 | } | |
11142 | } | |
11143 | { | |
4268f798 | 11144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11145 | _result = (int )wxGrid_GetColSize(_arg0,_arg1); |
f6bcfd97 | 11146 | |
4268f798 | 11147 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11148 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11149 | } _resultobj = Py_BuildValue("i",_result); |
11150 | return _resultobj; | |
11151 | } | |
11152 | ||
11153 | #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour()) | |
11154 | static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11155 | PyObject * _resultobj; | |
11156 | wxColour * _result; | |
11157 | wxGrid * _arg0; | |
11158 | PyObject * _argo0 = 0; | |
11159 | char *_kwnames[] = { "self", NULL }; | |
11160 | char _ptemp[128]; | |
11161 | ||
11162 | self = self; | |
11163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0)) | |
11164 | return NULL; | |
11165 | if (_argo0) { | |
11166 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11167 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p."); | |
11169 | return NULL; | |
11170 | } | |
11171 | } | |
11172 | { | |
4268f798 | 11173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11174 | _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0)); |
f6bcfd97 | 11175 | |
4268f798 | 11176 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11177 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11178 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
11179 | _resultobj = Py_BuildValue("s",_ptemp); | |
11180 | return _resultobj; | |
11181 | } | |
11182 | ||
11183 | #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1)) | |
11184 | static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11185 | PyObject * _resultobj; | |
11186 | wxColour * _result; | |
11187 | wxGrid * _arg0; | |
11188 | int _arg1; | |
11189 | int _arg2; | |
11190 | PyObject * _argo0 = 0; | |
11191 | char *_kwnames[] = { "self","row","col", NULL }; | |
11192 | char _ptemp[128]; | |
11193 | ||
11194 | self = self; | |
11195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11196 | return NULL; | |
11197 | if (_argo0) { | |
11198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p."); | |
11201 | return NULL; | |
11202 | } | |
11203 | } | |
11204 | { | |
4268f798 | 11205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11206 | _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2)); |
f6bcfd97 | 11207 | |
4268f798 | 11208 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11209 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11210 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
11211 | _resultobj = Py_BuildValue("s",_ptemp); | |
11212 | return _resultobj; | |
11213 | } | |
11214 | ||
11215 | #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour()) | |
11216 | static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11217 | PyObject * _resultobj; | |
11218 | wxColour * _result; | |
11219 | wxGrid * _arg0; | |
11220 | PyObject * _argo0 = 0; | |
11221 | char *_kwnames[] = { "self", NULL }; | |
11222 | char _ptemp[128]; | |
11223 | ||
11224 | self = self; | |
11225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0)) | |
11226 | return NULL; | |
11227 | if (_argo0) { | |
11228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p."); | |
11231 | return NULL; | |
11232 | } | |
11233 | } | |
11234 | { | |
4268f798 | 11235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11236 | _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0)); |
f6bcfd97 | 11237 | |
4268f798 | 11238 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11239 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11240 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
11241 | _resultobj = Py_BuildValue("s",_ptemp); | |
11242 | return _resultobj; | |
11243 | } | |
11244 | ||
11245 | #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1)) | |
11246 | static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11247 | PyObject * _resultobj; | |
11248 | wxColour * _result; | |
11249 | wxGrid * _arg0; | |
11250 | int _arg1; | |
11251 | int _arg2; | |
11252 | PyObject * _argo0 = 0; | |
11253 | char *_kwnames[] = { "self","row","col", NULL }; | |
11254 | char _ptemp[128]; | |
11255 | ||
11256 | self = self; | |
11257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11258 | return NULL; | |
11259 | if (_argo0) { | |
11260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p."); | |
11263 | return NULL; | |
11264 | } | |
11265 | } | |
11266 | { | |
4268f798 | 11267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11268 | _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2)); |
f6bcfd97 | 11269 | |
4268f798 | 11270 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11271 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11272 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
11273 | _resultobj = Py_BuildValue("s",_ptemp); | |
11274 | return _resultobj; | |
11275 | } | |
11276 | ||
11277 | #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont()) | |
11278 | static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11279 | PyObject * _resultobj; | |
11280 | wxFont * _result; | |
11281 | wxGrid * _arg0; | |
11282 | PyObject * _argo0 = 0; | |
11283 | char *_kwnames[] = { "self", NULL }; | |
11284 | char _ptemp[128]; | |
11285 | ||
11286 | self = self; | |
11287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0)) | |
11288 | return NULL; | |
11289 | if (_argo0) { | |
11290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p."); | |
11293 | return NULL; | |
11294 | } | |
11295 | } | |
11296 | { | |
4268f798 | 11297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11298 | _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0)); |
f6bcfd97 | 11299 | |
4268f798 | 11300 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11301 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11302 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
11303 | _resultobj = Py_BuildValue("s",_ptemp); | |
11304 | return _resultobj; | |
11305 | } | |
11306 | ||
11307 | #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1)) | |
11308 | static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11309 | PyObject * _resultobj; | |
11310 | wxFont * _result; | |
11311 | wxGrid * _arg0; | |
11312 | int _arg1; | |
11313 | int _arg2; | |
11314 | PyObject * _argo0 = 0; | |
11315 | char *_kwnames[] = { "self","row","col", NULL }; | |
11316 | char _ptemp[128]; | |
11317 | ||
11318 | self = self; | |
11319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11320 | return NULL; | |
11321 | if (_argo0) { | |
11322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p."); | |
11325 | return NULL; | |
11326 | } | |
11327 | } | |
11328 | { | |
4268f798 | 11329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11330 | _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2)); |
f6bcfd97 | 11331 | |
4268f798 | 11332 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11333 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11334 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
11335 | _resultobj = Py_BuildValue("s",_ptemp); | |
11336 | return _resultobj; | |
11337 | } | |
11338 | ||
11339 | #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1)) | |
11340 | static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11341 | PyObject * _resultobj; | |
11342 | wxGrid * _arg0; | |
11343 | int * _arg1; | |
11344 | int * _arg2; | |
11345 | PyObject * _argo0 = 0; | |
11346 | PyObject * _argo1 = 0; | |
11347 | PyObject * _argo2 = 0; | |
11348 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
11349 | ||
11350 | self = self; | |
11351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2)) | |
11352 | return NULL; | |
11353 | if (_argo0) { | |
11354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p."); | |
11357 | return NULL; | |
11358 | } | |
11359 | } | |
11360 | if (_argo1) { | |
11361 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11362 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
11363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p."); | |
11364 | return NULL; | |
11365 | } | |
11366 | } | |
11367 | if (_argo2) { | |
11368 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
11369 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
11370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p."); | |
11371 | return NULL; | |
11372 | } | |
11373 | } | |
11374 | { | |
4268f798 | 11375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11376 | wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 11377 | |
4268f798 | 11378 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11379 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11380 | } Py_INCREF(Py_None); |
11381 | _resultobj = Py_None; | |
11382 | return _resultobj; | |
11383 | } | |
11384 | ||
11385 | #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11386 | static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11387 | PyObject * _resultobj; | |
11388 | wxGrid * _arg0; | |
11389 | int _arg1; | |
11390 | int _arg2; | |
11391 | int * _arg3; | |
11392 | int * _arg4; | |
11393 | PyObject * _argo0 = 0; | |
11394 | PyObject * _argo3 = 0; | |
11395 | PyObject * _argo4 = 0; | |
11396 | char *_kwnames[] = { "self","row","col","horiz","vert", NULL }; | |
11397 | ||
11398 | self = self; | |
11399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4)) | |
11400 | return NULL; | |
11401 | if (_argo0) { | |
11402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p."); | |
11405 | return NULL; | |
11406 | } | |
11407 | } | |
11408 | if (_argo3) { | |
11409 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11410 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) { | |
11411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p."); | |
11412 | return NULL; | |
11413 | } | |
11414 | } | |
11415 | if (_argo4) { | |
11416 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
11417 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) { | |
11418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p."); | |
11419 | return NULL; | |
11420 | } | |
11421 | } | |
11422 | { | |
4268f798 | 11423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11424 | wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4); |
f6bcfd97 | 11425 | |
4268f798 | 11426 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11427 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11428 | } Py_INCREF(Py_None); |
11429 | _resultobj = Py_None; | |
11430 | return _resultobj; | |
11431 | } | |
11432 | ||
67a92fff RD |
11433 | #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow()) |
11434 | static PyObject *_wrap_wxGrid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11435 | PyObject * _resultobj; | |
11436 | bool _result; | |
11437 | wxGrid * _arg0; | |
11438 | PyObject * _argo0 = 0; | |
11439 | char *_kwnames[] = { "self", NULL }; | |
11440 | ||
11441 | self = self; | |
11442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellOverflow",_kwnames,&_argo0)) | |
11443 | return NULL; | |
11444 | if (_argo0) { | |
11445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p."); | |
11448 | return NULL; | |
11449 | } | |
11450 | } | |
11451 | { | |
11452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11453 | _result = (bool )wxGrid_GetDefaultCellOverflow(_arg0); | |
11454 | ||
11455 | wxPyEndAllowThreads(__tstate); | |
11456 | if (PyErr_Occurred()) return NULL; | |
11457 | } _resultobj = Py_BuildValue("i",_result); | |
11458 | return _resultobj; | |
11459 | } | |
11460 | ||
11461 | #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1)) | |
11462 | static PyObject *_wrap_wxGrid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11463 | PyObject * _resultobj; | |
11464 | bool _result; | |
11465 | wxGrid * _arg0; | |
11466 | int _arg1; | |
11467 | int _arg2; | |
11468 | PyObject * _argo0 = 0; | |
11469 | char *_kwnames[] = { "self","row","col", NULL }; | |
11470 | ||
11471 | self = self; | |
11472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11473 | return NULL; | |
11474 | if (_argo0) { | |
11475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p."); | |
11478 | return NULL; | |
11479 | } | |
11480 | } | |
11481 | { | |
11482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11483 | _result = (bool )wxGrid_GetCellOverflow(_arg0,_arg1,_arg2); | |
11484 | ||
11485 | wxPyEndAllowThreads(__tstate); | |
11486 | if (PyErr_Occurred()) return NULL; | |
11487 | } _resultobj = Py_BuildValue("i",_result); | |
11488 | return _resultobj; | |
11489 | } | |
11490 | ||
11491 | #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11492 | static PyObject *_wrap_wxGrid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11493 | PyObject * _resultobj; | |
11494 | wxGrid * _arg0; | |
11495 | int _arg1; | |
11496 | int _arg2; | |
11497 | int * _arg3; | |
11498 | int temp; | |
11499 | int * _arg4; | |
11500 | int temp0; | |
11501 | PyObject * _argo0 = 0; | |
11502 | char *_kwnames[] = { "self","row","col", NULL }; | |
11503 | ||
11504 | self = self; | |
11505 | { | |
11506 | _arg3 = &temp; | |
11507 | } | |
11508 | { | |
11509 | _arg4 = &temp0; | |
11510 | } | |
11511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11512 | return NULL; | |
11513 | if (_argo0) { | |
11514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p."); | |
11517 | return NULL; | |
11518 | } | |
11519 | } | |
11520 | { | |
11521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11522 | wxGrid_GetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11523 | ||
11524 | wxPyEndAllowThreads(__tstate); | |
11525 | if (PyErr_Occurred()) return NULL; | |
11526 | } Py_INCREF(Py_None); | |
11527 | _resultobj = Py_None; | |
11528 | { | |
11529 | PyObject *o; | |
11530 | o = PyInt_FromLong((long) (*_arg3)); | |
11531 | _resultobj = t_output_helper(_resultobj, o); | |
11532 | } | |
11533 | { | |
11534 | PyObject *o; | |
11535 | o = PyInt_FromLong((long) (*_arg4)); | |
11536 | _resultobj = t_output_helper(_resultobj, o); | |
11537 | } | |
11538 | return _resultobj; | |
11539 | } | |
11540 | ||
f6bcfd97 BP |
11541 | #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1)) |
11542 | static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11543 | PyObject * _resultobj; | |
11544 | wxGrid * _arg0; | |
11545 | int _arg1; | |
11546 | bool _arg2 = (bool ) FALSE; | |
11547 | PyObject * _argo0 = 0; | |
11548 | int tempbool2 = (int) FALSE; | |
11549 | char *_kwnames[] = { "self","height","resizeExistingRows", NULL }; | |
11550 | ||
11551 | self = self; | |
11552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
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_SetDefaultRowSize. Expected _wxGrid_p."); | |
11558 | return NULL; | |
11559 | } | |
11560 | } | |
11561 | _arg2 = (bool ) tempbool2; | |
11562 | { | |
4268f798 | 11563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11564 | wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 11565 | |
4268f798 | 11566 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11567 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11568 | } Py_INCREF(Py_None); |
11569 | _resultobj = Py_None; | |
11570 | return _resultobj; | |
11571 | } | |
11572 | ||
11573 | #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1)) | |
11574 | static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11575 | PyObject * _resultobj; | |
11576 | wxGrid * _arg0; | |
11577 | int _arg1; | |
11578 | int _arg2; | |
11579 | PyObject * _argo0 = 0; | |
11580 | char *_kwnames[] = { "self","row","height", NULL }; | |
11581 | ||
11582 | self = self; | |
11583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11584 | return NULL; | |
11585 | if (_argo0) { | |
11586 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11587 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p."); | |
11589 | return NULL; | |
11590 | } | |
11591 | } | |
11592 | { | |
4268f798 | 11593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11594 | wxGrid_SetRowSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 11595 | |
4268f798 | 11596 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11597 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11598 | } Py_INCREF(Py_None); |
11599 | _resultobj = Py_None; | |
11600 | return _resultobj; | |
11601 | } | |
11602 | ||
11603 | #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1)) | |
11604 | static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11605 | PyObject * _resultobj; | |
11606 | wxGrid * _arg0; | |
11607 | int _arg1; | |
11608 | bool _arg2 = (bool ) FALSE; | |
11609 | PyObject * _argo0 = 0; | |
11610 | int tempbool2 = (int) FALSE; | |
11611 | char *_kwnames[] = { "self","width","resizeExistingCols", NULL }; | |
11612 | ||
11613 | self = self; | |
11614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11615 | return NULL; | |
11616 | if (_argo0) { | |
11617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p."); | |
11620 | return NULL; | |
11621 | } | |
11622 | } | |
11623 | _arg2 = (bool ) tempbool2; | |
11624 | { | |
4268f798 | 11625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11626 | wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 11627 | |
4268f798 | 11628 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11629 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11630 | } Py_INCREF(Py_None); |
11631 | _resultobj = Py_None; | |
11632 | return _resultobj; | |
11633 | } | |
11634 | ||
11635 | #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1)) | |
11636 | static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11637 | PyObject * _resultobj; | |
11638 | wxGrid * _arg0; | |
11639 | int _arg1; | |
11640 | int _arg2; | |
11641 | PyObject * _argo0 = 0; | |
11642 | char *_kwnames[] = { "self","col","width", NULL }; | |
11643 | ||
11644 | self = self; | |
11645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11646 | return NULL; | |
11647 | if (_argo0) { | |
11648 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11649 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11650 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p."); | |
11651 | return NULL; | |
11652 | } | |
11653 | } | |
11654 | { | |
4268f798 | 11655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11656 | wxGrid_SetColSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 11657 | |
4268f798 | 11658 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11659 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11660 | } Py_INCREF(Py_None); |
11661 | _resultobj = Py_None; | |
11662 | return _resultobj; | |
11663 | } | |
11664 | ||
11665 | #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1)) | |
11666 | static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11667 | PyObject * _resultobj; | |
11668 | wxGrid * _arg0; | |
11669 | int _arg1; | |
11670 | bool _arg2 = (bool ) TRUE; | |
11671 | PyObject * _argo0 = 0; | |
11672 | int tempbool2 = (int) TRUE; | |
11673 | char *_kwnames[] = { "self","col","setAsMin", NULL }; | |
11674 | ||
11675 | self = self; | |
11676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11677 | return NULL; | |
11678 | if (_argo0) { | |
11679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p."); | |
11682 | return NULL; | |
11683 | } | |
11684 | } | |
11685 | _arg2 = (bool ) tempbool2; | |
11686 | { | |
4268f798 | 11687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11688 | wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2); |
f6bcfd97 | 11689 | |
4268f798 | 11690 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11691 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11692 | } Py_INCREF(Py_None); |
11693 | _resultobj = Py_None; | |
11694 | return _resultobj; | |
11695 | } | |
11696 | ||
11697 | #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1)) | |
11698 | static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11699 | PyObject * _resultobj; | |
11700 | wxGrid * _arg0; | |
11701 | int _arg1; | |
11702 | bool _arg2 = (bool ) TRUE; | |
11703 | PyObject * _argo0 = 0; | |
11704 | int tempbool2 = (int) TRUE; | |
11705 | char *_kwnames[] = { "self","row","setAsMin", NULL }; | |
11706 | ||
11707 | self = self; | |
11708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11709 | return NULL; | |
11710 | if (_argo0) { | |
11711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p."); | |
11714 | return NULL; | |
11715 | } | |
11716 | } | |
11717 | _arg2 = (bool ) tempbool2; | |
11718 | { | |
4268f798 | 11719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11720 | wxGrid_AutoSizeRow(_arg0,_arg1,_arg2); |
f6bcfd97 | 11721 | |
4268f798 | 11722 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11723 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11724 | } Py_INCREF(Py_None); |
11725 | _resultobj = Py_None; | |
11726 | return _resultobj; | |
11727 | } | |
11728 | ||
11729 | #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0)) | |
11730 | static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11731 | PyObject * _resultobj; | |
11732 | wxGrid * _arg0; | |
11733 | bool _arg1 = (bool ) TRUE; | |
11734 | PyObject * _argo0 = 0; | |
11735 | int tempbool1 = (int) TRUE; | |
11736 | char *_kwnames[] = { "self","setAsMin", NULL }; | |
11737 | ||
11738 | self = self; | |
11739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1)) | |
11740 | return NULL; | |
11741 | if (_argo0) { | |
11742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p."); | |
11745 | return NULL; | |
11746 | } | |
11747 | } | |
11748 | _arg1 = (bool ) tempbool1; | |
11749 | { | |
4268f798 | 11750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11751 | wxGrid_AutoSizeColumns(_arg0,_arg1); |
f6bcfd97 | 11752 | |
4268f798 | 11753 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11754 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11755 | } Py_INCREF(Py_None); |
11756 | _resultobj = Py_None; | |
11757 | return _resultobj; | |
11758 | } | |
11759 | ||
11760 | #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0)) | |
11761 | static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11762 | PyObject * _resultobj; | |
11763 | wxGrid * _arg0; | |
11764 | bool _arg1 = (bool ) TRUE; | |
11765 | PyObject * _argo0 = 0; | |
11766 | int tempbool1 = (int) TRUE; | |
11767 | char *_kwnames[] = { "self","setAsMin", NULL }; | |
11768 | ||
11769 | self = self; | |
11770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1)) | |
11771 | return NULL; | |
11772 | if (_argo0) { | |
11773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p."); | |
11776 | return NULL; | |
11777 | } | |
11778 | } | |
11779 | _arg1 = (bool ) tempbool1; | |
11780 | { | |
4268f798 | 11781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11782 | wxGrid_AutoSizeRows(_arg0,_arg1); |
f6bcfd97 | 11783 | |
4268f798 | 11784 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11785 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11786 | } Py_INCREF(Py_None); |
11787 | _resultobj = Py_None; | |
11788 | return _resultobj; | |
11789 | } | |
11790 | ||
11791 | #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize()) | |
11792 | static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11793 | PyObject * _resultobj; | |
11794 | wxGrid * _arg0; | |
11795 | PyObject * _argo0 = 0; | |
11796 | char *_kwnames[] = { "self", NULL }; | |
11797 | ||
11798 | self = self; | |
11799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0)) | |
11800 | return NULL; | |
11801 | if (_argo0) { | |
11802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p."); | |
11805 | return NULL; | |
11806 | } | |
11807 | } | |
11808 | { | |
4268f798 | 11809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11810 | wxGrid_AutoSize(_arg0); |
f6bcfd97 | 11811 | |
4268f798 | 11812 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11813 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11814 | } Py_INCREF(Py_None); |
11815 | _resultobj = Py_None; | |
11816 | return _resultobj; | |
11817 | } | |
11818 | ||
7e50db3f RD |
11819 | #define wxGrid_AutoSizeRowLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeRowLabelSize(_swigarg0)) |
11820 | static PyObject *_wrap_wxGrid_AutoSizeRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11821 | PyObject * _resultobj; | |
11822 | wxGrid * _arg0; | |
11823 | int _arg1; | |
11824 | PyObject * _argo0 = 0; | |
11825 | char *_kwnames[] = { "self","row", NULL }; | |
11826 | ||
11827 | self = self; | |
11828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_AutoSizeRowLabelSize",_kwnames,&_argo0,&_arg1)) | |
11829 | return NULL; | |
11830 | if (_argo0) { | |
11831 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11832 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRowLabelSize. Expected _wxGrid_p."); | |
11834 | return NULL; | |
11835 | } | |
11836 | } | |
11837 | { | |
11838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11839 | wxGrid_AutoSizeRowLabelSize(_arg0,_arg1); | |
11840 | ||
11841 | wxPyEndAllowThreads(__tstate); | |
11842 | if (PyErr_Occurred()) return NULL; | |
11843 | } Py_INCREF(Py_None); | |
11844 | _resultobj = Py_None; | |
11845 | return _resultobj; | |
11846 | } | |
11847 | ||
11848 | #define wxGrid_AutoSizeColLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeColLabelSize(_swigarg0)) | |
11849 | static PyObject *_wrap_wxGrid_AutoSizeColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11850 | PyObject * _resultobj; | |
11851 | wxGrid * _arg0; | |
11852 | int _arg1; | |
11853 | PyObject * _argo0 = 0; | |
11854 | char *_kwnames[] = { "self","col", NULL }; | |
11855 | ||
11856 | self = self; | |
11857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_AutoSizeColLabelSize",_kwnames,&_argo0,&_arg1)) | |
11858 | return NULL; | |
11859 | if (_argo0) { | |
11860 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11861 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColLabelSize. Expected _wxGrid_p."); | |
11863 | return NULL; | |
11864 | } | |
11865 | } | |
11866 | { | |
11867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11868 | wxGrid_AutoSizeColLabelSize(_arg0,_arg1); | |
11869 | ||
11870 | wxPyEndAllowThreads(__tstate); | |
11871 | if (PyErr_Occurred()) return NULL; | |
11872 | } Py_INCREF(Py_None); | |
11873 | _resultobj = Py_None; | |
11874 | return _resultobj; | |
11875 | } | |
11876 | ||
f6bcfd97 BP |
11877 | #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1)) |
11878 | static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11879 | PyObject * _resultobj; | |
11880 | wxGrid * _arg0; | |
11881 | int _arg1; | |
11882 | int _arg2; | |
11883 | PyObject * _argo0 = 0; | |
11884 | char *_kwnames[] = { "self","col","width", NULL }; | |
11885 | ||
11886 | self = self; | |
11887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11888 | return NULL; | |
11889 | if (_argo0) { | |
11890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p."); | |
11893 | return NULL; | |
11894 | } | |
11895 | } | |
11896 | { | |
4268f798 | 11897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11898 | wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2); |
f6bcfd97 | 11899 | |
4268f798 | 11900 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11901 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11902 | } Py_INCREF(Py_None); |
11903 | _resultobj = Py_None; | |
11904 | return _resultobj; | |
11905 | } | |
11906 | ||
11907 | #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1)) | |
11908 | static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11909 | PyObject * _resultobj; | |
11910 | wxGrid * _arg0; | |
11911 | int _arg1; | |
11912 | int _arg2; | |
11913 | PyObject * _argo0 = 0; | |
11914 | char *_kwnames[] = { "self","row","width", NULL }; | |
11915 | ||
11916 | self = self; | |
11917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11918 | return NULL; | |
11919 | if (_argo0) { | |
11920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p."); | |
11923 | return NULL; | |
11924 | } | |
11925 | } | |
11926 | { | |
4268f798 | 11927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11928 | wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2); |
f6bcfd97 | 11929 | |
4268f798 | 11930 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11931 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11932 | } Py_INCREF(Py_None); |
11933 | _resultobj = Py_None; | |
11934 | return _resultobj; | |
11935 | } | |
11936 | ||
11937 | #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0)) | |
11938 | static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11939 | PyObject * _resultobj; | |
11940 | wxGrid * _arg0; | |
11941 | wxColour * _arg1; | |
11942 | PyObject * _argo0 = 0; | |
11943 | wxColour temp; | |
11944 | PyObject * _obj1 = 0; | |
11945 | char *_kwnames[] = { "self","arg2", NULL }; | |
11946 | ||
11947 | self = self; | |
11948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
11949 | return NULL; | |
11950 | if (_argo0) { | |
11951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p."); | |
11954 | return NULL; | |
11955 | } | |
11956 | } | |
11957 | { | |
11958 | _arg1 = &temp; | |
11959 | if (! wxColour_helper(_obj1, &_arg1)) | |
11960 | return NULL; | |
11961 | } | |
11962 | { | |
4268f798 | 11963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11964 | wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 11965 | |
4268f798 | 11966 | wxPyEndAllowThreads(__tstate); |
493f1553 | 11967 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11968 | } Py_INCREF(Py_None); |
11969 | _resultobj = Py_None; | |
11970 | return _resultobj; | |
11971 | } | |
11972 | ||
11973 | #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2)) | |
11974 | static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11975 | PyObject * _resultobj; | |
11976 | wxGrid * _arg0; | |
11977 | int _arg1; | |
11978 | int _arg2; | |
11979 | wxColour * _arg3; | |
11980 | PyObject * _argo0 = 0; | |
11981 | wxColour temp; | |
11982 | PyObject * _obj3 = 0; | |
11983 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11984 | ||
11985 | self = self; | |
11986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11987 | return NULL; | |
11988 | if (_argo0) { | |
11989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p."); | |
11992 | return NULL; | |
11993 | } | |
11994 | } | |
11995 | { | |
11996 | _arg3 = &temp; | |
11997 | if (! wxColour_helper(_obj3, &_arg3)) | |
11998 | return NULL; | |
11999 | } | |
12000 | { | |
4268f798 | 12001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12002 | wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 12003 | |
4268f798 | 12004 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12005 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12006 | } Py_INCREF(Py_None); |
12007 | _resultobj = Py_None; | |
12008 | return _resultobj; | |
12009 | } | |
12010 | ||
12011 | #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0)) | |
12012 | static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12013 | PyObject * _resultobj; | |
12014 | wxGrid * _arg0; | |
12015 | wxColour * _arg1; | |
12016 | PyObject * _argo0 = 0; | |
12017 | wxColour temp; | |
12018 | PyObject * _obj1 = 0; | |
12019 | char *_kwnames[] = { "self","arg2", NULL }; | |
12020 | ||
12021 | self = self; | |
12022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1)) | |
12023 | return NULL; | |
12024 | if (_argo0) { | |
12025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p."); | |
12028 | return NULL; | |
12029 | } | |
12030 | } | |
12031 | { | |
12032 | _arg1 = &temp; | |
12033 | if (! wxColour_helper(_obj1, &_arg1)) | |
12034 | return NULL; | |
12035 | } | |
12036 | { | |
4268f798 | 12037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12038 | wxGrid_SetDefaultCellTextColour(_arg0,*_arg1); |
f6bcfd97 | 12039 | |
4268f798 | 12040 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12041 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12042 | } Py_INCREF(Py_None); |
12043 | _resultobj = Py_None; | |
12044 | return _resultobj; | |
12045 | } | |
12046 | ||
12047 | #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2)) | |
12048 | static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12049 | PyObject * _resultobj; | |
12050 | wxGrid * _arg0; | |
12051 | int _arg1; | |
12052 | int _arg2; | |
12053 | wxColour * _arg3; | |
12054 | PyObject * _argo0 = 0; | |
12055 | wxColour temp; | |
12056 | PyObject * _obj3 = 0; | |
12057 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
12058 | ||
12059 | self = self; | |
12060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
12061 | return NULL; | |
12062 | if (_argo0) { | |
12063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p."); | |
12066 | return NULL; | |
12067 | } | |
12068 | } | |
12069 | { | |
12070 | _arg3 = &temp; | |
12071 | if (! wxColour_helper(_obj3, &_arg3)) | |
12072 | return NULL; | |
12073 | } | |
12074 | { | |
4268f798 | 12075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12076 | wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 12077 | |
4268f798 | 12078 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12079 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12080 | } Py_INCREF(Py_None); |
12081 | _resultobj = Py_None; | |
12082 | return _resultobj; | |
12083 | } | |
12084 | ||
12085 | #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0)) | |
12086 | static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12087 | PyObject * _resultobj; | |
12088 | wxGrid * _arg0; | |
12089 | wxFont * _arg1; | |
12090 | PyObject * _argo0 = 0; | |
12091 | PyObject * _argo1 = 0; | |
12092 | char *_kwnames[] = { "self","arg2", NULL }; | |
12093 | ||
12094 | self = self; | |
12095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1)) | |
12096 | return NULL; | |
12097 | if (_argo0) { | |
12098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p."); | |
12101 | return NULL; | |
12102 | } | |
12103 | } | |
12104 | if (_argo1) { | |
7e50db3f | 12105 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { |
f6bcfd97 BP |
12106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p."); |
12107 | return NULL; | |
12108 | } | |
12109 | } | |
12110 | { | |
4268f798 | 12111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12112 | wxGrid_SetDefaultCellFont(_arg0,*_arg1); |
f6bcfd97 | 12113 | |
4268f798 | 12114 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12115 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12116 | } Py_INCREF(Py_None); |
12117 | _resultobj = Py_None; | |
12118 | return _resultobj; | |
12119 | } | |
12120 | ||
12121 | #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2)) | |
12122 | static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12123 | PyObject * _resultobj; | |
12124 | wxGrid * _arg0; | |
12125 | int _arg1; | |
12126 | int _arg2; | |
12127 | wxFont * _arg3; | |
12128 | PyObject * _argo0 = 0; | |
12129 | PyObject * _argo3 = 0; | |
12130 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
12131 | ||
12132 | self = self; | |
12133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
12134 | return NULL; | |
12135 | if (_argo0) { | |
12136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p."); | |
12139 | return NULL; | |
12140 | } | |
12141 | } | |
12142 | if (_argo3) { | |
7e50db3f | 12143 | if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) { |
f6bcfd97 BP |
12144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p."); |
12145 | return NULL; | |
12146 | } | |
12147 | } | |
12148 | { | |
4268f798 | 12149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12150 | wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 12151 | |
4268f798 | 12152 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12153 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12154 | } Py_INCREF(Py_None); |
12155 | _resultobj = Py_None; | |
12156 | return _resultobj; | |
12157 | } | |
12158 | ||
12159 | #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1)) | |
12160 | static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12161 | PyObject * _resultobj; | |
12162 | wxGrid * _arg0; | |
12163 | int _arg1; | |
12164 | int _arg2; | |
12165 | PyObject * _argo0 = 0; | |
12166 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
12167 | ||
12168 | self = self; | |
12169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12170 | return NULL; | |
12171 | if (_argo0) { | |
12172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p."); | |
12175 | return NULL; | |
12176 | } | |
12177 | } | |
12178 | { | |
4268f798 | 12179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12180 | wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 12181 | |
4268f798 | 12182 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12183 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12184 | } Py_INCREF(Py_None); |
12185 | _resultobj = Py_None; | |
12186 | return _resultobj; | |
12187 | } | |
12188 | ||
12189 | #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
12190 | static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12191 | PyObject * _resultobj; | |
12192 | wxGrid * _arg0; | |
12193 | int _arg1; | |
12194 | int _arg2; | |
12195 | int _arg3; | |
12196 | int _arg4; | |
12197 | PyObject * _argo0 = 0; | |
12198 | char *_kwnames[] = { "self","row","col","horiz","vert", NULL }; | |
12199 | ||
12200 | self = self; | |
12201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
12202 | return NULL; | |
12203 | if (_argo0) { | |
12204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p."); | |
12207 | return NULL; | |
12208 | } | |
12209 | } | |
12210 | { | |
4268f798 | 12211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12212 | wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4); |
f6bcfd97 | 12213 | |
4268f798 | 12214 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12215 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12216 | } Py_INCREF(Py_None); |
12217 | _resultobj = Py_None; | |
12218 | return _resultobj; | |
12219 | } | |
12220 | ||
67a92fff RD |
12221 | #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0)) |
12222 | static PyObject *_wrap_wxGrid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12223 | PyObject * _resultobj; | |
12224 | wxGrid * _arg0; | |
12225 | bool _arg1; | |
12226 | PyObject * _argo0 = 0; | |
12227 | int tempbool1; | |
12228 | char *_kwnames[] = { "self","allow", NULL }; | |
12229 | ||
12230 | self = self; | |
12231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames,&_argo0,&tempbool1)) | |
12232 | return NULL; | |
12233 | if (_argo0) { | |
12234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p."); | |
12237 | return NULL; | |
12238 | } | |
12239 | } | |
12240 | _arg1 = (bool ) tempbool1; | |
12241 | { | |
12242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12243 | wxGrid_SetDefaultCellOverflow(_arg0,_arg1); | |
12244 | ||
12245 | wxPyEndAllowThreads(__tstate); | |
12246 | if (PyErr_Occurred()) return NULL; | |
12247 | } Py_INCREF(Py_None); | |
12248 | _resultobj = Py_None; | |
12249 | return _resultobj; | |
12250 | } | |
12251 | ||
12252 | #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2)) | |
12253 | static PyObject *_wrap_wxGrid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12254 | PyObject * _resultobj; | |
12255 | wxGrid * _arg0; | |
12256 | int _arg1; | |
12257 | int _arg2; | |
12258 | bool _arg3; | |
12259 | PyObject * _argo0 = 0; | |
12260 | int tempbool3; | |
12261 | char *_kwnames[] = { "self","row","col","allow", NULL }; | |
12262 | ||
12263 | self = self; | |
12264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
12265 | return NULL; | |
12266 | if (_argo0) { | |
12267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p."); | |
12270 | return NULL; | |
12271 | } | |
12272 | } | |
12273 | _arg3 = (bool ) tempbool3; | |
12274 | { | |
12275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12276 | wxGrid_SetCellOverflow(_arg0,_arg1,_arg2,_arg3); | |
12277 | ||
12278 | wxPyEndAllowThreads(__tstate); | |
12279 | if (PyErr_Occurred()) return NULL; | |
12280 | } Py_INCREF(Py_None); | |
12281 | _resultobj = Py_None; | |
12282 | return _resultobj; | |
12283 | } | |
12284 | ||
12285 | #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
12286 | static PyObject *_wrap_wxGrid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12287 | PyObject * _resultobj; | |
12288 | wxGrid * _arg0; | |
12289 | int _arg1; | |
12290 | int _arg2; | |
12291 | int _arg3; | |
12292 | int _arg4; | |
12293 | PyObject * _argo0 = 0; | |
12294 | char *_kwnames[] = { "self","row","col","num_rows","num_cols", NULL }; | |
12295 | ||
12296 | self = self; | |
12297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
12298 | return NULL; | |
12299 | if (_argo0) { | |
12300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p."); | |
12303 | return NULL; | |
12304 | } | |
12305 | } | |
12306 | { | |
12307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12308 | wxGrid_SetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4); | |
12309 | ||
12310 | wxPyEndAllowThreads(__tstate); | |
12311 | if (PyErr_Occurred()) return NULL; | |
12312 | } Py_INCREF(Py_None); | |
12313 | _resultobj = Py_None; | |
12314 | return _resultobj; | |
12315 | } | |
12316 | ||
f6bcfd97 BP |
12317 | #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0)) |
12318 | static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12319 | PyObject * _resultobj; | |
12320 | wxGrid * _arg0; | |
12321 | wxGridCellRenderer * _arg1; | |
12322 | PyObject * _argo0 = 0; | |
12323 | PyObject * _argo1 = 0; | |
12324 | char *_kwnames[] = { "self","renderer", NULL }; | |
12325 | ||
12326 | self = self; | |
12327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1)) | |
12328 | return NULL; | |
12329 | if (_argo0) { | |
12330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p."); | |
12333 | return NULL; | |
12334 | } | |
12335 | } | |
12336 | if (_argo1) { | |
12337 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12338 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) { | |
12339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p."); | |
12340 | return NULL; | |
12341 | } | |
12342 | } | |
12343 | { | |
4268f798 | 12344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12345 | wxGrid_SetDefaultRenderer(_arg0,_arg1); |
f6bcfd97 | 12346 | |
4268f798 | 12347 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12348 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12349 | } Py_INCREF(Py_None); |
12350 | _resultobj = Py_None; | |
12351 | return _resultobj; | |
12352 | } | |
12353 | ||
12354 | #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2)) | |
12355 | static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12356 | PyObject * _resultobj; | |
12357 | wxGrid * _arg0; | |
12358 | int _arg1; | |
12359 | int _arg2; | |
12360 | wxGridCellRenderer * _arg3; | |
12361 | PyObject * _argo0 = 0; | |
12362 | PyObject * _argo3 = 0; | |
12363 | char *_kwnames[] = { "self","row","col","renderer", NULL }; | |
12364 | ||
12365 | self = self; | |
12366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
12367 | return NULL; | |
12368 | if (_argo0) { | |
12369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p."); | |
12372 | return NULL; | |
12373 | } | |
12374 | } | |
12375 | if (_argo3) { | |
12376 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
12377 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) { | |
12378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p."); | |
12379 | return NULL; | |
12380 | } | |
12381 | } | |
12382 | { | |
4268f798 | 12383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12384 | wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 12385 | |
4268f798 | 12386 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12387 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12388 | } Py_INCREF(Py_None); |
12389 | _resultobj = Py_None; | |
12390 | return _resultobj; | |
12391 | } | |
12392 | ||
12393 | #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer()) | |
12394 | static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12395 | PyObject * _resultobj; | |
12396 | wxGridCellRenderer * _result; | |
12397 | wxGrid * _arg0; | |
12398 | PyObject * _argo0 = 0; | |
12399 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
12400 | |
12401 | self = self; | |
12402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0)) | |
12403 | return NULL; | |
12404 | if (_argo0) { | |
12405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p."); | |
12408 | return NULL; | |
12409 | } | |
12410 | } | |
12411 | { | |
4268f798 | 12412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12413 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0); |
f6bcfd97 | 12414 | |
4268f798 | 12415 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12416 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 12417 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
12418 | return _resultobj; |
12419 | } | |
12420 | ||
12421 | #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1)) | |
12422 | static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12423 | PyObject * _resultobj; | |
12424 | wxGridCellRenderer * _result; | |
12425 | wxGrid * _arg0; | |
12426 | int _arg1; | |
12427 | int _arg2; | |
12428 | PyObject * _argo0 = 0; | |
12429 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
12430 | |
12431 | self = self; | |
12432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12433 | return NULL; | |
12434 | if (_argo0) { | |
12435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p."); | |
12438 | return NULL; | |
12439 | } | |
12440 | } | |
12441 | { | |
4268f798 | 12442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12443 | _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2); |
f6bcfd97 | 12444 | |
4268f798 | 12445 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12446 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 12447 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
12448 | return _resultobj; |
12449 | } | |
12450 | ||
12451 | #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0)) | |
12452 | static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12453 | PyObject * _resultobj; | |
12454 | wxGrid * _arg0; | |
12455 | wxGridCellEditor * _arg1; | |
12456 | PyObject * _argo0 = 0; | |
12457 | PyObject * _argo1 = 0; | |
12458 | char *_kwnames[] = { "self","editor", NULL }; | |
12459 | ||
12460 | self = self; | |
12461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1)) | |
12462 | return NULL; | |
12463 | if (_argo0) { | |
12464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p."); | |
12467 | return NULL; | |
12468 | } | |
12469 | } | |
12470 | if (_argo1) { | |
12471 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12472 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) { | |
12473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p."); | |
12474 | return NULL; | |
12475 | } | |
12476 | } | |
12477 | { | |
4268f798 | 12478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12479 | wxGrid_SetDefaultEditor(_arg0,_arg1); |
f6bcfd97 | 12480 | |
4268f798 | 12481 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12482 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12483 | } Py_INCREF(Py_None); |
12484 | _resultobj = Py_None; | |
12485 | return _resultobj; | |
12486 | } | |
12487 | ||
12488 | #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2)) | |
12489 | static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12490 | PyObject * _resultobj; | |
12491 | wxGrid * _arg0; | |
12492 | int _arg1; | |
12493 | int _arg2; | |
12494 | wxGridCellEditor * _arg3; | |
12495 | PyObject * _argo0 = 0; | |
12496 | PyObject * _argo3 = 0; | |
12497 | char *_kwnames[] = { "self","row","col","editor", NULL }; | |
12498 | ||
12499 | self = self; | |
12500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
12501 | return NULL; | |
12502 | if (_argo0) { | |
12503 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12504 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12505 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p."); | |
12506 | return NULL; | |
12507 | } | |
12508 | } | |
12509 | if (_argo3) { | |
12510 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
12511 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) { | |
12512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p."); | |
12513 | return NULL; | |
12514 | } | |
12515 | } | |
12516 | { | |
4268f798 | 12517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12518 | wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 12519 | |
4268f798 | 12520 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12521 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12522 | } Py_INCREF(Py_None); |
12523 | _resultobj = Py_None; | |
12524 | return _resultobj; | |
12525 | } | |
12526 | ||
12527 | #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor()) | |
12528 | static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12529 | PyObject * _resultobj; | |
12530 | wxGridCellEditor * _result; | |
12531 | wxGrid * _arg0; | |
12532 | PyObject * _argo0 = 0; | |
12533 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
12534 | |
12535 | self = self; | |
12536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0)) | |
12537 | return NULL; | |
12538 | if (_argo0) { | |
12539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p."); | |
12542 | return NULL; | |
12543 | } | |
12544 | } | |
12545 | { | |
4268f798 | 12546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12547 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0); |
f6bcfd97 | 12548 | |
4268f798 | 12549 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12550 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 12551 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
12552 | return _resultobj; |
12553 | } | |
12554 | ||
12555 | #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1)) | |
12556 | static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12557 | PyObject * _resultobj; | |
12558 | wxGridCellEditor * _result; | |
12559 | wxGrid * _arg0; | |
12560 | int _arg1; | |
12561 | int _arg2; | |
12562 | PyObject * _argo0 = 0; | |
12563 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
12564 | |
12565 | self = self; | |
12566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12567 | return NULL; | |
12568 | if (_argo0) { | |
12569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p."); | |
12572 | return NULL; | |
12573 | } | |
12574 | } | |
12575 | { | |
4268f798 | 12576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12577 | _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2); |
f6bcfd97 | 12578 | |
4268f798 | 12579 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12580 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 12581 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
12582 | return _resultobj; |
12583 | } | |
12584 | ||
12585 | #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1)) | |
12586 | static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12587 | PyObject * _resultobj; | |
12588 | wxString * _result; | |
12589 | wxGrid * _arg0; | |
12590 | int _arg1; | |
12591 | int _arg2; | |
12592 | PyObject * _argo0 = 0; | |
12593 | char *_kwnames[] = { "self","row","col", NULL }; | |
12594 | ||
12595 | self = self; | |
12596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12597 | return NULL; | |
12598 | if (_argo0) { | |
12599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p."); | |
12602 | return NULL; | |
12603 | } | |
12604 | } | |
12605 | { | |
4268f798 | 12606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12607 | _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2)); |
f6bcfd97 | 12608 | |
4268f798 | 12609 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12610 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 12611 | }{ |
c8bc7bb8 | 12612 | #if wxUSE_UNICODE |
7e50db3f | 12613 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 12614 | #else |
f6bcfd97 | 12615 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 12616 | #endif |
f6bcfd97 BP |
12617 | } |
12618 | { | |
12619 | delete _result; | |
12620 | } | |
12621 | return _resultobj; | |
12622 | } | |
12623 | ||
12624 | #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2)) | |
12625 | static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12626 | PyObject * _resultobj; | |
12627 | wxGrid * _arg0; | |
12628 | int _arg1; | |
12629 | int _arg2; | |
12630 | wxString * _arg3; | |
12631 | PyObject * _argo0 = 0; | |
12632 | PyObject * _obj3 = 0; | |
12633 | char *_kwnames[] = { "self","row","col","s", NULL }; | |
12634 | ||
12635 | self = self; | |
12636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
12637 | return NULL; | |
12638 | if (_argo0) { | |
12639 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12640 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p."); | |
12642 | return NULL; | |
12643 | } | |
12644 | } | |
12645 | { | |
c8bc7bb8 RD |
12646 | _arg3 = wxString_in_helper(_obj3); |
12647 | if (_arg3 == NULL) | |
185d7c3e | 12648 | return NULL; |
f6bcfd97 BP |
12649 | } |
12650 | { | |
4268f798 | 12651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12652 | wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 12653 | |
4268f798 | 12654 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12655 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12656 | } Py_INCREF(Py_None); |
12657 | _resultobj = Py_None; | |
12658 | { | |
12659 | if (_obj3) | |
12660 | delete _arg3; | |
12661 | } | |
12662 | return _resultobj; | |
12663 | } | |
12664 | ||
12665 | #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1)) | |
12666 | static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12667 | PyObject * _resultobj; | |
12668 | bool _result; | |
12669 | wxGrid * _arg0; | |
12670 | int _arg1; | |
12671 | int _arg2; | |
12672 | PyObject * _argo0 = 0; | |
12673 | char *_kwnames[] = { "self","row","col", NULL }; | |
12674 | ||
12675 | self = self; | |
12676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12677 | return NULL; | |
12678 | if (_argo0) { | |
12679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p."); | |
12682 | return NULL; | |
12683 | } | |
12684 | } | |
12685 | { | |
4268f798 | 12686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12687 | _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2); |
f6bcfd97 | 12688 | |
4268f798 | 12689 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12690 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12691 | } _resultobj = Py_BuildValue("i",_result); |
12692 | return _resultobj; | |
12693 | } | |
12694 | ||
12695 | #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2)) | |
12696 | static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12697 | PyObject * _resultobj; | |
12698 | wxGrid * _arg0; | |
12699 | int _arg1; | |
12700 | int _arg2; | |
12701 | bool _arg3 = (bool ) TRUE; | |
12702 | PyObject * _argo0 = 0; | |
12703 | int tempbool3 = (int) TRUE; | |
12704 | char *_kwnames[] = { "self","row","col","isReadOnly", NULL }; | |
12705 | ||
12706 | self = self; | |
12707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
12708 | return NULL; | |
12709 | if (_argo0) { | |
12710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p."); | |
12713 | return NULL; | |
12714 | } | |
12715 | } | |
12716 | _arg3 = (bool ) tempbool3; | |
12717 | { | |
4268f798 | 12718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12719 | wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 12720 | |
4268f798 | 12721 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12722 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12723 | } Py_INCREF(Py_None); |
12724 | _resultobj = Py_None; | |
12725 | return _resultobj; | |
12726 | } | |
12727 | ||
12728 | #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1)) | |
12729 | static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12730 | PyObject * _resultobj; | |
12731 | wxGrid * _arg0; | |
12732 | int _arg1; | |
12733 | bool _arg2 = (bool ) FALSE; | |
12734 | PyObject * _argo0 = 0; | |
12735 | int tempbool2 = (int) FALSE; | |
12736 | char *_kwnames[] = { "self","row","addToSelected", NULL }; | |
12737 | ||
12738 | self = self; | |
12739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
12740 | return NULL; | |
12741 | if (_argo0) { | |
12742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p."); | |
12745 | return NULL; | |
12746 | } | |
12747 | } | |
12748 | _arg2 = (bool ) tempbool2; | |
12749 | { | |
4268f798 | 12750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12751 | wxGrid_SelectRow(_arg0,_arg1,_arg2); |
f6bcfd97 | 12752 | |
4268f798 | 12753 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12754 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12755 | } Py_INCREF(Py_None); |
12756 | _resultobj = Py_None; | |
12757 | return _resultobj; | |
12758 | } | |
12759 | ||
12760 | #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1)) | |
12761 | static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12762 | PyObject * _resultobj; | |
12763 | wxGrid * _arg0; | |
12764 | int _arg1; | |
12765 | bool _arg2 = (bool ) FALSE; | |
12766 | PyObject * _argo0 = 0; | |
12767 | int tempbool2 = (int) FALSE; | |
12768 | char *_kwnames[] = { "self","col","addToSelected", NULL }; | |
12769 | ||
12770 | self = self; | |
12771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
12772 | return NULL; | |
12773 | if (_argo0) { | |
12774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p."); | |
12777 | return NULL; | |
12778 | } | |
12779 | } | |
12780 | _arg2 = (bool ) tempbool2; | |
12781 | { | |
4268f798 | 12782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12783 | wxGrid_SelectCol(_arg0,_arg1,_arg2); |
f6bcfd97 | 12784 | |
4268f798 | 12785 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12786 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12787 | } Py_INCREF(Py_None); |
12788 | _resultobj = Py_None; | |
12789 | return _resultobj; | |
12790 | } | |
12791 | ||
c368d904 | 12792 | #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
f6bcfd97 BP |
12793 | static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
12794 | PyObject * _resultobj; | |
12795 | wxGrid * _arg0; | |
12796 | int _arg1; | |
12797 | int _arg2; | |
12798 | int _arg3; | |
12799 | int _arg4; | |
c368d904 | 12800 | bool _arg5 = (bool ) FALSE; |
f6bcfd97 | 12801 | PyObject * _argo0 = 0; |
c368d904 RD |
12802 | int tempbool5 = (int) FALSE; |
12803 | char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL }; | |
f6bcfd97 BP |
12804 | |
12805 | self = self; | |
c368d904 | 12806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5)) |
f6bcfd97 BP |
12807 | return NULL; |
12808 | if (_argo0) { | |
12809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p."); | |
12812 | return NULL; | |
12813 | } | |
12814 | } | |
c368d904 | 12815 | _arg5 = (bool ) tempbool5; |
f6bcfd97 | 12816 | { |
4268f798 | 12817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12818 | wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
f6bcfd97 | 12819 | |
4268f798 | 12820 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12821 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12822 | } Py_INCREF(Py_None); |
12823 | _resultobj = Py_None; | |
12824 | return _resultobj; | |
12825 | } | |
12826 | ||
12827 | #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll()) | |
12828 | static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12829 | PyObject * _resultobj; | |
12830 | wxGrid * _arg0; | |
12831 | PyObject * _argo0 = 0; | |
12832 | char *_kwnames[] = { "self", NULL }; | |
12833 | ||
12834 | self = self; | |
12835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0)) | |
12836 | return NULL; | |
12837 | if (_argo0) { | |
12838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p."); | |
12841 | return NULL; | |
12842 | } | |
12843 | } | |
12844 | { | |
4268f798 | 12845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12846 | wxGrid_SelectAll(_arg0); |
f6bcfd97 | 12847 | |
4268f798 | 12848 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12849 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12850 | } Py_INCREF(Py_None); |
12851 | _resultobj = Py_None; | |
12852 | return _resultobj; | |
12853 | } | |
12854 | ||
12855 | #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection()) | |
12856 | static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12857 | PyObject * _resultobj; | |
12858 | bool _result; | |
12859 | wxGrid * _arg0; | |
12860 | PyObject * _argo0 = 0; | |
12861 | char *_kwnames[] = { "self", NULL }; | |
12862 | ||
12863 | self = self; | |
12864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_kwnames,&_argo0)) | |
12865 | return NULL; | |
12866 | if (_argo0) { | |
12867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p."); | |
12870 | return NULL; | |
12871 | } | |
12872 | } | |
12873 | { | |
4268f798 | 12874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12875 | _result = (bool )wxGrid_IsSelection(_arg0); |
f6bcfd97 | 12876 | |
4268f798 | 12877 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12878 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12879 | } _resultobj = Py_BuildValue("i",_result); |
12880 | return _resultobj; | |
12881 | } | |
12882 | ||
12883 | #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection()) | |
12884 | static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12885 | PyObject * _resultobj; | |
12886 | wxGrid * _arg0; | |
12887 | PyObject * _argo0 = 0; | |
12888 | char *_kwnames[] = { "self", NULL }; | |
12889 | ||
12890 | self = self; | |
12891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0)) | |
12892 | return NULL; | |
12893 | if (_argo0) { | |
12894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p."); | |
12897 | return NULL; | |
12898 | } | |
12899 | } | |
12900 | { | |
4268f798 | 12901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12902 | wxGrid_ClearSelection(_arg0); |
f6bcfd97 | 12903 | |
4268f798 | 12904 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12905 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12906 | } Py_INCREF(Py_None); |
12907 | _resultobj = Py_None; | |
12908 | return _resultobj; | |
12909 | } | |
12910 | ||
12911 | #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1)) | |
12912 | static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12913 | PyObject * _resultobj; | |
12914 | bool _result; | |
12915 | wxGrid * _arg0; | |
12916 | int _arg1; | |
12917 | int _arg2; | |
12918 | PyObject * _argo0 = 0; | |
12919 | char *_kwnames[] = { "self","row","col", NULL }; | |
12920 | ||
12921 | self = self; | |
12922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12923 | return NULL; | |
12924 | if (_argo0) { | |
12925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p."); | |
12928 | return NULL; | |
12929 | } | |
12930 | } | |
12931 | { | |
4268f798 | 12932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12933 | _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 12934 | |
4268f798 | 12935 | wxPyEndAllowThreads(__tstate); |
493f1553 | 12936 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12937 | } _resultobj = Py_BuildValue("i",_result); |
12938 | return _resultobj; | |
12939 | } | |
12940 | ||
7e50db3f RD |
12941 | #define wxGrid_GetSelectedCells(_swigobj) (_swigobj->GetSelectedCells()) |
12942 | static PyObject *_wrap_wxGrid_GetSelectedCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12943 | PyObject * _resultobj; | |
12944 | wxGridCellCoordsArray * _result; | |
12945 | wxGrid * _arg0; | |
12946 | PyObject * _argo0 = 0; | |
12947 | char *_kwnames[] = { "self", NULL }; | |
12948 | ||
12949 | self = self; | |
12950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedCells",_kwnames,&_argo0)) | |
12951 | return NULL; | |
12952 | if (_argo0) { | |
12953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedCells. Expected _wxGrid_p."); | |
12956 | return NULL; | |
12957 | } | |
12958 | } | |
12959 | { | |
12960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12961 | _result = new wxGridCellCoordsArray (wxGrid_GetSelectedCells(_arg0)); | |
12962 | ||
12963 | wxPyEndAllowThreads(__tstate); | |
12964 | if (PyErr_Occurred()) return NULL; | |
12965 | }{ | |
12966 | _resultobj = wxGridCellCoordsArray_helper(_result); | |
12967 | } | |
12968 | { | |
12969 | delete _result; | |
12970 | } | |
12971 | return _resultobj; | |
12972 | } | |
12973 | ||
12974 | #define wxGrid_GetSelectionBlockTopLeft(_swigobj) (_swigobj->GetSelectionBlockTopLeft()) | |
12975 | static PyObject *_wrap_wxGrid_GetSelectionBlockTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12976 | PyObject * _resultobj; | |
12977 | wxGridCellCoordsArray * _result; | |
12978 | wxGrid * _arg0; | |
12979 | PyObject * _argo0 = 0; | |
12980 | char *_kwnames[] = { "self", NULL }; | |
12981 | ||
12982 | self = self; | |
12983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBlockTopLeft",_kwnames,&_argo0)) | |
12984 | return NULL; | |
12985 | if (_argo0) { | |
12986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBlockTopLeft. Expected _wxGrid_p."); | |
12989 | return NULL; | |
12990 | } | |
12991 | } | |
12992 | { | |
12993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12994 | _result = new wxGridCellCoordsArray (wxGrid_GetSelectionBlockTopLeft(_arg0)); | |
12995 | ||
12996 | wxPyEndAllowThreads(__tstate); | |
12997 | if (PyErr_Occurred()) return NULL; | |
12998 | }{ | |
12999 | _resultobj = wxGridCellCoordsArray_helper(_result); | |
13000 | } | |
13001 | { | |
13002 | delete _result; | |
13003 | } | |
13004 | return _resultobj; | |
13005 | } | |
13006 | ||
13007 | #define wxGrid_GetSelectionBlockBottomRight(_swigobj) (_swigobj->GetSelectionBlockBottomRight()) | |
13008 | static PyObject *_wrap_wxGrid_GetSelectionBlockBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13009 | PyObject * _resultobj; | |
13010 | wxGridCellCoordsArray * _result; | |
13011 | wxGrid * _arg0; | |
13012 | PyObject * _argo0 = 0; | |
13013 | char *_kwnames[] = { "self", NULL }; | |
13014 | ||
13015 | self = self; | |
13016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBlockBottomRight",_kwnames,&_argo0)) | |
13017 | return NULL; | |
13018 | if (_argo0) { | |
13019 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13020 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBlockBottomRight. Expected _wxGrid_p."); | |
13022 | return NULL; | |
13023 | } | |
13024 | } | |
13025 | { | |
13026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13027 | _result = new wxGridCellCoordsArray (wxGrid_GetSelectionBlockBottomRight(_arg0)); | |
13028 | ||
13029 | wxPyEndAllowThreads(__tstate); | |
13030 | if (PyErr_Occurred()) return NULL; | |
13031 | }{ | |
13032 | _resultobj = wxGridCellCoordsArray_helper(_result); | |
13033 | } | |
13034 | { | |
13035 | delete _result; | |
13036 | } | |
13037 | return _resultobj; | |
13038 | } | |
13039 | ||
13040 | #define wxGrid_GetSelectedRows(_swigobj) (_swigobj->GetSelectedRows()) | |
13041 | static PyObject *_wrap_wxGrid_GetSelectedRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13042 | PyObject * _resultobj; | |
13043 | wxArrayInt * _result; | |
13044 | wxGrid * _arg0; | |
13045 | PyObject * _argo0 = 0; | |
13046 | char *_kwnames[] = { "self", NULL }; | |
13047 | ||
13048 | self = self; | |
13049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedRows",_kwnames,&_argo0)) | |
13050 | return NULL; | |
13051 | if (_argo0) { | |
13052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedRows. Expected _wxGrid_p."); | |
13055 | return NULL; | |
13056 | } | |
13057 | } | |
13058 | { | |
13059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13060 | _result = new wxArrayInt (wxGrid_GetSelectedRows(_arg0)); | |
13061 | ||
13062 | wxPyEndAllowThreads(__tstate); | |
13063 | if (PyErr_Occurred()) return NULL; | |
13064 | }{ | |
13065 | _resultobj = PyList_New(0); | |
13066 | size_t idx; | |
13067 | for (idx = 0; idx < _result->GetCount(); idx += 1) { | |
13068 | PyObject* val = PyInt_FromLong(_result->Item(idx)); | |
13069 | PyList_Append(_resultobj, val); | |
13070 | Py_DECREF(val); | |
13071 | } | |
13072 | delete _result; | |
13073 | } | |
13074 | return _resultobj; | |
13075 | } | |
13076 | ||
13077 | #define wxGrid_GetSelectedCols(_swigobj) (_swigobj->GetSelectedCols()) | |
13078 | static PyObject *_wrap_wxGrid_GetSelectedCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13079 | PyObject * _resultobj; | |
13080 | wxArrayInt * _result; | |
13081 | wxGrid * _arg0; | |
13082 | PyObject * _argo0 = 0; | |
13083 | char *_kwnames[] = { "self", NULL }; | |
13084 | ||
13085 | self = self; | |
13086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectedCols",_kwnames,&_argo0)) | |
13087 | return NULL; | |
13088 | if (_argo0) { | |
13089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectedCols. Expected _wxGrid_p."); | |
13092 | return NULL; | |
13093 | } | |
13094 | } | |
13095 | { | |
13096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13097 | _result = new wxArrayInt (wxGrid_GetSelectedCols(_arg0)); | |
13098 | ||
13099 | wxPyEndAllowThreads(__tstate); | |
13100 | if (PyErr_Occurred()) return NULL; | |
13101 | }{ | |
13102 | _resultobj = PyList_New(0); | |
13103 | size_t idx; | |
13104 | for (idx = 0; idx < _result->GetCount(); idx += 1) { | |
13105 | PyObject* val = PyInt_FromLong(_result->Item(idx)); | |
13106 | PyList_Append(_resultobj, val); | |
13107 | Py_DECREF(val); | |
13108 | } | |
13109 | delete _result; | |
13110 | } | |
13111 | return _resultobj; | |
13112 | } | |
13113 | ||
13114 | #define wxGrid_DeselectRow(_swigobj,_swigarg0) (_swigobj->DeselectRow(_swigarg0)) | |
13115 | static PyObject *_wrap_wxGrid_DeselectRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13116 | PyObject * _resultobj; | |
13117 | wxGrid * _arg0; | |
13118 | int _arg1; | |
13119 | PyObject * _argo0 = 0; | |
13120 | char *_kwnames[] = { "self","row", NULL }; | |
13121 | ||
13122 | self = self; | |
13123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_DeselectRow",_kwnames,&_argo0,&_arg1)) | |
13124 | return NULL; | |
13125 | if (_argo0) { | |
13126 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13127 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectRow. Expected _wxGrid_p."); | |
13129 | return NULL; | |
13130 | } | |
13131 | } | |
13132 | { | |
13133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13134 | wxGrid_DeselectRow(_arg0,_arg1); | |
13135 | ||
13136 | wxPyEndAllowThreads(__tstate); | |
13137 | if (PyErr_Occurred()) return NULL; | |
13138 | } Py_INCREF(Py_None); | |
13139 | _resultobj = Py_None; | |
13140 | return _resultobj; | |
13141 | } | |
13142 | ||
13143 | #define wxGrid_DeselectCol(_swigobj,_swigarg0) (_swigobj->DeselectCol(_swigarg0)) | |
13144 | static PyObject *_wrap_wxGrid_DeselectCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13145 | PyObject * _resultobj; | |
13146 | wxGrid * _arg0; | |
13147 | int _arg1; | |
13148 | PyObject * _argo0 = 0; | |
13149 | char *_kwnames[] = { "self","col", NULL }; | |
13150 | ||
13151 | self = self; | |
13152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_DeselectCol",_kwnames,&_argo0,&_arg1)) | |
13153 | return NULL; | |
13154 | if (_argo0) { | |
13155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectCol. Expected _wxGrid_p."); | |
13158 | return NULL; | |
13159 | } | |
13160 | } | |
13161 | { | |
13162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13163 | wxGrid_DeselectCol(_arg0,_arg1); | |
13164 | ||
13165 | wxPyEndAllowThreads(__tstate); | |
13166 | if (PyErr_Occurred()) return NULL; | |
13167 | } Py_INCREF(Py_None); | |
13168 | _resultobj = Py_None; | |
13169 | return _resultobj; | |
13170 | } | |
13171 | ||
13172 | #define wxGrid_DeselectCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeselectCell(_swigarg0,_swigarg1)) | |
13173 | static PyObject *_wrap_wxGrid_DeselectCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13174 | PyObject * _resultobj; | |
13175 | wxGrid * _arg0; | |
13176 | int _arg1; | |
13177 | int _arg2; | |
13178 | PyObject * _argo0 = 0; | |
13179 | char *_kwnames[] = { "self","row","col", NULL }; | |
13180 | ||
13181 | self = self; | |
13182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_DeselectCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
13183 | return NULL; | |
13184 | if (_argo0) { | |
13185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeselectCell. Expected _wxGrid_p."); | |
13188 | return NULL; | |
13189 | } | |
13190 | } | |
13191 | { | |
13192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13193 | wxGrid_DeselectCell(_arg0,_arg1,_arg2); | |
13194 | ||
13195 | wxPyEndAllowThreads(__tstate); | |
13196 | if (PyErr_Occurred()) return NULL; | |
13197 | } Py_INCREF(Py_None); | |
13198 | _resultobj = Py_None; | |
13199 | return _resultobj; | |
13200 | } | |
13201 | ||
f6bcfd97 BP |
13202 | #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1)) |
13203 | static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13204 | PyObject * _resultobj; | |
13205 | wxRect * _result; | |
13206 | wxGrid * _arg0; | |
13207 | wxGridCellCoords * _arg1; | |
13208 | wxGridCellCoords * _arg2; | |
13209 | PyObject * _argo0 = 0; | |
13210 | wxGridCellCoords temp; | |
13211 | PyObject * _obj1 = 0; | |
13212 | wxGridCellCoords temp0; | |
13213 | PyObject * _obj2 = 0; | |
13214 | char *_kwnames[] = { "self","topLeft","bottomRight", NULL }; | |
13215 | char _ptemp[128]; | |
13216 | ||
13217 | self = self; | |
13218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2)) | |
13219 | return NULL; | |
13220 | if (_argo0) { | |
13221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p."); | |
13224 | return NULL; | |
13225 | } | |
13226 | } | |
13227 | { | |
13228 | _arg1 = &temp; | |
13229 | if (! wxGridCellCoords_helper(_obj1, &_arg1)) | |
13230 | return NULL; | |
13231 | } | |
13232 | { | |
13233 | _arg2 = &temp0; | |
13234 | if (! wxGridCellCoords_helper(_obj2, &_arg2)) | |
13235 | return NULL; | |
13236 | } | |
13237 | { | |
4268f798 | 13238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13239 | _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2)); |
f6bcfd97 | 13240 | |
4268f798 | 13241 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13242 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13243 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
13244 | _resultobj = Py_BuildValue("s",_ptemp); | |
13245 | return _resultobj; | |
13246 | } | |
13247 | ||
13248 | #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground()) | |
13249 | static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13250 | PyObject * _resultobj; | |
13251 | wxColour * _result; | |
13252 | wxGrid * _arg0; | |
13253 | PyObject * _argo0 = 0; | |
13254 | char *_kwnames[] = { "self", NULL }; | |
13255 | char _ptemp[128]; | |
13256 | ||
13257 | self = self; | |
13258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0)) | |
13259 | return NULL; | |
13260 | if (_argo0) { | |
13261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p."); | |
13264 | return NULL; | |
13265 | } | |
13266 | } | |
13267 | { | |
4268f798 | 13268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13269 | _result = new wxColour (wxGrid_GetSelectionBackground(_arg0)); |
f6bcfd97 | 13270 | |
4268f798 | 13271 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13272 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13273 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
13274 | _resultobj = Py_BuildValue("s",_ptemp); | |
13275 | return _resultobj; | |
13276 | } | |
13277 | ||
13278 | #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground()) | |
13279 | static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13280 | PyObject * _resultobj; | |
13281 | wxColour * _result; | |
13282 | wxGrid * _arg0; | |
13283 | PyObject * _argo0 = 0; | |
13284 | char *_kwnames[] = { "self", NULL }; | |
13285 | char _ptemp[128]; | |
13286 | ||
13287 | self = self; | |
13288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0)) | |
13289 | return NULL; | |
13290 | if (_argo0) { | |
13291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p."); | |
13294 | return NULL; | |
13295 | } | |
13296 | } | |
13297 | { | |
4268f798 | 13298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13299 | _result = new wxColour (wxGrid_GetSelectionForeground(_arg0)); |
f6bcfd97 | 13300 | |
4268f798 | 13301 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13302 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13303 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
13304 | _resultobj = Py_BuildValue("s",_ptemp); | |
13305 | return _resultobj; | |
13306 | } | |
13307 | ||
13308 | #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0)) | |
13309 | static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13310 | PyObject * _resultobj; | |
13311 | wxGrid * _arg0; | |
13312 | wxColour * _arg1; | |
13313 | PyObject * _argo0 = 0; | |
13314 | wxColour temp; | |
13315 | PyObject * _obj1 = 0; | |
13316 | char *_kwnames[] = { "self","c", NULL }; | |
13317 | ||
13318 | self = self; | |
13319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1)) | |
13320 | return NULL; | |
13321 | if (_argo0) { | |
13322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p."); | |
13325 | return NULL; | |
13326 | } | |
13327 | } | |
13328 | { | |
13329 | _arg1 = &temp; | |
13330 | if (! wxColour_helper(_obj1, &_arg1)) | |
13331 | return NULL; | |
13332 | } | |
13333 | { | |
4268f798 | 13334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13335 | wxGrid_SetSelectionBackground(_arg0,*_arg1); |
f6bcfd97 | 13336 | |
4268f798 | 13337 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13338 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13339 | } Py_INCREF(Py_None); |
13340 | _resultobj = Py_None; | |
13341 | return _resultobj; | |
13342 | } | |
13343 | ||
13344 | #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0)) | |
13345 | static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13346 | PyObject * _resultobj; | |
13347 | wxGrid * _arg0; | |
13348 | wxColour * _arg1; | |
13349 | PyObject * _argo0 = 0; | |
13350 | wxColour temp; | |
13351 | PyObject * _obj1 = 0; | |
13352 | char *_kwnames[] = { "self","c", NULL }; | |
13353 | ||
13354 | self = self; | |
13355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1)) | |
13356 | return NULL; | |
13357 | if (_argo0) { | |
13358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p."); | |
13361 | return NULL; | |
13362 | } | |
13363 | } | |
13364 | { | |
13365 | _arg1 = &temp; | |
13366 | if (! wxColour_helper(_obj1, &_arg1)) | |
13367 | return NULL; | |
13368 | } | |
13369 | { | |
4268f798 | 13370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13371 | wxGrid_SetSelectionForeground(_arg0,*_arg1); |
f6bcfd97 | 13372 | |
4268f798 | 13373 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13374 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13375 | } Py_INCREF(Py_None); |
13376 | _resultobj = Py_None; | |
13377 | return _resultobj; | |
13378 | } | |
13379 | ||
13380 | #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2)) | |
13381 | static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13382 | PyObject * _resultobj; | |
13383 | wxGrid * _arg0; | |
13384 | wxString * _arg1; | |
13385 | wxGridCellRenderer * _arg2; | |
13386 | wxGridCellEditor * _arg3; | |
13387 | PyObject * _argo0 = 0; | |
13388 | PyObject * _obj1 = 0; | |
13389 | PyObject * _argo2 = 0; | |
13390 | PyObject * _argo3 = 0; | |
13391 | char *_kwnames[] = { "self","typeName","renderer","editor", NULL }; | |
13392 | ||
13393 | self = self; | |
13394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3)) | |
13395 | return NULL; | |
13396 | if (_argo0) { | |
13397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p."); | |
13400 | return NULL; | |
13401 | } | |
13402 | } | |
13403 | { | |
c8bc7bb8 RD |
13404 | _arg1 = wxString_in_helper(_obj1); |
13405 | if (_arg1 == NULL) | |
185d7c3e | 13406 | return NULL; |
f6bcfd97 BP |
13407 | } |
13408 | if (_argo2) { | |
13409 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13410 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) { | |
13411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p."); | |
13412 | return NULL; | |
13413 | } | |
13414 | } | |
13415 | if (_argo3) { | |
13416 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
13417 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) { | |
13418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p."); | |
13419 | return NULL; | |
13420 | } | |
13421 | } | |
13422 | { | |
4268f798 | 13423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13424 | wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3); |
f6bcfd97 | 13425 | |
4268f798 | 13426 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13427 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13428 | } Py_INCREF(Py_None); |
13429 | _resultobj = Py_None; | |
13430 | { | |
13431 | if (_obj1) | |
13432 | delete _arg1; | |
13433 | } | |
13434 | return _resultobj; | |
13435 | } | |
13436 | ||
13437 | #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1)) | |
13438 | static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13439 | PyObject * _resultobj; | |
13440 | wxGridCellEditor * _result; | |
13441 | wxGrid * _arg0; | |
13442 | int _arg1; | |
13443 | int _arg2; | |
13444 | PyObject * _argo0 = 0; | |
13445 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
13446 | |
13447 | self = self; | |
13448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
13449 | return NULL; | |
13450 | if (_argo0) { | |
13451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p."); | |
13454 | return NULL; | |
13455 | } | |
13456 | } | |
13457 | { | |
4268f798 | 13458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13459 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 13460 | |
4268f798 | 13461 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13462 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 13463 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
13464 | return _resultobj; |
13465 | } | |
13466 | ||
13467 | #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1)) | |
13468 | static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13469 | PyObject * _resultobj; | |
13470 | wxGridCellRenderer * _result; | |
13471 | wxGrid * _arg0; | |
13472 | int _arg1; | |
13473 | int _arg2; | |
13474 | PyObject * _argo0 = 0; | |
13475 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
13476 | |
13477 | self = self; | |
13478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
13479 | return NULL; | |
13480 | if (_argo0) { | |
13481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p."); | |
13484 | return NULL; | |
13485 | } | |
13486 | } | |
13487 | { | |
4268f798 | 13488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13489 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 13490 | |
4268f798 | 13491 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13492 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 13493 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
13494 | return _resultobj; |
13495 | } | |
13496 | ||
13497 | #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0)) | |
13498 | static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13499 | PyObject * _resultobj; | |
13500 | wxGridCellEditor * _result; | |
13501 | wxGrid * _arg0; | |
13502 | wxString * _arg1; | |
13503 | PyObject * _argo0 = 0; | |
13504 | PyObject * _obj1 = 0; | |
13505 | char *_kwnames[] = { "self","typeName", NULL }; | |
f6bcfd97 BP |
13506 | |
13507 | self = self; | |
13508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1)) | |
13509 | return NULL; | |
13510 | if (_argo0) { | |
13511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p."); | |
13514 | return NULL; | |
13515 | } | |
13516 | } | |
13517 | { | |
c8bc7bb8 RD |
13518 | _arg1 = wxString_in_helper(_obj1); |
13519 | if (_arg1 == NULL) | |
185d7c3e | 13520 | return NULL; |
f6bcfd97 BP |
13521 | } |
13522 | { | |
4268f798 | 13523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13524 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1); |
f6bcfd97 | 13525 | |
4268f798 | 13526 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13527 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 13528 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
13529 | { |
13530 | if (_obj1) | |
13531 | delete _arg1; | |
13532 | } | |
13533 | return _resultobj; | |
13534 | } | |
13535 | ||
13536 | #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0)) | |
13537 | static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13538 | PyObject * _resultobj; | |
13539 | wxGridCellRenderer * _result; | |
13540 | wxGrid * _arg0; | |
13541 | wxString * _arg1; | |
13542 | PyObject * _argo0 = 0; | |
13543 | PyObject * _obj1 = 0; | |
13544 | char *_kwnames[] = { "self","typeName", NULL }; | |
f6bcfd97 BP |
13545 | |
13546 | self = self; | |
13547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1)) | |
13548 | return NULL; | |
13549 | if (_argo0) { | |
13550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p."); | |
13553 | return NULL; | |
13554 | } | |
13555 | } | |
13556 | { | |
c8bc7bb8 RD |
13557 | _arg1 = wxString_in_helper(_obj1); |
13558 | if (_arg1 == NULL) | |
f6bcfd97 | 13559 | return NULL; |
f6bcfd97 BP |
13560 | } |
13561 | { | |
4268f798 | 13562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13563 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1); |
f6bcfd97 | 13564 | |
4268f798 | 13565 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13566 | if (PyErr_Occurred()) return NULL; |
33ff77f6 | 13567 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
13568 | { |
13569 | if (_obj1) | |
13570 | delete _arg1; | |
13571 | } | |
13572 | return _resultobj; | |
13573 | } | |
13574 | ||
13575 | #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
13576 | static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13577 | PyObject * _resultobj; | |
13578 | wxGrid * _arg0; | |
13579 | int _arg1; | |
13580 | int _arg2; | |
13581 | PyObject * _argo0 = 0; | |
13582 | char *_kwnames[] = { "self","extraWidth","extraHeight", NULL }; | |
13583 | ||
13584 | self = self; | |
13585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
13586 | return NULL; | |
13587 | if (_argo0) { | |
13588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p."); | |
13591 | return NULL; | |
13592 | } | |
13593 | } | |
13594 | { | |
4268f798 | 13595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13596 | wxGrid_SetMargins(_arg0,_arg1,_arg2); |
f6bcfd97 | 13597 | |
4268f798 | 13598 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13599 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13600 | } Py_INCREF(Py_None); |
13601 | _resultobj = Py_None; | |
13602 | return _resultobj; | |
13603 | } | |
13604 | ||
9416aa89 RD |
13605 | #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow()) |
13606 | static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13607 | PyObject * _resultobj; | |
13608 | wxWindow * _result; | |
13609 | wxGrid * _arg0; | |
13610 | PyObject * _argo0 = 0; | |
13611 | char *_kwnames[] = { "self", NULL }; | |
13612 | ||
13613 | self = self; | |
13614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_kwnames,&_argo0)) | |
13615 | return NULL; | |
13616 | if (_argo0) { | |
13617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p."); | |
13620 | return NULL; | |
13621 | } | |
13622 | } | |
13623 | { | |
4268f798 | 13624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13625 | _result = (wxWindow *)wxGrid_GetGridWindow(_arg0); |
9416aa89 | 13626 | |
4268f798 | 13627 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13628 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
13629 | }{ _resultobj = wxPyMake_wxObject(_result); } |
13630 | return _resultobj; | |
13631 | } | |
13632 | ||
13633 | #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow()) | |
13634 | static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13635 | PyObject * _resultobj; | |
13636 | wxWindow * _result; | |
13637 | wxGrid * _arg0; | |
13638 | PyObject * _argo0 = 0; | |
13639 | char *_kwnames[] = { "self", NULL }; | |
13640 | ||
13641 | self = self; | |
13642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0)) | |
13643 | return NULL; | |
13644 | if (_argo0) { | |
13645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p."); | |
13648 | return NULL; | |
13649 | } | |
13650 | } | |
13651 | { | |
4268f798 | 13652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13653 | _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0); |
9416aa89 | 13654 | |
4268f798 | 13655 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13656 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
13657 | }{ _resultobj = wxPyMake_wxObject(_result); } |
13658 | return _resultobj; | |
13659 | } | |
13660 | ||
13661 | #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow()) | |
13662 | static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13663 | PyObject * _resultobj; | |
13664 | wxWindow * _result; | |
13665 | wxGrid * _arg0; | |
13666 | PyObject * _argo0 = 0; | |
13667 | char *_kwnames[] = { "self", NULL }; | |
13668 | ||
13669 | self = self; | |
13670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0)) | |
13671 | return NULL; | |
13672 | if (_argo0) { | |
13673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p."); | |
13676 | return NULL; | |
13677 | } | |
13678 | } | |
13679 | { | |
4268f798 | 13680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13681 | _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0); |
9416aa89 | 13682 | |
4268f798 | 13683 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13684 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
13685 | }{ _resultobj = wxPyMake_wxObject(_result); } |
13686 | return _resultobj; | |
13687 | } | |
13688 | ||
13689 | #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow()) | |
13690 | static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13691 | PyObject * _resultobj; | |
13692 | wxWindow * _result; | |
13693 | wxGrid * _arg0; | |
13694 | PyObject * _argo0 = 0; | |
13695 | char *_kwnames[] = { "self", NULL }; | |
13696 | ||
13697 | self = self; | |
13698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0)) | |
13699 | return NULL; | |
13700 | if (_argo0) { | |
13701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
13703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p."); | |
13704 | return NULL; | |
13705 | } | |
13706 | } | |
13707 | { | |
4268f798 | 13708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13709 | _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0); |
9416aa89 | 13710 | |
4268f798 | 13711 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13712 | if (PyErr_Occurred()) return NULL; |
9416aa89 RD |
13713 | }{ _resultobj = wxPyMake_wxObject(_result); } |
13714 | return _resultobj; | |
13715 | } | |
13716 | ||
f6bcfd97 BP |
13717 | static void *SwigwxGridEventTowxNotifyEvent(void *ptr) { |
13718 | wxGridEvent *src; | |
13719 | wxNotifyEvent *dest; | |
13720 | src = (wxGridEvent *) ptr; | |
13721 | dest = (wxNotifyEvent *) src; | |
13722 | return (void *) dest; | |
13723 | } | |
13724 | ||
13725 | static void *SwigwxGridEventTowxCommandEvent(void *ptr) { | |
13726 | wxGridEvent *src; | |
13727 | wxCommandEvent *dest; | |
13728 | src = (wxGridEvent *) ptr; | |
13729 | dest = (wxCommandEvent *) src; | |
13730 | return (void *) dest; | |
13731 | } | |
13732 | ||
13733 | static void *SwigwxGridEventTowxEvent(void *ptr) { | |
13734 | wxGridEvent *src; | |
13735 | wxEvent *dest; | |
13736 | src = (wxGridEvent *) ptr; | |
13737 | dest = (wxEvent *) src; | |
13738 | return (void *) dest; | |
13739 | } | |
13740 | ||
9416aa89 RD |
13741 | static void *SwigwxGridEventTowxObject(void *ptr) { |
13742 | wxGridEvent *src; | |
13743 | wxObject *dest; | |
13744 | src = (wxGridEvent *) ptr; | |
13745 | dest = (wxObject *) src; | |
13746 | return (void *) dest; | |
13747 | } | |
13748 | ||
f6bcfd97 BP |
13749 | #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)) |
13750 | static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13751 | PyObject * _resultobj; | |
13752 | wxGridEvent * _result; | |
13753 | int _arg0; | |
13754 | wxEventType _arg1; | |
13755 | wxGrid * _arg2; | |
13756 | int _arg3 = (int ) -1; | |
13757 | int _arg4 = (int ) -1; | |
13758 | int _arg5 = (int ) -1; | |
13759 | int _arg6 = (int ) -1; | |
13760 | bool _arg7 = (bool ) TRUE; | |
13761 | bool _arg8 = (bool ) FALSE; | |
13762 | bool _arg9 = (bool ) FALSE; | |
13763 | bool _arg10 = (bool ) FALSE; | |
13764 | bool _arg11 = (bool ) FALSE; | |
13765 | PyObject * _argo2 = 0; | |
13766 | int tempbool7 = (int) TRUE; | |
13767 | int tempbool8 = (int) FALSE; | |
13768 | int tempbool9 = (int) FALSE; | |
13769 | int tempbool10 = (int) FALSE; | |
13770 | int tempbool11 = (int) FALSE; | |
13771 | char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL }; | |
13772 | char _ptemp[128]; | |
13773 | ||
13774 | self = self; | |
13775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11)) | |
13776 | return NULL; | |
13777 | if (_argo2) { | |
13778 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13779 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
13780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p."); | |
13781 | return NULL; | |
13782 | } | |
13783 | } | |
13784 | _arg7 = (bool ) tempbool7; | |
13785 | _arg8 = (bool ) tempbool8; | |
13786 | _arg9 = (bool ) tempbool9; | |
13787 | _arg10 = (bool ) tempbool10; | |
13788 | _arg11 = (bool ) tempbool11; | |
13789 | { | |
4268f798 | 13790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13791 | _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11); |
f6bcfd97 | 13792 | |
4268f798 | 13793 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13794 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13795 | } if (_result) { |
13796 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p"); | |
13797 | _resultobj = Py_BuildValue("s",_ptemp); | |
13798 | } else { | |
13799 | Py_INCREF(Py_None); | |
13800 | _resultobj = Py_None; | |
13801 | } | |
13802 | return _resultobj; | |
13803 | } | |
13804 | ||
13805 | #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow()) | |
13806 | static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13807 | PyObject * _resultobj; | |
13808 | int _result; | |
13809 | wxGridEvent * _arg0; | |
13810 | PyObject * _argo0 = 0; | |
13811 | char *_kwnames[] = { "self", NULL }; | |
13812 | ||
13813 | self = self; | |
13814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0)) | |
13815 | return NULL; | |
13816 | if (_argo0) { | |
13817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p."); | |
13820 | return NULL; | |
13821 | } | |
13822 | } | |
13823 | { | |
4268f798 | 13824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13825 | _result = (int )wxGridEvent_GetRow(_arg0); |
f6bcfd97 | 13826 | |
4268f798 | 13827 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13828 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13829 | } _resultobj = Py_BuildValue("i",_result); |
13830 | return _resultobj; | |
13831 | } | |
13832 | ||
13833 | #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
13834 | static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13835 | PyObject * _resultobj; | |
13836 | int _result; | |
13837 | wxGridEvent * _arg0; | |
13838 | PyObject * _argo0 = 0; | |
13839 | char *_kwnames[] = { "self", NULL }; | |
13840 | ||
13841 | self = self; | |
13842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0)) | |
13843 | return NULL; | |
13844 | if (_argo0) { | |
13845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p."); | |
13848 | return NULL; | |
13849 | } | |
13850 | } | |
13851 | { | |
4268f798 | 13852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13853 | _result = (int )wxGridEvent_GetCol(_arg0); |
f6bcfd97 | 13854 | |
4268f798 | 13855 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13856 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13857 | } _resultobj = Py_BuildValue("i",_result); |
13858 | return _resultobj; | |
13859 | } | |
13860 | ||
13861 | #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
13862 | static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13863 | PyObject * _resultobj; | |
13864 | wxPoint * _result; | |
13865 | wxGridEvent * _arg0; | |
13866 | PyObject * _argo0 = 0; | |
13867 | char *_kwnames[] = { "self", NULL }; | |
13868 | char _ptemp[128]; | |
13869 | ||
13870 | self = self; | |
13871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0)) | |
13872 | return NULL; | |
13873 | if (_argo0) { | |
13874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p."); | |
13877 | return NULL; | |
13878 | } | |
13879 | } | |
13880 | { | |
4268f798 | 13881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13882 | _result = new wxPoint (wxGridEvent_GetPosition(_arg0)); |
f6bcfd97 | 13883 | |
4268f798 | 13884 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13885 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13886 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
13887 | _resultobj = Py_BuildValue("s",_ptemp); | |
13888 | return _resultobj; | |
13889 | } | |
13890 | ||
13891 | #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting()) | |
13892 | static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13893 | PyObject * _resultobj; | |
13894 | bool _result; | |
13895 | wxGridEvent * _arg0; | |
13896 | PyObject * _argo0 = 0; | |
13897 | char *_kwnames[] = { "self", NULL }; | |
13898 | ||
13899 | self = self; | |
13900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0)) | |
13901 | return NULL; | |
13902 | if (_argo0) { | |
13903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p."); | |
13906 | return NULL; | |
13907 | } | |
13908 | } | |
13909 | { | |
4268f798 | 13910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13911 | _result = (bool )wxGridEvent_Selecting(_arg0); |
f6bcfd97 | 13912 | |
4268f798 | 13913 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13914 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13915 | } _resultobj = Py_BuildValue("i",_result); |
13916 | return _resultobj; | |
13917 | } | |
13918 | ||
13919 | #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
13920 | static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13921 | PyObject * _resultobj; | |
13922 | bool _result; | |
13923 | wxGridEvent * _arg0; | |
13924 | PyObject * _argo0 = 0; | |
13925 | char *_kwnames[] = { "self", NULL }; | |
13926 | ||
13927 | self = self; | |
13928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0)) | |
13929 | return NULL; | |
13930 | if (_argo0) { | |
13931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p."); | |
13934 | return NULL; | |
13935 | } | |
13936 | } | |
13937 | { | |
4268f798 | 13938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13939 | _result = (bool )wxGridEvent_ControlDown(_arg0); |
f6bcfd97 | 13940 | |
4268f798 | 13941 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13942 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13943 | } _resultobj = Py_BuildValue("i",_result); |
13944 | return _resultobj; | |
13945 | } | |
13946 | ||
13947 | #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
13948 | static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13949 | PyObject * _resultobj; | |
13950 | bool _result; | |
13951 | wxGridEvent * _arg0; | |
13952 | PyObject * _argo0 = 0; | |
13953 | char *_kwnames[] = { "self", NULL }; | |
13954 | ||
13955 | self = self; | |
13956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0)) | |
13957 | return NULL; | |
13958 | if (_argo0) { | |
13959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p."); | |
13962 | return NULL; | |
13963 | } | |
13964 | } | |
13965 | { | |
4268f798 | 13966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13967 | _result = (bool )wxGridEvent_MetaDown(_arg0); |
f6bcfd97 | 13968 | |
4268f798 | 13969 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13970 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13971 | } _resultobj = Py_BuildValue("i",_result); |
13972 | return _resultobj; | |
13973 | } | |
13974 | ||
13975 | #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
13976 | static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13977 | PyObject * _resultobj; | |
13978 | bool _result; | |
13979 | wxGridEvent * _arg0; | |
13980 | PyObject * _argo0 = 0; | |
13981 | char *_kwnames[] = { "self", NULL }; | |
13982 | ||
13983 | self = self; | |
13984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0)) | |
13985 | return NULL; | |
13986 | if (_argo0) { | |
13987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p."); | |
13990 | return NULL; | |
13991 | } | |
13992 | } | |
13993 | { | |
4268f798 | 13994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13995 | _result = (bool )wxGridEvent_ShiftDown(_arg0); |
f6bcfd97 | 13996 | |
4268f798 | 13997 | wxPyEndAllowThreads(__tstate); |
493f1553 | 13998 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13999 | } _resultobj = Py_BuildValue("i",_result); |
14000 | return _resultobj; | |
14001 | } | |
14002 | ||
14003 | #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
14004 | static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14005 | PyObject * _resultobj; | |
14006 | bool _result; | |
14007 | wxGridEvent * _arg0; | |
14008 | PyObject * _argo0 = 0; | |
14009 | char *_kwnames[] = { "self", NULL }; | |
14010 | ||
14011 | self = self; | |
14012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0)) | |
14013 | return NULL; | |
14014 | if (_argo0) { | |
14015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
14017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p."); | |
14018 | return NULL; | |
14019 | } | |
14020 | } | |
14021 | { | |
4268f798 | 14022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14023 | _result = (bool )wxGridEvent_AltDown(_arg0); |
f6bcfd97 | 14024 | |
4268f798 | 14025 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14026 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14027 | } _resultobj = Py_BuildValue("i",_result); |
14028 | return _resultobj; | |
14029 | } | |
14030 | ||
14031 | static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) { | |
14032 | wxGridSizeEvent *src; | |
14033 | wxNotifyEvent *dest; | |
14034 | src = (wxGridSizeEvent *) ptr; | |
14035 | dest = (wxNotifyEvent *) src; | |
14036 | return (void *) dest; | |
14037 | } | |
14038 | ||
14039 | static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) { | |
14040 | wxGridSizeEvent *src; | |
14041 | wxCommandEvent *dest; | |
14042 | src = (wxGridSizeEvent *) ptr; | |
14043 | dest = (wxCommandEvent *) src; | |
14044 | return (void *) dest; | |
14045 | } | |
14046 | ||
14047 | static void *SwigwxGridSizeEventTowxEvent(void *ptr) { | |
14048 | wxGridSizeEvent *src; | |
14049 | wxEvent *dest; | |
14050 | src = (wxGridSizeEvent *) ptr; | |
14051 | dest = (wxEvent *) src; | |
14052 | return (void *) dest; | |
14053 | } | |
14054 | ||
9416aa89 RD |
14055 | static void *SwigwxGridSizeEventTowxObject(void *ptr) { |
14056 | wxGridSizeEvent *src; | |
14057 | wxObject *dest; | |
14058 | src = (wxGridSizeEvent *) ptr; | |
14059 | dest = (wxObject *) src; | |
14060 | return (void *) dest; | |
14061 | } | |
14062 | ||
f6bcfd97 BP |
14063 | #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)) |
14064 | static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14065 | PyObject * _resultobj; | |
14066 | wxGridSizeEvent * _result; | |
14067 | int _arg0; | |
14068 | wxEventType _arg1; | |
14069 | wxGrid * _arg2; | |
14070 | int _arg3 = (int ) -1; | |
14071 | int _arg4 = (int ) -1; | |
14072 | int _arg5 = (int ) -1; | |
14073 | bool _arg6 = (bool ) FALSE; | |
14074 | bool _arg7 = (bool ) FALSE; | |
14075 | bool _arg8 = (bool ) FALSE; | |
14076 | bool _arg9 = (bool ) FALSE; | |
14077 | PyObject * _argo2 = 0; | |
14078 | int tempbool6 = (int) FALSE; | |
14079 | int tempbool7 = (int) FALSE; | |
14080 | int tempbool8 = (int) FALSE; | |
14081 | int tempbool9 = (int) FALSE; | |
14082 | char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL }; | |
14083 | char _ptemp[128]; | |
14084 | ||
14085 | self = self; | |
14086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9)) | |
14087 | return NULL; | |
14088 | if (_argo2) { | |
14089 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
14090 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
14091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p."); | |
14092 | return NULL; | |
14093 | } | |
14094 | } | |
14095 | _arg6 = (bool ) tempbool6; | |
14096 | _arg7 = (bool ) tempbool7; | |
14097 | _arg8 = (bool ) tempbool8; | |
14098 | _arg9 = (bool ) tempbool9; | |
14099 | { | |
4268f798 | 14100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14101 | _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); |
f6bcfd97 | 14102 | |
4268f798 | 14103 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14104 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14105 | } if (_result) { |
14106 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p"); | |
14107 | _resultobj = Py_BuildValue("s",_ptemp); | |
14108 | } else { | |
14109 | Py_INCREF(Py_None); | |
14110 | _resultobj = Py_None; | |
14111 | } | |
14112 | return _resultobj; | |
14113 | } | |
14114 | ||
14115 | #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol()) | |
14116 | static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14117 | PyObject * _resultobj; | |
14118 | int _result; | |
14119 | wxGridSizeEvent * _arg0; | |
14120 | PyObject * _argo0 = 0; | |
14121 | char *_kwnames[] = { "self", NULL }; | |
14122 | ||
14123 | self = self; | |
14124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0)) | |
14125 | return NULL; | |
14126 | if (_argo0) { | |
14127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
14129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p."); | |
14130 | return NULL; | |
14131 | } | |
14132 | } | |
14133 | { | |
4268f798 | 14134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14135 | _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0); |
f6bcfd97 | 14136 | |
4268f798 | 14137 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14138 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14139 | } _resultobj = Py_BuildValue("i",_result); |
14140 | return _resultobj; | |
14141 | } | |
14142 | ||
14143 | #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
14144 | static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14145 | PyObject * _resultobj; | |
14146 | wxPoint * _result; | |
14147 | wxGridSizeEvent * _arg0; | |
14148 | PyObject * _argo0 = 0; | |
14149 | char *_kwnames[] = { "self", NULL }; | |
14150 | char _ptemp[128]; | |
14151 | ||
14152 | self = self; | |
14153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0)) | |
14154 | return NULL; | |
14155 | if (_argo0) { | |
14156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
14158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p."); | |
14159 | return NULL; | |
14160 | } | |
14161 | } | |
14162 | { | |
4268f798 | 14163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14164 | _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0)); |
f6bcfd97 | 14165 | |
4268f798 | 14166 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14167 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14168 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
14169 | _resultobj = Py_BuildValue("s",_ptemp); | |
14170 | return _resultobj; | |
14171 | } | |
14172 | ||
14173 | #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
14174 | static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14175 | PyObject * _resultobj; | |
14176 | bool _result; | |
14177 | wxGridSizeEvent * _arg0; | |
14178 | PyObject * _argo0 = 0; | |
14179 | char *_kwnames[] = { "self", NULL }; | |
14180 | ||
14181 | self = self; | |
14182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0)) | |
14183 | return NULL; | |
14184 | if (_argo0) { | |
14185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
14187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p."); | |
14188 | return NULL; | |
14189 | } | |
14190 | } | |
14191 | { | |
4268f798 | 14192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14193 | _result = (bool )wxGridSizeEvent_ControlDown(_arg0); |
f6bcfd97 | 14194 | |
4268f798 | 14195 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14196 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14197 | } _resultobj = Py_BuildValue("i",_result); |
14198 | return _resultobj; | |
14199 | } | |
14200 | ||
14201 | #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
14202 | static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14203 | PyObject * _resultobj; | |
14204 | bool _result; | |
14205 | wxGridSizeEvent * _arg0; | |
14206 | PyObject * _argo0 = 0; | |
14207 | char *_kwnames[] = { "self", NULL }; | |
14208 | ||
14209 | self = self; | |
14210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0)) | |
14211 | return NULL; | |
14212 | if (_argo0) { | |
14213 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14214 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
14215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p."); | |
14216 | return NULL; | |
14217 | } | |
14218 | } | |
14219 | { | |
4268f798 | 14220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14221 | _result = (bool )wxGridSizeEvent_MetaDown(_arg0); |
f6bcfd97 | 14222 | |
4268f798 | 14223 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14224 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14225 | } _resultobj = Py_BuildValue("i",_result); |
14226 | return _resultobj; | |
14227 | } | |
14228 | ||
14229 | #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
14230 | static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14231 | PyObject * _resultobj; | |
14232 | bool _result; | |
14233 | wxGridSizeEvent * _arg0; | |
14234 | PyObject * _argo0 = 0; | |
14235 | char *_kwnames[] = { "self", NULL }; | |
14236 | ||
14237 | self = self; | |
14238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0)) | |
14239 | return NULL; | |
14240 | if (_argo0) { | |
14241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
14243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p."); | |
14244 | return NULL; | |
14245 | } | |
14246 | } | |
14247 | { | |
4268f798 | 14248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14249 | _result = (bool )wxGridSizeEvent_ShiftDown(_arg0); |
f6bcfd97 | 14250 | |
4268f798 | 14251 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14252 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14253 | } _resultobj = Py_BuildValue("i",_result); |
14254 | return _resultobj; | |
14255 | } | |
14256 | ||
14257 | #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
14258 | static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14259 | PyObject * _resultobj; | |
14260 | bool _result; | |
14261 | wxGridSizeEvent * _arg0; | |
14262 | PyObject * _argo0 = 0; | |
14263 | char *_kwnames[] = { "self", NULL }; | |
14264 | ||
14265 | self = self; | |
14266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0)) | |
14267 | return NULL; | |
14268 | if (_argo0) { | |
14269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
14271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p."); | |
14272 | return NULL; | |
14273 | } | |
14274 | } | |
14275 | { | |
4268f798 | 14276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14277 | _result = (bool )wxGridSizeEvent_AltDown(_arg0); |
f6bcfd97 | 14278 | |
4268f798 | 14279 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14280 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14281 | } _resultobj = Py_BuildValue("i",_result); |
14282 | return _resultobj; | |
14283 | } | |
14284 | ||
14285 | static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) { | |
14286 | wxGridRangeSelectEvent *src; | |
14287 | wxNotifyEvent *dest; | |
14288 | src = (wxGridRangeSelectEvent *) ptr; | |
14289 | dest = (wxNotifyEvent *) src; | |
14290 | return (void *) dest; | |
14291 | } | |
14292 | ||
14293 | static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) { | |
14294 | wxGridRangeSelectEvent *src; | |
14295 | wxCommandEvent *dest; | |
14296 | src = (wxGridRangeSelectEvent *) ptr; | |
14297 | dest = (wxCommandEvent *) src; | |
14298 | return (void *) dest; | |
14299 | } | |
14300 | ||
14301 | static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) { | |
14302 | wxGridRangeSelectEvent *src; | |
14303 | wxEvent *dest; | |
14304 | src = (wxGridRangeSelectEvent *) ptr; | |
14305 | dest = (wxEvent *) src; | |
14306 | return (void *) dest; | |
14307 | } | |
14308 | ||
9416aa89 RD |
14309 | static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) { |
14310 | wxGridRangeSelectEvent *src; | |
14311 | wxObject *dest; | |
14312 | src = (wxGridRangeSelectEvent *) ptr; | |
14313 | dest = (wxObject *) src; | |
14314 | return (void *) dest; | |
14315 | } | |
14316 | ||
f6bcfd97 BP |
14317 | #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)) |
14318 | static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14319 | PyObject * _resultobj; | |
14320 | wxGridRangeSelectEvent * _result; | |
14321 | int _arg0; | |
14322 | wxEventType _arg1; | |
14323 | wxGrid * _arg2; | |
14324 | wxGridCellCoords * _arg3; | |
14325 | wxGridCellCoords * _arg4; | |
14326 | bool _arg5 = (bool ) TRUE; | |
14327 | bool _arg6 = (bool ) FALSE; | |
14328 | bool _arg7 = (bool ) FALSE; | |
14329 | bool _arg8 = (bool ) FALSE; | |
14330 | bool _arg9 = (bool ) FALSE; | |
14331 | PyObject * _argo2 = 0; | |
14332 | wxGridCellCoords temp; | |
14333 | PyObject * _obj3 = 0; | |
14334 | wxGridCellCoords temp0; | |
14335 | PyObject * _obj4 = 0; | |
14336 | int tempbool5 = (int) TRUE; | |
14337 | int tempbool6 = (int) FALSE; | |
14338 | int tempbool7 = (int) FALSE; | |
14339 | int tempbool8 = (int) FALSE; | |
14340 | int tempbool9 = (int) FALSE; | |
14341 | char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL }; | |
14342 | char _ptemp[128]; | |
14343 | ||
14344 | self = self; | |
14345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9)) | |
14346 | return NULL; | |
14347 | if (_argo2) { | |
14348 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
14349 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
14350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p."); | |
14351 | return NULL; | |
14352 | } | |
14353 | } | |
14354 | { | |
14355 | _arg3 = &temp; | |
14356 | if (! wxGridCellCoords_helper(_obj3, &_arg3)) | |
14357 | return NULL; | |
14358 | } | |
14359 | { | |
14360 | _arg4 = &temp0; | |
14361 | if (! wxGridCellCoords_helper(_obj4, &_arg4)) | |
14362 | return NULL; | |
14363 | } | |
14364 | _arg5 = (bool ) tempbool5; | |
14365 | _arg6 = (bool ) tempbool6; | |
14366 | _arg7 = (bool ) tempbool7; | |
14367 | _arg8 = (bool ) tempbool8; | |
14368 | _arg9 = (bool ) tempbool9; | |
14369 | { | |
4268f798 | 14370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14371 | _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); |
f6bcfd97 | 14372 | |
4268f798 | 14373 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14374 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14375 | } if (_result) { |
14376 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p"); | |
14377 | _resultobj = Py_BuildValue("s",_ptemp); | |
14378 | } else { | |
14379 | Py_INCREF(Py_None); | |
14380 | _resultobj = Py_None; | |
14381 | } | |
14382 | return _resultobj; | |
14383 | } | |
14384 | ||
14385 | #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords()) | |
14386 | static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14387 | PyObject * _resultobj; | |
14388 | wxGridCellCoords * _result; | |
14389 | wxGridRangeSelectEvent * _arg0; | |
14390 | PyObject * _argo0 = 0; | |
14391 | char *_kwnames[] = { "self", NULL }; | |
14392 | char _ptemp[128]; | |
14393 | ||
14394 | self = self; | |
14395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0)) | |
14396 | return NULL; | |
14397 | if (_argo0) { | |
14398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p."); | |
14401 | return NULL; | |
14402 | } | |
14403 | } | |
14404 | { | |
4268f798 | 14405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14406 | _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0)); |
f6bcfd97 | 14407 | |
4268f798 | 14408 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14409 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14410 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p"); |
14411 | _resultobj = Py_BuildValue("s",_ptemp); | |
14412 | return _resultobj; | |
14413 | } | |
14414 | ||
14415 | #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords()) | |
14416 | static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14417 | PyObject * _resultobj; | |
14418 | wxGridCellCoords * _result; | |
14419 | wxGridRangeSelectEvent * _arg0; | |
14420 | PyObject * _argo0 = 0; | |
14421 | char *_kwnames[] = { "self", NULL }; | |
14422 | char _ptemp[128]; | |
14423 | ||
14424 | self = self; | |
14425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0)) | |
14426 | return NULL; | |
14427 | if (_argo0) { | |
14428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p."); | |
14431 | return NULL; | |
14432 | } | |
14433 | } | |
14434 | { | |
4268f798 | 14435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14436 | _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0)); |
f6bcfd97 | 14437 | |
4268f798 | 14438 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14439 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14440 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p"); |
14441 | _resultobj = Py_BuildValue("s",_ptemp); | |
14442 | return _resultobj; | |
14443 | } | |
14444 | ||
14445 | #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow()) | |
14446 | static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14447 | PyObject * _resultobj; | |
14448 | int _result; | |
14449 | wxGridRangeSelectEvent * _arg0; | |
14450 | PyObject * _argo0 = 0; | |
14451 | char *_kwnames[] = { "self", NULL }; | |
14452 | ||
14453 | self = self; | |
14454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0)) | |
14455 | return NULL; | |
14456 | if (_argo0) { | |
14457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p."); | |
14460 | return NULL; | |
14461 | } | |
14462 | } | |
14463 | { | |
4268f798 | 14464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14465 | _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0); |
f6bcfd97 | 14466 | |
4268f798 | 14467 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14468 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14469 | } _resultobj = Py_BuildValue("i",_result); |
14470 | return _resultobj; | |
14471 | } | |
14472 | ||
14473 | #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow()) | |
14474 | static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14475 | PyObject * _resultobj; | |
14476 | int _result; | |
14477 | wxGridRangeSelectEvent * _arg0; | |
14478 | PyObject * _argo0 = 0; | |
14479 | char *_kwnames[] = { "self", NULL }; | |
14480 | ||
14481 | self = self; | |
14482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0)) | |
14483 | return NULL; | |
14484 | if (_argo0) { | |
14485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p."); | |
14488 | return NULL; | |
14489 | } | |
14490 | } | |
14491 | { | |
4268f798 | 14492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14493 | _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0); |
f6bcfd97 | 14494 | |
4268f798 | 14495 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14496 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14497 | } _resultobj = Py_BuildValue("i",_result); |
14498 | return _resultobj; | |
14499 | } | |
14500 | ||
14501 | #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol()) | |
14502 | static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14503 | PyObject * _resultobj; | |
14504 | int _result; | |
14505 | wxGridRangeSelectEvent * _arg0; | |
14506 | PyObject * _argo0 = 0; | |
14507 | char *_kwnames[] = { "self", NULL }; | |
14508 | ||
14509 | self = self; | |
14510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0)) | |
14511 | return NULL; | |
14512 | if (_argo0) { | |
14513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p."); | |
14516 | return NULL; | |
14517 | } | |
14518 | } | |
14519 | { | |
4268f798 | 14520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14521 | _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0); |
f6bcfd97 | 14522 | |
4268f798 | 14523 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14524 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14525 | } _resultobj = Py_BuildValue("i",_result); |
14526 | return _resultobj; | |
14527 | } | |
14528 | ||
14529 | #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol()) | |
14530 | static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14531 | PyObject * _resultobj; | |
14532 | int _result; | |
14533 | wxGridRangeSelectEvent * _arg0; | |
14534 | PyObject * _argo0 = 0; | |
14535 | char *_kwnames[] = { "self", NULL }; | |
14536 | ||
14537 | self = self; | |
14538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0)) | |
14539 | return NULL; | |
14540 | if (_argo0) { | |
14541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p."); | |
14544 | return NULL; | |
14545 | } | |
14546 | } | |
14547 | { | |
4268f798 | 14548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14549 | _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0); |
f6bcfd97 | 14550 | |
4268f798 | 14551 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14552 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14553 | } _resultobj = Py_BuildValue("i",_result); |
14554 | return _resultobj; | |
14555 | } | |
14556 | ||
14557 | #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting()) | |
14558 | static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14559 | PyObject * _resultobj; | |
14560 | bool _result; | |
14561 | wxGridRangeSelectEvent * _arg0; | |
14562 | PyObject * _argo0 = 0; | |
14563 | char *_kwnames[] = { "self", NULL }; | |
14564 | ||
14565 | self = self; | |
14566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0)) | |
14567 | return NULL; | |
14568 | if (_argo0) { | |
14569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p."); | |
14572 | return NULL; | |
14573 | } | |
14574 | } | |
14575 | { | |
4268f798 | 14576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14577 | _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0); |
f6bcfd97 | 14578 | |
4268f798 | 14579 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14580 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14581 | } _resultobj = Py_BuildValue("i",_result); |
14582 | return _resultobj; | |
14583 | } | |
14584 | ||
14585 | #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
14586 | static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14587 | PyObject * _resultobj; | |
14588 | bool _result; | |
14589 | wxGridRangeSelectEvent * _arg0; | |
14590 | PyObject * _argo0 = 0; | |
14591 | char *_kwnames[] = { "self", NULL }; | |
14592 | ||
14593 | self = self; | |
14594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0)) | |
14595 | return NULL; | |
14596 | if (_argo0) { | |
14597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p."); | |
14600 | return NULL; | |
14601 | } | |
14602 | } | |
14603 | { | |
4268f798 | 14604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14605 | _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0); |
f6bcfd97 | 14606 | |
4268f798 | 14607 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14608 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14609 | } _resultobj = Py_BuildValue("i",_result); |
14610 | return _resultobj; | |
14611 | } | |
14612 | ||
14613 | #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
14614 | static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14615 | PyObject * _resultobj; | |
14616 | bool _result; | |
14617 | wxGridRangeSelectEvent * _arg0; | |
14618 | PyObject * _argo0 = 0; | |
14619 | char *_kwnames[] = { "self", NULL }; | |
14620 | ||
14621 | self = self; | |
14622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0)) | |
14623 | return NULL; | |
14624 | if (_argo0) { | |
14625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p."); | |
14628 | return NULL; | |
14629 | } | |
14630 | } | |
14631 | { | |
4268f798 | 14632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14633 | _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0); |
f6bcfd97 | 14634 | |
4268f798 | 14635 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14636 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14637 | } _resultobj = Py_BuildValue("i",_result); |
14638 | return _resultobj; | |
14639 | } | |
14640 | ||
14641 | #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
14642 | static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14643 | PyObject * _resultobj; | |
14644 | bool _result; | |
14645 | wxGridRangeSelectEvent * _arg0; | |
14646 | PyObject * _argo0 = 0; | |
14647 | char *_kwnames[] = { "self", NULL }; | |
14648 | ||
14649 | self = self; | |
14650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0)) | |
14651 | return NULL; | |
14652 | if (_argo0) { | |
14653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p."); | |
14656 | return NULL; | |
14657 | } | |
14658 | } | |
14659 | { | |
4268f798 | 14660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14661 | _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0); |
f6bcfd97 | 14662 | |
4268f798 | 14663 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14664 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14665 | } _resultobj = Py_BuildValue("i",_result); |
14666 | return _resultobj; | |
14667 | } | |
14668 | ||
14669 | #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
14670 | static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14671 | PyObject * _resultobj; | |
14672 | bool _result; | |
14673 | wxGridRangeSelectEvent * _arg0; | |
14674 | PyObject * _argo0 = 0; | |
14675 | char *_kwnames[] = { "self", NULL }; | |
14676 | ||
14677 | self = self; | |
14678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0)) | |
14679 | return NULL; | |
14680 | if (_argo0) { | |
14681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
14683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p."); | |
14684 | return NULL; | |
14685 | } | |
14686 | } | |
14687 | { | |
4268f798 | 14688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14689 | _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0); |
f6bcfd97 | 14690 | |
4268f798 | 14691 | wxPyEndAllowThreads(__tstate); |
493f1553 | 14692 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
14693 | } _resultobj = Py_BuildValue("i",_result); |
14694 | return _resultobj; | |
14695 | } | |
14696 | ||
bf7945ce RD |
14697 | static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) { |
14698 | wxGridEditorCreatedEvent *src; | |
14699 | wxCommandEvent *dest; | |
14700 | src = (wxGridEditorCreatedEvent *) ptr; | |
14701 | dest = (wxCommandEvent *) src; | |
14702 | return (void *) dest; | |
14703 | } | |
14704 | ||
14705 | static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) { | |
14706 | wxGridEditorCreatedEvent *src; | |
14707 | wxEvent *dest; | |
14708 | src = (wxGridEditorCreatedEvent *) ptr; | |
14709 | dest = (wxEvent *) src; | |
14710 | return (void *) dest; | |
14711 | } | |
14712 | ||
14713 | static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) { | |
14714 | wxGridEditorCreatedEvent *src; | |
14715 | wxObject *dest; | |
14716 | src = (wxGridEditorCreatedEvent *) ptr; | |
14717 | dest = (wxObject *) src; | |
14718 | return (void *) dest; | |
14719 | } | |
14720 | ||
14721 | #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
14722 | static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14723 | PyObject * _resultobj; | |
14724 | wxGridEditorCreatedEvent * _result; | |
14725 | int _arg0; | |
14726 | wxEventType _arg1; | |
14727 | wxObject * _arg2; | |
14728 | int _arg3; | |
14729 | int _arg4; | |
14730 | wxControl * _arg5; | |
14731 | PyObject * _argo2 = 0; | |
14732 | PyObject * _argo5 = 0; | |
14733 | char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL }; | |
14734 | char _ptemp[128]; | |
14735 | ||
14736 | self = self; | |
14737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5)) | |
14738 | return NULL; | |
14739 | if (_argo2) { | |
14740 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
14741 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) { | |
14742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p."); | |
14743 | return NULL; | |
14744 | } | |
14745 | } | |
14746 | if (_argo5) { | |
14747 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
14748 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) { | |
14749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p."); | |
14750 | return NULL; | |
14751 | } | |
14752 | } | |
14753 | { | |
4268f798 | 14754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14755 | _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
bf7945ce | 14756 | |
4268f798 | 14757 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
14758 | if (PyErr_Occurred()) return NULL; |
14759 | } if (_result) { | |
14760 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p"); | |
14761 | _resultobj = Py_BuildValue("s",_ptemp); | |
14762 | } else { | |
14763 | Py_INCREF(Py_None); | |
14764 | _resultobj = Py_None; | |
14765 | } | |
14766 | return _resultobj; | |
14767 | } | |
14768 | ||
14769 | #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow()) | |
14770 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14771 | PyObject * _resultobj; | |
14772 | int _result; | |
14773 | wxGridEditorCreatedEvent * _arg0; | |
14774 | PyObject * _argo0 = 0; | |
14775 | char *_kwnames[] = { "self", NULL }; | |
14776 | ||
14777 | self = self; | |
14778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0)) | |
14779 | return NULL; | |
14780 | if (_argo0) { | |
14781 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14782 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p."); | |
14784 | return NULL; | |
14785 | } | |
14786 | } | |
14787 | { | |
4268f798 | 14788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14789 | _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0); |
bf7945ce | 14790 | |
4268f798 | 14791 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
14792 | if (PyErr_Occurred()) return NULL; |
14793 | } _resultobj = Py_BuildValue("i",_result); | |
14794 | return _resultobj; | |
14795 | } | |
14796 | ||
14797 | #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
14798 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14799 | PyObject * _resultobj; | |
14800 | int _result; | |
14801 | wxGridEditorCreatedEvent * _arg0; | |
14802 | PyObject * _argo0 = 0; | |
14803 | char *_kwnames[] = { "self", NULL }; | |
14804 | ||
14805 | self = self; | |
14806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0)) | |
14807 | return NULL; | |
14808 | if (_argo0) { | |
14809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p."); | |
14812 | return NULL; | |
14813 | } | |
14814 | } | |
14815 | { | |
4268f798 | 14816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14817 | _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0); |
bf7945ce | 14818 | |
4268f798 | 14819 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
14820 | if (PyErr_Occurred()) return NULL; |
14821 | } _resultobj = Py_BuildValue("i",_result); | |
14822 | return _resultobj; | |
14823 | } | |
14824 | ||
14825 | #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
14826 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14827 | PyObject * _resultobj; | |
14828 | wxControl * _result; | |
14829 | wxGridEditorCreatedEvent * _arg0; | |
14830 | PyObject * _argo0 = 0; | |
14831 | char *_kwnames[] = { "self", NULL }; | |
14832 | ||
14833 | self = self; | |
14834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0)) | |
14835 | return NULL; | |
14836 | if (_argo0) { | |
14837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p."); | |
14840 | return NULL; | |
14841 | } | |
14842 | } | |
14843 | { | |
4268f798 | 14844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14845 | _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0); |
bf7945ce | 14846 | |
4268f798 | 14847 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
14848 | if (PyErr_Occurred()) return NULL; |
14849 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
14850 | return _resultobj; | |
14851 | } | |
14852 | ||
14853 | #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0)) | |
14854 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14855 | PyObject * _resultobj; | |
14856 | wxGridEditorCreatedEvent * _arg0; | |
14857 | int _arg1; | |
14858 | PyObject * _argo0 = 0; | |
14859 | char *_kwnames[] = { "self","row", NULL }; | |
14860 | ||
14861 | self = self; | |
14862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1)) | |
14863 | return NULL; | |
14864 | if (_argo0) { | |
14865 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14866 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p."); | |
14868 | return NULL; | |
14869 | } | |
14870 | } | |
14871 | { | |
4268f798 | 14872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14873 | wxGridEditorCreatedEvent_SetRow(_arg0,_arg1); |
bf7945ce | 14874 | |
4268f798 | 14875 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
14876 | if (PyErr_Occurred()) return NULL; |
14877 | } Py_INCREF(Py_None); | |
14878 | _resultobj = Py_None; | |
14879 | return _resultobj; | |
14880 | } | |
14881 | ||
14882 | #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0)) | |
14883 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14884 | PyObject * _resultobj; | |
14885 | wxGridEditorCreatedEvent * _arg0; | |
14886 | int _arg1; | |
14887 | PyObject * _argo0 = 0; | |
14888 | char *_kwnames[] = { "self","col", NULL }; | |
14889 | ||
14890 | self = self; | |
14891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1)) | |
14892 | return NULL; | |
14893 | if (_argo0) { | |
14894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p."); | |
14897 | return NULL; | |
14898 | } | |
14899 | } | |
14900 | { | |
4268f798 | 14901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14902 | wxGridEditorCreatedEvent_SetCol(_arg0,_arg1); |
bf7945ce | 14903 | |
4268f798 | 14904 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
14905 | if (PyErr_Occurred()) return NULL; |
14906 | } Py_INCREF(Py_None); | |
14907 | _resultobj = Py_None; | |
14908 | return _resultobj; | |
14909 | } | |
14910 | ||
14911 | #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0)) | |
14912 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14913 | PyObject * _resultobj; | |
14914 | wxGridEditorCreatedEvent * _arg0; | |
14915 | wxControl * _arg1; | |
14916 | PyObject * _argo0 = 0; | |
14917 | PyObject * _argo1 = 0; | |
14918 | char *_kwnames[] = { "self","ctrl", NULL }; | |
14919 | ||
14920 | self = self; | |
14921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1)) | |
14922 | return NULL; | |
14923 | if (_argo0) { | |
14924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p."); | |
14927 | return NULL; | |
14928 | } | |
14929 | } | |
14930 | if (_argo1) { | |
14931 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
14932 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
14933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p."); | |
14934 | return NULL; | |
14935 | } | |
14936 | } | |
14937 | { | |
4268f798 | 14938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14939 | wxGridEditorCreatedEvent_SetControl(_arg0,_arg1); |
bf7945ce | 14940 | |
4268f798 | 14941 | wxPyEndAllowThreads(__tstate); |
bf7945ce RD |
14942 | if (PyErr_Occurred()) return NULL; |
14943 | } Py_INCREF(Py_None); | |
14944 | _resultobj = Py_None; | |
14945 | return _resultobj; | |
14946 | } | |
14947 | ||
f6bcfd97 | 14948 | static PyMethodDef gridcMethods[] = { |
bf7945ce RD |
14949 | { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS }, |
14950 | { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS }, | |
14951 | { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS }, | |
14952 | { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
14953 | { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
14954 | { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
14955 | { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14956 | { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, |
14957 | { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
14958 | { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
14959 | { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
14960 | { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, | |
14961 | { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS }, | |
14962 | { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS }, | |
14963 | { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS }, | |
14964 | { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS }, | |
14965 | { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS }, | |
14966 | { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS }, | |
14967 | { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS }, | |
14968 | { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
14969 | { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
14970 | { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
14971 | { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
14972 | { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
14973 | { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS }, | |
14974 | { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
14975 | { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
14976 | { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
14977 | { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
14978 | { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
14979 | { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, | |
14980 | { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
14981 | { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
14982 | { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
14983 | { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 RD |
14984 | { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS }, |
14985 | { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS }, | |
14986 | { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS }, | |
14987 | { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14988 | { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS }, |
14989 | { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS }, | |
14990 | { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS }, | |
14991 | { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS }, | |
14992 | { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS }, | |
14993 | { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS }, | |
14994 | { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, | |
14995 | { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
14996 | { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, | |
14997 | { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
14998 | { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS }, | |
7e50db3f RD |
14999 | { "wxGrid_DeselectCell", (PyCFunction) _wrap_wxGrid_DeselectCell, METH_VARARGS | METH_KEYWORDS }, |
15000 | { "wxGrid_DeselectCol", (PyCFunction) _wrap_wxGrid_DeselectCol, METH_VARARGS | METH_KEYWORDS }, | |
15001 | { "wxGrid_DeselectRow", (PyCFunction) _wrap_wxGrid_DeselectRow, METH_VARARGS | METH_KEYWORDS }, | |
15002 | { "wxGrid_GetSelectedCols", (PyCFunction) _wrap_wxGrid_GetSelectedCols, METH_VARARGS | METH_KEYWORDS }, | |
15003 | { "wxGrid_GetSelectedRows", (PyCFunction) _wrap_wxGrid_GetSelectedRows, METH_VARARGS | METH_KEYWORDS }, | |
15004 | { "wxGrid_GetSelectionBlockBottomRight", (PyCFunction) _wrap_wxGrid_GetSelectionBlockBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
15005 | { "wxGrid_GetSelectionBlockTopLeft", (PyCFunction) _wrap_wxGrid_GetSelectionBlockTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
15006 | { "wxGrid_GetSelectedCells", (PyCFunction) _wrap_wxGrid_GetSelectedCells, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15007 | { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS }, |
15008 | { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS }, | |
15009 | { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS }, | |
15010 | { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
15011 | { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS }, | |
15012 | { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS }, | |
15013 | { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS }, | |
15014 | { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
15015 | { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
15016 | { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
15017 | { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
15018 | { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS }, | |
15019 | { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, | |
15020 | { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS }, | |
15021 | { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, | |
15022 | { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15023 | { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15024 | { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15025 | { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, | |
67a92fff RD |
15026 | { "wxGrid_SetCellSize", (PyCFunction) _wrap_wxGrid_SetCellSize, METH_VARARGS | METH_KEYWORDS }, |
15027 | { "wxGrid_SetCellOverflow", (PyCFunction) _wrap_wxGrid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS }, | |
15028 | { "wxGrid_SetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15029 | { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS }, |
15030 | { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
15031 | { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS }, | |
15032 | { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, | |
15033 | { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
15034 | { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
15035 | { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15036 | { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15037 | { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS }, | |
15038 | { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS }, | |
7e50db3f RD |
15039 | { "wxGrid_AutoSizeColLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeColLabelSize, METH_VARARGS | METH_KEYWORDS }, |
15040 | { "wxGrid_AutoSizeRowLabelSize", (PyCFunction) _wrap_wxGrid_AutoSizeRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15041 | { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS }, |
15042 | { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS }, | |
15043 | { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS }, | |
15044 | { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS }, | |
15045 | { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS }, | |
15046 | { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS }, | |
15047 | { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, | |
15048 | { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS }, | |
15049 | { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, | |
67a92fff RD |
15050 | { "wxGrid_GetCellSize", (PyCFunction) _wrap_wxGrid_GetCellSize, METH_VARARGS | METH_KEYWORDS }, |
15051 | { "wxGrid_GetCellOverflow", (PyCFunction) _wrap_wxGrid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS }, | |
15052 | { "wxGrid_GetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15053 | { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS }, |
15054 | { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
15055 | { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS }, | |
15056 | { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, | |
15057 | { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
15058 | { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
15059 | { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15060 | { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15061 | { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS }, | |
15062 | { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, | |
15063 | { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS }, | |
15064 | { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, | |
15065 | { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS }, | |
15066 | { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS }, | |
15067 | { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS }, | |
15068 | { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS }, | |
15069 | { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS }, | |
15070 | { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS }, | |
15071 | { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
15072 | { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
67a92fff | 15073 | { "wxGrid_SetAttr", (PyCFunction) _wrap_wxGrid_SetAttr, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15074 | { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS }, |
15075 | { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
15076 | { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
15077 | { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
15078 | { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
15079 | { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
15080 | { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
15081 | { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
15082 | { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 RD |
15083 | { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
15084 | { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15085 | { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
15086 | { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS }, | |
15087 | { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15088 | { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
7e50db3f | 15089 | { "wxGrid_SetColLabelTextOrientation", (PyCFunction) _wrap_wxGrid_SetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15090 | { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, |
15091 | { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
15092 | { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS }, | |
15093 | { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
15094 | { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15095 | { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
15096 | { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 RD |
15097 | { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
15098 | { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15099 | { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
15100 | { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS }, | |
15101 | { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15102 | { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
7e50db3f | 15103 | { "wxGrid_GetColLabelTextOrientation", (PyCFunction) _wrap_wxGrid_GetColLabelTextOrientation, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15104 | { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, |
15105 | { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
15106 | { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS }, | |
15107 | { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
15108 | { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15109 | { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
15110 | { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
15111 | { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
15112 | { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
15113 | { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS }, | |
15114 | { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS }, | |
15115 | { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS }, | |
15116 | { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS }, | |
15117 | { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS }, | |
15118 | { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS }, | |
15119 | { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS }, | |
15120 | { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS }, | |
15121 | { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS }, | |
15122 | { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS }, | |
15123 | { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS }, | |
15124 | { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS }, | |
15125 | { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
15126 | { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS }, | |
15127 | { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS }, | |
15128 | { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS }, | |
15129 | { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS }, | |
15130 | { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS }, | |
15131 | { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS }, | |
15132 | { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS }, | |
15133 | { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS }, | |
15134 | { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS }, | |
15135 | { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
15136 | { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
15137 | { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
15138 | { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS }, | |
15139 | { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS }, | |
15140 | { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS }, | |
15141 | { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
15142 | { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
15143 | { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS }, | |
15144 | { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS }, | |
67a92fff | 15145 | { "wxGrid_Refresh", (PyCFunction) _wrap_wxGrid_Refresh, METH_VARARGS | METH_KEYWORDS }, |
edf2f43e | 15146 | { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15147 | { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS }, |
15148 | { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS }, | |
15149 | { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS }, | |
15150 | { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15151 | { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS }, |
15152 | { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS }, | |
15153 | { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
15154 | { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
15155 | { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
15156 | { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
15157 | { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
15158 | { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
15159 | { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS }, | |
15160 | { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS }, | |
15161 | { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS }, | |
15162 | { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
15163 | { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, | |
15164 | { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, | |
1e6796a0 | 15165 | { "wxGrid_GetSelectionMode", (PyCFunction) _wrap_wxGrid_GetSelectionMode, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15166 | { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS }, |
15167 | { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS }, | |
15168 | { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS }, | |
15169 | { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS }, | |
15170 | { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS }, | |
15171 | { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS }, | |
15172 | { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS }, | |
15173 | { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
15174 | { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS }, | |
15175 | { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
15176 | { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS }, | |
15177 | { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS }, | |
15178 | { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS }, | |
15179 | { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS }, | |
15180 | { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS }, | |
15181 | { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS }, | |
15182 | { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS }, | |
15183 | { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS }, | |
15184 | { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS }, | |
15185 | { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS }, | |
15186 | { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
15187 | { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
15188 | { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS }, | |
15189 | { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
15190 | { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
15191 | { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
15192 | { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
15193 | { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, | |
15194 | { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15195 | { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15196 | { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15197 | { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15198 | { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
15199 | { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
15200 | { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
15201 | { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
15202 | { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
15203 | { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
15204 | { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS }, | |
15205 | { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
15206 | { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
15207 | { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS }, | |
15208 | { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 15209 | { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15210 | { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS }, |
15211 | { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
15212 | { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
15213 | { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
15214 | { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
15215 | { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, | |
15216 | { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15217 | { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15218 | { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15219 | { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
15220 | { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
15221 | { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
15222 | { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
15223 | { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
15224 | { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
15225 | { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
15226 | { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS }, | |
15227 | { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS }, | |
15228 | { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, | |
15229 | { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS }, | |
15230 | { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS }, | |
15231 | { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, | |
15232 | { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS }, | |
15233 | { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
15234 | { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
15235 | { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS }, | |
15236 | { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
15237 | { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
15238 | { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS }, | |
15239 | { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, | |
15240 | { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, | |
15241 | { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS }, | |
15242 | { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS }, | |
15243 | { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
15244 | { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 15245 | { "wxGridTableBase__setOORInfo", (PyCFunction) _wrap_wxGridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15246 | { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, |
15247 | { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
15248 | { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
15249 | { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 15250 | { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15251 | { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
15252 | { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS }, | |
15253 | { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS }, | |
15254 | { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
15255 | { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
15256 | { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
15257 | { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 15258 | { "wxGridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_wxGridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15259 | { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
15260 | { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS }, | |
15261 | { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
15262 | { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS }, | |
15263 | { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS }, | |
67a92fff RD |
15264 | { "wxGridCellAttr_GetOverflow", (PyCFunction) _wrap_wxGridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS }, |
15265 | { "wxGridCellAttr_GetSize", (PyCFunction) _wrap_wxGridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15266 | { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, |
15267 | { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
15268 | { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15269 | { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 | 15270 | { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15271 | { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS }, |
15272 | { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15273 | { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, | |
15274 | { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, | |
15275 | { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15276 | { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 | 15277 | { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15278 | { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS }, |
15279 | { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15280 | { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
67a92fff RD |
15281 | { "wxGridCellAttr_SetOverflow", (PyCFunction) _wrap_wxGridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS }, |
15282 | { "wxGridCellAttr_SetSize", (PyCFunction) _wrap_wxGridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15283 | { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, |
15284 | { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
15285 | { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
15286 | { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
15287 | { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
15288 | { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 | 15289 | { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15290 | { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS }, |
15291 | { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 15292 | { "wxGridCellAttr__setOORInfo", (PyCFunction) _wrap_wxGridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
3856ee0b | 15293 | { "wxGridCellAutoWrapStringEditor_GetValue", (PyCFunction) _wrap_wxGridCellAutoWrapStringEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
19a97bd6 | 15294 | { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS }, |
3856ee0b | 15295 | { "wxGridCellEnumEditor_GetValue", (PyCFunction) _wrap_wxGridCellEnumEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
19a97bd6 | 15296 | { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS }, |
3856ee0b | 15297 | { "wxGridCellChoiceEditor_GetValue", (PyCFunction) _wrap_wxGridCellChoiceEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 15298 | { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS }, |
3856ee0b | 15299 | { "wxGridCellBoolEditor_GetValue", (PyCFunction) _wrap_wxGridCellBoolEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 15300 | { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS }, |
3856ee0b | 15301 | { "wxGridCellFloatEditor_GetValue", (PyCFunction) _wrap_wxGridCellFloatEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 15302 | { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS }, |
3856ee0b | 15303 | { "wxGridCellNumberEditor_GetValue", (PyCFunction) _wrap_wxGridCellNumberEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 15304 | { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS }, |
3856ee0b | 15305 | { "wxGridCellTextEditor_GetValue", (PyCFunction) _wrap_wxGridCellTextEditor_GetValue, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15306 | { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS }, |
15307 | { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
15308 | { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
15309 | { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS }, | |
15310 | { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS }, | |
15311 | { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS }, | |
dbbb98cd | 15312 | { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15313 | { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS }, |
15314 | { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS }, | |
15315 | { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 15316 | { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15317 | { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS }, |
15318 | { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
15319 | { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS }, | |
15320 | { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS }, | |
15321 | { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS }, | |
15322 | { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, | |
15323 | { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS }, | |
15324 | { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS }, | |
15325 | { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
15326 | { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS }, | |
15327 | { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS }, | |
15328 | { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS }, | |
15329 | { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS }, | |
15330 | { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS }, | |
15331 | { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
15332 | { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
15333 | { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
7e50db3f RD |
15334 | { "wxGridCellEditor_SetCellAttr", (PyCFunction) _wrap_wxGridCellEditor_SetCellAttr, METH_VARARGS | METH_KEYWORDS }, |
15335 | { "wxGridCellEditor_GetCellAttr", (PyCFunction) _wrap_wxGridCellEditor_GetCellAttr, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15336 | { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS }, |
15337 | { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
15338 | { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 15339 | { "wxGridCellEditor__setOORInfo", (PyCFunction) _wrap_wxGridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
19a97bd6 RD |
15340 | { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS }, |
15341 | { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15342 | { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
15343 | { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS }, |
15344 | { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS }, | |
15345 | { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS }, | |
15346 | { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS }, | |
15347 | { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
15348 | { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15349 | { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15350 | { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS }, | |
15351 | { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 15352 | { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15353 | { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS }, |
15354 | { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS }, | |
15355 | { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
15356 | { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS }, | |
15357 | { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
15358 | { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
15359 | { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
33ff77f6 | 15360 | { "wxGridCellRenderer__setOORInfo", (PyCFunction) _wrap_wxGridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
15361 | { NULL, NULL } |
15362 | }; | |
15363 | #ifdef __cplusplus | |
15364 | } | |
15365 | #endif | |
15366 | /* | |
15367 | * This table is used by the pointer type-checker | |
15368 | */ | |
15369 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
bf7945ce | 15370 | { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent}, |
f6bcfd97 | 15371 | { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent}, |
f6bcfd97 | 15372 | { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent}, |
f6bcfd97 | 15373 | { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent}, |
f6bcfd97 | 15374 | { "_signed_long","_long",0}, |
19a97bd6 | 15375 | { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor}, |
f6bcfd97 BP |
15376 | { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0}, |
15377 | { "_wxPrintQuality","_wxCoord",0}, | |
15378 | { "_wxPrintQuality","_int",0}, | |
15379 | { "_wxPrintQuality","_signed_int",0}, | |
15380 | { "_wxPrintQuality","_unsigned_int",0}, | |
15381 | { "_wxPrintQuality","_wxWindowID",0}, | |
15382 | { "_wxPrintQuality","_uint",0}, | |
15383 | { "_wxPrintQuality","_EBool",0}, | |
15384 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 15385 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 | 15386 | { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent}, |
f6bcfd97 | 15387 | { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent}, |
f6bcfd97 | 15388 | { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent}, |
f6bcfd97 | 15389 | { "_byte","_unsigned_char",0}, |
f6bcfd97 BP |
15390 | { "_long","_unsigned_long",0}, |
15391 | { "_long","_signed_long",0}, | |
f6bcfd97 BP |
15392 | { "_size_t","_WXGRIDSELECTIONMODES",0}, |
15393 | { "_size_t","_wxCoord",0}, | |
15394 | { "_size_t","_wxPrintQuality",0}, | |
c368d904 | 15395 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
15396 | { "_size_t","_unsigned_int",0}, |
15397 | { "_size_t","_int",0}, | |
15398 | { "_size_t","_wxWindowID",0}, | |
15399 | { "_size_t","_uint",0}, | |
f6bcfd97 | 15400 | { "_wxPanel","_wxGrid",SwigwxGridTowxPanel}, |
f6bcfd97 BP |
15401 | { "_uint","_WXGRIDSELECTIONMODES",0}, |
15402 | { "_uint","_wxCoord",0}, | |
15403 | { "_uint","_wxPrintQuality",0}, | |
c368d904 | 15404 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
15405 | { "_uint","_size_t",0}, |
15406 | { "_uint","_unsigned_int",0}, | |
15407 | { "_uint","_int",0}, | |
15408 | { "_uint","_wxWindowID",0}, | |
15409 | { "_wxChar","_char",0}, | |
bf7945ce | 15410 | { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent}, |
f6bcfd97 | 15411 | { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent}, |
f6bcfd97 | 15412 | { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent}, |
f6bcfd97 | 15413 | { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent}, |
f6bcfd97 | 15414 | { "_char","_wxChar",0}, |
19a97bd6 RD |
15415 | { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer}, |
15416 | { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer}, | |
15417 | { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer}, | |
f6bcfd97 | 15418 | { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer}, |
f6bcfd97 | 15419 | { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer}, |
3ae53c31 | 15420 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
f6bcfd97 | 15421 | { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase}, |
f6bcfd97 | 15422 | { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase}, |
f6bcfd97 BP |
15423 | { "_EBool","_WXGRIDSELECTIONMODES",0}, |
15424 | { "_EBool","_wxCoord",0}, | |
15425 | { "_EBool","_wxPrintQuality",0}, | |
15426 | { "_EBool","_signed_int",0}, | |
15427 | { "_EBool","_int",0}, | |
15428 | { "_EBool","_wxWindowID",0}, | |
f6bcfd97 | 15429 | { "_unsigned_long","_long",0}, |
f6bcfd97 BP |
15430 | { "_WXGRIDSELECTIONMODES","_int",0}, |
15431 | { "_WXGRIDSELECTIONMODES","_signed_int",0}, | |
15432 | { "_WXGRIDSELECTIONMODES","_unsigned_int",0}, | |
15433 | { "_WXGRIDSELECTIONMODES","_wxWindowID",0}, | |
15434 | { "_WXGRIDSELECTIONMODES","_uint",0}, | |
15435 | { "_WXGRIDSELECTIONMODES","_EBool",0}, | |
15436 | { "_WXGRIDSELECTIONMODES","_size_t",0}, | |
c368d904 | 15437 | { "_WXGRIDSELECTIONMODES","_time_t",0}, |
f6bcfd97 BP |
15438 | { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0}, |
15439 | { "_WXGRIDSELECTIONMODES","_wxCoord",0}, | |
3ae53c31 | 15440 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
f6bcfd97 BP |
15441 | { "_signed_int","_WXGRIDSELECTIONMODES",0}, |
15442 | { "_signed_int","_wxCoord",0}, | |
15443 | { "_signed_int","_wxPrintQuality",0}, | |
15444 | { "_signed_int","_EBool",0}, | |
15445 | { "_signed_int","_wxWindowID",0}, | |
15446 | { "_signed_int","_int",0}, | |
19a97bd6 RD |
15447 | { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor}, |
15448 | { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor}, | |
f6bcfd97 | 15449 | { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor}, |
f6bcfd97 | 15450 | { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor}, |
f6bcfd97 | 15451 | { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor}, |
f6bcfd97 | 15452 | { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor}, |
f6bcfd97 | 15453 | { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor}, |
f6bcfd97 | 15454 | { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor}, |
f6bcfd97 BP |
15455 | { "_WXTYPE","_short",0}, |
15456 | { "_WXTYPE","_signed_short",0}, | |
15457 | { "_WXTYPE","_unsigned_short",0}, | |
f6bcfd97 | 15458 | { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider}, |
f6bcfd97 BP |
15459 | { "_unsigned_short","_WXTYPE",0}, |
15460 | { "_unsigned_short","_short",0}, | |
bf7945ce | 15461 | { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject}, |
9416aa89 | 15462 | { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject}, |
9416aa89 | 15463 | { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject}, |
9416aa89 | 15464 | { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject}, |
9416aa89 | 15465 | { "_wxObject","_wxGrid",SwigwxGridTowxObject}, |
9416aa89 | 15466 | { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject}, |
9416aa89 | 15467 | { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject}, |
9416aa89 | 15468 | { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject}, |
f6bcfd97 BP |
15469 | { "_signed_short","_WXTYPE",0}, |
15470 | { "_signed_short","_short",0}, | |
f6bcfd97 | 15471 | { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow}, |
f6bcfd97 | 15472 | { "_unsigned_char","_byte",0}, |
f6bcfd97 BP |
15473 | { "_unsigned_int","_WXGRIDSELECTIONMODES",0}, |
15474 | { "_unsigned_int","_wxCoord",0}, | |
15475 | { "_unsigned_int","_wxPrintQuality",0}, | |
c368d904 | 15476 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
15477 | { "_unsigned_int","_size_t",0}, |
15478 | { "_unsigned_int","_uint",0}, | |
15479 | { "_unsigned_int","_wxWindowID",0}, | |
15480 | { "_unsigned_int","_int",0}, | |
f6bcfd97 BP |
15481 | { "_short","_WXTYPE",0}, |
15482 | { "_short","_unsigned_short",0}, | |
15483 | { "_short","_signed_short",0}, | |
f6bcfd97 BP |
15484 | { "_wxWindowID","_WXGRIDSELECTIONMODES",0}, |
15485 | { "_wxWindowID","_wxCoord",0}, | |
15486 | { "_wxWindowID","_wxPrintQuality",0}, | |
c368d904 | 15487 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
15488 | { "_wxWindowID","_size_t",0}, |
15489 | { "_wxWindowID","_EBool",0}, | |
15490 | { "_wxWindowID","_uint",0}, | |
15491 | { "_wxWindowID","_int",0}, | |
15492 | { "_wxWindowID","_signed_int",0}, | |
15493 | { "_wxWindowID","_unsigned_int",0}, | |
f6bcfd97 BP |
15494 | { "_int","_WXGRIDSELECTIONMODES",0}, |
15495 | { "_int","_wxCoord",0}, | |
15496 | { "_int","_wxPrintQuality",0}, | |
c368d904 | 15497 | { "_int","_time_t",0}, |
f6bcfd97 BP |
15498 | { "_int","_size_t",0}, |
15499 | { "_int","_EBool",0}, | |
15500 | { "_int","_uint",0}, | |
15501 | { "_int","_wxWindowID",0}, | |
15502 | { "_int","_unsigned_int",0}, | |
15503 | { "_int","_signed_int",0}, | |
c368d904 RD |
15504 | { "_time_t","_WXGRIDSELECTIONMODES",0}, |
15505 | { "_time_t","_wxCoord",0}, | |
15506 | { "_time_t","_wxPrintQuality",0}, | |
15507 | { "_time_t","_unsigned_int",0}, | |
15508 | { "_time_t","_int",0}, | |
15509 | { "_time_t","_wxWindowID",0}, | |
15510 | { "_time_t","_uint",0}, | |
15511 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
15512 | { "_wxCoord","_WXGRIDSELECTIONMODES",0}, |
15513 | { "_wxCoord","_int",0}, | |
15514 | { "_wxCoord","_signed_int",0}, | |
15515 | { "_wxCoord","_unsigned_int",0}, | |
15516 | { "_wxCoord","_wxWindowID",0}, | |
15517 | { "_wxCoord","_uint",0}, | |
15518 | { "_wxCoord","_EBool",0}, | |
15519 | { "_wxCoord","_size_t",0}, | |
c368d904 | 15520 | { "_wxCoord","_time_t",0}, |
f6bcfd97 | 15521 | { "_wxCoord","_wxPrintQuality",0}, |
19a97bd6 RD |
15522 | { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer}, |
15523 | { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer}, | |
15524 | { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer}, | |
f6bcfd97 | 15525 | { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer}, |
f6bcfd97 | 15526 | { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer}, |
f6bcfd97 | 15527 | { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer}, |
f6bcfd97 | 15528 | { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer}, |
f6bcfd97 | 15529 | { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer}, |
19a97bd6 | 15530 | { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor}, |
f6bcfd97 | 15531 | { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor}, |
f6bcfd97 | 15532 | { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor}, |
f6bcfd97 | 15533 | { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler}, |
f6bcfd97 | 15534 | { "_wxWindow","_wxGrid",SwigwxGridTowxWindow}, |
f6bcfd97 BP |
15535 | {0,0,0}}; |
15536 | ||
15537 | static PyObject *SWIG_globals; | |
15538 | #ifdef __cplusplus | |
15539 | extern "C" | |
15540 | #endif | |
15541 | SWIGEXPORT(void) initgridc() { | |
15542 | PyObject *m, *d; | |
15543 | SWIG_globals = SWIG_newvarlink(); | |
15544 | m = Py_InitModule("gridc", gridcMethods); | |
15545 | d = PyModule_GetDict(m); | |
15546 | PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string")); | |
15547 | PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool")); | |
15548 | PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long")); | |
15549 | PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double")); | |
15550 | PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice")); | |
15551 | PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string")); | |
15552 | PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long")); | |
33ff77f6 RD |
15553 | PyDict_SetItemString(d,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint")); |
15554 | PyDict_SetItemString(d,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime")); | |
f6bcfd97 BP |
15555 | PyDict_SetItemString(d,"cvar", SWIG_globals); |
15556 | SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set); | |
15557 | SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set); | |
15558 | PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES)); | |
15559 | PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES)); | |
15560 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED)); | |
15561 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED)); | |
15562 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED)); | |
15563 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED)); | |
15564 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED)); | |
15565 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED)); | |
15566 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK)); | |
15567 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK)); | |
15568 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK)); | |
15569 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK)); | |
15570 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK)); | |
15571 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK)); | |
15572 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK)); | |
15573 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK)); | |
15574 | PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE)); | |
15575 | PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE)); | |
15576 | PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT)); | |
15577 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE)); | |
15578 | PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL)); | |
15579 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN)); | |
15580 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN)); | |
bf7945ce | 15581 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED)); |
e508a2b6 RD |
15582 | |
15583 | wxClassInfo::CleanUpClasses(); | |
15584 | wxClassInfo::InitializeClasses(); | |
9416aa89 RD |
15585 | PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any)); |
15586 | PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default)); | |
15587 | PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell)); | |
15588 | PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row)); | |
15589 | PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col)); | |
15590 | PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged)); | |
f6bcfd97 BP |
15591 | PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells)); |
15592 | PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows)); | |
15593 | PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns)); | |
15594 | { | |
15595 | int i; | |
15596 | for (i = 0; _swig_mapping[i].n1; i++) | |
15597 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
15598 | } | |
15599 | } |