]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | /* |
c368d904 | 2 | * FILE : src/gtk/grid.cpp |
f6bcfd97 BP |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
f6bcfd97 BP |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
3bcd5e1c | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
3bcd5e1c | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
3bcd5e1c | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
3bcd5e1c RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
3bcd5e1c | 44 | |
f6bcfd97 BP |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initgridc | |
55 | ||
56 | #define SWIG_name "gridc" | |
57 | ||
5d26a7e6 | 58 | #include "wxPython.h" |
f6bcfd97 | 59 | #include <wx/grid.h> |
059a841c | 60 | #include <wx/generic/gridctrl.h> |
f6bcfd97 | 61 | |
f6bcfd97 BP |
62 | |
63 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
64 | PyObject* o2; | |
65 | PyObject* o3; | |
66 | ||
3bcd5e1c | 67 | if (!target) { |
f6bcfd97 | 68 | target = o; |
3bcd5e1c | 69 | } else if (target == Py_None) { |
f6bcfd97 BP |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
3bcd5e1c | 72 | } else { |
f6bcfd97 BP |
73 | if (!PyTuple_Check(target)) { |
74 | o2 = target; | |
75 | target = PyTuple_New(1); | |
76 | PyTuple_SetItem(target, 0, o2); | |
77 | } | |
3bcd5e1c RD |
78 | o3 = PyTuple_New(1); |
79 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
80 | |
81 | o2 = target; | |
3bcd5e1c RD |
82 | target = PySequence_Concat(o2, o3); |
83 | Py_DECREF(o2); | |
f6bcfd97 BP |
84 | Py_DECREF(o3); |
85 | } | |
86 | return target; | |
87 | } | |
88 | ||
9a74fcaf RD |
89 | // Put some wx default wxChar* values into wxStrings. |
90 | DECLARE_DEF_STRING(PanelNameStr); | |
b98a5dfc RD |
91 | DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c")); |
92 | static const wxString wxPyEmptyString(wxT("")); | |
9a74fcaf | 93 | |
8f8b0a8d RD |
94 | |
95 | #define wxPyMake_TEMPLATE(TYPE) \ | |
96 | PyObject* wxPyMake_##TYPE(TYPE* source) { \ | |
97 | PyObject* target = NULL; \ | |
98 | if (source) { \ | |
99 | /* Check if there is already a pointer to a Python object in the \ | |
100 | OOR data that we can use. */ \ | |
101 | wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \ | |
102 | if (data) { \ | |
103 | target = data->m_obj; \ | |
104 | Py_INCREF(target); \ | |
105 | } \ | |
106 | /* Otherwise make a new wrapper for it the old fashioned way and \ | |
107 | give it the OOR treatment */ \ | |
108 | if (! target) { \ | |
109 | target = wxPyConstructObject(source, #TYPE, FALSE); \ | |
110 | if (target) \ | |
111 | source->SetClientObject(new wxPyOORClientData(target)); \ | |
112 | } \ | |
113 | } else { /* source was NULL so return None. */ \ | |
114 | Py_INCREF(Py_None); target = Py_None; \ | |
115 | } \ | |
116 | return target; \ | |
117 | } \ | |
118 | ||
119 | ||
120 | wxPyMake_TEMPLATE(wxGridCellRenderer) | |
121 | wxPyMake_TEMPLATE(wxGridCellEditor) | |
122 | wxPyMake_TEMPLATE(wxGridCellAttr) | |
123 | wxPyMake_TEMPLATE(wxGridCellAttrProvider) | |
124 | wxPyMake_TEMPLATE(wxGridTableBase) | |
125 | ||
126 | ||
9df61a29 RD |
127 | #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \ |
128 | wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ | |
129 | wxGridCellAttr* rval = NULL; \ | |
059a841c | 130 | bool found; \ |
474c48f9 | 131 | wxPyBeginBlockThreads(); \ |
059a841c | 132 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
9df61a29 RD |
133 | PyObject* ro; \ |
134 | wxGridCellAttr* ptr; \ | |
135 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \ | |
136 | if (ro) { \ | |
f6bcfd97 | 137 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \ |
9df61a29 RD |
138 | rval = ptr; \ |
139 | Py_DECREF(ro); \ | |
140 | } \ | |
141 | } \ | |
474c48f9 | 142 | wxPyEndBlockThreads(); \ |
059a841c | 143 | if (! found) \ |
9df61a29 | 144 | rval = PCLASS::CBNAME(a, b, c); \ |
9df61a29 RD |
145 | return rval; \ |
146 | } \ | |
147 | wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \ | |
148 | return PCLASS::CBNAME(a, b, c); \ | |
f6bcfd97 BP |
149 | } |
150 | ||
151 | ||
152 | ||
059a841c RD |
153 | #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \ |
154 | void CBNAME(wxGridCellAttr *attr, int a, int b) { \ | |
8f8b0a8d | 155 | wxPyBeginBlockThreads(); \ |
059a841c RD |
156 | bool found; \ |
157 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
8f8b0a8d RD |
158 | PyObject* obj = wxPyMake_wxGridCellAttr(attr); \ |
159 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \ | |
059a841c RD |
160 | Py_DECREF(obj); \ |
161 | } \ | |
8f8b0a8d | 162 | wxPyEndBlockThreads(); \ |
059a841c RD |
163 | if (! found) \ |
164 | PCLASS::CBNAME(attr, a, b); \ | |
165 | } \ | |
166 | void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \ | |
167 | PCLASS::CBNAME(attr, a, b); \ | |
f6bcfd97 BP |
168 | } |
169 | ||
170 | ||
171 | ||
059a841c RD |
172 | #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \ |
173 | void CBNAME(wxGridCellAttr *attr, int val) { \ | |
8f8b0a8d | 174 | wxPyBeginBlockThreads(); \ |
059a841c RD |
175 | bool found; \ |
176 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
8f8b0a8d | 177 | PyObject* obj = wxPyMake_wxGridCellAttr(attr); \ |
059a841c RD |
178 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \ |
179 | Py_DECREF(obj); \ | |
180 | } \ | |
474c48f9 | 181 | wxPyEndBlockThreads(); \ |
059a841c RD |
182 | if (! found) \ |
183 | PCLASS::CBNAME(attr, val); \ | |
184 | } \ | |
185 | void base_##CBNAME(wxGridCellAttr *attr, int val) { \ | |
186 | PCLASS::CBNAME(attr, val); \ | |
f6bcfd97 BP |
187 | } |
188 | ||
189 | ||
190 | ||
059a841c RD |
191 | #define PYCALLBACK_INT__pure(CBNAME) \ |
192 | int CBNAME() { \ | |
474c48f9 | 193 | wxPyBeginBlockThreads(); \ |
059a841c RD |
194 | int rval = 0; \ |
195 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ | |
196 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
474c48f9 | 197 | wxPyEndBlockThreads(); \ |
059a841c | 198 | return rval; \ |
f6bcfd97 BP |
199 | } |
200 | ||
201 | ||
202 | ||
059a841c RD |
203 | #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \ |
204 | bool CBNAME(int a, int b) { \ | |
474c48f9 | 205 | wxPyBeginBlockThreads(); \ |
059a841c RD |
206 | bool rval = 0; \ |
207 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \ | |
208 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
474c48f9 | 209 | wxPyEndBlockThreads(); \ |
059a841c | 210 | return rval; \ |
f6bcfd97 | 211 | } |
059a841c RD |
212 | |
213 | ||
059a841c RD |
214 | #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \ |
215 | wxString CBNAME(int a, int b) { \ | |
49df1f52 | 216 | wxPyBeginBlockThreads(); \ |
059a841c RD |
217 | wxString rval; \ |
218 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ | |
219 | PyObject* ro; \ | |
220 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
221 | if (ro) { \ | |
49df1f52 RD |
222 | rval = Py2wxString(ro); \ |
223 | Py_DECREF(ro); \ | |
059a841c RD |
224 | } \ |
225 | } \ | |
49df1f52 | 226 | wxPyEndBlockThreads(); \ |
059a841c | 227 | return rval; \ |
f6bcfd97 BP |
228 | } |
229 | ||
230 | ||
059a841c RD |
231 | #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \ |
232 | void CBNAME(int a, int b, const wxString& c) { \ | |
49df1f52 | 233 | wxPyBeginBlockThreads(); \ |
8f8b0a8d RD |
234 | if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \ |
235 | PyObject* s = wx2PyString(c); \ | |
236 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ | |
237 | Py_DECREF(s); \ | |
238 | } \ | |
49df1f52 | 239 | wxPyEndBlockThreads(); \ |
f6bcfd97 BP |
240 | } |
241 | ||
49df1f52 | 242 | |
059a841c RD |
243 | #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \ |
244 | wxString CBNAME(int a, int b) { \ | |
245 | bool found; \ | |
49df1f52 | 246 | wxPyBeginBlockThreads(); \ |
059a841c RD |
247 | wxString rval; \ |
248 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
249 | PyObject* ro; \ | |
250 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
251 | if (ro) { \ | |
49df1f52 RD |
252 | rval = Py2wxString(ro); \ |
253 | Py_DECREF(ro); \ | |
059a841c RD |
254 | } \ |
255 | } \ | |
49df1f52 | 256 | wxPyEndBlockThreads(); \ |
059a841c RD |
257 | if (! found) \ |
258 | rval = PCLASS::CBNAME(a, b); \ | |
259 | return rval; \ | |
260 | } \ | |
261 | wxString base_##CBNAME(int a, int b) { \ | |
262 | return PCLASS::CBNAME(a, b); \ | |
263 | } | |
264 | ||
f6bcfd97 | 265 | |
059a841c RD |
266 | #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \ |
267 | bool CBNAME(int a, int b, const wxString& c) { \ | |
36fd8ec3 | 268 | bool rval = 0; \ |
059a841c | 269 | bool found; \ |
49df1f52 | 270 | wxPyBeginBlockThreads(); \ |
c81fd4b9 | 271 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
8f8b0a8d RD |
272 | PyObject* s = wx2PyString(c); \ |
273 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\ | |
274 | Py_DECREF(s); \ | |
275 | } \ | |
49df1f52 | 276 | wxPyEndBlockThreads(); \ |
059a841c RD |
277 | if (! found) \ |
278 | rval = PCLASS::CBNAME(a,b,c); \ | |
279 | return rval; \ | |
280 | } \ | |
281 | bool base_##CBNAME(int a, int b, const wxString& c) { \ | |
282 | return PCLASS::CBNAME(a,b,c); \ | |
f6bcfd97 BP |
283 | } |
284 | ||
285 | ||
286 | ||
059a841c RD |
287 | |
288 | #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \ | |
289 | long CBNAME(int a, int b) { \ | |
290 | long rval; \ | |
291 | bool found; \ | |
474c48f9 | 292 | wxPyBeginBlockThreads(); \ |
059a841c RD |
293 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
294 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
474c48f9 | 295 | wxPyEndBlockThreads(); \ |
059a841c RD |
296 | if (! found) \ |
297 | rval = PCLASS::CBNAME(a,b); \ | |
298 | return rval; \ | |
299 | } \ | |
300 | long base_##CBNAME(int a, int b) { \ | |
301 | return PCLASS::CBNAME(a,b); \ | |
f6bcfd97 BP |
302 | } |
303 | ||
304 | ||
305 | ||
059a841c RD |
306 | #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \ |
307 | bool CBNAME(int a, int b) { \ | |
36fd8ec3 | 308 | bool rval = 0; \ |
059a841c | 309 | bool found; \ |
474c48f9 | 310 | wxPyBeginBlockThreads(); \ |
059a841c RD |
311 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
312 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
474c48f9 | 313 | wxPyEndBlockThreads(); \ |
059a841c RD |
314 | if (! found) \ |
315 | rval = PCLASS::CBNAME(a,b); \ | |
316 | return rval; \ | |
317 | } \ | |
318 | bool base_##CBNAME(int a, int b) { \ | |
319 | return PCLASS::CBNAME(a,b); \ | |
320 | } | |
321 | ||
f6bcfd97 | 322 | |
059a841c RD |
323 | |
324 | #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \ | |
325 | double CBNAME(int a, int b) { \ | |
326 | bool found; \ | |
474c48f9 | 327 | wxPyBeginBlockThreads(); \ |
059a841c RD |
328 | double rval; \ |
329 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
330 | PyObject* ro; \ | |
331 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \ | |
332 | if (ro) { \ | |
333 | PyObject* str = PyObject_Str(ro); \ | |
334 | rval = PyFloat_AsDouble(str); \ | |
335 | Py_DECREF(ro); Py_DECREF(str); \ | |
336 | } \ | |
337 | } \ | |
8f8b0a8d | 338 | wxPyEndBlockThreads(); \ |
059a841c RD |
339 | if (! found) \ |
340 | rval = PCLASS::CBNAME(a, b); \ | |
341 | return rval; \ | |
342 | } \ | |
343 | double base_##CBNAME(int a, int b) { \ | |
344 | return PCLASS::CBNAME(a, b); \ | |
345 | } | |
346 | ||
347 | ||
348 | ||
349 | #define PYCALLBACK__(PCLASS, CBNAME) \ | |
350 | void CBNAME() { \ | |
351 | bool found; \ | |
8f8b0a8d | 352 | wxPyBeginBlockThreads(); \ |
059a841c RD |
353 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
354 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
8f8b0a8d | 355 | wxPyEndBlockThreads(); \ |
059a841c RD |
356 | if (! found) \ |
357 | PCLASS::CBNAME(); \ | |
358 | } \ | |
359 | void base_##CBNAME() { \ | |
360 | PCLASS::CBNAME(); \ | |
361 | } | |
362 | ||
363 | ||
364 | ||
365 | ||
366 | #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \ | |
367 | bool CBNAME(size_t a, size_t b) { \ | |
36fd8ec3 | 368 | bool rval = 0; \ |
059a841c | 369 | bool found; \ |
8f8b0a8d | 370 | wxPyBeginBlockThreads(); \ |
059a841c RD |
371 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
372 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
8f8b0a8d | 373 | wxPyEndBlockThreads(); \ |
059a841c RD |
374 | if (! found) \ |
375 | rval = PCLASS::CBNAME(a,b); \ | |
376 | return rval; \ | |
377 | } \ | |
378 | bool base_##CBNAME(size_t a, size_t b) { \ | |
379 | return PCLASS::CBNAME(a,b); \ | |
380 | } | |
381 | ||
382 | ||
383 | ||
384 | #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \ | |
385 | bool CBNAME(size_t a) { \ | |
36fd8ec3 | 386 | bool rval = 0; \ |
059a841c | 387 | bool found; \ |
8f8b0a8d | 388 | wxPyBeginBlockThreads(); \ |
059a841c RD |
389 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
390 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \ | |
8f8b0a8d | 391 | wxPyEndBlockThreads(); \ |
059a841c RD |
392 | if (! found) \ |
393 | rval = PCLASS::CBNAME(a); \ | |
394 | return rval; \ | |
395 | } \ | |
396 | bool base_##CBNAME(size_t a) { \ | |
397 | return PCLASS::CBNAME(a); \ | |
f6bcfd97 BP |
398 | } |
399 | ||
400 | ||
059a841c RD |
401 | #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \ |
402 | wxString CBNAME(int a) { \ | |
403 | bool found; \ | |
49df1f52 | 404 | wxPyBeginBlockThreads(); \ |
059a841c RD |
405 | wxString rval; \ |
406 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
407 | PyObject* ro; \ | |
408 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \ | |
409 | if (ro) { \ | |
49df1f52 RD |
410 | rval = Py2wxString(ro); \ |
411 | Py_DECREF(ro); \ | |
059a841c RD |
412 | } \ |
413 | } \ | |
49df1f52 | 414 | wxPyEndBlockThreads(); \ |
059a841c RD |
415 | if (! found) \ |
416 | rval = PCLASS::CBNAME(a); \ | |
417 | return rval; \ | |
418 | } \ | |
419 | wxString base_##CBNAME(int a) { \ | |
420 | return PCLASS::CBNAME(a); \ | |
421 | } | |
422 | ||
423 | ||
059a841c RD |
424 | #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \ |
425 | void CBNAME(int a, const wxString& c) { \ | |
426 | bool found; \ | |
49df1f52 | 427 | wxPyBeginBlockThreads(); \ |
5a32574e | 428 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
8f8b0a8d RD |
429 | PyObject* s = wx2PyString(c); \ |
430 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \ | |
431 | Py_DECREF(s); \ | |
432 | } \ | |
49df1f52 | 433 | wxPyEndBlockThreads(); \ |
059a841c RD |
434 | if (! found) \ |
435 | PCLASS::CBNAME(a,c); \ | |
436 | } \ | |
437 | void base_##CBNAME(int a, const wxString& c) { \ | |
438 | PCLASS::CBNAME(a,c); \ | |
f6bcfd97 BP |
439 | } |
440 | ||
441 | ||
442 | ||
059a841c RD |
443 | |
444 | #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \ | |
445 | bool CBNAME() { \ | |
36fd8ec3 | 446 | bool rval = 0; \ |
059a841c | 447 | bool found; \ |
49df1f52 | 448 | wxPyBeginBlockThreads(); \ |
059a841c RD |
449 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
450 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \ | |
49df1f52 | 451 | wxPyEndBlockThreads(); \ |
059a841c RD |
452 | if (! found) \ |
453 | rval = PCLASS::CBNAME(); \ | |
454 | return rval; \ | |
455 | } \ | |
456 | bool base_##CBNAME() { \ | |
457 | return PCLASS::CBNAME(); \ | |
458 | } | |
459 | ||
460 | ||
461 | ||
462 | #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \ | |
463 | void CBNAME(size_t a, int b) { \ | |
464 | bool found; \ | |
49df1f52 | 465 | wxPyBeginBlockThreads(); \ |
059a841c RD |
466 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
467 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \ | |
49df1f52 | 468 | wxPyEndBlockThreads(); \ |
059a841c RD |
469 | if (! found) \ |
470 | PCLASS::CBNAME(a,b); \ | |
471 | } \ | |
472 | void base_##CBNAME(size_t a, int b) { \ | |
473 | PCLASS::CBNAME(a,b); \ | |
474 | } | |
475 | ||
476 | ||
477 | ||
478 | ||
479 | #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \ | |
480 | void CBNAME(int a, int b, long c) { \ | |
481 | bool found; \ | |
49df1f52 | 482 | wxPyBeginBlockThreads(); \ |
059a841c RD |
483 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
484 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ | |
49df1f52 | 485 | wxPyEndBlockThreads(); \ |
059a841c RD |
486 | if (! found) \ |
487 | PCLASS::CBNAME(a,b,c); \ | |
488 | } \ | |
489 | void base_##CBNAME(int a, int b, long c) { \ | |
490 | PCLASS::CBNAME(a,b,c); \ | |
491 | } | |
492 | ||
493 | ||
494 | ||
495 | ||
496 | #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \ | |
497 | void CBNAME(int a, int b, double c) { \ | |
498 | bool found; \ | |
49df1f52 | 499 | wxPyBeginBlockThreads(); \ |
059a841c RD |
500 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
501 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \ | |
49df1f52 | 502 | wxPyEndBlockThreads(); \ |
059a841c RD |
503 | if (! found) \ |
504 | PCLASS::CBNAME(a,b,c); \ | |
505 | } \ | |
506 | void base_##CBNAME(int a, int b, double c) { \ | |
507 | PCLASS::CBNAME(a,b,c); \ | |
508 | } | |
509 | ||
510 | ||
511 | ||
512 | #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \ | |
513 | void CBNAME(int a, int b, bool c) { \ | |
514 | bool found; \ | |
49df1f52 | 515 | wxPyBeginBlockThreads(); \ |
059a841c RD |
516 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \ |
517 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \ | |
49df1f52 | 518 | wxPyEndBlockThreads(); \ |
059a841c RD |
519 | if (! found) \ |
520 | PCLASS::CBNAME(a,b,c); \ | |
521 | } \ | |
522 | void base_##CBNAME(int a, int b, bool c) { \ | |
523 | PCLASS::CBNAME(a,b,c); \ | |
f6bcfd97 BP |
524 | } |
525 | ||
526 | ||
527 | ||
528 | ||
529 | ||
530 | class wxPyGridCellRenderer : public wxGridCellRenderer | |
531 | { | |
532 | public: | |
533 | wxPyGridCellRenderer() : wxGridCellRenderer() {}; | |
534 | ||
535 | // Implement Python callback aware virtual methods | |
536 | void Draw(wxGrid& grid, wxGridCellAttr& attr, | |
537 | wxDC& dc, const wxRect& rect, | |
538 | int row, int col, bool isSelected) { | |
474c48f9 | 539 | wxPyBeginBlockThreads(); |
b68dc582 | 540 | if (wxPyCBH_findCallback(m_myInst, "Draw")) { |
8f8b0a8d RD |
541 | PyObject* go = wxPyMake_wxObject(&grid); |
542 | PyObject* dco = wxPyMake_wxObject(&dc); | |
543 | PyObject* ao = wxPyMake_wxGridCellAttr(&attr); | |
544 | PyObject* ro = wxPyConstructObject((void*)&rect, "wxRect", 0); | |
545 | ||
546 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOiii)", go, ao, dco, ro, | |
547 | row, col, isSelected)); | |
548 | Py_DECREF(go); | |
549 | Py_DECREF(ao); | |
550 | Py_DECREF(dco); | |
551 | Py_DECREF(ro); | |
f6bcfd97 | 552 | } |
474c48f9 | 553 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
554 | } |
555 | ||
556 | wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc, | |
557 | int row, int col) { | |
558 | wxSize rval; | |
474c48f9 | 559 | wxPyBeginBlockThreads(); |
b68dc582 | 560 | if (wxPyCBH_findCallback(m_myInst, "GetBestSize")) { |
f6bcfd97 BP |
561 | PyObject* ro; |
562 | wxSize* ptr; | |
8f8b0a8d RD |
563 | PyObject* go = wxPyMake_wxObject(&grid); |
564 | PyObject* dco = wxPyMake_wxObject(&dc); | |
565 | PyObject* ao = wxPyMake_wxGridCellAttr(&attr); | |
566 | ||
567 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOii)", | |
568 | go, ao, dco, | |
569 | row, col)); | |
570 | Py_DECREF(go); | |
571 | Py_DECREF(ao); | |
572 | Py_DECREF(dco); | |
573 | ||
f6bcfd97 | 574 | if (ro) { |
87439dd8 RD |
575 | const char* errmsg = "GetBestSize should return a 2-tuple of integers or a wxSize object."; |
576 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxSize_p")) { | |
f6bcfd97 | 577 | rval = *ptr; |
87439dd8 RD |
578 | } |
579 | else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
580 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
581 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
582 | if (PyNumber_Check(o1) && PyNumber_Check(o2)) | |
583 | rval = wxSize(PyInt_AsLong(o1), PyInt_AsLong(o2)); | |
584 | else | |
585 | PyErr_SetString(PyExc_TypeError, errmsg); | |
586 | Py_DECREF(o1); | |
587 | Py_DECREF(o2); | |
588 | } | |
589 | else { | |
590 | PyErr_SetString(PyExc_TypeError, errmsg); | |
591 | } | |
f6bcfd97 BP |
592 | Py_DECREF(ro); |
593 | } | |
594 | } | |
474c48f9 | 595 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
596 | return rval; |
597 | } | |
598 | ||
599 | ||
600 | wxGridCellRenderer *Clone() const { | |
601 | wxGridCellRenderer* rval = NULL; | |
474c48f9 | 602 | wxPyBeginBlockThreads(); |
b68dc582 | 603 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
f6bcfd97 BP |
604 | PyObject* ro; |
605 | wxGridCellRenderer* ptr; | |
b68dc582 | 606 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
f6bcfd97 BP |
607 | if (ro) { |
608 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellRenderer_p")) | |
609 | rval = ptr; | |
610 | Py_DECREF(ro); | |
611 | } | |
612 | } | |
474c48f9 | 613 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
614 | return rval; |
615 | } | |
616 | ||
617 | DEC_PYCALLBACK__STRING(SetParameters); | |
618 | ||
619 | PYPRIVATE; | |
620 | }; | |
621 | ||
622 | IMP_PYCALLBACK__STRING( wxPyGridCellRenderer, wxGridCellRenderer, SetParameters); | |
623 | ||
624 | ||
625 | class wxPyGridCellEditor : public wxGridCellEditor | |
626 | { | |
627 | public: | |
628 | wxPyGridCellEditor() : wxGridCellEditor() {} | |
629 | ||
630 | void Create(wxWindow* parent, wxWindowID id, wxEvtHandler* evtHandler) { | |
474c48f9 | 631 | wxPyBeginBlockThreads(); |
b68dc582 | 632 | if (wxPyCBH_findCallback(m_myInst, "Create")) { |
8f8b0a8d RD |
633 | PyObject* po = wxPyMake_wxObject(parent); |
634 | PyObject* eo = wxPyMake_wxObject(evtHandler); | |
635 | ||
636 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", po, id, eo)); | |
637 | Py_DECREF(po); | |
638 | Py_DECREF(eo); | |
f6bcfd97 | 639 | } |
474c48f9 | 640 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
641 | } |
642 | ||
643 | ||
644 | void BeginEdit(int row, int col, wxGrid* grid) { | |
474c48f9 | 645 | wxPyBeginBlockThreads(); |
b68dc582 | 646 | if (wxPyCBH_findCallback(m_myInst, "BeginEdit")) { |
8f8b0a8d RD |
647 | PyObject* go = wxPyMake_wxObject(grid); |
648 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go)); | |
649 | Py_DECREF(go); | |
f6bcfd97 | 650 | } |
474c48f9 | 651 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
652 | } |
653 | ||
654 | ||
655 | bool EndEdit(int row, int col, wxGrid* grid) { | |
656 | bool rv = FALSE; | |
474c48f9 | 657 | wxPyBeginBlockThreads(); |
b68dc582 | 658 | if (wxPyCBH_findCallback(m_myInst, "EndEdit")) { |
8f8b0a8d RD |
659 | PyObject* go = wxPyMake_wxObject(grid); |
660 | rv = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", row, col, go)); | |
661 | Py_DECREF(go); | |
f6bcfd97 | 662 | } |
474c48f9 | 663 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
664 | return rv; |
665 | } | |
666 | ||
667 | ||
c368d904 | 668 | wxGridCellEditor*Clone() const { |
f6bcfd97 | 669 | wxGridCellEditor* rval = NULL; |
474c48f9 | 670 | wxPyBeginBlockThreads(); |
b68dc582 | 671 | if (wxPyCBH_findCallback(m_myInst, "Clone")) { |
f6bcfd97 BP |
672 | PyObject* ro; |
673 | wxGridCellEditor* ptr; | |
b68dc582 | 674 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); |
f6bcfd97 BP |
675 | if (ro) { |
676 | if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellEditor_p")) | |
677 | rval = ptr; | |
678 | Py_DECREF(ro); | |
679 | } | |
680 | } | |
474c48f9 | 681 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
682 | return rval; |
683 | } | |
684 | ||
685 | ||
686 | void Show(bool show, wxGridCellAttr *attr) { | |
059a841c | 687 | bool found; |
474c48f9 | 688 | wxPyBeginBlockThreads(); |
8f8b0a8d RD |
689 | if ((found = wxPyCBH_findCallback(m_myInst, "Show"))) { |
690 | PyObject* ao = wxPyMake_wxGridCellAttr(attr); | |
691 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", show, ao)); | |
692 | Py_DECREF(ao); | |
693 | } | |
474c48f9 | 694 | wxPyEndBlockThreads(); |
059a841c | 695 | if (! found) |
f6bcfd97 | 696 | wxGridCellEditor::Show(show, attr); |
f6bcfd97 BP |
697 | } |
698 | void base_Show(bool show, wxGridCellAttr *attr) { | |
699 | wxGridCellEditor::Show(show, attr); | |
700 | } | |
701 | ||
702 | ||
703 | void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { | |
8f8b0a8d | 704 | bool found; |
474c48f9 | 705 | wxPyBeginBlockThreads(); |
8f8b0a8d RD |
706 | if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) { |
707 | PyObject* ao = wxPyMake_wxGridCellAttr(attr); | |
708 | PyObject* ro = wxPyConstructObject((void*)&rectCell, "wxRect", 0); | |
709 | ||
710 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", ro, ao)); | |
711 | ||
712 | Py_DECREF(ro); | |
713 | Py_DECREF(ao); | |
714 | } | |
474c48f9 | 715 | wxPyEndBlockThreads(); |
059a841c | 716 | if (! found) |
f6bcfd97 | 717 | wxGridCellEditor::PaintBackground(rectCell, attr); |
f6bcfd97 BP |
718 | } |
719 | void base_PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { | |
720 | wxGridCellEditor::PaintBackground(rectCell, attr); | |
721 | } | |
722 | ||
723 | ||
724 | DEC_PYCALLBACK___pure(Reset); | |
725 | DEC_PYCALLBACK__constany(SetSize, wxRect); | |
726 | DEC_PYCALLBACK_bool_any(IsAcceptedKey, wxKeyEvent); | |
727 | DEC_PYCALLBACK__any(StartingKey, wxKeyEvent); | |
728 | DEC_PYCALLBACK__any(HandleReturn, wxKeyEvent); | |
729 | DEC_PYCALLBACK__(StartingClick); | |
730 | DEC_PYCALLBACK__(Destroy); | |
731 | DEC_PYCALLBACK__STRING(SetParameters); | |
732 | ||
733 | PYPRIVATE; | |
734 | }; | |
735 | ||
736 | ||
737 | IMP_PYCALLBACK__STRING( wxPyGridCellEditor, wxGridCellEditor, SetParameters); | |
738 | IMP_PYCALLBACK___pure(wxPyGridCellEditor, wxGridCellEditor, Reset); | |
739 | IMP_PYCALLBACK__constany(wxPyGridCellEditor, wxGridCellEditor, SetSize, wxRect); | |
740 | IMP_PYCALLBACK_bool_any(wxPyGridCellEditor, wxGridCellEditor, IsAcceptedKey, wxKeyEvent); | |
741 | IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, StartingKey, wxKeyEvent); | |
742 | IMP_PYCALLBACK__any(wxPyGridCellEditor, wxGridCellEditor, HandleReturn, wxKeyEvent); | |
743 | IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, StartingClick); | |
744 | IMP_PYCALLBACK__(wxPyGridCellEditor, wxGridCellEditor, Destroy); | |
745 | ||
746 | ||
747 | class wxPyGridCellAttrProvider : public wxGridCellAttrProvider | |
748 | { | |
749 | public: | |
750 | wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {}; | |
751 | ||
9df61a29 | 752 | PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider, GetAttr); |
f6bcfd97 BP |
753 | PYCALLBACK__GCAINTINT(wxGridCellAttrProvider, SetAttr); |
754 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetRowAttr); | |
755 | PYCALLBACK__GCAINT(wxGridCellAttrProvider, SetColAttr); | |
756 | ||
757 | PYPRIVATE; | |
758 | }; | |
759 | ||
760 | class wxPyGridTableBase : public wxGridTableBase | |
761 | { | |
762 | public: | |
763 | wxPyGridTableBase() : wxGridTableBase() {} | |
764 | ||
765 | PYCALLBACK_INT__pure(GetNumberRows); | |
766 | PYCALLBACK_INT__pure(GetNumberCols); | |
767 | PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell); | |
768 | PYCALLBACK_STRING_INTINT(wxGridTableBase, GetTypeName); | |
769 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanGetValueAs); | |
770 | PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase, CanSetValueAs); | |
771 | PYCALLBACK__(wxGridTableBase, Clear); | |
772 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertRows); | |
773 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteRows); | |
774 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, InsertCols); | |
775 | PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase, DeleteCols); | |
776 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendRows); | |
777 | PYCALLBACK_BOOL_SIZET(wxGridTableBase, AppendCols); | |
778 | PYCALLBACK_STRING_INT(wxGridTableBase, GetRowLabelValue); | |
779 | PYCALLBACK_STRING_INT(wxGridTableBase, GetColLabelValue); | |
780 | PYCALLBACK__INTSTRING(wxGridTableBase, SetRowLabelValue); | |
781 | PYCALLBACK__INTSTRING(wxGridTableBase, SetColLabelValue); | |
782 | PYCALLBACK_BOOL_(wxGridTableBase, CanHaveAttributes); | |
9df61a29 | 783 | PYCALLBACK_GCA_INTINTKIND(wxGridTableBase, GetAttr); |
f6bcfd97 BP |
784 | PYCALLBACK__GCAINTINT(wxGridTableBase, SetAttr); |
785 | PYCALLBACK__GCAINT(wxGridTableBase, SetRowAttr); | |
786 | PYCALLBACK__GCAINT(wxGridTableBase, SetColAttr); | |
787 | ||
788 | ||
f6bcfd97 | 789 | wxString GetValue(int row, int col) { |
474c48f9 | 790 | wxPyBeginBlockThreads(); |
f6bcfd97 | 791 | wxString rval; |
b68dc582 | 792 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 | 793 | PyObject* ro; |
b68dc582 | 794 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",row,col)); |
f6bcfd97 | 795 | if (ro) { |
49df1f52 | 796 | rval = Py2wxString(ro); |
f6bcfd97 BP |
797 | Py_DECREF(ro); |
798 | } | |
799 | } | |
474c48f9 | 800 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
801 | return rval; |
802 | } | |
803 | ||
804 | void SetValue(int row, int col, const wxString& val) { | |
474c48f9 | 805 | wxPyBeginBlockThreads(); |
c8bc7bb8 | 806 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
8f8b0a8d RD |
807 | PyObject* s = wx2PyString(val); |
808 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",row,col,s)); | |
809 | Py_DECREF(s); | |
c8bc7bb8 | 810 | } |
474c48f9 | 811 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
812 | } |
813 | ||
814 | ||
815 | // Map the Get/Set methods for the standard non-string types to | |
816 | // the GetValue and SetValue python methods. | |
817 | long GetValueAsLong( int row, int col ) { | |
818 | long rval = 0; | |
474c48f9 | 819 | wxPyBeginBlockThreads(); |
b68dc582 | 820 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 BP |
821 | PyObject* ro; |
822 | PyObject* num; | |
b68dc582 | 823 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
f6bcfd97 BP |
824 | if (ro && PyNumber_Check(ro)) { |
825 | num = PyNumber_Int(ro); | |
826 | if (num) { | |
827 | rval = PyInt_AsLong(num); | |
828 | Py_DECREF(num); | |
829 | } | |
830 | Py_DECREF(ro); | |
831 | } | |
832 | } | |
474c48f9 | 833 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
834 | return rval; |
835 | } | |
836 | ||
837 | double GetValueAsDouble( int row, int col ) { | |
838 | double rval = 0.0; | |
474c48f9 | 839 | wxPyBeginBlockThreads(); |
b68dc582 | 840 | if (wxPyCBH_findCallback(m_myInst, "GetValue")) { |
f6bcfd97 BP |
841 | PyObject* ro; |
842 | PyObject* num; | |
b68dc582 | 843 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)", row, col)); |
f6bcfd97 BP |
844 | if (ro && PyNumber_Check(ro)) { |
845 | num = PyNumber_Float(ro); | |
846 | if (num) { | |
847 | rval = PyFloat_AsDouble(num); | |
848 | Py_DECREF(num); | |
849 | } | |
850 | Py_DECREF(ro); | |
851 | } | |
852 | } | |
474c48f9 | 853 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
854 | return rval; |
855 | } | |
856 | ||
857 | bool GetValueAsBool( int row, int col ) { | |
858 | return (bool)GetValueAsLong(row, col); | |
859 | } | |
860 | ||
861 | void SetValueAsLong( int row, int col, long value ) { | |
474c48f9 | 862 | wxPyBeginBlockThreads(); |
b68dc582 RD |
863 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
864 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", row, col, value)); | |
f6bcfd97 | 865 | } |
474c48f9 | 866 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
867 | } |
868 | ||
869 | void SetValueAsDouble( int row, int col, double value ) { | |
474c48f9 | 870 | wxPyBeginBlockThreads(); |
b68dc582 RD |
871 | if (wxPyCBH_findCallback(m_myInst, "SetValue")) { |
872 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iid)", row, col, value)); | |
f6bcfd97 | 873 | } |
474c48f9 | 874 | wxPyEndBlockThreads(); |
f6bcfd97 BP |
875 | } |
876 | ||
877 | void SetValueAsBool( int row, int col, bool value ) { | |
878 | SetValueAsLong( row, col, (long)value ); | |
879 | } | |
880 | ||
881 | ||
882 | PYPRIVATE; | |
883 | }; | |
884 | ||
885 | bool wxGridCellCoords_helper(PyObject* source, wxGridCellCoords** obj) { | |
886 | ||
887 | // If source is an object instance then it may already be the right type | |
888 | if (PyInstance_Check(source)) { | |
889 | wxGridCellCoords* ptr; | |
890 | if (SWIG_GetPtrObj(source, (void **)&ptr, "_wxGridCellCoords_p")) | |
891 | goto error; | |
892 | *obj = ptr; | |
893 | return TRUE; | |
894 | } | |
895 | // otherwise a 2-tuple of integers is expected | |
896 | else if (PySequence_Check(source) && PyObject_Length(source) == 2) { | |
897 | PyObject* o1 = PySequence_GetItem(source, 0); | |
898 | PyObject* o2 = PySequence_GetItem(source, 1); | |
899 | **obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2)); | |
900 | return TRUE; | |
901 | } | |
902 | ||
903 | error: | |
904 | PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object."); | |
905 | return FALSE; | |
906 | } | |
907 | ||
908 | typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES; | |
909 | #ifdef __cplusplus | |
910 | extern "C" { | |
911 | #endif | |
912 | static int _wrap_wxGridNoCellCoords_set(PyObject *val) { | |
913 | ||
914 | PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellCoords is read-only."); | |
915 | return 1; | |
916 | } | |
917 | ||
918 | static PyObject *_wrap_wxGridNoCellCoords_get() { | |
919 | PyObject * pyobj; | |
920 | char ptemp[128]; | |
921 | ||
922 | SWIG_MakePtr(ptemp,(char *) &wxGridNoCellCoords,"_wxGridCellCoords_p"); | |
923 | pyobj = PyString_FromString(ptemp); | |
924 | return pyobj; | |
925 | } | |
926 | ||
927 | static int _wrap_wxGridNoCellRect_set(PyObject *val) { | |
928 | ||
929 | PyErr_SetString(PyExc_TypeError,"Variable wxGridNoCellRect is read-only."); | |
930 | return 1; | |
931 | } | |
932 | ||
933 | static PyObject *_wrap_wxGridNoCellRect_get() { | |
934 | PyObject * pyobj; | |
935 | char ptemp[128]; | |
936 | ||
937 | SWIG_MakePtr(ptemp,(char *) &wxGridNoCellRect,"_wxRect_p"); | |
938 | pyobj = PyString_FromString(ptemp); | |
939 | return pyobj; | |
940 | } | |
941 | ||
b98a5dfc RD |
942 | static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer *self,PyObject * _self) { |
943 | self->SetClientObject(new wxPyOORClientData(_self)); | |
944 | } | |
945 | static PyObject *_wrap_wxGridCellRenderer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
946 | PyObject * _resultobj; | |
947 | wxGridCellRenderer * _arg0; | |
948 | PyObject * _arg1; | |
949 | PyObject * _argo0 = 0; | |
950 | PyObject * _obj1 = 0; | |
951 | char *_kwnames[] = { "self","_self", NULL }; | |
952 | ||
953 | self = self; | |
954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
955 | return NULL; | |
956 | if (_argo0) { | |
957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p."); | |
960 | return NULL; | |
961 | } | |
962 | } | |
963 | { | |
964 | _arg1 = _obj1; | |
965 | } | |
966 | { | |
967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
968 | wxGridCellRenderer__setOORInfo(_arg0,_arg1); | |
969 | ||
970 | wxPyEndAllowThreads(__tstate); | |
971 | if (PyErr_Occurred()) return NULL; | |
972 | } Py_INCREF(Py_None); | |
973 | _resultobj = Py_None; | |
974 | return _resultobj; | |
975 | } | |
976 | ||
f6bcfd97 BP |
977 | #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0)) |
978 | static PyObject *_wrap_wxGridCellRenderer_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
979 | PyObject * _resultobj; | |
980 | wxGridCellRenderer * _arg0; | |
981 | wxString * _arg1; | |
982 | PyObject * _argo0 = 0; | |
983 | PyObject * _obj1 = 0; | |
984 | char *_kwnames[] = { "self","params", NULL }; | |
985 | ||
986 | self = self; | |
987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellRenderer_SetParameters",_kwnames,&_argo0,&_obj1)) | |
988 | return NULL; | |
989 | if (_argo0) { | |
990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p."); | |
993 | return NULL; | |
994 | } | |
995 | } | |
996 | { | |
c8bc7bb8 RD |
997 | _arg1 = wxString_in_helper(_obj1); |
998 | if (_arg1 == NULL) | |
2cd2fac8 | 999 | return NULL; |
f6bcfd97 BP |
1000 | } |
1001 | { | |
474c48f9 | 1002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1003 | wxGridCellRenderer_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1004 | |
474c48f9 | 1005 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1006 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1007 | } Py_INCREF(Py_None); |
1008 | _resultobj = Py_None; | |
1009 | { | |
1010 | if (_obj1) | |
1011 | delete _arg1; | |
1012 | } | |
1013 | return _resultobj; | |
1014 | } | |
1015 | ||
1016 | #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef()) | |
1017 | static PyObject *_wrap_wxGridCellRenderer_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1018 | PyObject * _resultobj; | |
1019 | wxGridCellRenderer * _arg0; | |
1020 | PyObject * _argo0 = 0; | |
1021 | char *_kwnames[] = { "self", NULL }; | |
1022 | ||
1023 | self = self; | |
1024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_IncRef",_kwnames,&_argo0)) | |
1025 | return NULL; | |
1026 | if (_argo0) { | |
1027 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1028 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p."); | |
1030 | return NULL; | |
1031 | } | |
1032 | } | |
1033 | { | |
474c48f9 | 1034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1035 | wxGridCellRenderer_IncRef(_arg0); |
f6bcfd97 | 1036 | |
474c48f9 | 1037 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1038 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1039 | } Py_INCREF(Py_None); |
1040 | _resultobj = Py_None; | |
1041 | return _resultobj; | |
1042 | } | |
1043 | ||
1044 | #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef()) | |
1045 | static PyObject *_wrap_wxGridCellRenderer_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1046 | PyObject * _resultobj; | |
1047 | wxGridCellRenderer * _arg0; | |
1048 | PyObject * _argo0 = 0; | |
1049 | char *_kwnames[] = { "self", NULL }; | |
1050 | ||
1051 | self = self; | |
1052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_DecRef",_kwnames,&_argo0)) | |
1053 | return NULL; | |
1054 | if (_argo0) { | |
1055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p."); | |
1058 | return NULL; | |
1059 | } | |
1060 | } | |
1061 | { | |
474c48f9 | 1062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1063 | wxGridCellRenderer_DecRef(_arg0); |
f6bcfd97 | 1064 | |
474c48f9 | 1065 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1066 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1067 | } Py_INCREF(Py_None); |
1068 | _resultobj = Py_None; | |
1069 | return _resultobj; | |
1070 | } | |
1071 | ||
1072 | #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
1073 | static PyObject *_wrap_wxGridCellRenderer_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1074 | PyObject * _resultobj; | |
1075 | wxGridCellRenderer * _arg0; | |
1076 | wxGrid * _arg1; | |
1077 | wxGridCellAttr * _arg2; | |
1078 | wxDC * _arg3; | |
1079 | wxRect * _arg4; | |
1080 | int _arg5; | |
1081 | int _arg6; | |
1082 | bool _arg7; | |
1083 | PyObject * _argo0 = 0; | |
1084 | PyObject * _argo1 = 0; | |
1085 | PyObject * _argo2 = 0; | |
1086 | PyObject * _argo3 = 0; | |
1087 | wxRect temp; | |
1088 | PyObject * _obj4 = 0; | |
1089 | int tempbool7; | |
1090 | char *_kwnames[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL }; | |
1091 | ||
1092 | self = self; | |
1093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_obj4,&_arg5,&_arg6,&tempbool7)) | |
1094 | return NULL; | |
1095 | if (_argo0) { | |
1096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p."); | |
1099 | return NULL; | |
1100 | } | |
1101 | } | |
1102 | if (_argo1) { | |
1103 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1104 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p."); | |
1106 | return NULL; | |
1107 | } | |
1108 | } | |
1109 | if (_argo2) { | |
1110 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1111 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
1112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p."); | |
1113 | return NULL; | |
1114 | } | |
1115 | } | |
1116 | if (_argo3) { | |
1117 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1118 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) { | |
1119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p."); | |
1120 | return NULL; | |
1121 | } | |
1122 | } | |
1123 | { | |
1124 | _arg4 = &temp; | |
1125 | if (! wxRect_helper(_obj4, &_arg4)) | |
1126 | return NULL; | |
1127 | } | |
1128 | _arg7 = (bool ) tempbool7; | |
1129 | { | |
474c48f9 | 1130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1131 | wxGridCellRenderer_Draw(_arg0,*_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7); |
f6bcfd97 | 1132 | |
474c48f9 | 1133 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1134 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1135 | } Py_INCREF(Py_None); |
1136 | _resultobj = Py_None; | |
1137 | return _resultobj; | |
1138 | } | |
1139 | ||
1140 | #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1141 | static PyObject *_wrap_wxGridCellRenderer_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1142 | PyObject * _resultobj; | |
1143 | wxSize * _result; | |
1144 | wxGridCellRenderer * _arg0; | |
1145 | wxGrid * _arg1; | |
1146 | wxGridCellAttr * _arg2; | |
1147 | wxDC * _arg3; | |
1148 | int _arg4; | |
1149 | int _arg5; | |
1150 | PyObject * _argo0 = 0; | |
1151 | PyObject * _argo1 = 0; | |
1152 | PyObject * _argo2 = 0; | |
1153 | PyObject * _argo3 = 0; | |
1154 | char *_kwnames[] = { "self","grid","attr","dc","row","col", NULL }; | |
1155 | char _ptemp[128]; | |
1156 | ||
1157 | self = self; | |
1158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_arg4,&_arg5)) | |
1159 | return NULL; | |
1160 | if (_argo0) { | |
1161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p."); | |
1164 | return NULL; | |
1165 | } | |
1166 | } | |
1167 | if (_argo1) { | |
1168 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1169 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
1170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p."); | |
1171 | return NULL; | |
1172 | } | |
1173 | } | |
1174 | if (_argo2) { | |
1175 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1176 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
1177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p."); | |
1178 | return NULL; | |
1179 | } | |
1180 | } | |
1181 | if (_argo3) { | |
1182 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1183 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxDC_p")) { | |
1184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p."); | |
1185 | return NULL; | |
1186 | } | |
1187 | } | |
1188 | { | |
474c48f9 | 1189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1190 | _result = new wxSize (wxGridCellRenderer_GetBestSize(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5)); |
f6bcfd97 | 1191 | |
474c48f9 | 1192 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1193 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1194 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
1195 | _resultobj = Py_BuildValue("s",_ptemp); | |
1196 | return _resultobj; | |
1197 | } | |
1198 | ||
1199 | #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone()) | |
1200 | static PyObject *_wrap_wxGridCellRenderer_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1201 | PyObject * _resultobj; | |
1202 | wxGridCellRenderer * _result; | |
1203 | wxGridCellRenderer * _arg0; | |
1204 | PyObject * _argo0 = 0; | |
1205 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
1206 | |
1207 | self = self; | |
1208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellRenderer_Clone",_kwnames,&_argo0)) | |
1209 | return NULL; | |
1210 | if (_argo0) { | |
1211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellRenderer_p")) { | |
1213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p."); | |
1214 | return NULL; | |
1215 | } | |
1216 | } | |
1217 | { | |
474c48f9 | 1218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1219 | _result = (wxGridCellRenderer *)wxGridCellRenderer_Clone(_arg0); |
f6bcfd97 | 1220 | |
474c48f9 | 1221 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1222 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 1223 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
1224 | return _resultobj; |
1225 | } | |
1226 | ||
1227 | static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr) { | |
1228 | wxPyGridCellRenderer *src; | |
1229 | wxGridCellRenderer *dest; | |
1230 | src = (wxPyGridCellRenderer *) ptr; | |
1231 | dest = (wxGridCellRenderer *) src; | |
1232 | return (void *) dest; | |
1233 | } | |
1234 | ||
1235 | #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer()) | |
1236 | static PyObject *_wrap_new_wxPyGridCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1237 | PyObject * _resultobj; | |
1238 | wxPyGridCellRenderer * _result; | |
1239 | char *_kwnames[] = { NULL }; | |
1240 | char _ptemp[128]; | |
1241 | ||
1242 | self = self; | |
1243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellRenderer",_kwnames)) | |
1244 | return NULL; | |
1245 | { | |
474c48f9 | 1246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1247 | _result = (wxPyGridCellRenderer *)new_wxPyGridCellRenderer(); |
f6bcfd97 | 1248 | |
474c48f9 | 1249 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1250 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1251 | } if (_result) { |
1252 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellRenderer_p"); | |
1253 | _resultobj = Py_BuildValue("s",_ptemp); | |
1254 | } else { | |
1255 | Py_INCREF(Py_None); | |
1256 | _resultobj = Py_None; | |
1257 | } | |
1258 | return _resultobj; | |
1259 | } | |
1260 | ||
0220cbc1 RD |
1261 | #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
1262 | static PyObject *_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1263 | PyObject * _resultobj; |
1264 | wxPyGridCellRenderer * _arg0; | |
1265 | PyObject * _arg1; | |
1266 | PyObject * _arg2; | |
1267 | PyObject * _argo0 = 0; | |
1268 | PyObject * _obj1 = 0; | |
1269 | PyObject * _obj2 = 0; | |
1270 | char *_kwnames[] = { "self","self","_class", NULL }; | |
1271 | ||
1272 | self = self; | |
0220cbc1 | 1273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
1274 | return NULL; |
1275 | if (_argo0) { | |
1276 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1277 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) { | |
0220cbc1 | 1278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p."); |
f6bcfd97 BP |
1279 | return NULL; |
1280 | } | |
1281 | } | |
1282 | { | |
1283 | _arg1 = _obj1; | |
1284 | } | |
1285 | { | |
1286 | _arg2 = _obj2; | |
1287 | } | |
1288 | { | |
474c48f9 | 1289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1290 | wxPyGridCellRenderer__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 1291 | |
474c48f9 | 1292 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1293 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1294 | } Py_INCREF(Py_None); |
1295 | _resultobj = Py_None; | |
1296 | return _resultobj; | |
1297 | } | |
1298 | ||
1299 | #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0)) | |
1300 | static PyObject *_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1301 | PyObject * _resultobj; | |
1302 | wxPyGridCellRenderer * _arg0; | |
1303 | wxString * _arg1; | |
1304 | PyObject * _argo0 = 0; | |
1305 | PyObject * _obj1 = 0; | |
1306 | char *_kwnames[] = { "self","params", NULL }; | |
1307 | ||
1308 | self = self; | |
1309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1310 | return NULL; | |
1311 | if (_argo0) { | |
1312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellRenderer_p")) { | |
1314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p."); | |
1315 | return NULL; | |
1316 | } | |
1317 | } | |
1318 | { | |
c8bc7bb8 RD |
1319 | _arg1 = wxString_in_helper(_obj1); |
1320 | if (_arg1 == NULL) | |
2cd2fac8 | 1321 | return NULL; |
f6bcfd97 BP |
1322 | } |
1323 | { | |
474c48f9 | 1324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1325 | wxPyGridCellRenderer_base_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1326 | |
474c48f9 | 1327 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1328 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1329 | } Py_INCREF(Py_None); |
1330 | _resultobj = Py_None; | |
1331 | { | |
1332 | if (_obj1) | |
1333 | delete _arg1; | |
1334 | } | |
1335 | return _resultobj; | |
1336 | } | |
1337 | ||
1338 | static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr) { | |
1339 | wxGridCellStringRenderer *src; | |
1340 | wxGridCellRenderer *dest; | |
1341 | src = (wxGridCellStringRenderer *) ptr; | |
1342 | dest = (wxGridCellRenderer *) src; | |
1343 | return (void *) dest; | |
1344 | } | |
1345 | ||
1346 | #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer()) | |
1347 | static PyObject *_wrap_new_wxGridCellStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1348 | PyObject * _resultobj; | |
1349 | wxGridCellStringRenderer * _result; | |
1350 | char *_kwnames[] = { NULL }; | |
1351 | char _ptemp[128]; | |
1352 | ||
1353 | self = self; | |
1354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellStringRenderer",_kwnames)) | |
1355 | return NULL; | |
1356 | { | |
474c48f9 | 1357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1358 | _result = (wxGridCellStringRenderer *)new_wxGridCellStringRenderer(); |
f6bcfd97 | 1359 | |
474c48f9 | 1360 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1361 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1362 | } if (_result) { |
1363 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellStringRenderer_p"); | |
1364 | _resultobj = Py_BuildValue("s",_ptemp); | |
1365 | } else { | |
1366 | Py_INCREF(Py_None); | |
1367 | _resultobj = Py_None; | |
1368 | } | |
1369 | return _resultobj; | |
1370 | } | |
1371 | ||
1372 | static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr) { | |
1373 | wxGridCellNumberRenderer *src; | |
1374 | wxGridCellStringRenderer *dest; | |
1375 | src = (wxGridCellNumberRenderer *) ptr; | |
1376 | dest = (wxGridCellStringRenderer *) src; | |
1377 | return (void *) dest; | |
1378 | } | |
1379 | ||
1380 | static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr) { | |
1381 | wxGridCellNumberRenderer *src; | |
1382 | wxGridCellRenderer *dest; | |
1383 | src = (wxGridCellNumberRenderer *) ptr; | |
1384 | dest = (wxGridCellRenderer *) src; | |
1385 | return (void *) dest; | |
1386 | } | |
1387 | ||
1388 | #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer()) | |
1389 | static PyObject *_wrap_new_wxGridCellNumberRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1390 | PyObject * _resultobj; | |
1391 | wxGridCellNumberRenderer * _result; | |
1392 | char *_kwnames[] = { NULL }; | |
1393 | char _ptemp[128]; | |
1394 | ||
1395 | self = self; | |
1396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellNumberRenderer",_kwnames)) | |
1397 | return NULL; | |
1398 | { | |
474c48f9 | 1399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1400 | _result = (wxGridCellNumberRenderer *)new_wxGridCellNumberRenderer(); |
f6bcfd97 | 1401 | |
474c48f9 | 1402 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1403 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1404 | } if (_result) { |
1405 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberRenderer_p"); | |
1406 | _resultobj = Py_BuildValue("s",_ptemp); | |
1407 | } else { | |
1408 | Py_INCREF(Py_None); | |
1409 | _resultobj = Py_None; | |
1410 | } | |
1411 | return _resultobj; | |
1412 | } | |
1413 | ||
1414 | static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr) { | |
1415 | wxGridCellFloatRenderer *src; | |
1416 | wxGridCellStringRenderer *dest; | |
1417 | src = (wxGridCellFloatRenderer *) ptr; | |
1418 | dest = (wxGridCellStringRenderer *) src; | |
1419 | return (void *) dest; | |
1420 | } | |
1421 | ||
1422 | static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr) { | |
1423 | wxGridCellFloatRenderer *src; | |
1424 | wxGridCellRenderer *dest; | |
1425 | src = (wxGridCellFloatRenderer *) ptr; | |
1426 | dest = (wxGridCellRenderer *) src; | |
1427 | return (void *) dest; | |
1428 | } | |
1429 | ||
1430 | #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1)) | |
1431 | static PyObject *_wrap_new_wxGridCellFloatRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1432 | PyObject * _resultobj; | |
1433 | wxGridCellFloatRenderer * _result; | |
1434 | int _arg0 = (int ) -1; | |
1435 | int _arg1 = (int ) -1; | |
1436 | char *_kwnames[] = { "width","precision", NULL }; | |
1437 | char _ptemp[128]; | |
1438 | ||
1439 | self = self; | |
1440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellFloatRenderer",_kwnames,&_arg0,&_arg1)) | |
1441 | return NULL; | |
1442 | { | |
474c48f9 | 1443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1444 | _result = (wxGridCellFloatRenderer *)new_wxGridCellFloatRenderer(_arg0,_arg1); |
f6bcfd97 | 1445 | |
474c48f9 | 1446 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1447 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1448 | } if (_result) { |
1449 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatRenderer_p"); | |
1450 | _resultobj = Py_BuildValue("s",_ptemp); | |
1451 | } else { | |
1452 | Py_INCREF(Py_None); | |
1453 | _resultobj = Py_None; | |
1454 | } | |
1455 | return _resultobj; | |
1456 | } | |
1457 | ||
1458 | #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1459 | static PyObject *_wrap_wxGridCellFloatRenderer_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1460 | PyObject * _resultobj; | |
1461 | int _result; | |
1462 | wxGridCellFloatRenderer * _arg0; | |
1463 | PyObject * _argo0 = 0; | |
1464 | char *_kwnames[] = { "self", NULL }; | |
1465 | ||
1466 | self = self; | |
1467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetWidth",_kwnames,&_argo0)) | |
1468 | return NULL; | |
1469 | if (_argo0) { | |
1470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p."); | |
1473 | return NULL; | |
1474 | } | |
1475 | } | |
1476 | { | |
474c48f9 | 1477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1478 | _result = (int )wxGridCellFloatRenderer_GetWidth(_arg0); |
f6bcfd97 | 1479 | |
474c48f9 | 1480 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1481 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1482 | } _resultobj = Py_BuildValue("i",_result); |
1483 | return _resultobj; | |
1484 | } | |
1485 | ||
1486 | #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
1487 | static PyObject *_wrap_wxGridCellFloatRenderer_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1488 | PyObject * _resultobj; | |
1489 | wxGridCellFloatRenderer * _arg0; | |
1490 | int _arg1; | |
1491 | PyObject * _argo0 = 0; | |
1492 | char *_kwnames[] = { "self","width", NULL }; | |
1493 | ||
1494 | self = self; | |
1495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames,&_argo0,&_arg1)) | |
1496 | return NULL; | |
1497 | if (_argo0) { | |
1498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p."); | |
1501 | return NULL; | |
1502 | } | |
1503 | } | |
1504 | { | |
474c48f9 | 1505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1506 | wxGridCellFloatRenderer_SetWidth(_arg0,_arg1); |
f6bcfd97 | 1507 | |
474c48f9 | 1508 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1509 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1510 | } Py_INCREF(Py_None); |
1511 | _resultobj = Py_None; | |
1512 | return _resultobj; | |
1513 | } | |
1514 | ||
1515 | #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision()) | |
1516 | static PyObject *_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1517 | PyObject * _resultobj; | |
1518 | int _result; | |
1519 | wxGridCellFloatRenderer * _arg0; | |
1520 | PyObject * _argo0 = 0; | |
1521 | char *_kwnames[] = { "self", NULL }; | |
1522 | ||
1523 | self = self; | |
1524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames,&_argo0)) | |
1525 | return NULL; | |
1526 | if (_argo0) { | |
1527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p."); | |
1530 | return NULL; | |
1531 | } | |
1532 | } | |
1533 | { | |
474c48f9 | 1534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1535 | _result = (int )wxGridCellFloatRenderer_GetPrecision(_arg0); |
f6bcfd97 | 1536 | |
474c48f9 | 1537 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1538 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1539 | } _resultobj = Py_BuildValue("i",_result); |
1540 | return _resultobj; | |
1541 | } | |
1542 | ||
1543 | #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0)) | |
1544 | static PyObject *_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1545 | PyObject * _resultobj; | |
1546 | wxGridCellFloatRenderer * _arg0; | |
1547 | int _arg1; | |
1548 | PyObject * _argo0 = 0; | |
1549 | char *_kwnames[] = { "self","precision", NULL }; | |
1550 | ||
1551 | self = self; | |
1552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames,&_argo0,&_arg1)) | |
1553 | return NULL; | |
1554 | if (_argo0) { | |
1555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellFloatRenderer_p")) { | |
1557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p."); | |
1558 | return NULL; | |
1559 | } | |
1560 | } | |
1561 | { | |
474c48f9 | 1562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1563 | wxGridCellFloatRenderer_SetPrecision(_arg0,_arg1); |
f6bcfd97 | 1564 | |
474c48f9 | 1565 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1566 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1567 | } Py_INCREF(Py_None); |
1568 | _resultobj = Py_None; | |
1569 | return _resultobj; | |
1570 | } | |
1571 | ||
1572 | static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr) { | |
1573 | wxGridCellBoolRenderer *src; | |
1574 | wxGridCellRenderer *dest; | |
1575 | src = (wxGridCellBoolRenderer *) ptr; | |
1576 | dest = (wxGridCellRenderer *) src; | |
1577 | return (void *) dest; | |
1578 | } | |
1579 | ||
1580 | #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer()) | |
1581 | static PyObject *_wrap_new_wxGridCellBoolRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1582 | PyObject * _resultobj; | |
1583 | wxGridCellBoolRenderer * _result; | |
1584 | char *_kwnames[] = { NULL }; | |
1585 | char _ptemp[128]; | |
1586 | ||
1587 | self = self; | |
1588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolRenderer",_kwnames)) | |
1589 | return NULL; | |
1590 | { | |
474c48f9 | 1591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1592 | _result = (wxGridCellBoolRenderer *)new_wxGridCellBoolRenderer(); |
f6bcfd97 | 1593 | |
474c48f9 | 1594 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1595 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1596 | } if (_result) { |
1597 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolRenderer_p"); | |
1598 | _resultobj = Py_BuildValue("s",_ptemp); | |
1599 | } else { | |
1600 | Py_INCREF(Py_None); | |
1601 | _resultobj = Py_None; | |
1602 | } | |
1603 | return _resultobj; | |
1604 | } | |
1605 | ||
059a841c RD |
1606 | static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr) { |
1607 | wxGridCellDateTimeRenderer *src; | |
1608 | wxGridCellStringRenderer *dest; | |
1609 | src = (wxGridCellDateTimeRenderer *) ptr; | |
1610 | dest = (wxGridCellStringRenderer *) src; | |
1611 | return (void *) dest; | |
1612 | } | |
1613 | ||
1614 | static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr) { | |
1615 | wxGridCellDateTimeRenderer *src; | |
1616 | wxGridCellRenderer *dest; | |
1617 | src = (wxGridCellDateTimeRenderer *) ptr; | |
1618 | dest = (wxGridCellRenderer *) src; | |
1619 | return (void *) dest; | |
1620 | } | |
1621 | ||
1622 | #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1)) | |
1623 | static PyObject *_wrap_new_wxGridCellDateTimeRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1624 | PyObject * _resultobj; | |
1625 | wxGridCellDateTimeRenderer * _result; | |
b98a5dfc RD |
1626 | wxString * _arg0 = (wxString *) &wxPyDateTimeFormatStr; |
1627 | wxString * _arg1 = (wxString *) &wxPyDateTimeFormatStr; | |
059a841c RD |
1628 | PyObject * _obj0 = 0; |
1629 | PyObject * _obj1 = 0; | |
1630 | char *_kwnames[] = { "outformat","informat", NULL }; | |
1631 | char _ptemp[128]; | |
1632 | ||
1633 | self = self; | |
1634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxGridCellDateTimeRenderer",_kwnames,&_obj0,&_obj1)) | |
1635 | return NULL; | |
1636 | if (_obj0) | |
1637 | { | |
c8bc7bb8 RD |
1638 | _arg0 = wxString_in_helper(_obj0); |
1639 | if (_arg0 == NULL) | |
059a841c | 1640 | return NULL; |
059a841c RD |
1641 | } |
1642 | if (_obj1) | |
1643 | { | |
c8bc7bb8 RD |
1644 | _arg1 = wxString_in_helper(_obj1); |
1645 | if (_arg1 == NULL) | |
059a841c | 1646 | return NULL; |
059a841c RD |
1647 | } |
1648 | { | |
474c48f9 | 1649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1650 | _result = (wxGridCellDateTimeRenderer *)new_wxGridCellDateTimeRenderer(*_arg0,*_arg1); |
059a841c | 1651 | |
474c48f9 | 1652 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
1653 | if (PyErr_Occurred()) return NULL; |
1654 | } if (_result) { | |
1655 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellDateTimeRenderer_p"); | |
1656 | _resultobj = Py_BuildValue("s",_ptemp); | |
1657 | } else { | |
1658 | Py_INCREF(Py_None); | |
1659 | _resultobj = Py_None; | |
1660 | } | |
1661 | { | |
1662 | if (_obj0) | |
1663 | delete _arg0; | |
1664 | } | |
1665 | { | |
1666 | if (_obj1) | |
1667 | delete _arg1; | |
1668 | } | |
1669 | return _resultobj; | |
1670 | } | |
1671 | ||
1672 | static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr) { | |
1673 | wxGridCellEnumRenderer *src; | |
1674 | wxGridCellStringRenderer *dest; | |
1675 | src = (wxGridCellEnumRenderer *) ptr; | |
1676 | dest = (wxGridCellStringRenderer *) src; | |
1677 | return (void *) dest; | |
1678 | } | |
1679 | ||
1680 | static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr) { | |
1681 | wxGridCellEnumRenderer *src; | |
1682 | wxGridCellRenderer *dest; | |
1683 | src = (wxGridCellEnumRenderer *) ptr; | |
1684 | dest = (wxGridCellRenderer *) src; | |
1685 | return (void *) dest; | |
1686 | } | |
1687 | ||
1688 | #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0)) | |
1689 | static PyObject *_wrap_new_wxGridCellEnumRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1690 | PyObject * _resultobj; | |
1691 | wxGridCellEnumRenderer * _result; | |
b98a5dfc | 1692 | wxString * _arg0 = (wxString *) &wxPyEmptyString; |
059a841c RD |
1693 | PyObject * _obj0 = 0; |
1694 | char *_kwnames[] = { "choices", NULL }; | |
1695 | char _ptemp[128]; | |
1696 | ||
1697 | self = self; | |
1698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumRenderer",_kwnames,&_obj0)) | |
1699 | return NULL; | |
1700 | if (_obj0) | |
1701 | { | |
1702 | _arg0 = wxString_LIST_helper(_obj0); | |
1703 | if (_arg0 == NULL) { | |
1704 | return NULL; | |
1705 | } | |
1706 | } | |
1707 | { | |
474c48f9 | 1708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1709 | _result = (wxGridCellEnumRenderer *)new_wxGridCellEnumRenderer(*_arg0); |
059a841c | 1710 | |
474c48f9 | 1711 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
1712 | if (PyErr_Occurred()) return NULL; |
1713 | } if (_result) { | |
1714 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumRenderer_p"); | |
1715 | _resultobj = Py_BuildValue("s",_ptemp); | |
1716 | } else { | |
1717 | Py_INCREF(Py_None); | |
1718 | _resultobj = Py_None; | |
1719 | } | |
1720 | { | |
1721 | delete [] _arg0; | |
1722 | } | |
1723 | return _resultobj; | |
1724 | } | |
1725 | ||
1726 | static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr) { | |
1727 | wxGridCellAutoWrapStringRenderer *src; | |
1728 | wxGridCellStringRenderer *dest; | |
1729 | src = (wxGridCellAutoWrapStringRenderer *) ptr; | |
1730 | dest = (wxGridCellStringRenderer *) src; | |
1731 | return (void *) dest; | |
1732 | } | |
1733 | ||
1734 | static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr) { | |
1735 | wxGridCellAutoWrapStringRenderer *src; | |
1736 | wxGridCellRenderer *dest; | |
1737 | src = (wxGridCellAutoWrapStringRenderer *) ptr; | |
1738 | dest = (wxGridCellRenderer *) src; | |
1739 | return (void *) dest; | |
1740 | } | |
1741 | ||
1742 | #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer()) | |
1743 | static PyObject *_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1744 | PyObject * _resultobj; | |
1745 | wxGridCellAutoWrapStringRenderer * _result; | |
1746 | char *_kwnames[] = { NULL }; | |
1747 | char _ptemp[128]; | |
1748 | ||
1749 | self = self; | |
1750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringRenderer",_kwnames)) | |
1751 | return NULL; | |
1752 | { | |
474c48f9 | 1753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1754 | _result = (wxGridCellAutoWrapStringRenderer *)new_wxGridCellAutoWrapStringRenderer(); |
059a841c | 1755 | |
474c48f9 | 1756 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
1757 | if (PyErr_Occurred()) return NULL; |
1758 | } if (_result) { | |
1759 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringRenderer_p"); | |
1760 | _resultobj = Py_BuildValue("s",_ptemp); | |
1761 | } else { | |
1762 | Py_INCREF(Py_None); | |
1763 | _resultobj = Py_None; | |
1764 | } | |
1765 | return _resultobj; | |
1766 | } | |
1767 | ||
b98a5dfc RD |
1768 | static void wxGridCellEditor__setOORInfo(wxGridCellEditor *self,PyObject * _self) { |
1769 | self->SetClientObject(new wxPyOORClientData(_self)); | |
1770 | } | |
1771 | static PyObject *_wrap_wxGridCellEditor__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1772 | PyObject * _resultobj; | |
1773 | wxGridCellEditor * _arg0; | |
1774 | PyObject * _arg1; | |
1775 | PyObject * _argo0 = 0; | |
1776 | PyObject * _obj1 = 0; | |
1777 | char *_kwnames[] = { "self","_self", NULL }; | |
1778 | ||
1779 | self = self; | |
1780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
1781 | return NULL; | |
1782 | if (_argo0) { | |
1783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p."); | |
1786 | return NULL; | |
1787 | } | |
1788 | } | |
1789 | { | |
1790 | _arg1 = _obj1; | |
1791 | } | |
1792 | { | |
1793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1794 | wxGridCellEditor__setOORInfo(_arg0,_arg1); | |
1795 | ||
1796 | wxPyEndAllowThreads(__tstate); | |
1797 | if (PyErr_Occurred()) return NULL; | |
1798 | } Py_INCREF(Py_None); | |
1799 | _resultobj = Py_None; | |
1800 | return _resultobj; | |
1801 | } | |
1802 | ||
f6bcfd97 BP |
1803 | #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated()) |
1804 | static PyObject *_wrap_wxGridCellEditor_IsCreated(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1805 | PyObject * _resultobj; | |
1806 | bool _result; | |
1807 | wxGridCellEditor * _arg0; | |
1808 | PyObject * _argo0 = 0; | |
1809 | char *_kwnames[] = { "self", NULL }; | |
1810 | ||
1811 | self = self; | |
1812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IsCreated",_kwnames,&_argo0)) | |
1813 | return NULL; | |
1814 | if (_argo0) { | |
1815 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1816 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p."); | |
1818 | return NULL; | |
1819 | } | |
1820 | } | |
1821 | { | |
474c48f9 | 1822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1823 | _result = (bool )wxGridCellEditor_IsCreated(_arg0); |
f6bcfd97 | 1824 | |
474c48f9 | 1825 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1826 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1827 | } _resultobj = Py_BuildValue("i",_result); |
1828 | return _resultobj; | |
1829 | } | |
1830 | ||
1831 | #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl()) | |
1832 | static PyObject *_wrap_wxGridCellEditor_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1833 | PyObject * _resultobj; | |
1834 | wxControl * _result; | |
1835 | wxGridCellEditor * _arg0; | |
1836 | PyObject * _argo0 = 0; | |
1837 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
1838 | |
1839 | self = self; | |
1840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_GetControl",_kwnames,&_argo0)) | |
1841 | return NULL; | |
1842 | if (_argo0) { | |
1843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p."); | |
1846 | return NULL; | |
1847 | } | |
1848 | } | |
1849 | { | |
474c48f9 | 1850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1851 | _result = (wxControl *)wxGridCellEditor_GetControl(_arg0); |
f6bcfd97 | 1852 | |
474c48f9 | 1853 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1854 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 1855 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
1856 | return _resultobj; |
1857 | } | |
1858 | ||
1859 | #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0)) | |
1860 | static PyObject *_wrap_wxGridCellEditor_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1861 | PyObject * _resultobj; | |
1862 | wxGridCellEditor * _arg0; | |
1863 | wxControl * _arg1; | |
1864 | PyObject * _argo0 = 0; | |
1865 | PyObject * _argo1 = 0; | |
1866 | char *_kwnames[] = { "self","control", NULL }; | |
1867 | ||
1868 | self = self; | |
1869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetControl",_kwnames,&_argo0,&_argo1)) | |
1870 | return NULL; | |
1871 | if (_argo0) { | |
1872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p."); | |
1875 | return NULL; | |
1876 | } | |
1877 | } | |
1878 | if (_argo1) { | |
1879 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1880 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
1881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p."); | |
1882 | return NULL; | |
1883 | } | |
1884 | } | |
1885 | { | |
474c48f9 | 1886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1887 | wxGridCellEditor_SetControl(_arg0,_arg1); |
f6bcfd97 | 1888 | |
474c48f9 | 1889 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1890 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1891 | } Py_INCREF(Py_None); |
1892 | _resultobj = Py_None; | |
1893 | return _resultobj; | |
1894 | } | |
1895 | ||
1896 | #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0)) | |
1897 | static PyObject *_wrap_wxGridCellEditor_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1898 | PyObject * _resultobj; | |
1899 | wxGridCellEditor * _arg0; | |
1900 | wxString * _arg1; | |
1901 | PyObject * _argo0 = 0; | |
1902 | PyObject * _obj1 = 0; | |
1903 | char *_kwnames[] = { "self","params", NULL }; | |
1904 | ||
1905 | self = self; | |
1906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetParameters",_kwnames,&_argo0,&_obj1)) | |
1907 | return NULL; | |
1908 | if (_argo0) { | |
1909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p."); | |
1912 | return NULL; | |
1913 | } | |
1914 | } | |
1915 | { | |
c8bc7bb8 RD |
1916 | _arg1 = wxString_in_helper(_obj1); |
1917 | if (_arg1 == NULL) | |
2cd2fac8 | 1918 | return NULL; |
f6bcfd97 BP |
1919 | } |
1920 | { | |
474c48f9 | 1921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1922 | wxGridCellEditor_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 1923 | |
474c48f9 | 1924 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1925 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1926 | } Py_INCREF(Py_None); |
1927 | _resultobj = Py_None; | |
1928 | { | |
1929 | if (_obj1) | |
1930 | delete _arg1; | |
1931 | } | |
1932 | return _resultobj; | |
1933 | } | |
1934 | ||
1935 | #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef()) | |
1936 | static PyObject *_wrap_wxGridCellEditor_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1937 | PyObject * _resultobj; | |
1938 | wxGridCellEditor * _arg0; | |
1939 | PyObject * _argo0 = 0; | |
1940 | char *_kwnames[] = { "self", NULL }; | |
1941 | ||
1942 | self = self; | |
1943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_IncRef",_kwnames,&_argo0)) | |
1944 | return NULL; | |
1945 | if (_argo0) { | |
1946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p."); | |
1949 | return NULL; | |
1950 | } | |
1951 | } | |
1952 | { | |
474c48f9 | 1953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1954 | wxGridCellEditor_IncRef(_arg0); |
f6bcfd97 | 1955 | |
474c48f9 | 1956 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1957 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1958 | } Py_INCREF(Py_None); |
1959 | _resultobj = Py_None; | |
1960 | return _resultobj; | |
1961 | } | |
1962 | ||
1963 | #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef()) | |
1964 | static PyObject *_wrap_wxGridCellEditor_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1965 | PyObject * _resultobj; | |
1966 | wxGridCellEditor * _arg0; | |
1967 | PyObject * _argo0 = 0; | |
1968 | char *_kwnames[] = { "self", NULL }; | |
1969 | ||
1970 | self = self; | |
1971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_DecRef",_kwnames,&_argo0)) | |
1972 | return NULL; | |
1973 | if (_argo0) { | |
1974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
1976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p."); | |
1977 | return NULL; | |
1978 | } | |
1979 | } | |
1980 | { | |
474c48f9 | 1981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1982 | wxGridCellEditor_DecRef(_arg0); |
f6bcfd97 | 1983 | |
474c48f9 | 1984 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 1985 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1986 | } Py_INCREF(Py_None); |
1987 | _resultobj = Py_None; | |
1988 | return _resultobj; | |
1989 | } | |
1990 | ||
1991 | #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2)) | |
1992 | static PyObject *_wrap_wxGridCellEditor_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1993 | PyObject * _resultobj; | |
1994 | wxGridCellEditor * _arg0; | |
1995 | wxWindow * _arg1; | |
1996 | wxWindowID _arg2; | |
1997 | wxEvtHandler * _arg3; | |
1998 | PyObject * _argo0 = 0; | |
1999 | PyObject * _argo1 = 0; | |
2000 | PyObject * _argo3 = 0; | |
2001 | char *_kwnames[] = { "self","parent","id","evtHandler", NULL }; | |
2002 | ||
2003 | self = self; | |
2004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:wxGridCellEditor_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3)) | |
2005 | return NULL; | |
2006 | if (_argo0) { | |
2007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p."); | |
2010 | return NULL; | |
2011 | } | |
2012 | } | |
2013 | if (_argo1) { | |
2014 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2015 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p."); | |
2017 | return NULL; | |
2018 | } | |
2019 | } | |
2020 | if (_argo3) { | |
2021 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2022 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxEvtHandler_p")) { | |
2023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p."); | |
2024 | return NULL; | |
2025 | } | |
2026 | } | |
2027 | { | |
474c48f9 | 2028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2029 | wxGridCellEditor_Create(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2030 | |
474c48f9 | 2031 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2032 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2033 | } Py_INCREF(Py_None); |
2034 | _resultobj = Py_None; | |
2035 | return _resultobj; | |
2036 | } | |
2037 | ||
2038 | #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2)) | |
2039 | static PyObject *_wrap_wxGridCellEditor_BeginEdit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2040 | PyObject * _resultobj; | |
2041 | wxGridCellEditor * _arg0; | |
2042 | int _arg1; | |
2043 | int _arg2; | |
2044 | wxGrid * _arg3; | |
2045 | PyObject * _argo0 = 0; | |
2046 | PyObject * _argo3 = 0; | |
2047 | char *_kwnames[] = { "self","row","col","grid", NULL }; | |
2048 | ||
2049 | self = self; | |
2050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_BeginEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
2051 | return NULL; | |
2052 | if (_argo0) { | |
2053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p."); | |
2056 | return NULL; | |
2057 | } | |
2058 | } | |
2059 | if (_argo3) { | |
2060 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2061 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) { | |
2062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p."); | |
2063 | return NULL; | |
2064 | } | |
2065 | } | |
2066 | { | |
474c48f9 | 2067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2068 | wxGridCellEditor_BeginEdit(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2069 | |
474c48f9 | 2070 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2071 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2072 | } Py_INCREF(Py_None); |
2073 | _resultobj = Py_None; | |
2074 | return _resultobj; | |
2075 | } | |
2076 | ||
2077 | #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2)) | |
2078 | static PyObject *_wrap_wxGridCellEditor_EndEdit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2079 | PyObject * _resultobj; | |
2080 | bool _result; | |
2081 | wxGridCellEditor * _arg0; | |
2082 | int _arg1; | |
2083 | int _arg2; | |
2084 | wxGrid * _arg3; | |
2085 | PyObject * _argo0 = 0; | |
2086 | PyObject * _argo3 = 0; | |
2087 | char *_kwnames[] = { "self","row","col","grid", NULL }; | |
2088 | ||
2089 | self = self; | |
2090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridCellEditor_EndEdit",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
2091 | return NULL; | |
2092 | if (_argo0) { | |
2093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p."); | |
2096 | return NULL; | |
2097 | } | |
2098 | } | |
2099 | if (_argo3) { | |
2100 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
2101 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGrid_p")) { | |
2102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p."); | |
2103 | return NULL; | |
2104 | } | |
2105 | } | |
2106 | { | |
474c48f9 | 2107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2108 | _result = (bool )wxGridCellEditor_EndEdit(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2109 | |
474c48f9 | 2110 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2111 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2112 | } _resultobj = Py_BuildValue("i",_result); |
2113 | return _resultobj; | |
2114 | } | |
2115 | ||
2116 | #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset()) | |
2117 | static PyObject *_wrap_wxGridCellEditor_Reset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2118 | PyObject * _resultobj; | |
2119 | wxGridCellEditor * _arg0; | |
2120 | PyObject * _argo0 = 0; | |
2121 | char *_kwnames[] = { "self", NULL }; | |
2122 | ||
2123 | self = self; | |
2124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Reset",_kwnames,&_argo0)) | |
2125 | return NULL; | |
2126 | if (_argo0) { | |
2127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p."); | |
2130 | return NULL; | |
2131 | } | |
2132 | } | |
2133 | { | |
474c48f9 | 2134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2135 | wxGridCellEditor_Reset(_arg0); |
f6bcfd97 | 2136 | |
474c48f9 | 2137 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2138 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2139 | } Py_INCREF(Py_None); |
2140 | _resultobj = Py_None; | |
2141 | return _resultobj; | |
2142 | } | |
2143 | ||
2144 | #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone()) | |
2145 | static PyObject *_wrap_wxGridCellEditor_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2146 | PyObject * _resultobj; | |
2147 | wxGridCellEditor * _result; | |
2148 | wxGridCellEditor * _arg0; | |
2149 | PyObject * _argo0 = 0; | |
2150 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
2151 | |
2152 | self = self; | |
2153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Clone",_kwnames,&_argo0)) | |
2154 | return NULL; | |
2155 | if (_argo0) { | |
2156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p."); | |
2159 | return NULL; | |
2160 | } | |
2161 | } | |
2162 | { | |
474c48f9 | 2163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2164 | _result = (wxGridCellEditor *)wxGridCellEditor_Clone(_arg0); |
f6bcfd97 | 2165 | |
474c48f9 | 2166 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2167 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 2168 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
2169 | return _resultobj; |
2170 | } | |
2171 | ||
2172 | #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
2173 | static PyObject *_wrap_wxGridCellEditor_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2174 | PyObject * _resultobj; | |
2175 | wxGridCellEditor * _arg0; | |
2176 | wxRect * _arg1; | |
2177 | PyObject * _argo0 = 0; | |
2178 | wxRect temp; | |
2179 | PyObject * _obj1 = 0; | |
2180 | char *_kwnames[] = { "self","rect", NULL }; | |
2181 | ||
2182 | self = self; | |
2183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_SetSize",_kwnames,&_argo0,&_obj1)) | |
2184 | return NULL; | |
2185 | if (_argo0) { | |
2186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p."); | |
2189 | return NULL; | |
2190 | } | |
2191 | } | |
2192 | { | |
2193 | _arg1 = &temp; | |
2194 | if (! wxRect_helper(_obj1, &_arg1)) | |
2195 | return NULL; | |
2196 | } | |
2197 | { | |
474c48f9 | 2198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2199 | wxGridCellEditor_SetSize(_arg0,*_arg1); |
f6bcfd97 | 2200 | |
474c48f9 | 2201 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2202 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2203 | } Py_INCREF(Py_None); |
2204 | _resultobj = Py_None; | |
2205 | return _resultobj; | |
2206 | } | |
2207 | ||
2208 | #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1)) | |
2209 | static PyObject *_wrap_wxGridCellEditor_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2210 | PyObject * _resultobj; | |
2211 | wxGridCellEditor * _arg0; | |
2212 | bool _arg1; | |
2213 | wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL; | |
2214 | PyObject * _argo0 = 0; | |
2215 | int tempbool1; | |
2216 | PyObject * _argo2 = 0; | |
2217 | char *_kwnames[] = { "self","show","attr", NULL }; | |
2218 | ||
2219 | self = self; | |
2220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxGridCellEditor_Show",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
2221 | return NULL; | |
2222 | if (_argo0) { | |
2223 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2224 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p."); | |
2226 | return NULL; | |
2227 | } | |
2228 | } | |
2229 | _arg1 = (bool ) tempbool1; | |
2230 | if (_argo2) { | |
2231 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2232 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p."); | |
2234 | return NULL; | |
2235 | } | |
2236 | } | |
2237 | { | |
474c48f9 | 2238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2239 | wxGridCellEditor_Show(_arg0,_arg1,_arg2); |
f6bcfd97 | 2240 | |
474c48f9 | 2241 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2242 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2243 | } Py_INCREF(Py_None); |
2244 | _resultobj = Py_None; | |
2245 | return _resultobj; | |
2246 | } | |
2247 | ||
2248 | #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1)) | |
2249 | static PyObject *_wrap_wxGridCellEditor_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2250 | PyObject * _resultobj; | |
2251 | wxGridCellEditor * _arg0; | |
2252 | wxRect * _arg1; | |
2253 | wxGridCellAttr * _arg2; | |
2254 | PyObject * _argo0 = 0; | |
2255 | wxRect temp; | |
2256 | PyObject * _obj1 = 0; | |
2257 | PyObject * _argo2 = 0; | |
2258 | char *_kwnames[] = { "self","rectCell","attr", NULL }; | |
2259 | ||
2260 | self = self; | |
2261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellEditor_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2)) | |
2262 | return NULL; | |
2263 | if (_argo0) { | |
2264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p."); | |
2267 | return NULL; | |
2268 | } | |
2269 | } | |
2270 | { | |
2271 | _arg1 = &temp; | |
2272 | if (! wxRect_helper(_obj1, &_arg1)) | |
2273 | return NULL; | |
2274 | } | |
2275 | if (_argo2) { | |
2276 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2277 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p."); | |
2279 | return NULL; | |
2280 | } | |
2281 | } | |
2282 | { | |
474c48f9 | 2283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2284 | wxGridCellEditor_PaintBackground(_arg0,*_arg1,_arg2); |
f6bcfd97 | 2285 | |
474c48f9 | 2286 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2287 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2288 | } Py_INCREF(Py_None); |
2289 | _resultobj = Py_None; | |
2290 | return _resultobj; | |
2291 | } | |
2292 | ||
2293 | #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0)) | |
2294 | static PyObject *_wrap_wxGridCellEditor_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2295 | PyObject * _resultobj; | |
2296 | bool _result; | |
2297 | wxGridCellEditor * _arg0; | |
2298 | wxKeyEvent * _arg1; | |
2299 | PyObject * _argo0 = 0; | |
2300 | PyObject * _argo1 = 0; | |
2301 | char *_kwnames[] = { "self","event", NULL }; | |
2302 | ||
2303 | self = self; | |
2304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames,&_argo0,&_argo1)) | |
2305 | return NULL; | |
2306 | if (_argo0) { | |
2307 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2308 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p."); | |
2310 | return NULL; | |
2311 | } | |
2312 | } | |
2313 | if (_argo1) { | |
2314 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2315 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p."); | |
2317 | return NULL; | |
2318 | } | |
2319 | } | |
2320 | { | |
474c48f9 | 2321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2322 | _result = (bool )wxGridCellEditor_IsAcceptedKey(_arg0,*_arg1); |
f6bcfd97 | 2323 | |
474c48f9 | 2324 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2325 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2326 | } _resultobj = Py_BuildValue("i",_result); |
2327 | return _resultobj; | |
2328 | } | |
2329 | ||
2330 | #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0)) | |
2331 | static PyObject *_wrap_wxGridCellEditor_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2332 | PyObject * _resultobj; | |
2333 | wxGridCellEditor * _arg0; | |
2334 | wxKeyEvent * _arg1; | |
2335 | PyObject * _argo0 = 0; | |
2336 | PyObject * _argo1 = 0; | |
2337 | char *_kwnames[] = { "self","event", NULL }; | |
2338 | ||
2339 | self = self; | |
2340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_StartingKey",_kwnames,&_argo0,&_argo1)) | |
2341 | return NULL; | |
2342 | if (_argo0) { | |
2343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p."); | |
2346 | return NULL; | |
2347 | } | |
2348 | } | |
2349 | if (_argo1) { | |
2350 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2351 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p."); | |
2353 | return NULL; | |
2354 | } | |
2355 | } | |
2356 | { | |
474c48f9 | 2357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2358 | wxGridCellEditor_StartingKey(_arg0,*_arg1); |
f6bcfd97 | 2359 | |
474c48f9 | 2360 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2361 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2362 | } Py_INCREF(Py_None); |
2363 | _resultobj = Py_None; | |
2364 | return _resultobj; | |
2365 | } | |
2366 | ||
2367 | #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick()) | |
2368 | static PyObject *_wrap_wxGridCellEditor_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2369 | PyObject * _resultobj; | |
2370 | wxGridCellEditor * _arg0; | |
2371 | PyObject * _argo0 = 0; | |
2372 | char *_kwnames[] = { "self", NULL }; | |
2373 | ||
2374 | self = self; | |
2375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_StartingClick",_kwnames,&_argo0)) | |
2376 | return NULL; | |
2377 | if (_argo0) { | |
2378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p."); | |
2381 | return NULL; | |
2382 | } | |
2383 | } | |
2384 | { | |
474c48f9 | 2385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2386 | wxGridCellEditor_StartingClick(_arg0); |
f6bcfd97 | 2387 | |
474c48f9 | 2388 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2389 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2390 | } Py_INCREF(Py_None); |
2391 | _resultobj = Py_None; | |
2392 | return _resultobj; | |
2393 | } | |
2394 | ||
2395 | #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0)) | |
2396 | static PyObject *_wrap_wxGridCellEditor_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2397 | PyObject * _resultobj; | |
2398 | wxGridCellEditor * _arg0; | |
2399 | wxKeyEvent * _arg1; | |
2400 | PyObject * _argo0 = 0; | |
2401 | PyObject * _argo1 = 0; | |
2402 | char *_kwnames[] = { "self","event", NULL }; | |
2403 | ||
2404 | self = self; | |
2405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellEditor_HandleReturn",_kwnames,&_argo0,&_argo1)) | |
2406 | return NULL; | |
2407 | if (_argo0) { | |
2408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p."); | |
2411 | return NULL; | |
2412 | } | |
2413 | } | |
2414 | if (_argo1) { | |
2415 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2416 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p."); | |
2418 | return NULL; | |
2419 | } | |
2420 | } | |
2421 | { | |
474c48f9 | 2422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2423 | wxGridCellEditor_HandleReturn(_arg0,*_arg1); |
f6bcfd97 | 2424 | |
474c48f9 | 2425 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2426 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2427 | } Py_INCREF(Py_None); |
2428 | _resultobj = Py_None; | |
2429 | return _resultobj; | |
2430 | } | |
2431 | ||
2432 | #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy()) | |
2433 | static PyObject *_wrap_wxGridCellEditor_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2434 | PyObject * _resultobj; | |
2435 | wxGridCellEditor * _arg0; | |
2436 | PyObject * _argo0 = 0; | |
2437 | char *_kwnames[] = { "self", NULL }; | |
2438 | ||
2439 | self = self; | |
2440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellEditor_Destroy",_kwnames,&_argo0)) | |
2441 | return NULL; | |
2442 | if (_argo0) { | |
2443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellEditor_p")) { | |
2445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p."); | |
2446 | return NULL; | |
2447 | } | |
2448 | } | |
2449 | { | |
474c48f9 | 2450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2451 | wxGridCellEditor_Destroy(_arg0); |
f6bcfd97 | 2452 | |
474c48f9 | 2453 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2454 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2455 | } Py_INCREF(Py_None); |
2456 | _resultobj = Py_None; | |
2457 | return _resultobj; | |
2458 | } | |
2459 | ||
2460 | static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr) { | |
2461 | wxPyGridCellEditor *src; | |
2462 | wxGridCellEditor *dest; | |
2463 | src = (wxPyGridCellEditor *) ptr; | |
2464 | dest = (wxGridCellEditor *) src; | |
2465 | return (void *) dest; | |
2466 | } | |
2467 | ||
2468 | #define new_wxPyGridCellEditor() (new wxPyGridCellEditor()) | |
2469 | static PyObject *_wrap_new_wxPyGridCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2470 | PyObject * _resultobj; | |
2471 | wxPyGridCellEditor * _result; | |
2472 | char *_kwnames[] = { NULL }; | |
2473 | char _ptemp[128]; | |
2474 | ||
2475 | self = self; | |
2476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellEditor",_kwnames)) | |
2477 | return NULL; | |
2478 | { | |
474c48f9 | 2479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2480 | _result = (wxPyGridCellEditor *)new_wxPyGridCellEditor(); |
f6bcfd97 | 2481 | |
474c48f9 | 2482 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2483 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2484 | } if (_result) { |
2485 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellEditor_p"); | |
2486 | _resultobj = Py_BuildValue("s",_ptemp); | |
2487 | } else { | |
2488 | Py_INCREF(Py_None); | |
2489 | _resultobj = Py_None; | |
2490 | } | |
2491 | return _resultobj; | |
2492 | } | |
2493 | ||
0220cbc1 RD |
2494 | #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
2495 | static PyObject *_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2496 | PyObject * _resultobj; |
2497 | wxPyGridCellEditor * _arg0; | |
2498 | PyObject * _arg1; | |
2499 | PyObject * _arg2; | |
2500 | PyObject * _argo0 = 0; | |
2501 | PyObject * _obj1 = 0; | |
2502 | PyObject * _obj2 = 0; | |
2503 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2504 | ||
2505 | self = self; | |
0220cbc1 | 2506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
2507 | return NULL; |
2508 | if (_argo0) { | |
2509 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2510 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
0220cbc1 | 2511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p."); |
f6bcfd97 BP |
2512 | return NULL; |
2513 | } | |
2514 | } | |
2515 | { | |
2516 | _arg1 = _obj1; | |
2517 | } | |
2518 | { | |
2519 | _arg2 = _obj2; | |
2520 | } | |
2521 | { | |
474c48f9 | 2522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2523 | wxPyGridCellEditor__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 2524 | |
474c48f9 | 2525 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2526 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2527 | } Py_INCREF(Py_None); |
2528 | _resultobj = Py_None; | |
2529 | return _resultobj; | |
2530 | } | |
2531 | ||
2532 | #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0)) | |
2533 | static PyObject *_wrap_wxPyGridCellEditor_base_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2534 | PyObject * _resultobj; | |
2535 | wxPyGridCellEditor * _arg0; | |
2536 | wxRect * _arg1; | |
2537 | PyObject * _argo0 = 0; | |
2538 | wxRect temp; | |
2539 | PyObject * _obj1 = 0; | |
2540 | char *_kwnames[] = { "self","rect", NULL }; | |
2541 | ||
2542 | self = self; | |
2543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetSize",_kwnames,&_argo0,&_obj1)) | |
2544 | return NULL; | |
2545 | if (_argo0) { | |
2546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p."); | |
2549 | return NULL; | |
2550 | } | |
2551 | } | |
2552 | { | |
2553 | _arg1 = &temp; | |
2554 | if (! wxRect_helper(_obj1, &_arg1)) | |
2555 | return NULL; | |
2556 | } | |
2557 | { | |
474c48f9 | 2558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2559 | wxPyGridCellEditor_base_SetSize(_arg0,*_arg1); |
f6bcfd97 | 2560 | |
474c48f9 | 2561 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2562 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2563 | } Py_INCREF(Py_None); |
2564 | _resultobj = Py_None; | |
2565 | return _resultobj; | |
2566 | } | |
2567 | ||
2568 | #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1)) | |
2569 | static PyObject *_wrap_wxPyGridCellEditor_base_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2570 | PyObject * _resultobj; | |
2571 | wxPyGridCellEditor * _arg0; | |
2572 | bool _arg1; | |
2573 | wxGridCellAttr * _arg2 = (wxGridCellAttr *) NULL; | |
2574 | PyObject * _argo0 = 0; | |
2575 | int tempbool1; | |
2576 | PyObject * _argo2 = 0; | |
2577 | char *_kwnames[] = { "self","show","attr", NULL }; | |
2578 | ||
2579 | self = self; | |
2580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
2581 | return NULL; | |
2582 | if (_argo0) { | |
2583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p."); | |
2586 | return NULL; | |
2587 | } | |
2588 | } | |
2589 | _arg1 = (bool ) tempbool1; | |
2590 | if (_argo2) { | |
2591 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2592 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p."); | |
2594 | return NULL; | |
2595 | } | |
2596 | } | |
2597 | { | |
474c48f9 | 2598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2599 | wxPyGridCellEditor_base_Show(_arg0,_arg1,_arg2); |
f6bcfd97 | 2600 | |
474c48f9 | 2601 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2602 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2603 | } Py_INCREF(Py_None); |
2604 | _resultobj = Py_None; | |
2605 | return _resultobj; | |
2606 | } | |
2607 | ||
2608 | #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1)) | |
2609 | static PyObject *_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2610 | PyObject * _resultobj; | |
2611 | wxPyGridCellEditor * _arg0; | |
2612 | wxRect * _arg1; | |
2613 | wxGridCellAttr * _arg2; | |
2614 | PyObject * _argo0 = 0; | |
2615 | wxRect temp; | |
2616 | PyObject * _obj1 = 0; | |
2617 | PyObject * _argo2 = 0; | |
2618 | char *_kwnames[] = { "self","rectCell","attr", NULL }; | |
2619 | ||
2620 | self = self; | |
2621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames,&_argo0,&_obj1,&_argo2)) | |
2622 | return NULL; | |
2623 | if (_argo0) { | |
2624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p."); | |
2627 | return NULL; | |
2628 | } | |
2629 | } | |
2630 | { | |
2631 | _arg1 = &temp; | |
2632 | if (! wxRect_helper(_obj1, &_arg1)) | |
2633 | return NULL; | |
2634 | } | |
2635 | if (_argo2) { | |
2636 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2637 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
2638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p."); | |
2639 | return NULL; | |
2640 | } | |
2641 | } | |
2642 | { | |
474c48f9 | 2643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2644 | wxPyGridCellEditor_base_PaintBackground(_arg0,*_arg1,_arg2); |
f6bcfd97 | 2645 | |
474c48f9 | 2646 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2647 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2648 | } Py_INCREF(Py_None); |
2649 | _resultobj = Py_None; | |
2650 | return _resultobj; | |
2651 | } | |
2652 | ||
2cd2fac8 RD |
2653 | #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0)) |
2654 | static PyObject *_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2655 | PyObject * _resultobj; | |
2656 | wxPyGridCellEditor * _arg0; | |
2657 | wxKeyEvent * _arg1; | |
2658 | PyObject * _argo0 = 0; | |
2659 | PyObject * _argo1 = 0; | |
2660 | char *_kwnames[] = { "self","event", NULL }; | |
2661 | ||
2662 | self = self; | |
2663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames,&_argo0,&_argo1)) | |
2664 | return NULL; | |
2665 | if (_argo0) { | |
2666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p."); | |
2669 | return NULL; | |
2670 | } | |
2671 | } | |
2672 | if (_argo1) { | |
2673 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2674 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p."); | |
2676 | return NULL; | |
2677 | } | |
2678 | } | |
2679 | { | |
474c48f9 | 2680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2681 | wxPyGridCellEditor_base_IsAcceptedKey(_arg0,*_arg1); |
2cd2fac8 | 2682 | |
474c48f9 | 2683 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2684 | if (PyErr_Occurred()) return NULL; |
2cd2fac8 RD |
2685 | } Py_INCREF(Py_None); |
2686 | _resultobj = Py_None; | |
2687 | return _resultobj; | |
2688 | } | |
2689 | ||
f6bcfd97 BP |
2690 | #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0)) |
2691 | static PyObject *_wrap_wxPyGridCellEditor_base_StartingKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2692 | PyObject * _resultobj; | |
2693 | wxPyGridCellEditor * _arg0; | |
2694 | wxKeyEvent * _arg1; | |
2695 | PyObject * _argo0 = 0; | |
2696 | PyObject * _argo1 = 0; | |
2697 | char *_kwnames[] = { "self","event", NULL }; | |
2698 | ||
2699 | self = self; | |
2700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames,&_argo0,&_argo1)) | |
2701 | return NULL; | |
2702 | if (_argo0) { | |
2703 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2704 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p."); | |
2706 | return NULL; | |
2707 | } | |
2708 | } | |
2709 | if (_argo1) { | |
2710 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2711 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p."); | |
2713 | return NULL; | |
2714 | } | |
2715 | } | |
2716 | { | |
474c48f9 | 2717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2718 | wxPyGridCellEditor_base_StartingKey(_arg0,*_arg1); |
f6bcfd97 | 2719 | |
474c48f9 | 2720 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2721 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2722 | } Py_INCREF(Py_None); |
2723 | _resultobj = Py_None; | |
2724 | return _resultobj; | |
2725 | } | |
2726 | ||
2727 | #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick()) | |
2728 | static PyObject *_wrap_wxPyGridCellEditor_base_StartingClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2729 | PyObject * _resultobj; | |
2730 | wxPyGridCellEditor * _arg0; | |
2731 | PyObject * _argo0 = 0; | |
2732 | char *_kwnames[] = { "self", NULL }; | |
2733 | ||
2734 | self = self; | |
2735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_StartingClick",_kwnames,&_argo0)) | |
2736 | return NULL; | |
2737 | if (_argo0) { | |
2738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p."); | |
2741 | return NULL; | |
2742 | } | |
2743 | } | |
2744 | { | |
474c48f9 | 2745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2746 | wxPyGridCellEditor_base_StartingClick(_arg0); |
f6bcfd97 | 2747 | |
474c48f9 | 2748 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2749 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2750 | } Py_INCREF(Py_None); |
2751 | _resultobj = Py_None; | |
2752 | return _resultobj; | |
2753 | } | |
2754 | ||
2755 | #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0)) | |
2756 | static PyObject *_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2757 | PyObject * _resultobj; | |
2758 | wxPyGridCellEditor * _arg0; | |
2759 | wxKeyEvent * _arg1; | |
2760 | PyObject * _argo0 = 0; | |
2761 | PyObject * _argo1 = 0; | |
2762 | char *_kwnames[] = { "self","event", NULL }; | |
2763 | ||
2764 | self = self; | |
2765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames,&_argo0,&_argo1)) | |
2766 | return NULL; | |
2767 | if (_argo0) { | |
2768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p."); | |
2771 | return NULL; | |
2772 | } | |
2773 | } | |
2774 | if (_argo1) { | |
2775 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2776 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) { | |
2777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p."); | |
2778 | return NULL; | |
2779 | } | |
2780 | } | |
2781 | { | |
474c48f9 | 2782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2783 | wxPyGridCellEditor_base_HandleReturn(_arg0,*_arg1); |
f6bcfd97 | 2784 | |
474c48f9 | 2785 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2786 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2787 | } Py_INCREF(Py_None); |
2788 | _resultobj = Py_None; | |
2789 | return _resultobj; | |
2790 | } | |
2791 | ||
2792 | #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy()) | |
2793 | static PyObject *_wrap_wxPyGridCellEditor_base_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2794 | PyObject * _resultobj; | |
2795 | wxPyGridCellEditor * _arg0; | |
2796 | PyObject * _argo0 = 0; | |
2797 | char *_kwnames[] = { "self", NULL }; | |
2798 | ||
2799 | self = self; | |
2800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridCellEditor_base_Destroy",_kwnames,&_argo0)) | |
2801 | return NULL; | |
2802 | if (_argo0) { | |
2803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p."); | |
2806 | return NULL; | |
2807 | } | |
2808 | } | |
2809 | { | |
474c48f9 | 2810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2811 | wxPyGridCellEditor_base_Destroy(_arg0); |
f6bcfd97 | 2812 | |
474c48f9 | 2813 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2814 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2815 | } Py_INCREF(Py_None); |
2816 | _resultobj = Py_None; | |
2817 | return _resultobj; | |
2818 | } | |
2819 | ||
2820 | #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0)) | |
2821 | static PyObject *_wrap_wxPyGridCellEditor_base_SetParameters(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2822 | PyObject * _resultobj; | |
2823 | wxPyGridCellEditor * _arg0; | |
2824 | wxString * _arg1; | |
2825 | PyObject * _argo0 = 0; | |
2826 | PyObject * _obj1 = 0; | |
2827 | char *_kwnames[] = { "self","params", NULL }; | |
2828 | ||
2829 | self = self; | |
2830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames,&_argo0,&_obj1)) | |
2831 | return NULL; | |
2832 | if (_argo0) { | |
2833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellEditor_p")) { | |
2835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p."); | |
2836 | return NULL; | |
2837 | } | |
2838 | } | |
2839 | { | |
c8bc7bb8 RD |
2840 | _arg1 = wxString_in_helper(_obj1); |
2841 | if (_arg1 == NULL) | |
2cd2fac8 | 2842 | return NULL; |
f6bcfd97 BP |
2843 | } |
2844 | { | |
474c48f9 | 2845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2846 | wxPyGridCellEditor_base_SetParameters(_arg0,*_arg1); |
f6bcfd97 | 2847 | |
474c48f9 | 2848 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2849 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2850 | } Py_INCREF(Py_None); |
2851 | _resultobj = Py_None; | |
2852 | { | |
2853 | if (_obj1) | |
2854 | delete _arg1; | |
2855 | } | |
2856 | return _resultobj; | |
2857 | } | |
2858 | ||
2859 | static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr) { | |
2860 | wxGridCellTextEditor *src; | |
2861 | wxGridCellEditor *dest; | |
2862 | src = (wxGridCellTextEditor *) ptr; | |
2863 | dest = (wxGridCellEditor *) src; | |
2864 | return (void *) dest; | |
2865 | } | |
2866 | ||
2867 | #define new_wxGridCellTextEditor() (new wxGridCellTextEditor()) | |
2868 | static PyObject *_wrap_new_wxGridCellTextEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2869 | PyObject * _resultobj; | |
2870 | wxGridCellTextEditor * _result; | |
2871 | char *_kwnames[] = { NULL }; | |
2872 | char _ptemp[128]; | |
2873 | ||
2874 | self = self; | |
2875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellTextEditor",_kwnames)) | |
2876 | return NULL; | |
2877 | { | |
474c48f9 | 2878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2879 | _result = (wxGridCellTextEditor *)new_wxGridCellTextEditor(); |
f6bcfd97 | 2880 | |
474c48f9 | 2881 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2882 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2883 | } if (_result) { |
2884 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellTextEditor_p"); | |
2885 | _resultobj = Py_BuildValue("s",_ptemp); | |
2886 | } else { | |
2887 | Py_INCREF(Py_None); | |
2888 | _resultobj = Py_None; | |
2889 | } | |
2890 | return _resultobj; | |
2891 | } | |
2892 | ||
2893 | static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr) { | |
2894 | wxGridCellNumberEditor *src; | |
2895 | wxGridCellTextEditor *dest; | |
2896 | src = (wxGridCellNumberEditor *) ptr; | |
2897 | dest = (wxGridCellTextEditor *) src; | |
2898 | return (void *) dest; | |
2899 | } | |
2900 | ||
2901 | static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr) { | |
2902 | wxGridCellNumberEditor *src; | |
2903 | wxGridCellEditor *dest; | |
2904 | src = (wxGridCellNumberEditor *) ptr; | |
2905 | dest = (wxGridCellEditor *) src; | |
2906 | return (void *) dest; | |
2907 | } | |
2908 | ||
2909 | #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1)) | |
2910 | static PyObject *_wrap_new_wxGridCellNumberEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2911 | PyObject * _resultobj; | |
2912 | wxGridCellNumberEditor * _result; | |
2913 | int _arg0 = (int ) -1; | |
2914 | int _arg1 = (int ) -1; | |
2915 | char *_kwnames[] = { "min","max", NULL }; | |
2916 | char _ptemp[128]; | |
2917 | ||
2918 | self = self; | |
2919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellNumberEditor",_kwnames,&_arg0,&_arg1)) | |
2920 | return NULL; | |
2921 | { | |
474c48f9 | 2922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2923 | _result = (wxGridCellNumberEditor *)new_wxGridCellNumberEditor(_arg0,_arg1); |
f6bcfd97 | 2924 | |
474c48f9 | 2925 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2926 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2927 | } if (_result) { |
2928 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellNumberEditor_p"); | |
2929 | _resultobj = Py_BuildValue("s",_ptemp); | |
2930 | } else { | |
2931 | Py_INCREF(Py_None); | |
2932 | _resultobj = Py_None; | |
2933 | } | |
2934 | return _resultobj; | |
2935 | } | |
2936 | ||
2937 | static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr) { | |
2938 | wxGridCellFloatEditor *src; | |
2939 | wxGridCellTextEditor *dest; | |
2940 | src = (wxGridCellFloatEditor *) ptr; | |
2941 | dest = (wxGridCellTextEditor *) src; | |
2942 | return (void *) dest; | |
2943 | } | |
2944 | ||
2945 | static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr) { | |
2946 | wxGridCellFloatEditor *src; | |
2947 | wxGridCellEditor *dest; | |
2948 | src = (wxGridCellFloatEditor *) ptr; | |
2949 | dest = (wxGridCellEditor *) src; | |
2950 | return (void *) dest; | |
2951 | } | |
2952 | ||
2953 | #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor()) | |
2954 | static PyObject *_wrap_new_wxGridCellFloatEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2955 | PyObject * _resultobj; | |
2956 | wxGridCellFloatEditor * _result; | |
2957 | char *_kwnames[] = { NULL }; | |
2958 | char _ptemp[128]; | |
2959 | ||
2960 | self = self; | |
2961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellFloatEditor",_kwnames)) | |
2962 | return NULL; | |
2963 | { | |
474c48f9 | 2964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2965 | _result = (wxGridCellFloatEditor *)new_wxGridCellFloatEditor(); |
f6bcfd97 | 2966 | |
474c48f9 | 2967 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 2968 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2969 | } if (_result) { |
2970 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellFloatEditor_p"); | |
2971 | _resultobj = Py_BuildValue("s",_ptemp); | |
2972 | } else { | |
2973 | Py_INCREF(Py_None); | |
2974 | _resultobj = Py_None; | |
2975 | } | |
2976 | return _resultobj; | |
2977 | } | |
2978 | ||
2979 | static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr) { | |
2980 | wxGridCellBoolEditor *src; | |
2981 | wxGridCellEditor *dest; | |
2982 | src = (wxGridCellBoolEditor *) ptr; | |
2983 | dest = (wxGridCellEditor *) src; | |
2984 | return (void *) dest; | |
2985 | } | |
2986 | ||
2987 | #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor()) | |
2988 | static PyObject *_wrap_new_wxGridCellBoolEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2989 | PyObject * _resultobj; | |
2990 | wxGridCellBoolEditor * _result; | |
2991 | char *_kwnames[] = { NULL }; | |
2992 | char _ptemp[128]; | |
2993 | ||
2994 | self = self; | |
2995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellBoolEditor",_kwnames)) | |
2996 | return NULL; | |
2997 | { | |
474c48f9 | 2998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2999 | _result = (wxGridCellBoolEditor *)new_wxGridCellBoolEditor(); |
f6bcfd97 | 3000 | |
474c48f9 | 3001 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3002 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3003 | } if (_result) { |
3004 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellBoolEditor_p"); | |
3005 | _resultobj = Py_BuildValue("s",_ptemp); | |
3006 | } else { | |
3007 | Py_INCREF(Py_None); | |
3008 | _resultobj = Py_None; | |
3009 | } | |
3010 | return _resultobj; | |
3011 | } | |
3012 | ||
3013 | static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr) { | |
3014 | wxGridCellChoiceEditor *src; | |
3015 | wxGridCellEditor *dest; | |
3016 | src = (wxGridCellChoiceEditor *) ptr; | |
3017 | dest = (wxGridCellEditor *) src; | |
3018 | return (void *) dest; | |
3019 | } | |
3020 | ||
3021 | #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2)) | |
3022 | static PyObject *_wrap_new_wxGridCellChoiceEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3023 | PyObject * _resultobj; | |
3024 | wxGridCellChoiceEditor * _result; | |
3025 | int _arg0 = (int ) 0; | |
3026 | wxString * _arg1 = (wxString *) NULL; | |
3027 | bool _arg2 = (bool ) FALSE; | |
3028 | PyObject * _obj1 = 0; | |
3029 | int tempbool2 = (int) FALSE; | |
3030 | char *_kwnames[] = { "choices","allowOthers", NULL }; | |
3031 | char _ptemp[128]; | |
3032 | ||
3033 | self = self; | |
3034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxGridCellChoiceEditor",_kwnames,&_obj1,&tempbool2)) | |
3035 | return NULL; | |
3036 | if (_obj1) | |
3037 | { | |
3038 | _arg1 = wxString_LIST_helper(_obj1); | |
3039 | if (_arg1 == NULL) { | |
3040 | return NULL; | |
3041 | } | |
3042 | } | |
3043 | _arg2 = (bool ) tempbool2; | |
3044 | { | |
3045 | if (_obj1) { | |
3046 | _arg0 = PyList_Size(_obj1); | |
3047 | } | |
3048 | else { | |
3049 | _arg0 = 0; | |
3050 | } | |
3051 | } | |
3052 | { | |
474c48f9 | 3053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3054 | _result = (wxGridCellChoiceEditor *)new_wxGridCellChoiceEditor(_arg0,_arg1,_arg2); |
f6bcfd97 | 3055 | |
474c48f9 | 3056 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3057 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3058 | } if (_result) { |
3059 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellChoiceEditor_p"); | |
3060 | _resultobj = Py_BuildValue("s",_ptemp); | |
3061 | } else { | |
3062 | Py_INCREF(Py_None); | |
3063 | _resultobj = Py_None; | |
3064 | } | |
3065 | { | |
3066 | delete [] _arg1; | |
3067 | } | |
3068 | return _resultobj; | |
3069 | } | |
3070 | ||
059a841c RD |
3071 | static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr) { |
3072 | wxGridCellEnumEditor *src; | |
3073 | wxGridCellChoiceEditor *dest; | |
3074 | src = (wxGridCellEnumEditor *) ptr; | |
3075 | dest = (wxGridCellChoiceEditor *) src; | |
3076 | return (void *) dest; | |
3077 | } | |
3078 | ||
3079 | static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr) { | |
3080 | wxGridCellEnumEditor *src; | |
3081 | wxGridCellEditor *dest; | |
3082 | src = (wxGridCellEnumEditor *) ptr; | |
3083 | dest = (wxGridCellEditor *) src; | |
3084 | return (void *) dest; | |
3085 | } | |
3086 | ||
3087 | #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0)) | |
3088 | static PyObject *_wrap_new_wxGridCellEnumEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3089 | PyObject * _resultobj; | |
3090 | wxGridCellEnumEditor * _result; | |
b98a5dfc | 3091 | wxString * _arg0 = (wxString *) &wxPyEmptyString; |
059a841c RD |
3092 | PyObject * _obj0 = 0; |
3093 | char *_kwnames[] = { "choices", NULL }; | |
3094 | char _ptemp[128]; | |
3095 | ||
3096 | self = self; | |
3097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellEnumEditor",_kwnames,&_obj0)) | |
3098 | return NULL; | |
3099 | if (_obj0) | |
3100 | { | |
3101 | _arg0 = wxString_LIST_helper(_obj0); | |
3102 | if (_arg0 == NULL) { | |
3103 | return NULL; | |
3104 | } | |
3105 | } | |
3106 | { | |
474c48f9 | 3107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3108 | _result = (wxGridCellEnumEditor *)new_wxGridCellEnumEditor(*_arg0); |
059a841c | 3109 | |
474c48f9 | 3110 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
3111 | if (PyErr_Occurred()) return NULL; |
3112 | } if (_result) { | |
3113 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellEnumEditor_p"); | |
3114 | _resultobj = Py_BuildValue("s",_ptemp); | |
3115 | } else { | |
3116 | Py_INCREF(Py_None); | |
3117 | _resultobj = Py_None; | |
3118 | } | |
3119 | { | |
3120 | delete [] _arg0; | |
3121 | } | |
3122 | return _resultobj; | |
3123 | } | |
3124 | ||
3125 | static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr) { | |
3126 | wxGridCellAutoWrapStringEditor *src; | |
3127 | wxGridCellTextEditor *dest; | |
3128 | src = (wxGridCellAutoWrapStringEditor *) ptr; | |
3129 | dest = (wxGridCellTextEditor *) src; | |
3130 | return (void *) dest; | |
3131 | } | |
3132 | ||
3133 | static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr) { | |
3134 | wxGridCellAutoWrapStringEditor *src; | |
3135 | wxGridCellEditor *dest; | |
3136 | src = (wxGridCellAutoWrapStringEditor *) ptr; | |
3137 | dest = (wxGridCellEditor *) src; | |
3138 | return (void *) dest; | |
3139 | } | |
3140 | ||
3141 | #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor()) | |
3142 | static PyObject *_wrap_new_wxGridCellAutoWrapStringEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3143 | PyObject * _resultobj; | |
3144 | wxGridCellAutoWrapStringEditor * _result; | |
3145 | char *_kwnames[] = { NULL }; | |
3146 | char _ptemp[128]; | |
3147 | ||
3148 | self = self; | |
3149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAutoWrapStringEditor",_kwnames)) | |
3150 | return NULL; | |
3151 | { | |
474c48f9 | 3152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3153 | _result = (wxGridCellAutoWrapStringEditor *)new_wxGridCellAutoWrapStringEditor(); |
059a841c | 3154 | |
474c48f9 | 3155 | wxPyEndAllowThreads(__tstate); |
059a841c RD |
3156 | if (PyErr_Occurred()) return NULL; |
3157 | } if (_result) { | |
3158 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAutoWrapStringEditor_p"); | |
3159 | _resultobj = Py_BuildValue("s",_ptemp); | |
3160 | } else { | |
3161 | Py_INCREF(Py_None); | |
3162 | _resultobj = Py_None; | |
3163 | } | |
3164 | return _resultobj; | |
3165 | } | |
3166 | ||
b98a5dfc RD |
3167 | static void wxGridCellAttr__setOORInfo(wxGridCellAttr *self,PyObject * _self) { |
3168 | self->SetClientObject(new wxPyOORClientData(_self)); | |
3169 | } | |
3170 | static PyObject *_wrap_wxGridCellAttr__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3171 | PyObject * _resultobj; | |
3172 | wxGridCellAttr * _arg0; | |
3173 | PyObject * _arg1; | |
3174 | PyObject * _argo0 = 0; | |
3175 | PyObject * _obj1 = 0; | |
3176 | char *_kwnames[] = { "self","_self", NULL }; | |
3177 | ||
3178 | self = self; | |
3179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
3180 | return NULL; | |
3181 | if (_argo0) { | |
3182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p."); | |
3185 | return NULL; | |
3186 | } | |
3187 | } | |
3188 | { | |
3189 | _arg1 = _obj1; | |
3190 | } | |
3191 | { | |
3192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3193 | wxGridCellAttr__setOORInfo(_arg0,_arg1); | |
3194 | ||
3195 | wxPyEndAllowThreads(__tstate); | |
3196 | if (PyErr_Occurred()) return NULL; | |
3197 | } Py_INCREF(Py_None); | |
3198 | _resultobj = Py_None; | |
3199 | return _resultobj; | |
3200 | } | |
3201 | ||
1893b029 | 3202 | #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0)) |
f6bcfd97 BP |
3203 | static PyObject *_wrap_new_wxGridCellAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
3204 | PyObject * _resultobj; | |
3205 | wxGridCellAttr * _result; | |
1893b029 RD |
3206 | wxGridCellAttr * _arg0 = (wxGridCellAttr *) NULL; |
3207 | PyObject * _argo0 = 0; | |
3208 | char *_kwnames[] = { "attrDefault", NULL }; | |
f6bcfd97 BP |
3209 | char _ptemp[128]; |
3210 | ||
3211 | self = self; | |
1893b029 | 3212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxGridCellAttr",_kwnames,&_argo0)) |
f6bcfd97 | 3213 | return NULL; |
1893b029 RD |
3214 | if (_argo0) { |
3215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p."); | |
3218 | return NULL; | |
3219 | } | |
3220 | } | |
f6bcfd97 | 3221 | { |
474c48f9 | 3222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3223 | _result = (wxGridCellAttr *)new_wxGridCellAttr(_arg0); |
f6bcfd97 | 3224 | |
474c48f9 | 3225 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3226 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3227 | } if (_result) { |
3228 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttr_p"); | |
3229 | _resultobj = Py_BuildValue("s",_ptemp); | |
3230 | } else { | |
3231 | Py_INCREF(Py_None); | |
3232 | _resultobj = Py_None; | |
3233 | } | |
3234 | return _resultobj; | |
3235 | } | |
3236 | ||
3237 | #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone()) | |
3238 | static PyObject *_wrap_wxGridCellAttr_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3239 | PyObject * _resultobj; | |
3240 | wxGridCellAttr * _result; | |
3241 | wxGridCellAttr * _arg0; | |
3242 | PyObject * _argo0 = 0; | |
3243 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
3244 | |
3245 | self = self; | |
3246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_Clone",_kwnames,&_argo0)) | |
3247 | return NULL; | |
3248 | if (_argo0) { | |
3249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p."); | |
3252 | return NULL; | |
3253 | } | |
3254 | } | |
3255 | { | |
474c48f9 | 3256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3257 | _result = (wxGridCellAttr *)wxGridCellAttr_Clone(_arg0); |
f6bcfd97 | 3258 | |
474c48f9 | 3259 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3260 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 3261 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
3262 | return _resultobj; |
3263 | } | |
3264 | ||
9df61a29 RD |
3265 | #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0)) |
3266 | static PyObject *_wrap_wxGridCellAttr_MergeWith(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3267 | PyObject * _resultobj; | |
3268 | wxGridCellAttr * _arg0; | |
3269 | wxGridCellAttr * _arg1; | |
3270 | PyObject * _argo0 = 0; | |
3271 | PyObject * _argo1 = 0; | |
3272 | char *_kwnames[] = { "self","mergefrom", NULL }; | |
3273 | ||
3274 | self = self; | |
3275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_MergeWith",_kwnames,&_argo0,&_argo1)) | |
3276 | return NULL; | |
3277 | if (_argo0) { | |
3278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p."); | |
3281 | return NULL; | |
3282 | } | |
3283 | } | |
3284 | if (_argo1) { | |
3285 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3286 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
3287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p."); | |
3288 | return NULL; | |
3289 | } | |
3290 | } | |
3291 | { | |
474c48f9 | 3292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3293 | wxGridCellAttr_MergeWith(_arg0,_arg1); |
9df61a29 | 3294 | |
474c48f9 | 3295 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3296 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
3297 | } Py_INCREF(Py_None); |
3298 | _resultobj = Py_None; | |
3299 | return _resultobj; | |
3300 | } | |
3301 | ||
f6bcfd97 BP |
3302 | #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef()) |
3303 | static PyObject *_wrap_wxGridCellAttr_IncRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3304 | PyObject * _resultobj; | |
3305 | wxGridCellAttr * _arg0; | |
3306 | PyObject * _argo0 = 0; | |
3307 | char *_kwnames[] = { "self", NULL }; | |
3308 | ||
3309 | self = self; | |
3310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IncRef",_kwnames,&_argo0)) | |
3311 | return NULL; | |
3312 | if (_argo0) { | |
3313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p."); | |
3316 | return NULL; | |
3317 | } | |
3318 | } | |
3319 | { | |
474c48f9 | 3320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3321 | wxGridCellAttr_IncRef(_arg0); |
f6bcfd97 | 3322 | |
474c48f9 | 3323 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3324 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3325 | } Py_INCREF(Py_None); |
3326 | _resultobj = Py_None; | |
3327 | return _resultobj; | |
3328 | } | |
3329 | ||
3330 | #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef()) | |
3331 | static PyObject *_wrap_wxGridCellAttr_DecRef(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3332 | PyObject * _resultobj; | |
3333 | wxGridCellAttr * _arg0; | |
3334 | PyObject * _argo0 = 0; | |
3335 | char *_kwnames[] = { "self", NULL }; | |
3336 | ||
3337 | self = self; | |
3338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_DecRef",_kwnames,&_argo0)) | |
3339 | return NULL; | |
3340 | if (_argo0) { | |
3341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p."); | |
3344 | return NULL; | |
3345 | } | |
3346 | } | |
3347 | { | |
474c48f9 | 3348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3349 | wxGridCellAttr_DecRef(_arg0); |
f6bcfd97 | 3350 | |
474c48f9 | 3351 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3352 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3353 | } Py_INCREF(Py_None); |
3354 | _resultobj = Py_None; | |
3355 | return _resultobj; | |
3356 | } | |
3357 | ||
3358 | #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
3359 | static PyObject *_wrap_wxGridCellAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3360 | PyObject * _resultobj; | |
3361 | wxGridCellAttr * _arg0; | |
3362 | wxColour * _arg1; | |
3363 | PyObject * _argo0 = 0; | |
3364 | wxColour temp; | |
3365 | PyObject * _obj1 = 0; | |
3366 | char *_kwnames[] = { "self","colText", NULL }; | |
3367 | ||
3368 | self = self; | |
3369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
3370 | return NULL; | |
3371 | if (_argo0) { | |
3372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p."); | |
3375 | return NULL; | |
3376 | } | |
3377 | } | |
3378 | { | |
3379 | _arg1 = &temp; | |
3380 | if (! wxColour_helper(_obj1, &_arg1)) | |
3381 | return NULL; | |
3382 | } | |
3383 | { | |
474c48f9 | 3384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3385 | wxGridCellAttr_SetTextColour(_arg0,*_arg1); |
f6bcfd97 | 3386 | |
474c48f9 | 3387 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3388 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3389 | } Py_INCREF(Py_None); |
3390 | _resultobj = Py_None; | |
3391 | return _resultobj; | |
3392 | } | |
3393 | ||
3394 | #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
3395 | static PyObject *_wrap_wxGridCellAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3396 | PyObject * _resultobj; | |
3397 | wxGridCellAttr * _arg0; | |
3398 | wxColour * _arg1; | |
3399 | PyObject * _argo0 = 0; | |
3400 | wxColour temp; | |
3401 | PyObject * _obj1 = 0; | |
3402 | char *_kwnames[] = { "self","colBack", NULL }; | |
3403 | ||
3404 | self = self; | |
3405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
3406 | return NULL; | |
3407 | if (_argo0) { | |
3408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p."); | |
3411 | return NULL; | |
3412 | } | |
3413 | } | |
3414 | { | |
3415 | _arg1 = &temp; | |
3416 | if (! wxColour_helper(_obj1, &_arg1)) | |
3417 | return NULL; | |
3418 | } | |
3419 | { | |
474c48f9 | 3420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3421 | wxGridCellAttr_SetBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 3422 | |
474c48f9 | 3423 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3424 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3425 | } Py_INCREF(Py_None); |
3426 | _resultobj = Py_None; | |
3427 | return _resultobj; | |
3428 | } | |
3429 | ||
3430 | #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
3431 | static PyObject *_wrap_wxGridCellAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3432 | PyObject * _resultobj; | |
3433 | wxGridCellAttr * _arg0; | |
3434 | wxFont * _arg1; | |
3435 | PyObject * _argo0 = 0; | |
3436 | PyObject * _argo1 = 0; | |
3437 | char *_kwnames[] = { "self","font", NULL }; | |
3438 | ||
3439 | self = self; | |
3440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetFont",_kwnames,&_argo0,&_argo1)) | |
3441 | return NULL; | |
3442 | if (_argo0) { | |
3443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p."); | |
3446 | return NULL; | |
3447 | } | |
3448 | } | |
3449 | if (_argo1) { | |
3450 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3451 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
3452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p."); | |
3453 | return NULL; | |
3454 | } | |
3455 | } | |
3456 | { | |
474c48f9 | 3457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3458 | wxGridCellAttr_SetFont(_arg0,*_arg1); |
f6bcfd97 | 3459 | |
474c48f9 | 3460 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3461 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3462 | } Py_INCREF(Py_None); |
3463 | _resultobj = Py_None; | |
3464 | return _resultobj; | |
3465 | } | |
3466 | ||
3467 | #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1)) | |
3468 | static PyObject *_wrap_wxGridCellAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3469 | PyObject * _resultobj; | |
3470 | wxGridCellAttr * _arg0; | |
3471 | int _arg1; | |
3472 | int _arg2; | |
3473 | PyObject * _argo0 = 0; | |
3474 | char *_kwnames[] = { "self","hAlign","vAlign", NULL }; | |
3475 | ||
3476 | self = self; | |
3477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3478 | return NULL; | |
3479 | if (_argo0) { | |
3480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p."); | |
3483 | return NULL; | |
3484 | } | |
3485 | } | |
3486 | { | |
474c48f9 | 3487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3488 | wxGridCellAttr_SetAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 3489 | |
474c48f9 | 3490 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3491 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3492 | } Py_INCREF(Py_None); |
3493 | _resultobj = Py_None; | |
3494 | return _resultobj; | |
3495 | } | |
3496 | ||
4eb65923 RD |
3497 | #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) |
3498 | static PyObject *_wrap_wxGridCellAttr_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3499 | PyObject * _resultobj; | |
3500 | wxGridCellAttr * _arg0; | |
3501 | int _arg1; | |
3502 | int _arg2; | |
3503 | PyObject * _argo0 = 0; | |
3504 | char *_kwnames[] = { "self","num_rows","num_cols", NULL }; | |
3505 | ||
3506 | self = self; | |
3507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttr_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3508 | return NULL; | |
3509 | if (_argo0) { | |
3510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetSize. Expected _wxGridCellAttr_p."); | |
3513 | return NULL; | |
3514 | } | |
3515 | } | |
3516 | { | |
3517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3518 | wxGridCellAttr_SetSize(_arg0,_arg1,_arg2); | |
3519 | ||
3520 | wxPyEndAllowThreads(__tstate); | |
3521 | if (PyErr_Occurred()) return NULL; | |
3522 | } Py_INCREF(Py_None); | |
3523 | _resultobj = Py_None; | |
3524 | return _resultobj; | |
3525 | } | |
3526 | ||
3527 | #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0)) | |
3528 | static PyObject *_wrap_wxGridCellAttr_SetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3529 | PyObject * _resultobj; | |
3530 | wxGridCellAttr * _arg0; | |
3531 | bool _arg1; | |
3532 | PyObject * _argo0 = 0; | |
3533 | int tempbool1; | |
3534 | char *_kwnames[] = { "self","allow", NULL }; | |
3535 | ||
3536 | self = self; | |
3537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetOverflow",_kwnames,&_argo0,&tempbool1)) | |
3538 | return NULL; | |
3539 | if (_argo0) { | |
3540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetOverflow. Expected _wxGridCellAttr_p."); | |
3543 | return NULL; | |
3544 | } | |
3545 | } | |
3546 | _arg1 = (bool ) tempbool1; | |
3547 | { | |
3548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3549 | wxGridCellAttr_SetOverflow(_arg0,_arg1); | |
3550 | ||
3551 | wxPyEndAllowThreads(__tstate); | |
3552 | if (PyErr_Occurred()) return NULL; | |
3553 | } Py_INCREF(Py_None); | |
3554 | _resultobj = Py_None; | |
3555 | return _resultobj; | |
3556 | } | |
3557 | ||
f6bcfd97 BP |
3558 | #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) |
3559 | static PyObject *_wrap_wxGridCellAttr_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3560 | PyObject * _resultobj; | |
3561 | wxGridCellAttr * _arg0; | |
3562 | bool _arg1 = (bool ) TRUE; | |
3563 | PyObject * _argo0 = 0; | |
3564 | int tempbool1 = (int) TRUE; | |
3565 | char *_kwnames[] = { "self","isReadOnly", NULL }; | |
3566 | ||
3567 | self = self; | |
3568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridCellAttr_SetReadOnly",_kwnames,&_argo0,&tempbool1)) | |
3569 | return NULL; | |
3570 | if (_argo0) { | |
3571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p."); | |
3574 | return NULL; | |
3575 | } | |
3576 | } | |
3577 | _arg1 = (bool ) tempbool1; | |
3578 | { | |
474c48f9 | 3579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3580 | wxGridCellAttr_SetReadOnly(_arg0,_arg1); |
f6bcfd97 | 3581 | |
474c48f9 | 3582 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3583 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3584 | } Py_INCREF(Py_None); |
3585 | _resultobj = Py_None; | |
3586 | return _resultobj; | |
3587 | } | |
3588 | ||
3589 | #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0)) | |
3590 | static PyObject *_wrap_wxGridCellAttr_SetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3591 | PyObject * _resultobj; | |
3592 | wxGridCellAttr * _arg0; | |
3593 | wxGridCellRenderer * _arg1; | |
3594 | PyObject * _argo0 = 0; | |
3595 | PyObject * _argo1 = 0; | |
3596 | char *_kwnames[] = { "self","renderer", NULL }; | |
3597 | ||
3598 | self = self; | |
3599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetRenderer",_kwnames,&_argo0,&_argo1)) | |
3600 | return NULL; | |
3601 | if (_argo0) { | |
3602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p."); | |
3605 | return NULL; | |
3606 | } | |
3607 | } | |
3608 | if (_argo1) { | |
3609 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3610 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) { | |
3611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p."); | |
3612 | return NULL; | |
3613 | } | |
3614 | } | |
3615 | { | |
474c48f9 | 3616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3617 | wxGridCellAttr_SetRenderer(_arg0,_arg1); |
f6bcfd97 | 3618 | |
474c48f9 | 3619 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3620 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3621 | } Py_INCREF(Py_None); |
3622 | _resultobj = Py_None; | |
3623 | return _resultobj; | |
3624 | } | |
3625 | ||
3626 | #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0)) | |
3627 | static PyObject *_wrap_wxGridCellAttr_SetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3628 | PyObject * _resultobj; | |
3629 | wxGridCellAttr * _arg0; | |
3630 | wxGridCellEditor * _arg1; | |
3631 | PyObject * _argo0 = 0; | |
3632 | PyObject * _argo1 = 0; | |
3633 | char *_kwnames[] = { "self","editor", NULL }; | |
3634 | ||
3635 | self = self; | |
3636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetEditor",_kwnames,&_argo0,&_argo1)) | |
3637 | return NULL; | |
3638 | if (_argo0) { | |
3639 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3640 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p."); | |
3642 | return NULL; | |
3643 | } | |
3644 | } | |
3645 | if (_argo1) { | |
3646 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3647 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) { | |
3648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p."); | |
3649 | return NULL; | |
3650 | } | |
3651 | } | |
3652 | { | |
474c48f9 | 3653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3654 | wxGridCellAttr_SetEditor(_arg0,_arg1); |
f6bcfd97 | 3655 | |
474c48f9 | 3656 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3657 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3658 | } Py_INCREF(Py_None); |
3659 | _resultobj = Py_None; | |
3660 | return _resultobj; | |
3661 | } | |
3662 | ||
9df61a29 RD |
3663 | #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0)) |
3664 | static PyObject *_wrap_wxGridCellAttr_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3665 | PyObject * _resultobj; | |
3666 | wxGridCellAttr * _arg0; | |
3667 | wxGridCellAttr::wxAttrKind _arg1; | |
3668 | PyObject * _argo0 = 0; | |
3669 | char *_kwnames[] = { "self","kind", NULL }; | |
3670 | ||
3671 | self = self; | |
3672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellAttr_SetKind",_kwnames,&_argo0,&_arg1)) | |
3673 | return NULL; | |
3674 | if (_argo0) { | |
3675 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3676 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p."); | |
3678 | return NULL; | |
3679 | } | |
3680 | } | |
3681 | { | |
474c48f9 | 3682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3683 | wxGridCellAttr_SetKind(_arg0,_arg1); |
9df61a29 | 3684 | |
474c48f9 | 3685 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3686 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
3687 | } Py_INCREF(Py_None); |
3688 | _resultobj = Py_None; | |
3689 | return _resultobj; | |
3690 | } | |
3691 | ||
f6bcfd97 BP |
3692 | #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour()) |
3693 | static PyObject *_wrap_wxGridCellAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3694 | PyObject * _resultobj; | |
3695 | bool _result; | |
3696 | wxGridCellAttr * _arg0; | |
3697 | PyObject * _argo0 = 0; | |
3698 | char *_kwnames[] = { "self", NULL }; | |
3699 | ||
3700 | self = self; | |
3701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasTextColour",_kwnames,&_argo0)) | |
3702 | return NULL; | |
3703 | if (_argo0) { | |
3704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p."); | |
3707 | return NULL; | |
3708 | } | |
3709 | } | |
3710 | { | |
474c48f9 | 3711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3712 | _result = (bool )wxGridCellAttr_HasTextColour(_arg0); |
f6bcfd97 | 3713 | |
474c48f9 | 3714 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3715 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3716 | } _resultobj = Py_BuildValue("i",_result); |
3717 | return _resultobj; | |
3718 | } | |
3719 | ||
3720 | #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour()) | |
3721 | static PyObject *_wrap_wxGridCellAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3722 | PyObject * _resultobj; | |
3723 | bool _result; | |
3724 | wxGridCellAttr * _arg0; | |
3725 | PyObject * _argo0 = 0; | |
3726 | char *_kwnames[] = { "self", NULL }; | |
3727 | ||
3728 | self = self; | |
3729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasBackgroundColour",_kwnames,&_argo0)) | |
3730 | return NULL; | |
3731 | if (_argo0) { | |
3732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p."); | |
3735 | return NULL; | |
3736 | } | |
3737 | } | |
3738 | { | |
474c48f9 | 3739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3740 | _result = (bool )wxGridCellAttr_HasBackgroundColour(_arg0); |
f6bcfd97 | 3741 | |
474c48f9 | 3742 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3743 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3744 | } _resultobj = Py_BuildValue("i",_result); |
3745 | return _resultobj; | |
3746 | } | |
3747 | ||
3748 | #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont()) | |
3749 | static PyObject *_wrap_wxGridCellAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3750 | PyObject * _resultobj; | |
3751 | bool _result; | |
3752 | wxGridCellAttr * _arg0; | |
3753 | PyObject * _argo0 = 0; | |
3754 | char *_kwnames[] = { "self", NULL }; | |
3755 | ||
3756 | self = self; | |
3757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasFont",_kwnames,&_argo0)) | |
3758 | return NULL; | |
3759 | if (_argo0) { | |
3760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p."); | |
3763 | return NULL; | |
3764 | } | |
3765 | } | |
3766 | { | |
474c48f9 | 3767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3768 | _result = (bool )wxGridCellAttr_HasFont(_arg0); |
f6bcfd97 | 3769 | |
474c48f9 | 3770 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3771 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3772 | } _resultobj = Py_BuildValue("i",_result); |
3773 | return _resultobj; | |
3774 | } | |
3775 | ||
3776 | #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment()) | |
3777 | static PyObject *_wrap_wxGridCellAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3778 | PyObject * _resultobj; | |
3779 | bool _result; | |
3780 | wxGridCellAttr * _arg0; | |
3781 | PyObject * _argo0 = 0; | |
3782 | char *_kwnames[] = { "self", NULL }; | |
3783 | ||
3784 | self = self; | |
3785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasAlignment",_kwnames,&_argo0)) | |
3786 | return NULL; | |
3787 | if (_argo0) { | |
3788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p."); | |
3791 | return NULL; | |
3792 | } | |
3793 | } | |
3794 | { | |
474c48f9 | 3795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3796 | _result = (bool )wxGridCellAttr_HasAlignment(_arg0); |
f6bcfd97 | 3797 | |
474c48f9 | 3798 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3799 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3800 | } _resultobj = Py_BuildValue("i",_result); |
3801 | return _resultobj; | |
3802 | } | |
3803 | ||
3804 | #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer()) | |
3805 | static PyObject *_wrap_wxGridCellAttr_HasRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3806 | PyObject * _resultobj; | |
3807 | bool _result; | |
3808 | wxGridCellAttr * _arg0; | |
3809 | PyObject * _argo0 = 0; | |
3810 | char *_kwnames[] = { "self", NULL }; | |
3811 | ||
3812 | self = self; | |
3813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasRenderer",_kwnames,&_argo0)) | |
3814 | return NULL; | |
3815 | if (_argo0) { | |
3816 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3817 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p."); | |
3819 | return NULL; | |
3820 | } | |
3821 | } | |
3822 | { | |
474c48f9 | 3823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3824 | _result = (bool )wxGridCellAttr_HasRenderer(_arg0); |
f6bcfd97 | 3825 | |
474c48f9 | 3826 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3827 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3828 | } _resultobj = Py_BuildValue("i",_result); |
3829 | return _resultobj; | |
3830 | } | |
3831 | ||
3832 | #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor()) | |
3833 | static PyObject *_wrap_wxGridCellAttr_HasEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3834 | PyObject * _resultobj; | |
3835 | bool _result; | |
3836 | wxGridCellAttr * _arg0; | |
3837 | PyObject * _argo0 = 0; | |
3838 | char *_kwnames[] = { "self", NULL }; | |
3839 | ||
3840 | self = self; | |
3841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasEditor",_kwnames,&_argo0)) | |
3842 | return NULL; | |
3843 | if (_argo0) { | |
3844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p."); | |
3847 | return NULL; | |
3848 | } | |
3849 | } | |
3850 | { | |
474c48f9 | 3851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3852 | _result = (bool )wxGridCellAttr_HasEditor(_arg0); |
f6bcfd97 | 3853 | |
474c48f9 | 3854 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3855 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
3856 | } _resultobj = Py_BuildValue("i",_result); |
3857 | return _resultobj; | |
3858 | } | |
3859 | ||
9df61a29 RD |
3860 | #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode()) |
3861 | static PyObject *_wrap_wxGridCellAttr_HasReadWriteMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3862 | PyObject * _resultobj; | |
3863 | bool _result; | |
3864 | wxGridCellAttr * _arg0; | |
3865 | PyObject * _argo0 = 0; | |
3866 | char *_kwnames[] = { "self", NULL }; | |
3867 | ||
3868 | self = self; | |
3869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_HasReadWriteMode",_kwnames,&_argo0)) | |
3870 | return NULL; | |
3871 | if (_argo0) { | |
3872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p."); | |
3875 | return NULL; | |
3876 | } | |
3877 | } | |
3878 | { | |
474c48f9 | 3879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3880 | _result = (bool )wxGridCellAttr_HasReadWriteMode(_arg0); |
9df61a29 | 3881 | |
474c48f9 | 3882 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3883 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
3884 | } _resultobj = Py_BuildValue("i",_result); |
3885 | return _resultobj; | |
3886 | } | |
3887 | ||
f6bcfd97 BP |
3888 | #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour()) |
3889 | static PyObject *_wrap_wxGridCellAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3890 | PyObject * _resultobj; | |
3891 | wxColour * _result; | |
3892 | wxGridCellAttr * _arg0; | |
3893 | PyObject * _argo0 = 0; | |
3894 | char *_kwnames[] = { "self", NULL }; | |
3895 | char _ptemp[128]; | |
3896 | ||
3897 | self = self; | |
3898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetTextColour",_kwnames,&_argo0)) | |
3899 | return NULL; | |
3900 | if (_argo0) { | |
3901 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3902 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p."); | |
3904 | return NULL; | |
3905 | } | |
3906 | } | |
3907 | { | |
474c48f9 | 3908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3909 | _result = new wxColour (wxGridCellAttr_GetTextColour(_arg0)); |
f6bcfd97 | 3910 | |
474c48f9 | 3911 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3912 | if (PyErr_Occurred()) return NULL; |
3e212503 RD |
3913 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3914 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3915 | return _resultobj; |
3916 | } | |
3917 | ||
3918 | #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
3919 | static PyObject *_wrap_wxGridCellAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3920 | PyObject * _resultobj; | |
3921 | wxColour * _result; | |
3922 | wxGridCellAttr * _arg0; | |
3923 | PyObject * _argo0 = 0; | |
3924 | char *_kwnames[] = { "self", NULL }; | |
3925 | char _ptemp[128]; | |
3926 | ||
3927 | self = self; | |
3928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetBackgroundColour",_kwnames,&_argo0)) | |
3929 | return NULL; | |
3930 | if (_argo0) { | |
3931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p."); | |
3934 | return NULL; | |
3935 | } | |
3936 | } | |
3937 | { | |
474c48f9 | 3938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3939 | _result = new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0)); |
f6bcfd97 | 3940 | |
474c48f9 | 3941 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3942 | if (PyErr_Occurred()) return NULL; |
3e212503 RD |
3943 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3944 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3945 | return _resultobj; |
3946 | } | |
3947 | ||
3948 | #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont()) | |
3949 | static PyObject *_wrap_wxGridCellAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3950 | PyObject * _resultobj; | |
3951 | wxFont * _result; | |
3952 | wxGridCellAttr * _arg0; | |
3953 | PyObject * _argo0 = 0; | |
3954 | char *_kwnames[] = { "self", NULL }; | |
3955 | char _ptemp[128]; | |
3956 | ||
3957 | self = self; | |
3958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetFont",_kwnames,&_argo0)) | |
3959 | return NULL; | |
3960 | if (_argo0) { | |
3961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
3963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p."); | |
3964 | return NULL; | |
3965 | } | |
3966 | } | |
3967 | { | |
474c48f9 | 3968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3969 | _result = new wxFont (wxGridCellAttr_GetFont(_arg0)); |
f6bcfd97 | 3970 | |
474c48f9 | 3971 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 3972 | if (PyErr_Occurred()) return NULL; |
3e212503 RD |
3973 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
3974 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3975 | return _resultobj; |
3976 | } | |
3977 | ||
3978 | #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1)) | |
3979 | static PyObject *_wrap_wxGridCellAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3980 | PyObject * _resultobj; | |
3981 | wxGridCellAttr * _arg0; | |
3982 | int * _arg1; | |
3983 | int temp; | |
3984 | int * _arg2; | |
3985 | int temp0; | |
3986 | PyObject * _argo0 = 0; | |
3987 | char *_kwnames[] = { "self", NULL }; | |
3988 | ||
3989 | self = self; | |
3990 | { | |
3991 | _arg1 = &temp; | |
3992 | } | |
3993 | { | |
3994 | _arg2 = &temp0; | |
3995 | } | |
3996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetAlignment",_kwnames,&_argo0)) | |
3997 | return NULL; | |
3998 | if (_argo0) { | |
3999 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4000 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4001 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p."); | |
4002 | return NULL; | |
4003 | } | |
4004 | } | |
4005 | { | |
474c48f9 | 4006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4007 | wxGridCellAttr_GetAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 4008 | |
474c48f9 | 4009 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4010 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4011 | } Py_INCREF(Py_None); |
4012 | _resultobj = Py_None; | |
4013 | { | |
4014 | PyObject *o; | |
4015 | o = PyInt_FromLong((long) (*_arg1)); | |
4016 | _resultobj = t_output_helper(_resultobj, o); | |
4017 | } | |
4018 | { | |
4019 | PyObject *o; | |
4020 | o = PyInt_FromLong((long) (*_arg2)); | |
4021 | _resultobj = t_output_helper(_resultobj, o); | |
4022 | } | |
4023 | return _resultobj; | |
4024 | } | |
4025 | ||
4eb65923 RD |
4026 | #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1)) |
4027 | static PyObject *_wrap_wxGridCellAttr_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4028 | PyObject * _resultobj; | |
4029 | wxGridCellAttr * _arg0; | |
4030 | int * _arg1; | |
4031 | int * _arg2; | |
4032 | PyObject * _argo0 = 0; | |
4033 | PyObject * _argo1 = 0; | |
4034 | PyObject * _argo2 = 0; | |
4035 | char *_kwnames[] = { "self","num_rows","num_cols", NULL }; | |
4036 | ||
4037 | self = self; | |
4038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGridCellAttr_GetSize",_kwnames,&_argo0,&_argo1,&_argo2)) | |
4039 | return NULL; | |
4040 | if (_argo0) { | |
4041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p."); | |
4044 | return NULL; | |
4045 | } | |
4046 | } | |
4047 | if (_argo1) { | |
4048 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4049 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
4050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetSize. Expected _int_p."); | |
4051 | return NULL; | |
4052 | } | |
4053 | } | |
4054 | if (_argo2) { | |
4055 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4056 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
4057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGridCellAttr_GetSize. Expected _int_p."); | |
4058 | return NULL; | |
4059 | } | |
4060 | } | |
4061 | { | |
4062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4063 | wxGridCellAttr_GetSize(_arg0,_arg1,_arg2); | |
4064 | ||
4065 | wxPyEndAllowThreads(__tstate); | |
4066 | if (PyErr_Occurred()) return NULL; | |
4067 | } Py_INCREF(Py_None); | |
4068 | _resultobj = Py_None; | |
4069 | return _resultobj; | |
4070 | } | |
4071 | ||
4072 | #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow()) | |
4073 | static PyObject *_wrap_wxGridCellAttr_GetOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4074 | PyObject * _resultobj; | |
4075 | bool _result; | |
4076 | wxGridCellAttr * _arg0; | |
4077 | PyObject * _argo0 = 0; | |
4078 | char *_kwnames[] = { "self", NULL }; | |
4079 | ||
4080 | self = self; | |
4081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_GetOverflow",_kwnames,&_argo0)) | |
4082 | return NULL; | |
4083 | if (_argo0) { | |
4084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p."); | |
4087 | return NULL; | |
4088 | } | |
4089 | } | |
4090 | { | |
4091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4092 | _result = (bool )wxGridCellAttr_GetOverflow(_arg0); | |
4093 | ||
4094 | wxPyEndAllowThreads(__tstate); | |
4095 | if (PyErr_Occurred()) return NULL; | |
4096 | } _resultobj = Py_BuildValue("i",_result); | |
4097 | return _resultobj; | |
4098 | } | |
4099 | ||
f6bcfd97 BP |
4100 | #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2)) |
4101 | static PyObject *_wrap_wxGridCellAttr_GetRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4102 | PyObject * _resultobj; | |
4103 | wxGridCellRenderer * _result; | |
4104 | wxGridCellAttr * _arg0; | |
4105 | wxGrid * _arg1; | |
4106 | int _arg2; | |
4107 | int _arg3; | |
4108 | PyObject * _argo0 = 0; | |
4109 | PyObject * _argo1 = 0; | |
4110 | char *_kwnames[] = { "self","grid","row","col", NULL }; | |
f6bcfd97 BP |
4111 | |
4112 | self = self; | |
4113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetRenderer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4114 | return NULL; | |
4115 | if (_argo0) { | |
4116 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4117 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4118 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p."); | |
4119 | return NULL; | |
4120 | } | |
4121 | } | |
4122 | if (_argo1) { | |
4123 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4124 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
4125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p."); | |
4126 | return NULL; | |
4127 | } | |
4128 | } | |
4129 | { | |
474c48f9 | 4130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4131 | _result = (wxGridCellRenderer *)wxGridCellAttr_GetRenderer(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4132 | |
474c48f9 | 4133 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4134 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 4135 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
4136 | return _resultobj; |
4137 | } | |
4138 | ||
4139 | #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2)) | |
4140 | static PyObject *_wrap_wxGridCellAttr_GetEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4141 | PyObject * _resultobj; | |
4142 | wxGridCellEditor * _result; | |
4143 | wxGridCellAttr * _arg0; | |
4144 | wxGrid * _arg1; | |
4145 | int _arg2; | |
4146 | int _arg3; | |
4147 | PyObject * _argo0 = 0; | |
4148 | PyObject * _argo1 = 0; | |
4149 | char *_kwnames[] = { "self","grid","row","col", NULL }; | |
f6bcfd97 BP |
4150 | |
4151 | self = self; | |
4152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttr_GetEditor",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4153 | return NULL; | |
4154 | if (_argo0) { | |
4155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p."); | |
4158 | return NULL; | |
4159 | } | |
4160 | } | |
4161 | if (_argo1) { | |
4162 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4163 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
4164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p."); | |
4165 | return NULL; | |
4166 | } | |
4167 | } | |
4168 | { | |
474c48f9 | 4169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4170 | _result = (wxGridCellEditor *)wxGridCellAttr_GetEditor(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4171 | |
474c48f9 | 4172 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4173 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 4174 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
4175 | return _resultobj; |
4176 | } | |
4177 | ||
4178 | #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly()) | |
4179 | static PyObject *_wrap_wxGridCellAttr_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4180 | PyObject * _resultobj; | |
4181 | bool _result; | |
4182 | wxGridCellAttr * _arg0; | |
4183 | PyObject * _argo0 = 0; | |
4184 | char *_kwnames[] = { "self", NULL }; | |
4185 | ||
4186 | self = self; | |
4187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellAttr_IsReadOnly",_kwnames,&_argo0)) | |
4188 | return NULL; | |
4189 | if (_argo0) { | |
4190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p."); | |
4193 | return NULL; | |
4194 | } | |
4195 | } | |
4196 | { | |
474c48f9 | 4197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4198 | _result = (bool )wxGridCellAttr_IsReadOnly(_arg0); |
f6bcfd97 | 4199 | |
474c48f9 | 4200 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4201 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4202 | } _resultobj = Py_BuildValue("i",_result); |
4203 | return _resultobj; | |
4204 | } | |
4205 | ||
4206 | #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0)) | |
4207 | static PyObject *_wrap_wxGridCellAttr_SetDefAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4208 | PyObject * _resultobj; | |
4209 | wxGridCellAttr * _arg0; | |
4210 | wxGridCellAttr * _arg1; | |
4211 | PyObject * _argo0 = 0; | |
4212 | PyObject * _argo1 = 0; | |
4213 | char *_kwnames[] = { "self","defAttr", NULL }; | |
4214 | ||
4215 | self = self; | |
4216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttr_SetDefAttr",_kwnames,&_argo0,&_argo1)) | |
4217 | return NULL; | |
4218 | if (_argo0) { | |
4219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttr_p")) { | |
4221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p."); | |
4222 | return NULL; | |
4223 | } | |
4224 | } | |
4225 | if (_argo1) { | |
4226 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4227 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p."); | |
4229 | return NULL; | |
4230 | } | |
4231 | } | |
4232 | { | |
474c48f9 | 4233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4234 | wxGridCellAttr_SetDefAttr(_arg0,_arg1); |
f6bcfd97 | 4235 | |
474c48f9 | 4236 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4237 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4238 | } Py_INCREF(Py_None); |
4239 | _resultobj = Py_None; | |
4240 | return _resultobj; | |
4241 | } | |
4242 | ||
4243 | #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider()) | |
4244 | static PyObject *_wrap_new_wxGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4245 | PyObject * _resultobj; | |
4246 | wxGridCellAttrProvider * _result; | |
4247 | char *_kwnames[] = { NULL }; | |
4248 | char _ptemp[128]; | |
4249 | ||
4250 | self = self; | |
4251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCellAttrProvider",_kwnames)) | |
4252 | return NULL; | |
4253 | { | |
474c48f9 | 4254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4255 | _result = (wxGridCellAttrProvider *)new_wxGridCellAttrProvider(); |
f6bcfd97 | 4256 | |
474c48f9 | 4257 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4258 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4259 | } if (_result) { |
4260 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellAttrProvider_p"); | |
4261 | _resultobj = Py_BuildValue("s",_ptemp); | |
4262 | } else { | |
4263 | Py_INCREF(Py_None); | |
4264 | _resultobj = Py_None; | |
4265 | } | |
4266 | return _resultobj; | |
4267 | } | |
4268 | ||
b98a5dfc RD |
4269 | static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider *self,PyObject * _self) { |
4270 | self->SetClientObject(new wxPyOORClientData(_self)); | |
4271 | } | |
4272 | static PyObject *_wrap_wxGridCellAttrProvider__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4273 | PyObject * _resultobj; | |
4274 | wxGridCellAttrProvider * _arg0; | |
4275 | PyObject * _arg1; | |
4276 | PyObject * _argo0 = 0; | |
4277 | PyObject * _obj1 = 0; | |
4278 | char *_kwnames[] = { "self","_self", NULL }; | |
4279 | ||
4280 | self = self; | |
4281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
4282 | return NULL; | |
4283 | if (_argo0) { | |
4284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p."); | |
4287 | return NULL; | |
4288 | } | |
4289 | } | |
4290 | { | |
4291 | _arg1 = _obj1; | |
4292 | } | |
4293 | { | |
4294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4295 | wxGridCellAttrProvider__setOORInfo(_arg0,_arg1); | |
4296 | ||
4297 | wxPyEndAllowThreads(__tstate); | |
4298 | if (PyErr_Occurred()) return NULL; | |
4299 | } Py_INCREF(Py_None); | |
4300 | _resultobj = Py_None; | |
4301 | return _resultobj; | |
4302 | } | |
4303 | ||
9df61a29 | 4304 | #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
4305 | static PyObject *_wrap_wxGridCellAttrProvider_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
4306 | PyObject * _resultobj; | |
4307 | wxGridCellAttr * _result; | |
4308 | wxGridCellAttrProvider * _arg0; | |
4309 | int _arg1; | |
4310 | int _arg2; | |
9df61a29 | 4311 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 4312 | PyObject * _argo0 = 0; |
9df61a29 | 4313 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
4314 | |
4315 | self = self; | |
9df61a29 | 4316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
4317 | return NULL; |
4318 | if (_argo0) { | |
4319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p."); | |
4322 | return NULL; | |
4323 | } | |
4324 | } | |
4325 | { | |
474c48f9 | 4326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4327 | _result = (wxGridCellAttr *)wxGridCellAttrProvider_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4328 | |
474c48f9 | 4329 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4330 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 4331 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
4332 | return _resultobj; |
4333 | } | |
4334 | ||
4335 | #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
4336 | static PyObject *_wrap_wxGridCellAttrProvider_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4337 | PyObject * _resultobj; | |
4338 | wxGridCellAttrProvider * _arg0; | |
4339 | wxGridCellAttr * _arg1; | |
4340 | int _arg2; | |
4341 | int _arg3; | |
4342 | PyObject * _argo0 = 0; | |
4343 | PyObject * _argo1 = 0; | |
4344 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
4345 | ||
4346 | self = self; | |
4347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4348 | return NULL; | |
4349 | if (_argo0) { | |
4350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p."); | |
4353 | return NULL; | |
4354 | } | |
4355 | } | |
4356 | if (_argo1) { | |
4357 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4358 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p."); | |
4360 | return NULL; | |
4361 | } | |
4362 | } | |
4363 | { | |
474c48f9 | 4364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4365 | wxGridCellAttrProvider_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4366 | |
474c48f9 | 4367 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4368 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4369 | } Py_INCREF(Py_None); |
4370 | _resultobj = Py_None; | |
4371 | return _resultobj; | |
4372 | } | |
4373 | ||
4374 | #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
4375 | static PyObject *_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4376 | PyObject * _resultobj; | |
4377 | wxGridCellAttrProvider * _arg0; | |
4378 | wxGridCellAttr * _arg1; | |
4379 | int _arg2; | |
4380 | PyObject * _argo0 = 0; | |
4381 | PyObject * _argo1 = 0; | |
4382 | char *_kwnames[] = { "self","attr","row", NULL }; | |
4383 | ||
4384 | self = self; | |
4385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4386 | return NULL; | |
4387 | if (_argo0) { | |
4388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p."); | |
4391 | return NULL; | |
4392 | } | |
4393 | } | |
4394 | if (_argo1) { | |
4395 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4396 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p."); | |
4398 | return NULL; | |
4399 | } | |
4400 | } | |
4401 | { | |
474c48f9 | 4402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4403 | wxGridCellAttrProvider_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4404 | |
474c48f9 | 4405 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4406 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4407 | } Py_INCREF(Py_None); |
4408 | _resultobj = Py_None; | |
4409 | return _resultobj; | |
4410 | } | |
4411 | ||
4412 | #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
4413 | static PyObject *_wrap_wxGridCellAttrProvider_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4414 | PyObject * _resultobj; | |
4415 | wxGridCellAttrProvider * _arg0; | |
4416 | wxGridCellAttr * _arg1; | |
4417 | int _arg2; | |
4418 | PyObject * _argo0 = 0; | |
4419 | PyObject * _argo1 = 0; | |
4420 | char *_kwnames[] = { "self","attr","col", NULL }; | |
4421 | ||
4422 | self = self; | |
4423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4424 | return NULL; | |
4425 | if (_argo0) { | |
4426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p."); | |
4429 | return NULL; | |
4430 | } | |
4431 | } | |
4432 | if (_argo1) { | |
4433 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4434 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p."); | |
4436 | return NULL; | |
4437 | } | |
4438 | } | |
4439 | { | |
474c48f9 | 4440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4441 | wxGridCellAttrProvider_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4442 | |
474c48f9 | 4443 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4444 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4445 | } Py_INCREF(Py_None); |
4446 | _resultobj = Py_None; | |
4447 | return _resultobj; | |
4448 | } | |
4449 | ||
4450 | #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1)) | |
4451 | static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4452 | PyObject * _resultobj; | |
4453 | wxGridCellAttrProvider * _arg0; | |
4454 | size_t _arg1; | |
4455 | int _arg2; | |
4456 | PyObject * _argo0 = 0; | |
4457 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
4458 | ||
4459 | self = self; | |
4460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4461 | return NULL; | |
4462 | if (_argo0) { | |
4463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p."); | |
4466 | return NULL; | |
4467 | } | |
4468 | } | |
4469 | { | |
474c48f9 | 4470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4471 | wxGridCellAttrProvider_UpdateAttrRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 4472 | |
474c48f9 | 4473 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4474 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4475 | } Py_INCREF(Py_None); |
4476 | _resultobj = Py_None; | |
4477 | return _resultobj; | |
4478 | } | |
4479 | ||
4480 | #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1)) | |
4481 | static PyObject *_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4482 | PyObject * _resultobj; | |
4483 | wxGridCellAttrProvider * _arg0; | |
4484 | size_t _arg1; | |
4485 | int _arg2; | |
4486 | PyObject * _argo0 = 0; | |
4487 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
4488 | ||
4489 | self = self; | |
4490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4491 | return NULL; | |
4492 | if (_argo0) { | |
4493 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4494 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellAttrProvider_p")) { | |
4495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p."); | |
4496 | return NULL; | |
4497 | } | |
4498 | } | |
4499 | { | |
474c48f9 | 4500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4501 | wxGridCellAttrProvider_UpdateAttrCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 4502 | |
474c48f9 | 4503 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4504 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4505 | } Py_INCREF(Py_None); |
4506 | _resultobj = Py_None; | |
4507 | return _resultobj; | |
4508 | } | |
4509 | ||
4510 | static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr) { | |
4511 | wxPyGridCellAttrProvider *src; | |
4512 | wxGridCellAttrProvider *dest; | |
4513 | src = (wxPyGridCellAttrProvider *) ptr; | |
4514 | dest = (wxGridCellAttrProvider *) src; | |
4515 | return (void *) dest; | |
4516 | } | |
4517 | ||
4518 | #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider()) | |
4519 | static PyObject *_wrap_new_wxPyGridCellAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4520 | PyObject * _resultobj; | |
4521 | wxPyGridCellAttrProvider * _result; | |
4522 | char *_kwnames[] = { NULL }; | |
4523 | char _ptemp[128]; | |
4524 | ||
4525 | self = self; | |
4526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridCellAttrProvider",_kwnames)) | |
4527 | return NULL; | |
4528 | { | |
474c48f9 | 4529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4530 | _result = (wxPyGridCellAttrProvider *)new_wxPyGridCellAttrProvider(); |
f6bcfd97 | 4531 | |
474c48f9 | 4532 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4533 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4534 | } if (_result) { |
4535 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridCellAttrProvider_p"); | |
4536 | _resultobj = Py_BuildValue("s",_ptemp); | |
4537 | } else { | |
4538 | Py_INCREF(Py_None); | |
4539 | _resultobj = Py_None; | |
4540 | } | |
4541 | return _resultobj; | |
4542 | } | |
4543 | ||
0220cbc1 RD |
4544 | #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
4545 | static PyObject *_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4546 | PyObject * _resultobj; |
4547 | wxPyGridCellAttrProvider * _arg0; | |
4548 | PyObject * _arg1; | |
4549 | PyObject * _arg2; | |
4550 | PyObject * _argo0 = 0; | |
4551 | PyObject * _obj1 = 0; | |
4552 | PyObject * _obj2 = 0; | |
4553 | char *_kwnames[] = { "self","self","_class", NULL }; | |
4554 | ||
4555 | self = self; | |
0220cbc1 | 4556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
4557 | return NULL; |
4558 | if (_argo0) { | |
4559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
0220cbc1 | 4561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p."); |
f6bcfd97 BP |
4562 | return NULL; |
4563 | } | |
4564 | } | |
4565 | { | |
4566 | _arg1 = _obj1; | |
4567 | } | |
4568 | { | |
4569 | _arg2 = _obj2; | |
4570 | } | |
4571 | { | |
474c48f9 | 4572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4573 | wxPyGridCellAttrProvider__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 4574 | |
474c48f9 | 4575 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4576 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4577 | } Py_INCREF(Py_None); |
4578 | _resultobj = Py_None; | |
4579 | return _resultobj; | |
4580 | } | |
4581 | ||
9df61a29 | 4582 | #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
4583 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
4584 | PyObject * _resultobj; | |
4585 | wxGridCellAttr * _result; | |
4586 | wxPyGridCellAttrProvider * _arg0; | |
4587 | int _arg1; | |
4588 | int _arg2; | |
9df61a29 | 4589 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 4590 | PyObject * _argo0 = 0; |
9df61a29 | 4591 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
4592 | |
4593 | self = self; | |
9df61a29 | 4594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
4595 | return NULL; |
4596 | if (_argo0) { | |
4597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4600 | return NULL; | |
4601 | } | |
4602 | } | |
4603 | { | |
474c48f9 | 4604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4605 | _result = (wxGridCellAttr *)wxPyGridCellAttrProvider_base_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4606 | |
474c48f9 | 4607 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4608 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 4609 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
4610 | return _resultobj; |
4611 | } | |
4612 | ||
4613 | #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
4614 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4615 | PyObject * _resultobj; | |
4616 | wxPyGridCellAttrProvider * _arg0; | |
4617 | wxGridCellAttr * _arg1; | |
4618 | int _arg2; | |
4619 | int _arg3; | |
4620 | PyObject * _argo0 = 0; | |
4621 | PyObject * _argo1 = 0; | |
4622 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
4623 | ||
4624 | self = self; | |
4625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
4626 | return NULL; | |
4627 | if (_argo0) { | |
4628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4631 | return NULL; | |
4632 | } | |
4633 | } | |
4634 | if (_argo1) { | |
4635 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4636 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p."); | |
4638 | return NULL; | |
4639 | } | |
4640 | } | |
4641 | { | |
474c48f9 | 4642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4643 | wxPyGridCellAttrProvider_base_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 4644 | |
474c48f9 | 4645 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4646 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4647 | } Py_INCREF(Py_None); |
4648 | _resultobj = Py_None; | |
4649 | return _resultobj; | |
4650 | } | |
4651 | ||
4652 | #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1)) | |
4653 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4654 | PyObject * _resultobj; | |
4655 | wxPyGridCellAttrProvider * _arg0; | |
4656 | wxGridCellAttr * _arg1; | |
4657 | int _arg2; | |
4658 | PyObject * _argo0 = 0; | |
4659 | PyObject * _argo1 = 0; | |
4660 | char *_kwnames[] = { "self","attr","row", NULL }; | |
4661 | ||
4662 | self = self; | |
4663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4664 | return NULL; | |
4665 | if (_argo0) { | |
4666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4669 | return NULL; | |
4670 | } | |
4671 | } | |
4672 | if (_argo1) { | |
4673 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4674 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p."); | |
4676 | return NULL; | |
4677 | } | |
4678 | } | |
4679 | { | |
474c48f9 | 4680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4681 | wxPyGridCellAttrProvider_base_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4682 | |
474c48f9 | 4683 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4684 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4685 | } Py_INCREF(Py_None); |
4686 | _resultobj = Py_None; | |
4687 | return _resultobj; | |
4688 | } | |
4689 | ||
4690 | #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1)) | |
4691 | static PyObject *_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4692 | PyObject * _resultobj; | |
4693 | wxPyGridCellAttrProvider * _arg0; | |
4694 | wxGridCellAttr * _arg1; | |
4695 | int _arg2; | |
4696 | PyObject * _argo0 = 0; | |
4697 | PyObject * _argo1 = 0; | |
4698 | char *_kwnames[] = { "self","attr","col", NULL }; | |
4699 | ||
4700 | self = self; | |
4701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
4702 | return NULL; | |
4703 | if (_argo0) { | |
4704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridCellAttrProvider_p")) { | |
4706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p."); | |
4707 | return NULL; | |
4708 | } | |
4709 | } | |
4710 | if (_argo1) { | |
4711 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4712 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
4713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p."); | |
4714 | return NULL; | |
4715 | } | |
4716 | } | |
4717 | { | |
474c48f9 | 4718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4719 | wxPyGridCellAttrProvider_base_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 4720 | |
474c48f9 | 4721 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4722 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4723 | } Py_INCREF(Py_None); |
4724 | _resultobj = Py_None; | |
4725 | return _resultobj; | |
4726 | } | |
4727 | ||
9df61a29 RD |
4728 | static void *SwigwxGridTableBaseTowxObject(void *ptr) { |
4729 | wxGridTableBase *src; | |
4730 | wxObject *dest; | |
4731 | src = (wxGridTableBase *) ptr; | |
4732 | dest = (wxObject *) src; | |
4733 | return (void *) dest; | |
4734 | } | |
4735 | ||
b98a5dfc RD |
4736 | static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject * _self) { |
4737 | self->SetClientObject(new wxPyOORClientData(_self)); | |
4738 | } | |
4739 | static PyObject *_wrap_wxGridTableBase__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4740 | PyObject * _resultobj; | |
4741 | wxGridTableBase * _arg0; | |
4742 | PyObject * _arg1; | |
4743 | PyObject * _argo0 = 0; | |
4744 | PyObject * _obj1 = 0; | |
4745 | char *_kwnames[] = { "self","_self", NULL }; | |
4746 | ||
4747 | self = self; | |
4748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
4749 | return NULL; | |
4750 | if (_argo0) { | |
4751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p."); | |
4754 | return NULL; | |
4755 | } | |
4756 | } | |
4757 | { | |
4758 | _arg1 = _obj1; | |
4759 | } | |
4760 | { | |
4761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4762 | wxGridTableBase__setOORInfo(_arg0,_arg1); | |
4763 | ||
4764 | wxPyEndAllowThreads(__tstate); | |
4765 | if (PyErr_Occurred()) return NULL; | |
4766 | } Py_INCREF(Py_None); | |
4767 | _resultobj = Py_None; | |
4768 | return _resultobj; | |
4769 | } | |
4770 | ||
f6bcfd97 BP |
4771 | #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0)) |
4772 | static PyObject *_wrap_wxGridTableBase_SetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4773 | PyObject * _resultobj; | |
4774 | wxGridTableBase * _arg0; | |
4775 | wxGridCellAttrProvider * _arg1; | |
4776 | PyObject * _argo0 = 0; | |
4777 | PyObject * _argo1 = 0; | |
4778 | char *_kwnames[] = { "self","attrProvider", NULL }; | |
4779 | ||
4780 | self = self; | |
4781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetAttrProvider",_kwnames,&_argo0,&_argo1)) | |
4782 | return NULL; | |
4783 | if (_argo0) { | |
4784 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4785 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p."); | |
4787 | return NULL; | |
4788 | } | |
4789 | } | |
4790 | if (_argo1) { | |
4791 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4792 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttrProvider_p")) { | |
4793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p."); | |
4794 | return NULL; | |
4795 | } | |
4796 | } | |
4797 | { | |
474c48f9 | 4798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4799 | wxGridTableBase_SetAttrProvider(_arg0,_arg1); |
f6bcfd97 | 4800 | |
474c48f9 | 4801 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4802 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4803 | } Py_INCREF(Py_None); |
4804 | _resultobj = Py_None; | |
4805 | return _resultobj; | |
4806 | } | |
4807 | ||
4808 | #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider()) | |
4809 | static PyObject *_wrap_wxGridTableBase_GetAttrProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4810 | PyObject * _resultobj; | |
4811 | wxGridCellAttrProvider * _result; | |
4812 | wxGridTableBase * _arg0; | |
4813 | PyObject * _argo0 = 0; | |
4814 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
4815 | |
4816 | self = self; | |
4817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetAttrProvider",_kwnames,&_argo0)) | |
4818 | return NULL; | |
4819 | if (_argo0) { | |
4820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p."); | |
4823 | return NULL; | |
4824 | } | |
4825 | } | |
4826 | { | |
474c48f9 | 4827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4828 | _result = (wxGridCellAttrProvider *)wxGridTableBase_GetAttrProvider(_arg0); |
f6bcfd97 | 4829 | |
474c48f9 | 4830 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4831 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 4832 | }{ _resultobj = wxPyMake_wxGridCellAttrProvider(_result); } |
f6bcfd97 BP |
4833 | return _resultobj; |
4834 | } | |
4835 | ||
4836 | #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0)) | |
4837 | static PyObject *_wrap_wxGridTableBase_SetView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4838 | PyObject * _resultobj; | |
4839 | wxGridTableBase * _arg0; | |
4840 | wxGrid * _arg1; | |
4841 | PyObject * _argo0 = 0; | |
4842 | PyObject * _argo1 = 0; | |
4843 | char *_kwnames[] = { "self","grid", NULL }; | |
4844 | ||
4845 | self = self; | |
4846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableBase_SetView",_kwnames,&_argo0,&_argo1)) | |
4847 | return NULL; | |
4848 | if (_argo0) { | |
4849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p."); | |
4852 | return NULL; | |
4853 | } | |
4854 | } | |
4855 | if (_argo1) { | |
4856 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4857 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGrid_p")) { | |
4858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p."); | |
4859 | return NULL; | |
4860 | } | |
4861 | } | |
4862 | { | |
474c48f9 | 4863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4864 | wxGridTableBase_SetView(_arg0,_arg1); |
f6bcfd97 | 4865 | |
474c48f9 | 4866 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4867 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4868 | } Py_INCREF(Py_None); |
4869 | _resultobj = Py_None; | |
4870 | return _resultobj; | |
4871 | } | |
4872 | ||
4873 | #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView()) | |
4874 | static PyObject *_wrap_wxGridTableBase_GetView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4875 | PyObject * _resultobj; | |
4876 | wxGrid * _result; | |
4877 | wxGridTableBase * _arg0; | |
4878 | PyObject * _argo0 = 0; | |
4879 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
4880 | |
4881 | self = self; | |
4882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetView",_kwnames,&_argo0)) | |
4883 | return NULL; | |
4884 | if (_argo0) { | |
4885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p."); | |
4888 | return NULL; | |
4889 | } | |
4890 | } | |
4891 | { | |
474c48f9 | 4892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4893 | _result = (wxGrid *)wxGridTableBase_GetView(_arg0); |
f6bcfd97 | 4894 | |
474c48f9 | 4895 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4896 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 4897 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
4898 | return _resultobj; |
4899 | } | |
4900 | ||
4901 | #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows()) | |
4902 | static PyObject *_wrap_wxGridTableBase_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4903 | PyObject * _resultobj; | |
4904 | int _result; | |
4905 | wxGridTableBase * _arg0; | |
4906 | PyObject * _argo0 = 0; | |
4907 | char *_kwnames[] = { "self", NULL }; | |
4908 | ||
4909 | self = self; | |
4910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberRows",_kwnames,&_argo0)) | |
4911 | return NULL; | |
4912 | if (_argo0) { | |
4913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p."); | |
4916 | return NULL; | |
4917 | } | |
4918 | } | |
4919 | { | |
474c48f9 | 4920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4921 | _result = (int )wxGridTableBase_GetNumberRows(_arg0); |
f6bcfd97 | 4922 | |
474c48f9 | 4923 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4924 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4925 | } _resultobj = Py_BuildValue("i",_result); |
4926 | return _resultobj; | |
4927 | } | |
4928 | ||
4929 | #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols()) | |
4930 | static PyObject *_wrap_wxGridTableBase_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4931 | PyObject * _resultobj; | |
4932 | int _result; | |
4933 | wxGridTableBase * _arg0; | |
4934 | PyObject * _argo0 = 0; | |
4935 | char *_kwnames[] = { "self", NULL }; | |
4936 | ||
4937 | self = self; | |
4938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_GetNumberCols",_kwnames,&_argo0)) | |
4939 | return NULL; | |
4940 | if (_argo0) { | |
4941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p."); | |
4944 | return NULL; | |
4945 | } | |
4946 | } | |
4947 | { | |
474c48f9 | 4948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4949 | _result = (int )wxGridTableBase_GetNumberCols(_arg0); |
f6bcfd97 | 4950 | |
474c48f9 | 4951 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4952 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4953 | } _resultobj = Py_BuildValue("i",_result); |
4954 | return _resultobj; | |
4955 | } | |
4956 | ||
4957 | #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1)) | |
4958 | static PyObject *_wrap_wxGridTableBase_IsEmptyCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4959 | PyObject * _resultobj; | |
4960 | bool _result; | |
4961 | wxGridTableBase * _arg0; | |
4962 | int _arg1; | |
4963 | int _arg2; | |
4964 | PyObject * _argo0 = 0; | |
4965 | char *_kwnames[] = { "self","row","col", NULL }; | |
4966 | ||
4967 | self = self; | |
4968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_IsEmptyCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4969 | return NULL; | |
4970 | if (_argo0) { | |
4971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
4973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p."); | |
4974 | return NULL; | |
4975 | } | |
4976 | } | |
4977 | { | |
474c48f9 | 4978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4979 | _result = (bool )wxGridTableBase_IsEmptyCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 4980 | |
474c48f9 | 4981 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 4982 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
4983 | } _resultobj = Py_BuildValue("i",_result); |
4984 | return _resultobj; | |
4985 | } | |
4986 | ||
4987 | #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1)) | |
4988 | static PyObject *_wrap_wxGridTableBase_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4989 | PyObject * _resultobj; | |
4990 | wxString * _result; | |
4991 | wxGridTableBase * _arg0; | |
4992 | int _arg1; | |
4993 | int _arg2; | |
4994 | PyObject * _argo0 = 0; | |
4995 | char *_kwnames[] = { "self","row","col", NULL }; | |
4996 | ||
4997 | self = self; | |
4998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValue",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4999 | return NULL; | |
5000 | if (_argo0) { | |
5001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p."); | |
5004 | return NULL; | |
5005 | } | |
5006 | } | |
5007 | { | |
474c48f9 | 5008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5009 | _result = new wxString (wxGridTableBase_GetValue(_arg0,_arg1,_arg2)); |
f6bcfd97 | 5010 | |
474c48f9 | 5011 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5012 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5013 | }{ |
c8bc7bb8 RD |
5014 | #if wxUSE_UNICODE |
5015 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5016 | #else | |
f6bcfd97 | 5017 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5018 | #endif |
f6bcfd97 BP |
5019 | } |
5020 | { | |
5021 | delete _result; | |
5022 | } | |
5023 | return _resultobj; | |
5024 | } | |
5025 | ||
5026 | #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2)) | |
5027 | static PyObject *_wrap_wxGridTableBase_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5028 | PyObject * _resultobj; | |
5029 | wxGridTableBase * _arg0; | |
5030 | int _arg1; | |
5031 | int _arg2; | |
5032 | wxString * _arg3; | |
5033 | PyObject * _argo0 = 0; | |
5034 | PyObject * _obj3 = 0; | |
5035 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5036 | ||
5037 | self = self; | |
5038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_SetValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5039 | return NULL; | |
5040 | if (_argo0) { | |
5041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p."); | |
5044 | return NULL; | |
5045 | } | |
5046 | } | |
5047 | { | |
c8bc7bb8 RD |
5048 | _arg3 = wxString_in_helper(_obj3); |
5049 | if (_arg3 == NULL) | |
f6bcfd97 | 5050 | return NULL; |
f6bcfd97 BP |
5051 | } |
5052 | { | |
474c48f9 | 5053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5054 | wxGridTableBase_SetValue(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5055 | |
474c48f9 | 5056 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5057 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5058 | } Py_INCREF(Py_None); |
5059 | _resultobj = Py_None; | |
5060 | { | |
5061 | if (_obj3) | |
5062 | delete _arg3; | |
5063 | } | |
5064 | return _resultobj; | |
5065 | } | |
5066 | ||
5067 | #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1)) | |
5068 | static PyObject *_wrap_wxGridTableBase_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5069 | PyObject * _resultobj; | |
5070 | wxString * _result; | |
5071 | wxGridTableBase * _arg0; | |
5072 | int _arg1; | |
5073 | int _arg2; | |
5074 | PyObject * _argo0 = 0; | |
5075 | char *_kwnames[] = { "self","row","col", NULL }; | |
5076 | ||
5077 | self = self; | |
5078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5079 | return NULL; | |
5080 | if (_argo0) { | |
5081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p."); | |
5084 | return NULL; | |
5085 | } | |
5086 | } | |
5087 | { | |
474c48f9 | 5088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5089 | _result = new wxString (wxGridTableBase_GetTypeName(_arg0,_arg1,_arg2)); |
f6bcfd97 | 5090 | |
474c48f9 | 5091 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5092 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5093 | }{ |
c8bc7bb8 RD |
5094 | #if wxUSE_UNICODE |
5095 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5096 | #else | |
f6bcfd97 | 5097 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5098 | #endif |
f6bcfd97 BP |
5099 | } |
5100 | { | |
5101 | delete _result; | |
5102 | } | |
5103 | return _resultobj; | |
5104 | } | |
5105 | ||
5106 | #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5107 | static PyObject *_wrap_wxGridTableBase_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5108 | PyObject * _resultobj; | |
5109 | bool _result; | |
5110 | wxGridTableBase * _arg0; | |
5111 | int _arg1; | |
5112 | int _arg2; | |
5113 | wxString * _arg3; | |
5114 | PyObject * _argo0 = 0; | |
5115 | PyObject * _obj3 = 0; | |
5116 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5117 | ||
5118 | self = self; | |
5119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5120 | return NULL; | |
5121 | if (_argo0) { | |
5122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p."); | |
5125 | return NULL; | |
5126 | } | |
5127 | } | |
5128 | { | |
c8bc7bb8 RD |
5129 | _arg3 = wxString_in_helper(_obj3); |
5130 | if (_arg3 == NULL) | |
2cd2fac8 | 5131 | return NULL; |
f6bcfd97 BP |
5132 | } |
5133 | { | |
474c48f9 | 5134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5135 | _result = (bool )wxGridTableBase_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5136 | |
474c48f9 | 5137 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5138 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5139 | } _resultobj = Py_BuildValue("i",_result); |
5140 | { | |
5141 | if (_obj3) | |
5142 | delete _arg3; | |
5143 | } | |
5144 | return _resultobj; | |
5145 | } | |
5146 | ||
5147 | #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
5148 | static PyObject *_wrap_wxGridTableBase_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5149 | PyObject * _resultobj; | |
5150 | bool _result; | |
5151 | wxGridTableBase * _arg0; | |
5152 | int _arg1; | |
5153 | int _arg2; | |
5154 | wxString * _arg3; | |
5155 | PyObject * _argo0 = 0; | |
5156 | PyObject * _obj3 = 0; | |
5157 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
5158 | ||
5159 | self = self; | |
5160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
5161 | return NULL; | |
5162 | if (_argo0) { | |
5163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p."); | |
5166 | return NULL; | |
5167 | } | |
5168 | } | |
5169 | { | |
c8bc7bb8 RD |
5170 | _arg3 = wxString_in_helper(_obj3); |
5171 | if (_arg3 == NULL) | |
2cd2fac8 | 5172 | return NULL; |
f6bcfd97 BP |
5173 | } |
5174 | { | |
474c48f9 | 5175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5176 | _result = (bool )wxGridTableBase_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 5177 | |
474c48f9 | 5178 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5179 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5180 | } _resultobj = Py_BuildValue("i",_result); |
5181 | { | |
5182 | if (_obj3) | |
5183 | delete _arg3; | |
5184 | } | |
5185 | return _resultobj; | |
5186 | } | |
5187 | ||
5188 | #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1)) | |
5189 | static PyObject *_wrap_wxGridTableBase_GetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5190 | PyObject * _resultobj; | |
5191 | long _result; | |
5192 | wxGridTableBase * _arg0; | |
5193 | int _arg1; | |
5194 | int _arg2; | |
5195 | PyObject * _argo0 = 0; | |
5196 | char *_kwnames[] = { "self","row","col", NULL }; | |
5197 | ||
5198 | self = self; | |
5199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5200 | return NULL; | |
5201 | if (_argo0) { | |
5202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p."); | |
5205 | return NULL; | |
5206 | } | |
5207 | } | |
5208 | { | |
474c48f9 | 5209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5210 | _result = (long )wxGridTableBase_GetValueAsLong(_arg0,_arg1,_arg2); |
f6bcfd97 | 5211 | |
474c48f9 | 5212 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5213 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5214 | } _resultobj = Py_BuildValue("l",_result); |
5215 | return _resultobj; | |
5216 | } | |
5217 | ||
5218 | #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1)) | |
5219 | static PyObject *_wrap_wxGridTableBase_GetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5220 | PyObject * _resultobj; | |
5221 | double _result; | |
5222 | wxGridTableBase * _arg0; | |
5223 | int _arg1; | |
5224 | int _arg2; | |
5225 | PyObject * _argo0 = 0; | |
5226 | char *_kwnames[] = { "self","row","col", NULL }; | |
5227 | ||
5228 | self = self; | |
5229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5230 | return NULL; | |
5231 | if (_argo0) { | |
5232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p."); | |
5235 | return NULL; | |
5236 | } | |
5237 | } | |
5238 | { | |
474c48f9 | 5239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5240 | _result = (double )wxGridTableBase_GetValueAsDouble(_arg0,_arg1,_arg2); |
f6bcfd97 | 5241 | |
474c48f9 | 5242 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5243 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5244 | } _resultobj = Py_BuildValue("d",_result); |
5245 | return _resultobj; | |
5246 | } | |
5247 | ||
5248 | #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1)) | |
5249 | static PyObject *_wrap_wxGridTableBase_GetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5250 | PyObject * _resultobj; | |
5251 | bool _result; | |
5252 | wxGridTableBase * _arg0; | |
5253 | int _arg1; | |
5254 | int _arg2; | |
5255 | PyObject * _argo0 = 0; | |
5256 | char *_kwnames[] = { "self","row","col", NULL }; | |
5257 | ||
5258 | self = self; | |
5259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridTableBase_GetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5260 | return NULL; | |
5261 | if (_argo0) { | |
5262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p."); | |
5265 | return NULL; | |
5266 | } | |
5267 | } | |
5268 | { | |
474c48f9 | 5269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5270 | _result = (bool )wxGridTableBase_GetValueAsBool(_arg0,_arg1,_arg2); |
f6bcfd97 | 5271 | |
474c48f9 | 5272 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5273 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5274 | } _resultobj = Py_BuildValue("i",_result); |
5275 | return _resultobj; | |
5276 | } | |
5277 | ||
5278 | #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2)) | |
5279 | static PyObject *_wrap_wxGridTableBase_SetValueAsLong(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5280 | PyObject * _resultobj; | |
5281 | wxGridTableBase * _arg0; | |
5282 | int _arg1; | |
5283 | int _arg2; | |
5284 | long _arg3; | |
5285 | PyObject * _argo0 = 0; | |
5286 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5287 | ||
5288 | self = self; | |
5289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5290 | return NULL; | |
5291 | if (_argo0) { | |
5292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p."); | |
5295 | return NULL; | |
5296 | } | |
5297 | } | |
5298 | { | |
474c48f9 | 5299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5300 | wxGridTableBase_SetValueAsLong(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5301 | |
474c48f9 | 5302 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5303 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5304 | } Py_INCREF(Py_None); |
5305 | _resultobj = Py_None; | |
5306 | return _resultobj; | |
5307 | } | |
5308 | ||
5309 | #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2)) | |
5310 | static PyObject *_wrap_wxGridTableBase_SetValueAsDouble(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5311 | PyObject * _resultobj; | |
5312 | wxGridTableBase * _arg0; | |
5313 | int _arg1; | |
5314 | int _arg2; | |
5315 | double _arg3; | |
5316 | PyObject * _argo0 = 0; | |
5317 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5318 | ||
5319 | self = self; | |
5320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5321 | return NULL; | |
5322 | if (_argo0) { | |
5323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p."); | |
5326 | return NULL; | |
5327 | } | |
5328 | } | |
5329 | { | |
474c48f9 | 5330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5331 | wxGridTableBase_SetValueAsDouble(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5332 | |
474c48f9 | 5333 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5334 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5335 | } Py_INCREF(Py_None); |
5336 | _resultobj = Py_None; | |
5337 | return _resultobj; | |
5338 | } | |
5339 | ||
5340 | #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2)) | |
5341 | static PyObject *_wrap_wxGridTableBase_SetValueAsBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5342 | PyObject * _resultobj; | |
5343 | wxGridTableBase * _arg0; | |
5344 | int _arg1; | |
5345 | int _arg2; | |
5346 | bool _arg3; | |
5347 | PyObject * _argo0 = 0; | |
5348 | int tempbool3; | |
5349 | char *_kwnames[] = { "self","row","col","value", NULL }; | |
5350 | ||
5351 | self = self; | |
5352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
5353 | return NULL; | |
5354 | if (_argo0) { | |
5355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p."); | |
5358 | return NULL; | |
5359 | } | |
5360 | } | |
5361 | _arg3 = (bool ) tempbool3; | |
5362 | { | |
474c48f9 | 5363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5364 | wxGridTableBase_SetValueAsBool(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5365 | |
474c48f9 | 5366 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5367 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5368 | } Py_INCREF(Py_None); |
5369 | _resultobj = Py_None; | |
5370 | return _resultobj; | |
5371 | } | |
5372 | ||
5373 | #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear()) | |
5374 | static PyObject *_wrap_wxGridTableBase_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5375 | PyObject * _resultobj; | |
5376 | wxGridTableBase * _arg0; | |
5377 | PyObject * _argo0 = 0; | |
5378 | char *_kwnames[] = { "self", NULL }; | |
5379 | ||
5380 | self = self; | |
5381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_Clear",_kwnames,&_argo0)) | |
5382 | return NULL; | |
5383 | if (_argo0) { | |
5384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p."); | |
5387 | return NULL; | |
5388 | } | |
5389 | } | |
5390 | { | |
474c48f9 | 5391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5392 | wxGridTableBase_Clear(_arg0); |
f6bcfd97 | 5393 | |
474c48f9 | 5394 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5395 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5396 | } Py_INCREF(Py_None); |
5397 | _resultobj = Py_None; | |
5398 | return _resultobj; | |
5399 | } | |
5400 | ||
5401 | #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1)) | |
5402 | static PyObject *_wrap_wxGridTableBase_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5403 | PyObject * _resultobj; | |
5404 | bool _result; | |
5405 | wxGridTableBase * _arg0; | |
5406 | size_t _arg1 = (size_t ) 0; | |
5407 | size_t _arg2 = (size_t ) 1; | |
5408 | PyObject * _argo0 = 0; | |
5409 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5410 | ||
5411 | self = self; | |
5412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5413 | return NULL; | |
5414 | if (_argo0) { | |
5415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p."); | |
5418 | return NULL; | |
5419 | } | |
5420 | } | |
5421 | { | |
474c48f9 | 5422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5423 | _result = (bool )wxGridTableBase_InsertRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5424 | |
474c48f9 | 5425 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5426 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5427 | } _resultobj = Py_BuildValue("i",_result); |
5428 | return _resultobj; | |
5429 | } | |
5430 | ||
5431 | #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0)) | |
5432 | static PyObject *_wrap_wxGridTableBase_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5433 | PyObject * _resultobj; | |
5434 | bool _result; | |
5435 | wxGridTableBase * _arg0; | |
5436 | size_t _arg1 = (size_t ) 1; | |
5437 | PyObject * _argo0 = 0; | |
5438 | char *_kwnames[] = { "self","numRows", NULL }; | |
5439 | ||
5440 | self = self; | |
5441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendRows",_kwnames,&_argo0,&_arg1)) | |
5442 | return NULL; | |
5443 | if (_argo0) { | |
5444 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5445 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p."); | |
5447 | return NULL; | |
5448 | } | |
5449 | } | |
5450 | { | |
474c48f9 | 5451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5452 | _result = (bool )wxGridTableBase_AppendRows(_arg0,_arg1); |
f6bcfd97 | 5453 | |
474c48f9 | 5454 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5455 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5456 | } _resultobj = Py_BuildValue("i",_result); |
5457 | return _resultobj; | |
5458 | } | |
5459 | ||
5460 | #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1)) | |
5461 | static PyObject *_wrap_wxGridTableBase_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5462 | PyObject * _resultobj; | |
5463 | bool _result; | |
5464 | wxGridTableBase * _arg0; | |
5465 | size_t _arg1 = (size_t ) 0; | |
5466 | size_t _arg2 = (size_t ) 1; | |
5467 | PyObject * _argo0 = 0; | |
5468 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
5469 | ||
5470 | self = self; | |
5471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5472 | return NULL; | |
5473 | if (_argo0) { | |
5474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p."); | |
5477 | return NULL; | |
5478 | } | |
5479 | } | |
5480 | { | |
474c48f9 | 5481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5482 | _result = (bool )wxGridTableBase_DeleteRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 5483 | |
474c48f9 | 5484 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5485 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5486 | } _resultobj = Py_BuildValue("i",_result); |
5487 | return _resultobj; | |
5488 | } | |
5489 | ||
5490 | #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1)) | |
5491 | static PyObject *_wrap_wxGridTableBase_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5492 | PyObject * _resultobj; | |
5493 | bool _result; | |
5494 | wxGridTableBase * _arg0; | |
5495 | size_t _arg1 = (size_t ) 0; | |
5496 | size_t _arg2 = (size_t ) 1; | |
5497 | PyObject * _argo0 = 0; | |
5498 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5499 | ||
5500 | self = self; | |
5501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5502 | return NULL; | |
5503 | if (_argo0) { | |
5504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p."); | |
5507 | return NULL; | |
5508 | } | |
5509 | } | |
5510 | { | |
474c48f9 | 5511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5512 | _result = (bool )wxGridTableBase_InsertCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5513 | |
474c48f9 | 5514 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5515 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5516 | } _resultobj = Py_BuildValue("i",_result); |
5517 | return _resultobj; | |
5518 | } | |
5519 | ||
5520 | #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0)) | |
5521 | static PyObject *_wrap_wxGridTableBase_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5522 | PyObject * _resultobj; | |
5523 | bool _result; | |
5524 | wxGridTableBase * _arg0; | |
5525 | size_t _arg1 = (size_t ) 1; | |
5526 | PyObject * _argo0 = 0; | |
5527 | char *_kwnames[] = { "self","numCols", NULL }; | |
5528 | ||
5529 | self = self; | |
5530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGridTableBase_AppendCols",_kwnames,&_argo0,&_arg1)) | |
5531 | return NULL; | |
5532 | if (_argo0) { | |
5533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p."); | |
5536 | return NULL; | |
5537 | } | |
5538 | } | |
5539 | { | |
474c48f9 | 5540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5541 | _result = (bool )wxGridTableBase_AppendCols(_arg0,_arg1); |
f6bcfd97 | 5542 | |
474c48f9 | 5543 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5544 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5545 | } _resultobj = Py_BuildValue("i",_result); |
5546 | return _resultobj; | |
5547 | } | |
5548 | ||
5549 | #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1)) | |
5550 | static PyObject *_wrap_wxGridTableBase_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5551 | PyObject * _resultobj; | |
5552 | bool _result; | |
5553 | wxGridTableBase * _arg0; | |
5554 | size_t _arg1 = (size_t ) 0; | |
5555 | size_t _arg2 = (size_t ) 1; | |
5556 | PyObject * _argo0 = 0; | |
5557 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
5558 | ||
5559 | self = self; | |
5560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGridTableBase_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5561 | return NULL; | |
5562 | if (_argo0) { | |
5563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p."); | |
5566 | return NULL; | |
5567 | } | |
5568 | } | |
5569 | { | |
474c48f9 | 5570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5571 | _result = (bool )wxGridTableBase_DeleteCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 5572 | |
474c48f9 | 5573 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5574 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5575 | } _resultobj = Py_BuildValue("i",_result); |
5576 | return _resultobj; | |
5577 | } | |
5578 | ||
5579 | #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0)) | |
5580 | static PyObject *_wrap_wxGridTableBase_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5581 | PyObject * _resultobj; | |
5582 | wxString * _result; | |
5583 | wxGridTableBase * _arg0; | |
5584 | int _arg1; | |
5585 | PyObject * _argo0 = 0; | |
5586 | char *_kwnames[] = { "self","row", NULL }; | |
5587 | ||
5588 | self = self; | |
5589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
5590 | return NULL; | |
5591 | if (_argo0) { | |
5592 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5593 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p."); | |
5595 | return NULL; | |
5596 | } | |
5597 | } | |
5598 | { | |
474c48f9 | 5599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5600 | _result = new wxString (wxGridTableBase_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 5601 | |
474c48f9 | 5602 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5603 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5604 | }{ |
c8bc7bb8 RD |
5605 | #if wxUSE_UNICODE |
5606 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5607 | #else | |
f6bcfd97 | 5608 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5609 | #endif |
f6bcfd97 BP |
5610 | } |
5611 | { | |
5612 | delete _result; | |
5613 | } | |
5614 | return _resultobj; | |
5615 | } | |
5616 | ||
5617 | #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0)) | |
5618 | static PyObject *_wrap_wxGridTableBase_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5619 | PyObject * _resultobj; | |
5620 | wxString * _result; | |
5621 | wxGridTableBase * _arg0; | |
5622 | int _arg1; | |
5623 | PyObject * _argo0 = 0; | |
5624 | char *_kwnames[] = { "self","col", NULL }; | |
5625 | ||
5626 | self = self; | |
5627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableBase_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
5628 | return NULL; | |
5629 | if (_argo0) { | |
5630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p."); | |
5633 | return NULL; | |
5634 | } | |
5635 | } | |
5636 | { | |
474c48f9 | 5637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5638 | _result = new wxString (wxGridTableBase_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 5639 | |
474c48f9 | 5640 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5641 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 5642 | }{ |
c8bc7bb8 RD |
5643 | #if wxUSE_UNICODE |
5644 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5645 | #else | |
f6bcfd97 | 5646 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5647 | #endif |
f6bcfd97 BP |
5648 | } |
5649 | { | |
5650 | delete _result; | |
5651 | } | |
5652 | return _resultobj; | |
5653 | } | |
5654 | ||
5655 | #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1)) | |
5656 | static PyObject *_wrap_wxGridTableBase_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5657 | PyObject * _resultobj; | |
5658 | wxGridTableBase * _arg0; | |
5659 | int _arg1; | |
5660 | wxString * _arg2; | |
5661 | PyObject * _argo0 = 0; | |
5662 | PyObject * _obj2 = 0; | |
5663 | char *_kwnames[] = { "self","row","value", NULL }; | |
5664 | ||
5665 | self = self; | |
5666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5667 | return NULL; | |
5668 | if (_argo0) { | |
5669 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5670 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p."); | |
5672 | return NULL; | |
5673 | } | |
5674 | } | |
5675 | { | |
c8bc7bb8 RD |
5676 | _arg2 = wxString_in_helper(_obj2); |
5677 | if (_arg2 == NULL) | |
2cd2fac8 | 5678 | return NULL; |
f6bcfd97 BP |
5679 | } |
5680 | { | |
474c48f9 | 5681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5682 | wxGridTableBase_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5683 | |
474c48f9 | 5684 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5685 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5686 | } Py_INCREF(Py_None); |
5687 | _resultobj = Py_None; | |
5688 | { | |
5689 | if (_obj2) | |
5690 | delete _arg2; | |
5691 | } | |
5692 | return _resultobj; | |
5693 | } | |
5694 | ||
5695 | #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1)) | |
5696 | static PyObject *_wrap_wxGridTableBase_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5697 | PyObject * _resultobj; | |
5698 | wxGridTableBase * _arg0; | |
5699 | int _arg1; | |
5700 | wxString * _arg2; | |
5701 | PyObject * _argo0 = 0; | |
5702 | PyObject * _obj2 = 0; | |
5703 | char *_kwnames[] = { "self","col","value", NULL }; | |
5704 | ||
5705 | self = self; | |
5706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGridTableBase_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5707 | return NULL; | |
5708 | if (_argo0) { | |
5709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p."); | |
5712 | return NULL; | |
5713 | } | |
5714 | } | |
5715 | { | |
c8bc7bb8 RD |
5716 | _arg2 = wxString_in_helper(_obj2); |
5717 | if (_arg2 == NULL) | |
2cd2fac8 | 5718 | return NULL; |
f6bcfd97 BP |
5719 | } |
5720 | { | |
474c48f9 | 5721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5722 | wxGridTableBase_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5723 | |
474c48f9 | 5724 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5725 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5726 | } Py_INCREF(Py_None); |
5727 | _resultobj = Py_None; | |
5728 | { | |
5729 | if (_obj2) | |
5730 | delete _arg2; | |
5731 | } | |
5732 | return _resultobj; | |
5733 | } | |
5734 | ||
5735 | #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes()) | |
5736 | static PyObject *_wrap_wxGridTableBase_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5737 | PyObject * _resultobj; | |
5738 | bool _result; | |
5739 | wxGridTableBase * _arg0; | |
5740 | PyObject * _argo0 = 0; | |
5741 | char *_kwnames[] = { "self", NULL }; | |
5742 | ||
5743 | self = self; | |
5744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableBase_CanHaveAttributes",_kwnames,&_argo0)) | |
5745 | return NULL; | |
5746 | if (_argo0) { | |
5747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p."); | |
5750 | return NULL; | |
5751 | } | |
5752 | } | |
5753 | { | |
474c48f9 | 5754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5755 | _result = (bool )wxGridTableBase_CanHaveAttributes(_arg0); |
f6bcfd97 | 5756 | |
474c48f9 | 5757 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5758 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5759 | } _resultobj = Py_BuildValue("i",_result); |
5760 | return _resultobj; | |
5761 | } | |
5762 | ||
9df61a29 | 5763 | #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
5764 | static PyObject *_wrap_wxGridTableBase_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
5765 | PyObject * _resultobj; | |
5766 | wxGridCellAttr * _result; | |
5767 | wxGridTableBase * _arg0; | |
5768 | int _arg1; | |
5769 | int _arg2; | |
9df61a29 | 5770 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 5771 | PyObject * _argo0 = 0; |
9df61a29 | 5772 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
5773 | |
5774 | self = self; | |
9df61a29 | 5775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGridTableBase_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
5776 | return NULL; |
5777 | if (_argo0) { | |
5778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p."); | |
5781 | return NULL; | |
5782 | } | |
5783 | } | |
5784 | { | |
474c48f9 | 5785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5786 | _result = (wxGridCellAttr *)wxGridTableBase_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5787 | |
474c48f9 | 5788 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5789 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 5790 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
5791 | return _resultobj; |
5792 | } | |
5793 | ||
5794 | #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
5795 | static PyObject *_wrap_wxGridTableBase_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5796 | PyObject * _resultobj; | |
5797 | wxGridTableBase * _arg0; | |
5798 | wxGridCellAttr * _arg1; | |
5799 | int _arg2; | |
5800 | int _arg3; | |
5801 | PyObject * _argo0 = 0; | |
5802 | PyObject * _argo1 = 0; | |
5803 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
5804 | ||
5805 | self = self; | |
5806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGridTableBase_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
5807 | return NULL; | |
5808 | if (_argo0) { | |
5809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p."); | |
5812 | return NULL; | |
5813 | } | |
5814 | } | |
5815 | if (_argo1) { | |
5816 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5817 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p."); | |
5819 | return NULL; | |
5820 | } | |
5821 | } | |
5822 | { | |
474c48f9 | 5823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5824 | wxGridTableBase_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 5825 | |
474c48f9 | 5826 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5827 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5828 | } Py_INCREF(Py_None); |
5829 | _resultobj = Py_None; | |
5830 | return _resultobj; | |
5831 | } | |
5832 | ||
5833 | #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) | |
5834 | static PyObject *_wrap_wxGridTableBase_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5835 | PyObject * _resultobj; | |
5836 | wxGridTableBase * _arg0; | |
5837 | wxGridCellAttr * _arg1; | |
5838 | int _arg2; | |
5839 | PyObject * _argo0 = 0; | |
5840 | PyObject * _argo1 = 0; | |
5841 | char *_kwnames[] = { "self","attr","row", NULL }; | |
5842 | ||
5843 | self = self; | |
5844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5845 | return NULL; | |
5846 | if (_argo0) { | |
5847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p."); | |
5850 | return NULL; | |
5851 | } | |
5852 | } | |
5853 | if (_argo1) { | |
5854 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5855 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p."); | |
5857 | return NULL; | |
5858 | } | |
5859 | } | |
5860 | { | |
474c48f9 | 5861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5862 | wxGridTableBase_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 5863 | |
474c48f9 | 5864 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5865 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5866 | } Py_INCREF(Py_None); |
5867 | _resultobj = Py_None; | |
5868 | return _resultobj; | |
5869 | } | |
5870 | ||
5871 | #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
5872 | static PyObject *_wrap_wxGridTableBase_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5873 | PyObject * _resultobj; | |
5874 | wxGridTableBase * _arg0; | |
5875 | wxGridCellAttr * _arg1; | |
5876 | int _arg2; | |
5877 | PyObject * _argo0 = 0; | |
5878 | PyObject * _argo1 = 0; | |
5879 | char *_kwnames[] = { "self","attr","col", NULL }; | |
5880 | ||
5881 | self = self; | |
5882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxGridTableBase_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5883 | return NULL; | |
5884 | if (_argo0) { | |
5885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
5887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p."); | |
5888 | return NULL; | |
5889 | } | |
5890 | } | |
5891 | if (_argo1) { | |
5892 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5893 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
5894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p."); | |
5895 | return NULL; | |
5896 | } | |
5897 | } | |
5898 | { | |
474c48f9 | 5899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5900 | wxGridTableBase_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 5901 | |
474c48f9 | 5902 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5903 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5904 | } Py_INCREF(Py_None); |
5905 | _resultobj = Py_None; | |
5906 | return _resultobj; | |
5907 | } | |
5908 | ||
5909 | static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr) { | |
5910 | wxPyGridTableBase *src; | |
5911 | wxGridTableBase *dest; | |
5912 | src = (wxPyGridTableBase *) ptr; | |
5913 | dest = (wxGridTableBase *) src; | |
5914 | return (void *) dest; | |
5915 | } | |
5916 | ||
9df61a29 RD |
5917 | static void *SwigwxPyGridTableBaseTowxObject(void *ptr) { |
5918 | wxPyGridTableBase *src; | |
5919 | wxObject *dest; | |
5920 | src = (wxPyGridTableBase *) ptr; | |
5921 | dest = (wxObject *) src; | |
5922 | return (void *) dest; | |
5923 | } | |
5924 | ||
f6bcfd97 BP |
5925 | #define new_wxPyGridTableBase() (new wxPyGridTableBase()) |
5926 | static PyObject *_wrap_new_wxPyGridTableBase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5927 | PyObject * _resultobj; | |
5928 | wxPyGridTableBase * _result; | |
5929 | char *_kwnames[] = { NULL }; | |
5930 | char _ptemp[128]; | |
5931 | ||
5932 | self = self; | |
5933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyGridTableBase",_kwnames)) | |
5934 | return NULL; | |
5935 | { | |
474c48f9 | 5936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5937 | _result = (wxPyGridTableBase *)new_wxPyGridTableBase(); |
f6bcfd97 | 5938 | |
474c48f9 | 5939 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5940 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5941 | } if (_result) { |
5942 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyGridTableBase_p"); | |
5943 | _resultobj = Py_BuildValue("s",_ptemp); | |
5944 | } else { | |
5945 | Py_INCREF(Py_None); | |
5946 | _resultobj = Py_None; | |
5947 | } | |
5948 | return _resultobj; | |
5949 | } | |
5950 | ||
0220cbc1 RD |
5951 | #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
5952 | static PyObject *_wrap_wxPyGridTableBase__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5953 | PyObject * _resultobj; |
5954 | wxPyGridTableBase * _arg0; | |
5955 | PyObject * _arg1; | |
5956 | PyObject * _arg2; | |
5957 | PyObject * _argo0 = 0; | |
5958 | PyObject * _obj1 = 0; | |
5959 | PyObject * _obj2 = 0; | |
5960 | char *_kwnames[] = { "self","self","_class", NULL }; | |
5961 | ||
5962 | self = self; | |
0220cbc1 | 5963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
f6bcfd97 BP |
5964 | return NULL; |
5965 | if (_argo0) { | |
5966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
0220cbc1 | 5968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p."); |
f6bcfd97 BP |
5969 | return NULL; |
5970 | } | |
5971 | } | |
5972 | { | |
5973 | _arg1 = _obj1; | |
5974 | } | |
5975 | { | |
5976 | _arg2 = _obj2; | |
5977 | } | |
5978 | { | |
474c48f9 | 5979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5980 | wxPyGridTableBase__setCallbackInfo(_arg0,_arg1,_arg2); |
f6bcfd97 | 5981 | |
474c48f9 | 5982 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 5983 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
5984 | } Py_INCREF(Py_None); |
5985 | _resultobj = Py_None; | |
5986 | return _resultobj; | |
5987 | } | |
5988 | ||
5989 | static void wxPyGridTableBase_Destroy(wxPyGridTableBase *self) { delete self; } | |
5990 | static PyObject *_wrap_wxPyGridTableBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5991 | PyObject * _resultobj; | |
5992 | wxPyGridTableBase * _arg0; | |
5993 | PyObject * _argo0 = 0; | |
5994 | char *_kwnames[] = { "self", NULL }; | |
5995 | ||
5996 | self = self; | |
5997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_Destroy",_kwnames,&_argo0)) | |
5998 | return NULL; | |
5999 | if (_argo0) { | |
6000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p."); | |
6003 | return NULL; | |
6004 | } | |
6005 | } | |
6006 | { | |
474c48f9 | 6007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6008 | wxPyGridTableBase_Destroy(_arg0); |
f6bcfd97 | 6009 | |
474c48f9 | 6010 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6011 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6012 | } Py_INCREF(Py_None); |
6013 | _resultobj = Py_None; | |
6014 | return _resultobj; | |
6015 | } | |
6016 | ||
6017 | #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1)) | |
6018 | static PyObject *_wrap_wxPyGridTableBase_base_GetTypeName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6019 | PyObject * _resultobj; | |
6020 | wxString * _result; | |
6021 | wxPyGridTableBase * _arg0; | |
6022 | int _arg1; | |
6023 | int _arg2; | |
6024 | PyObject * _argo0 = 0; | |
6025 | char *_kwnames[] = { "self","row","col", NULL }; | |
6026 | ||
6027 | self = self; | |
6028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6029 | return NULL; | |
6030 | if (_argo0) { | |
6031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p."); | |
6034 | return NULL; | |
6035 | } | |
6036 | } | |
6037 | { | |
474c48f9 | 6038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6039 | _result = new wxString (wxPyGridTableBase_base_GetTypeName(_arg0,_arg1,_arg2)); |
f6bcfd97 | 6040 | |
474c48f9 | 6041 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6042 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6043 | }{ |
c8bc7bb8 RD |
6044 | #if wxUSE_UNICODE |
6045 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
6046 | #else | |
f6bcfd97 | 6047 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6048 | #endif |
f6bcfd97 BP |
6049 | } |
6050 | { | |
6051 | delete _result; | |
6052 | } | |
6053 | return _resultobj; | |
6054 | } | |
6055 | ||
6056 | #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
6057 | static PyObject *_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6058 | PyObject * _resultobj; | |
6059 | bool _result; | |
6060 | wxPyGridTableBase * _arg0; | |
6061 | int _arg1; | |
6062 | int _arg2; | |
6063 | wxString * _arg3; | |
6064 | PyObject * _argo0 = 0; | |
6065 | PyObject * _obj3 = 0; | |
6066 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
6067 | ||
6068 | self = self; | |
6069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
6070 | return NULL; | |
6071 | if (_argo0) { | |
6072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p."); | |
6075 | return NULL; | |
6076 | } | |
6077 | } | |
6078 | { | |
c8bc7bb8 RD |
6079 | _arg3 = wxString_in_helper(_obj3); |
6080 | if (_arg3 == NULL) | |
2cd2fac8 | 6081 | return NULL; |
f6bcfd97 BP |
6082 | } |
6083 | { | |
474c48f9 | 6084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6085 | _result = (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 6086 | |
474c48f9 | 6087 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6088 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6089 | } _resultobj = Py_BuildValue("i",_result); |
6090 | { | |
6091 | if (_obj3) | |
6092 | delete _arg3; | |
6093 | } | |
6094 | return _resultobj; | |
6095 | } | |
6096 | ||
6097 | #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2)) | |
6098 | static PyObject *_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6099 | PyObject * _resultobj; | |
6100 | bool _result; | |
6101 | wxPyGridTableBase * _arg0; | |
6102 | int _arg1; | |
6103 | int _arg2; | |
6104 | wxString * _arg3; | |
6105 | PyObject * _argo0 = 0; | |
6106 | PyObject * _obj3 = 0; | |
6107 | char *_kwnames[] = { "self","row","col","typeName", NULL }; | |
6108 | ||
6109 | self = self; | |
6110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
6111 | return NULL; | |
6112 | if (_argo0) { | |
6113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p."); | |
6116 | return NULL; | |
6117 | } | |
6118 | } | |
6119 | { | |
c8bc7bb8 RD |
6120 | _arg3 = wxString_in_helper(_obj3); |
6121 | if (_arg3 == NULL) | |
2cd2fac8 | 6122 | return NULL; |
f6bcfd97 BP |
6123 | } |
6124 | { | |
474c48f9 | 6125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6126 | _result = (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 6127 | |
474c48f9 | 6128 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6129 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6130 | } _resultobj = Py_BuildValue("i",_result); |
6131 | { | |
6132 | if (_obj3) | |
6133 | delete _arg3; | |
6134 | } | |
6135 | return _resultobj; | |
6136 | } | |
6137 | ||
6138 | #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear()) | |
6139 | static PyObject *_wrap_wxPyGridTableBase_base_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6140 | PyObject * _resultobj; | |
6141 | wxPyGridTableBase * _arg0; | |
6142 | PyObject * _argo0 = 0; | |
6143 | char *_kwnames[] = { "self", NULL }; | |
6144 | ||
6145 | self = self; | |
6146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_Clear",_kwnames,&_argo0)) | |
6147 | return NULL; | |
6148 | if (_argo0) { | |
6149 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6150 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p."); | |
6152 | return NULL; | |
6153 | } | |
6154 | } | |
6155 | { | |
474c48f9 | 6156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6157 | wxPyGridTableBase_base_Clear(_arg0); |
f6bcfd97 | 6158 | |
474c48f9 | 6159 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6160 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6161 | } Py_INCREF(Py_None); |
6162 | _resultobj = Py_None; | |
6163 | return _resultobj; | |
6164 | } | |
6165 | ||
6166 | #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1)) | |
6167 | static PyObject *_wrap_wxPyGridTableBase_base_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6168 | PyObject * _resultobj; | |
6169 | bool _result; | |
6170 | wxPyGridTableBase * _arg0; | |
6171 | size_t _arg1 = (size_t ) 0; | |
6172 | size_t _arg2 = (size_t ) 1; | |
6173 | PyObject * _argo0 = 0; | |
6174 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
6175 | ||
6176 | self = self; | |
6177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6178 | return NULL; | |
6179 | if (_argo0) { | |
6180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p."); | |
6183 | return NULL; | |
6184 | } | |
6185 | } | |
6186 | { | |
474c48f9 | 6187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6188 | _result = (bool )wxPyGridTableBase_base_InsertRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 6189 | |
474c48f9 | 6190 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6191 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6192 | } _resultobj = Py_BuildValue("i",_result); |
6193 | return _resultobj; | |
6194 | } | |
6195 | ||
6196 | #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0)) | |
6197 | static PyObject *_wrap_wxPyGridTableBase_base_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6198 | PyObject * _resultobj; | |
6199 | bool _result; | |
6200 | wxPyGridTableBase * _arg0; | |
6201 | size_t _arg1 = (size_t ) 1; | |
6202 | PyObject * _argo0 = 0; | |
6203 | char *_kwnames[] = { "self","numRows", NULL }; | |
6204 | ||
6205 | self = self; | |
6206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames,&_argo0,&_arg1)) | |
6207 | return NULL; | |
6208 | if (_argo0) { | |
6209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p."); | |
6212 | return NULL; | |
6213 | } | |
6214 | } | |
6215 | { | |
474c48f9 | 6216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6217 | _result = (bool )wxPyGridTableBase_base_AppendRows(_arg0,_arg1); |
f6bcfd97 | 6218 | |
474c48f9 | 6219 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6220 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6221 | } _resultobj = Py_BuildValue("i",_result); |
6222 | return _resultobj; | |
6223 | } | |
6224 | ||
6225 | #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1)) | |
6226 | static PyObject *_wrap_wxPyGridTableBase_base_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6227 | PyObject * _resultobj; | |
6228 | bool _result; | |
6229 | wxPyGridTableBase * _arg0; | |
6230 | size_t _arg1 = (size_t ) 0; | |
6231 | size_t _arg2 = (size_t ) 1; | |
6232 | PyObject * _argo0 = 0; | |
6233 | char *_kwnames[] = { "self","pos","numRows", NULL }; | |
6234 | ||
6235 | self = self; | |
6236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6237 | return NULL; | |
6238 | if (_argo0) { | |
6239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p."); | |
6242 | return NULL; | |
6243 | } | |
6244 | } | |
6245 | { | |
474c48f9 | 6246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6247 | _result = (bool )wxPyGridTableBase_base_DeleteRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 6248 | |
474c48f9 | 6249 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6250 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6251 | } _resultobj = Py_BuildValue("i",_result); |
6252 | return _resultobj; | |
6253 | } | |
6254 | ||
6255 | #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1)) | |
6256 | static PyObject *_wrap_wxPyGridTableBase_base_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6257 | PyObject * _resultobj; | |
6258 | bool _result; | |
6259 | wxPyGridTableBase * _arg0; | |
6260 | size_t _arg1 = (size_t ) 0; | |
6261 | size_t _arg2 = (size_t ) 1; | |
6262 | PyObject * _argo0 = 0; | |
6263 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
6264 | ||
6265 | self = self; | |
6266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6267 | return NULL; | |
6268 | if (_argo0) { | |
6269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p."); | |
6272 | return NULL; | |
6273 | } | |
6274 | } | |
6275 | { | |
474c48f9 | 6276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6277 | _result = (bool )wxPyGridTableBase_base_InsertCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 6278 | |
474c48f9 | 6279 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6280 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6281 | } _resultobj = Py_BuildValue("i",_result); |
6282 | return _resultobj; | |
6283 | } | |
6284 | ||
6285 | #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0)) | |
6286 | static PyObject *_wrap_wxPyGridTableBase_base_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6287 | PyObject * _resultobj; | |
6288 | bool _result; | |
6289 | wxPyGridTableBase * _arg0; | |
6290 | size_t _arg1 = (size_t ) 1; | |
6291 | PyObject * _argo0 = 0; | |
6292 | char *_kwnames[] = { "self","numCols", NULL }; | |
6293 | ||
6294 | self = self; | |
6295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames,&_argo0,&_arg1)) | |
6296 | return NULL; | |
6297 | if (_argo0) { | |
6298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p."); | |
6301 | return NULL; | |
6302 | } | |
6303 | } | |
6304 | { | |
474c48f9 | 6305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6306 | _result = (bool )wxPyGridTableBase_base_AppendCols(_arg0,_arg1); |
f6bcfd97 | 6307 | |
474c48f9 | 6308 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6309 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6310 | } _resultobj = Py_BuildValue("i",_result); |
6311 | return _resultobj; | |
6312 | } | |
6313 | ||
6314 | #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1)) | |
6315 | static PyObject *_wrap_wxPyGridTableBase_base_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6316 | PyObject * _resultobj; | |
6317 | bool _result; | |
6318 | wxPyGridTableBase * _arg0; | |
6319 | size_t _arg1 = (size_t ) 0; | |
6320 | size_t _arg2 = (size_t ) 1; | |
6321 | PyObject * _argo0 = 0; | |
6322 | char *_kwnames[] = { "self","pos","numCols", NULL }; | |
6323 | ||
6324 | self = self; | |
6325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6326 | return NULL; | |
6327 | if (_argo0) { | |
6328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p."); | |
6331 | return NULL; | |
6332 | } | |
6333 | } | |
6334 | { | |
474c48f9 | 6335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6336 | _result = (bool )wxPyGridTableBase_base_DeleteCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 6337 | |
474c48f9 | 6338 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6339 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6340 | } _resultobj = Py_BuildValue("i",_result); |
6341 | return _resultobj; | |
6342 | } | |
6343 | ||
6344 | #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0)) | |
6345 | static PyObject *_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6346 | PyObject * _resultobj; | |
6347 | wxString * _result; | |
6348 | wxPyGridTableBase * _arg0; | |
6349 | int _arg1; | |
6350 | PyObject * _argo0 = 0; | |
6351 | char *_kwnames[] = { "self","row", NULL }; | |
6352 | ||
6353 | self = self; | |
6354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
6355 | return NULL; | |
6356 | if (_argo0) { | |
6357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p."); | |
6360 | return NULL; | |
6361 | } | |
6362 | } | |
6363 | { | |
474c48f9 | 6364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6365 | _result = new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 6366 | |
474c48f9 | 6367 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6368 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6369 | }{ |
c8bc7bb8 RD |
6370 | #if wxUSE_UNICODE |
6371 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
6372 | #else | |
f6bcfd97 | 6373 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6374 | #endif |
f6bcfd97 BP |
6375 | } |
6376 | { | |
6377 | delete _result; | |
6378 | } | |
6379 | return _resultobj; | |
6380 | } | |
6381 | ||
6382 | #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0)) | |
6383 | static PyObject *_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6384 | PyObject * _resultobj; | |
6385 | wxString * _result; | |
6386 | wxPyGridTableBase * _arg0; | |
6387 | int _arg1; | |
6388 | PyObject * _argo0 = 0; | |
6389 | char *_kwnames[] = { "self","col", NULL }; | |
6390 | ||
6391 | self = self; | |
6392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
6393 | return NULL; | |
6394 | if (_argo0) { | |
6395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p."); | |
6398 | return NULL; | |
6399 | } | |
6400 | } | |
6401 | { | |
474c48f9 | 6402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6403 | _result = new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 6404 | |
474c48f9 | 6405 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6406 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 6407 | }{ |
c8bc7bb8 RD |
6408 | #if wxUSE_UNICODE |
6409 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
6410 | #else | |
f6bcfd97 | 6411 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6412 | #endif |
f6bcfd97 BP |
6413 | } |
6414 | { | |
6415 | delete _result; | |
6416 | } | |
6417 | return _resultobj; | |
6418 | } | |
6419 | ||
6420 | #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1)) | |
6421 | static PyObject *_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6422 | PyObject * _resultobj; | |
6423 | wxPyGridTableBase * _arg0; | |
6424 | int _arg1; | |
6425 | wxString * _arg2; | |
6426 | PyObject * _argo0 = 0; | |
6427 | PyObject * _obj2 = 0; | |
6428 | char *_kwnames[] = { "self","row","value", NULL }; | |
6429 | ||
6430 | self = self; | |
6431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6432 | return NULL; | |
6433 | if (_argo0) { | |
6434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p."); | |
6437 | return NULL; | |
6438 | } | |
6439 | } | |
6440 | { | |
c8bc7bb8 RD |
6441 | _arg2 = wxString_in_helper(_obj2); |
6442 | if (_arg2 == NULL) | |
f6bcfd97 | 6443 | return NULL; |
f6bcfd97 BP |
6444 | } |
6445 | { | |
474c48f9 | 6446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6447 | wxPyGridTableBase_base_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6448 | |
474c48f9 | 6449 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6450 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6451 | } Py_INCREF(Py_None); |
6452 | _resultobj = Py_None; | |
6453 | { | |
6454 | if (_obj2) | |
6455 | delete _arg2; | |
6456 | } | |
6457 | return _resultobj; | |
6458 | } | |
6459 | ||
6460 | #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1)) | |
6461 | static PyObject *_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6462 | PyObject * _resultobj; | |
6463 | wxPyGridTableBase * _arg0; | |
6464 | int _arg1; | |
6465 | wxString * _arg2; | |
6466 | PyObject * _argo0 = 0; | |
6467 | PyObject * _obj2 = 0; | |
6468 | char *_kwnames[] = { "self","col","value", NULL }; | |
6469 | ||
6470 | self = self; | |
6471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6472 | return NULL; | |
6473 | if (_argo0) { | |
6474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p."); | |
6477 | return NULL; | |
6478 | } | |
6479 | } | |
6480 | { | |
c8bc7bb8 RD |
6481 | _arg2 = wxString_in_helper(_obj2); |
6482 | if (_arg2 == NULL) | |
2cd2fac8 | 6483 | return NULL; |
f6bcfd97 BP |
6484 | } |
6485 | { | |
474c48f9 | 6486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6487 | wxPyGridTableBase_base_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 6488 | |
474c48f9 | 6489 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6490 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6491 | } Py_INCREF(Py_None); |
6492 | _resultobj = Py_None; | |
6493 | { | |
6494 | if (_obj2) | |
6495 | delete _arg2; | |
6496 | } | |
6497 | return _resultobj; | |
6498 | } | |
6499 | ||
6500 | #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes()) | |
6501 | static PyObject *_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6502 | PyObject * _resultobj; | |
6503 | bool _result; | |
6504 | wxPyGridTableBase * _arg0; | |
6505 | PyObject * _argo0 = 0; | |
6506 | char *_kwnames[] = { "self", NULL }; | |
6507 | ||
6508 | self = self; | |
6509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames,&_argo0)) | |
6510 | return NULL; | |
6511 | if (_argo0) { | |
6512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p."); | |
6515 | return NULL; | |
6516 | } | |
6517 | } | |
6518 | { | |
474c48f9 | 6519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6520 | _result = (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0); |
f6bcfd97 | 6521 | |
474c48f9 | 6522 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6523 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6524 | } _resultobj = Py_BuildValue("i",_result); |
6525 | return _resultobj; | |
6526 | } | |
6527 | ||
9df61a29 | 6528 | #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2)) |
f6bcfd97 BP |
6529 | static PyObject *_wrap_wxPyGridTableBase_base_GetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { |
6530 | PyObject * _resultobj; | |
6531 | wxGridCellAttr * _result; | |
6532 | wxPyGridTableBase * _arg0; | |
6533 | int _arg1; | |
6534 | int _arg2; | |
9df61a29 | 6535 | wxGridCellAttr::wxAttrKind _arg3; |
f6bcfd97 | 6536 | PyObject * _argo0 = 0; |
9df61a29 | 6537 | char *_kwnames[] = { "self","row","col","kind", NULL }; |
f6bcfd97 BP |
6538 | |
6539 | self = self; | |
9df61a29 | 6540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
6541 | return NULL; |
6542 | if (_argo0) { | |
6543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p."); | |
6546 | return NULL; | |
6547 | } | |
6548 | } | |
6549 | { | |
474c48f9 | 6550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6551 | _result = (wxGridCellAttr *)wxPyGridTableBase_base_GetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6552 | |
474c48f9 | 6553 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6554 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 6555 | }{ _resultobj = wxPyMake_wxGridCellAttr(_result); } |
f6bcfd97 BP |
6556 | return _resultobj; |
6557 | } | |
6558 | ||
6559 | #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2)) | |
6560 | static PyObject *_wrap_wxPyGridTableBase_base_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6561 | PyObject * _resultobj; | |
6562 | wxPyGridTableBase * _arg0; | |
6563 | wxGridCellAttr * _arg1; | |
6564 | int _arg2; | |
6565 | int _arg3; | |
6566 | PyObject * _argo0 = 0; | |
6567 | PyObject * _argo1 = 0; | |
6568 | char *_kwnames[] = { "self","attr","row","col", NULL }; | |
6569 | ||
6570 | self = self; | |
6571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
6572 | return NULL; | |
6573 | if (_argo0) { | |
6574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p."); | |
6577 | return NULL; | |
6578 | } | |
6579 | } | |
6580 | if (_argo1) { | |
6581 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6582 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p."); | |
6584 | return NULL; | |
6585 | } | |
6586 | } | |
6587 | { | |
474c48f9 | 6588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6589 | wxPyGridTableBase_base_SetAttr(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6590 | |
474c48f9 | 6591 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6592 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6593 | } Py_INCREF(Py_None); |
6594 | _resultobj = Py_None; | |
6595 | return _resultobj; | |
6596 | } | |
6597 | ||
6598 | #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1)) | |
6599 | static PyObject *_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6600 | PyObject * _resultobj; | |
6601 | wxPyGridTableBase * _arg0; | |
6602 | wxGridCellAttr * _arg1; | |
6603 | int _arg2; | |
6604 | PyObject * _argo0 = 0; | |
6605 | PyObject * _argo1 = 0; | |
6606 | char *_kwnames[] = { "self","attr","row", NULL }; | |
6607 | ||
6608 | self = self; | |
6609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6610 | return NULL; | |
6611 | if (_argo0) { | |
6612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p."); | |
6615 | return NULL; | |
6616 | } | |
6617 | } | |
6618 | if (_argo1) { | |
6619 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6620 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6621 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p."); | |
6622 | return NULL; | |
6623 | } | |
6624 | } | |
6625 | { | |
474c48f9 | 6626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6627 | wxPyGridTableBase_base_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6628 | |
474c48f9 | 6629 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6630 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6631 | } Py_INCREF(Py_None); |
6632 | _resultobj = Py_None; | |
6633 | return _resultobj; | |
6634 | } | |
6635 | ||
6636 | #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1)) | |
6637 | static PyObject *_wrap_wxPyGridTableBase_base_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6638 | PyObject * _resultobj; | |
6639 | wxPyGridTableBase * _arg0; | |
6640 | wxGridCellAttr * _arg1; | |
6641 | int _arg2; | |
6642 | PyObject * _argo0 = 0; | |
6643 | PyObject * _argo1 = 0; | |
6644 | char *_kwnames[] = { "self","attr","col", NULL }; | |
6645 | ||
6646 | self = self; | |
6647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames,&_argo0,&_argo1,&_arg2)) | |
6648 | return NULL; | |
6649 | if (_argo0) { | |
6650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyGridTableBase_p")) { | |
6652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p."); | |
6653 | return NULL; | |
6654 | } | |
6655 | } | |
6656 | if (_argo1) { | |
6657 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6658 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellAttr_p")) { | |
6659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p."); | |
6660 | return NULL; | |
6661 | } | |
6662 | } | |
6663 | { | |
474c48f9 | 6664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6665 | wxPyGridTableBase_base_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 6666 | |
474c48f9 | 6667 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6668 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6669 | } Py_INCREF(Py_None); |
6670 | _resultobj = Py_None; | |
6671 | return _resultobj; | |
6672 | } | |
6673 | ||
6674 | static void *SwigwxGridStringTableTowxGridTableBase(void *ptr) { | |
6675 | wxGridStringTable *src; | |
6676 | wxGridTableBase *dest; | |
6677 | src = (wxGridStringTable *) ptr; | |
6678 | dest = (wxGridTableBase *) src; | |
6679 | return (void *) dest; | |
6680 | } | |
6681 | ||
9df61a29 RD |
6682 | static void *SwigwxGridStringTableTowxObject(void *ptr) { |
6683 | wxGridStringTable *src; | |
6684 | wxObject *dest; | |
6685 | src = (wxGridStringTable *) ptr; | |
6686 | dest = (wxObject *) src; | |
6687 | return (void *) dest; | |
6688 | } | |
6689 | ||
f6bcfd97 BP |
6690 | #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1)) |
6691 | static PyObject *_wrap_new_wxGridStringTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6692 | PyObject * _resultobj; | |
6693 | wxGridStringTable * _result; | |
6694 | int _arg0 = (int ) 0; | |
6695 | int _arg1 = (int ) 0; | |
6696 | char *_kwnames[] = { "numRows","numCols", NULL }; | |
6697 | char _ptemp[128]; | |
6698 | ||
6699 | self = self; | |
6700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridStringTable",_kwnames,&_arg0,&_arg1)) | |
6701 | return NULL; | |
6702 | { | |
474c48f9 | 6703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6704 | _result = (wxGridStringTable *)new_wxGridStringTable(_arg0,_arg1); |
f6bcfd97 | 6705 | |
474c48f9 | 6706 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6707 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6708 | } if (_result) { |
6709 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridStringTable_p"); | |
6710 | _resultobj = Py_BuildValue("s",_ptemp); | |
6711 | } else { | |
6712 | Py_INCREF(Py_None); | |
6713 | _resultobj = Py_None; | |
6714 | } | |
6715 | return _resultobj; | |
6716 | } | |
6717 | ||
6718 | #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6719 | static PyObject *_wrap_new_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6720 | PyObject * _resultobj; | |
6721 | wxGridTableMessage * _result; | |
6722 | wxGridTableBase * _arg0; | |
6723 | int _arg1; | |
6724 | int _arg2 = (int ) -1; | |
6725 | int _arg3 = (int ) -1; | |
6726 | PyObject * _argo0 = 0; | |
6727 | char *_kwnames[] = { "table","id","comInt1","comInt2", NULL }; | |
6728 | char _ptemp[128]; | |
6729 | ||
6730 | self = self; | |
6731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:new_wxGridTableMessage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
6732 | return NULL; | |
6733 | if (_argo0) { | |
6734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableBase_p")) { | |
6736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p."); | |
6737 | return NULL; | |
6738 | } | |
6739 | } | |
6740 | { | |
474c48f9 | 6741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6742 | _result = (wxGridTableMessage *)new_wxGridTableMessage(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 6743 | |
474c48f9 | 6744 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6745 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6746 | } if (_result) { |
6747 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridTableMessage_p"); | |
6748 | _resultobj = Py_BuildValue("s",_ptemp); | |
6749 | } else { | |
6750 | Py_INCREF(Py_None); | |
6751 | _resultobj = Py_None; | |
6752 | } | |
6753 | return _resultobj; | |
6754 | } | |
6755 | ||
6756 | #define delete_wxGridTableMessage(_swigobj) (delete _swigobj) | |
6757 | static PyObject *_wrap_delete_wxGridTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6758 | PyObject * _resultobj; | |
6759 | wxGridTableMessage * _arg0; | |
6760 | PyObject * _argo0 = 0; | |
6761 | char *_kwnames[] = { "self", NULL }; | |
6762 | ||
6763 | self = self; | |
6764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridTableMessage",_kwnames,&_argo0)) | |
6765 | return NULL; | |
6766 | if (_argo0) { | |
6767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p."); | |
6770 | return NULL; | |
6771 | } | |
6772 | } | |
6773 | { | |
474c48f9 | 6774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6775 | delete_wxGridTableMessage(_arg0); |
f6bcfd97 | 6776 | |
474c48f9 | 6777 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6778 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6779 | } Py_INCREF(Py_None); |
6780 | _resultobj = Py_None; | |
6781 | return _resultobj; | |
6782 | } | |
6783 | ||
6784 | #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0)) | |
6785 | static PyObject *_wrap_wxGridTableMessage_SetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6786 | PyObject * _resultobj; | |
6787 | wxGridTableMessage * _arg0; | |
6788 | wxGridTableBase * _arg1; | |
6789 | PyObject * _argo0 = 0; | |
6790 | PyObject * _argo1 = 0; | |
6791 | char *_kwnames[] = { "self","table", NULL }; | |
6792 | ||
6793 | self = self; | |
6794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridTableMessage_SetTableObject",_kwnames,&_argo0,&_argo1)) | |
6795 | return NULL; | |
6796 | if (_argo0) { | |
6797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p."); | |
6800 | return NULL; | |
6801 | } | |
6802 | } | |
6803 | if (_argo1) { | |
6804 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6805 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) { | |
6806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p."); | |
6807 | return NULL; | |
6808 | } | |
6809 | } | |
6810 | { | |
474c48f9 | 6811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6812 | wxGridTableMessage_SetTableObject(_arg0,_arg1); |
f6bcfd97 | 6813 | |
474c48f9 | 6814 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6815 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6816 | } Py_INCREF(Py_None); |
6817 | _resultobj = Py_None; | |
6818 | return _resultobj; | |
6819 | } | |
6820 | ||
6821 | #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject()) | |
6822 | static PyObject *_wrap_wxGridTableMessage_GetTableObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6823 | PyObject * _resultobj; | |
6824 | wxGridTableBase * _result; | |
6825 | wxGridTableMessage * _arg0; | |
6826 | PyObject * _argo0 = 0; | |
6827 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
6828 | |
6829 | self = self; | |
6830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetTableObject",_kwnames,&_argo0)) | |
6831 | return NULL; | |
6832 | if (_argo0) { | |
6833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p."); | |
6836 | return NULL; | |
6837 | } | |
6838 | } | |
6839 | { | |
474c48f9 | 6840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6841 | _result = (wxGridTableBase *)wxGridTableMessage_GetTableObject(_arg0); |
f6bcfd97 | 6842 | |
474c48f9 | 6843 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6844 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 6845 | }{ _resultobj = wxPyMake_wxGridTableBase(_result); } |
f6bcfd97 BP |
6846 | return _resultobj; |
6847 | } | |
6848 | ||
6849 | #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
6850 | static PyObject *_wrap_wxGridTableMessage_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6851 | PyObject * _resultobj; | |
6852 | wxGridTableMessage * _arg0; | |
6853 | int _arg1; | |
6854 | PyObject * _argo0 = 0; | |
6855 | char *_kwnames[] = { "self","id", NULL }; | |
6856 | ||
6857 | self = self; | |
6858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetId",_kwnames,&_argo0,&_arg1)) | |
6859 | return NULL; | |
6860 | if (_argo0) { | |
6861 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6862 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p."); | |
6864 | return NULL; | |
6865 | } | |
6866 | } | |
6867 | { | |
474c48f9 | 6868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6869 | wxGridTableMessage_SetId(_arg0,_arg1); |
f6bcfd97 | 6870 | |
474c48f9 | 6871 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6872 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6873 | } Py_INCREF(Py_None); |
6874 | _resultobj = Py_None; | |
6875 | return _resultobj; | |
6876 | } | |
6877 | ||
6878 | #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId()) | |
6879 | static PyObject *_wrap_wxGridTableMessage_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6880 | PyObject * _resultobj; | |
6881 | int _result; | |
6882 | wxGridTableMessage * _arg0; | |
6883 | PyObject * _argo0 = 0; | |
6884 | char *_kwnames[] = { "self", NULL }; | |
6885 | ||
6886 | self = self; | |
6887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetId",_kwnames,&_argo0)) | |
6888 | return NULL; | |
6889 | if (_argo0) { | |
6890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p."); | |
6893 | return NULL; | |
6894 | } | |
6895 | } | |
6896 | { | |
474c48f9 | 6897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6898 | _result = (int )wxGridTableMessage_GetId(_arg0); |
f6bcfd97 | 6899 | |
474c48f9 | 6900 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6901 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6902 | } _resultobj = Py_BuildValue("i",_result); |
6903 | return _resultobj; | |
6904 | } | |
6905 | ||
6906 | #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0)) | |
6907 | static PyObject *_wrap_wxGridTableMessage_SetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6908 | PyObject * _resultobj; | |
6909 | wxGridTableMessage * _arg0; | |
6910 | int _arg1; | |
6911 | PyObject * _argo0 = 0; | |
6912 | char *_kwnames[] = { "self","comInt1", NULL }; | |
6913 | ||
6914 | self = self; | |
6915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt",_kwnames,&_argo0,&_arg1)) | |
6916 | return NULL; | |
6917 | if (_argo0) { | |
6918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p."); | |
6921 | return NULL; | |
6922 | } | |
6923 | } | |
6924 | { | |
474c48f9 | 6925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6926 | wxGridTableMessage_SetCommandInt(_arg0,_arg1); |
f6bcfd97 | 6927 | |
474c48f9 | 6928 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6929 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6930 | } Py_INCREF(Py_None); |
6931 | _resultobj = Py_None; | |
6932 | return _resultobj; | |
6933 | } | |
6934 | ||
6935 | #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt()) | |
6936 | static PyObject *_wrap_wxGridTableMessage_GetCommandInt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6937 | PyObject * _resultobj; | |
6938 | int _result; | |
6939 | wxGridTableMessage * _arg0; | |
6940 | PyObject * _argo0 = 0; | |
6941 | char *_kwnames[] = { "self", NULL }; | |
6942 | ||
6943 | self = self; | |
6944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt",_kwnames,&_argo0)) | |
6945 | return NULL; | |
6946 | if (_argo0) { | |
6947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p."); | |
6950 | return NULL; | |
6951 | } | |
6952 | } | |
6953 | { | |
474c48f9 | 6954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6955 | _result = (int )wxGridTableMessage_GetCommandInt(_arg0); |
f6bcfd97 | 6956 | |
474c48f9 | 6957 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6958 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6959 | } _resultobj = Py_BuildValue("i",_result); |
6960 | return _resultobj; | |
6961 | } | |
6962 | ||
6963 | #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0)) | |
6964 | static PyObject *_wrap_wxGridTableMessage_SetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6965 | PyObject * _resultobj; | |
6966 | wxGridTableMessage * _arg0; | |
6967 | int _arg1; | |
6968 | PyObject * _argo0 = 0; | |
6969 | char *_kwnames[] = { "self","comInt2", NULL }; | |
6970 | ||
6971 | self = self; | |
6972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames,&_argo0,&_arg1)) | |
6973 | return NULL; | |
6974 | if (_argo0) { | |
6975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
6977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p."); | |
6978 | return NULL; | |
6979 | } | |
6980 | } | |
6981 | { | |
474c48f9 | 6982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6983 | wxGridTableMessage_SetCommandInt2(_arg0,_arg1); |
f6bcfd97 | 6984 | |
474c48f9 | 6985 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 6986 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
6987 | } Py_INCREF(Py_None); |
6988 | _resultobj = Py_None; | |
6989 | return _resultobj; | |
6990 | } | |
6991 | ||
6992 | #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2()) | |
6993 | static PyObject *_wrap_wxGridTableMessage_GetCommandInt2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6994 | PyObject * _resultobj; | |
6995 | int _result; | |
6996 | wxGridTableMessage * _arg0; | |
6997 | PyObject * _argo0 = 0; | |
6998 | char *_kwnames[] = { "self", NULL }; | |
6999 | ||
7000 | self = self; | |
7001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridTableMessage_GetCommandInt2",_kwnames,&_argo0)) | |
7002 | return NULL; | |
7003 | if (_argo0) { | |
7004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridTableMessage_p")) { | |
7006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p."); | |
7007 | return NULL; | |
7008 | } | |
7009 | } | |
7010 | { | |
474c48f9 | 7011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7012 | _result = (int )wxGridTableMessage_GetCommandInt2(_arg0); |
f6bcfd97 | 7013 | |
474c48f9 | 7014 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7015 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7016 | } _resultobj = Py_BuildValue("i",_result); |
7017 | return _resultobj; | |
7018 | } | |
7019 | ||
7020 | #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1)) | |
7021 | static PyObject *_wrap_new_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7022 | PyObject * _resultobj; | |
7023 | wxGridCellCoords * _result; | |
7024 | int _arg0 = (int ) -1; | |
7025 | int _arg1 = (int ) -1; | |
7026 | char *_kwnames[] = { "r","c", NULL }; | |
7027 | char _ptemp[128]; | |
7028 | ||
7029 | self = self; | |
7030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxGridCellCoords",_kwnames,&_arg0,&_arg1)) | |
7031 | return NULL; | |
7032 | { | |
474c48f9 | 7033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7034 | _result = (wxGridCellCoords *)new_wxGridCellCoords(_arg0,_arg1); |
f6bcfd97 | 7035 | |
474c48f9 | 7036 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7037 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7038 | } if (_result) { |
7039 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p"); | |
7040 | _resultobj = Py_BuildValue("s",_ptemp); | |
7041 | } else { | |
7042 | Py_INCREF(Py_None); | |
7043 | _resultobj = Py_None; | |
7044 | } | |
7045 | return _resultobj; | |
7046 | } | |
7047 | ||
7048 | #define delete_wxGridCellCoords(_swigobj) (delete _swigobj) | |
7049 | static PyObject *_wrap_delete_wxGridCellCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7050 | PyObject * _resultobj; | |
7051 | wxGridCellCoords * _arg0; | |
7052 | PyObject * _argo0 = 0; | |
7053 | char *_kwnames[] = { "self", NULL }; | |
7054 | ||
7055 | self = self; | |
7056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCellCoords",_kwnames,&_argo0)) | |
7057 | return NULL; | |
7058 | if (_argo0) { | |
7059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p."); | |
7062 | return NULL; | |
7063 | } | |
7064 | } | |
7065 | { | |
474c48f9 | 7066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7067 | delete_wxGridCellCoords(_arg0); |
f6bcfd97 | 7068 | |
474c48f9 | 7069 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7070 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7071 | } Py_INCREF(Py_None); |
7072 | _resultobj = Py_None; | |
7073 | return _resultobj; | |
7074 | } | |
7075 | ||
7076 | #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow()) | |
7077 | static PyObject *_wrap_wxGridCellCoords_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7078 | PyObject * _resultobj; | |
7079 | int _result; | |
7080 | wxGridCellCoords * _arg0; | |
7081 | PyObject * _argo0 = 0; | |
7082 | char *_kwnames[] = { "self", NULL }; | |
7083 | ||
7084 | self = self; | |
7085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetRow",_kwnames,&_argo0)) | |
7086 | return NULL; | |
7087 | if (_argo0) { | |
7088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p."); | |
7091 | return NULL; | |
7092 | } | |
7093 | } | |
7094 | { | |
474c48f9 | 7095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7096 | _result = (int )wxGridCellCoords_GetRow(_arg0); |
f6bcfd97 | 7097 | |
474c48f9 | 7098 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7099 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7100 | } _resultobj = Py_BuildValue("i",_result); |
7101 | return _resultobj; | |
7102 | } | |
7103 | ||
7104 | #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0)) | |
7105 | static PyObject *_wrap_wxGridCellCoords_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7106 | PyObject * _resultobj; | |
7107 | wxGridCellCoords * _arg0; | |
7108 | int _arg1; | |
7109 | PyObject * _argo0 = 0; | |
7110 | char *_kwnames[] = { "self","n", NULL }; | |
7111 | ||
7112 | self = self; | |
7113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetRow",_kwnames,&_argo0,&_arg1)) | |
7114 | return NULL; | |
7115 | if (_argo0) { | |
7116 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7117 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7118 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p."); | |
7119 | return NULL; | |
7120 | } | |
7121 | } | |
7122 | { | |
474c48f9 | 7123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7124 | wxGridCellCoords_SetRow(_arg0,_arg1); |
f6bcfd97 | 7125 | |
474c48f9 | 7126 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7127 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7128 | } Py_INCREF(Py_None); |
7129 | _resultobj = Py_None; | |
7130 | return _resultobj; | |
7131 | } | |
7132 | ||
7133 | #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol()) | |
7134 | static PyObject *_wrap_wxGridCellCoords_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7135 | PyObject * _resultobj; | |
7136 | int _result; | |
7137 | wxGridCellCoords * _arg0; | |
7138 | PyObject * _argo0 = 0; | |
7139 | char *_kwnames[] = { "self", NULL }; | |
7140 | ||
7141 | self = self; | |
7142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_GetCol",_kwnames,&_argo0)) | |
7143 | return NULL; | |
7144 | if (_argo0) { | |
7145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p."); | |
7148 | return NULL; | |
7149 | } | |
7150 | } | |
7151 | { | |
474c48f9 | 7152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7153 | _result = (int )wxGridCellCoords_GetCol(_arg0); |
f6bcfd97 | 7154 | |
474c48f9 | 7155 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7156 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7157 | } _resultobj = Py_BuildValue("i",_result); |
7158 | return _resultobj; | |
7159 | } | |
7160 | ||
7161 | #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0)) | |
7162 | static PyObject *_wrap_wxGridCellCoords_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7163 | PyObject * _resultobj; | |
7164 | wxGridCellCoords * _arg0; | |
7165 | int _arg1; | |
7166 | PyObject * _argo0 = 0; | |
7167 | char *_kwnames[] = { "self","n", NULL }; | |
7168 | ||
7169 | self = self; | |
7170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCellCoords_SetCol",_kwnames,&_argo0,&_arg1)) | |
7171 | return NULL; | |
7172 | if (_argo0) { | |
7173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p."); | |
7176 | return NULL; | |
7177 | } | |
7178 | } | |
7179 | { | |
474c48f9 | 7180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7181 | wxGridCellCoords_SetCol(_arg0,_arg1); |
f6bcfd97 | 7182 | |
474c48f9 | 7183 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7184 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7185 | } Py_INCREF(Py_None); |
7186 | _resultobj = Py_None; | |
7187 | return _resultobj; | |
7188 | } | |
7189 | ||
7190 | #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) | |
7191 | static PyObject *_wrap_wxGridCellCoords_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7192 | PyObject * _resultobj; | |
7193 | wxGridCellCoords * _arg0; | |
7194 | int _arg1; | |
7195 | int _arg2; | |
7196 | PyObject * _argo0 = 0; | |
7197 | char *_kwnames[] = { "self","row","col", NULL }; | |
7198 | ||
7199 | self = self; | |
7200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGridCellCoords_Set",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7201 | return NULL; | |
7202 | if (_argo0) { | |
7203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p."); | |
7206 | return NULL; | |
7207 | } | |
7208 | } | |
7209 | { | |
474c48f9 | 7210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7211 | wxGridCellCoords_Set(_arg0,_arg1,_arg2); |
f6bcfd97 | 7212 | |
474c48f9 | 7213 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7214 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7215 | } Py_INCREF(Py_None); |
7216 | _resultobj = Py_None; | |
7217 | return _resultobj; | |
7218 | } | |
7219 | ||
7220 | static PyObject * wxGridCellCoords_asTuple(wxGridCellCoords *self) { | |
7221 | PyObject* tup = PyTuple_New(2); | |
7222 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow())); | |
7223 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol())); | |
7224 | return tup; | |
7225 | } | |
7226 | static PyObject *_wrap_wxGridCellCoords_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7227 | PyObject * _resultobj; | |
7228 | PyObject * _result; | |
7229 | wxGridCellCoords * _arg0; | |
7230 | PyObject * _argo0 = 0; | |
7231 | char *_kwnames[] = { "self", NULL }; | |
7232 | ||
7233 | self = self; | |
7234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCellCoords_asTuple",_kwnames,&_argo0)) | |
7235 | return NULL; | |
7236 | if (_argo0) { | |
7237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p."); | |
7240 | return NULL; | |
7241 | } | |
7242 | } | |
7243 | { | |
474c48f9 | 7244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7245 | _result = (PyObject *)wxGridCellCoords_asTuple(_arg0); |
f6bcfd97 | 7246 | |
474c48f9 | 7247 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7248 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7249 | }{ |
7250 | _resultobj = _result; | |
7251 | } | |
7252 | return _resultobj; | |
7253 | } | |
7254 | ||
7255 | static int wxGridCellCoords___cmp__(wxGridCellCoords *self,const wxGridCellCoords & other) { | |
7256 | return *self != other; | |
7257 | } | |
7258 | static PyObject *_wrap_wxGridCellCoords___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7259 | PyObject * _resultobj; | |
7260 | int _result; | |
7261 | wxGridCellCoords * _arg0; | |
7262 | wxGridCellCoords * _arg1; | |
7263 | PyObject * _argo0 = 0; | |
7264 | PyObject * _argo1 = 0; | |
7265 | char *_kwnames[] = { "self","other", NULL }; | |
7266 | ||
7267 | self = self; | |
7268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCellCoords___cmp__",_kwnames,&_argo0,&_argo1)) | |
7269 | return NULL; | |
7270 | if (_argo0) { | |
7271 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7272 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCellCoords_p")) { | |
7273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p."); | |
7274 | return NULL; | |
7275 | } | |
7276 | } | |
7277 | if (_argo1) { | |
7278 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7279 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellCoords_p")) { | |
7280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p."); | |
7281 | return NULL; | |
7282 | } | |
7283 | } | |
7284 | { | |
474c48f9 | 7285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7286 | _result = (int )wxGridCellCoords___cmp__(_arg0,*_arg1); |
f6bcfd97 | 7287 | |
474c48f9 | 7288 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7289 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7290 | } _resultobj = Py_BuildValue("i",_result); |
7291 | return _resultobj; | |
7292 | } | |
7293 | ||
7294 | static void *SwigwxGridTowxScrolledWindow(void *ptr) { | |
7295 | wxGrid *src; | |
7296 | wxScrolledWindow *dest; | |
7297 | src = (wxGrid *) ptr; | |
7298 | dest = (wxScrolledWindow *) src; | |
7299 | return (void *) dest; | |
7300 | } | |
7301 | ||
7302 | static void *SwigwxGridTowxPanel(void *ptr) { | |
7303 | wxGrid *src; | |
7304 | wxPanel *dest; | |
7305 | src = (wxGrid *) ptr; | |
7306 | dest = (wxPanel *) src; | |
7307 | return (void *) dest; | |
7308 | } | |
7309 | ||
7310 | static void *SwigwxGridTowxWindow(void *ptr) { | |
7311 | wxGrid *src; | |
7312 | wxWindow *dest; | |
7313 | src = (wxGrid *) ptr; | |
7314 | dest = (wxWindow *) src; | |
7315 | return (void *) dest; | |
7316 | } | |
7317 | ||
7318 | static void *SwigwxGridTowxEvtHandler(void *ptr) { | |
7319 | wxGrid *src; | |
7320 | wxEvtHandler *dest; | |
7321 | src = (wxGrid *) ptr; | |
7322 | dest = (wxEvtHandler *) src; | |
7323 | return (void *) dest; | |
7324 | } | |
7325 | ||
9df61a29 RD |
7326 | static void *SwigwxGridTowxObject(void *ptr) { |
7327 | wxGrid *src; | |
7328 | wxObject *dest; | |
7329 | src = (wxGrid *) ptr; | |
7330 | dest = (wxObject *) src; | |
7331 | return (void *) dest; | |
7332 | } | |
7333 | ||
f6bcfd97 BP |
7334 | #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
7335 | static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7336 | PyObject * _resultobj; | |
7337 | wxGrid * _result; | |
7338 | wxWindow * _arg0; | |
7339 | wxWindowID _arg1; | |
7340 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
7341 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
7342 | long _arg4 = (long ) wxWANTS_CHARS; | |
9a74fcaf | 7343 | wxString * _arg5 = (wxString *) &wxPyPanelNameStr; |
f6bcfd97 BP |
7344 | PyObject * _argo0 = 0; |
7345 | wxPoint temp; | |
7346 | PyObject * _obj2 = 0; | |
7347 | wxSize temp0; | |
7348 | PyObject * _obj3 = 0; | |
9a74fcaf | 7349 | PyObject * _obj5 = 0; |
f6bcfd97 BP |
7350 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
7351 | char _ptemp[128]; | |
7352 | ||
7353 | self = self; | |
9a74fcaf | 7354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
f6bcfd97 BP |
7355 | return NULL; |
7356 | if (_argo0) { | |
7357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
7359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p."); | |
7360 | return NULL; | |
7361 | } | |
7362 | } | |
7363 | if (_obj2) | |
7364 | { | |
7365 | _arg2 = &temp; | |
7366 | if (! wxPoint_helper(_obj2, &_arg2)) | |
7367 | return NULL; | |
7368 | } | |
7369 | if (_obj3) | |
7370 | { | |
7371 | _arg3 = &temp0; | |
7372 | if (! wxSize_helper(_obj3, &_arg3)) | |
7373 | return NULL; | |
9a74fcaf RD |
7374 | } |
7375 | if (_obj5) | |
7376 | { | |
7377 | _arg5 = wxString_in_helper(_obj5); | |
7378 | if (_arg5 == NULL) | |
7379 | return NULL; | |
f6bcfd97 BP |
7380 | } |
7381 | { | |
474c48f9 | 7382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9a74fcaf | 7383 | _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
f6bcfd97 | 7384 | |
474c48f9 | 7385 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7386 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7387 | } if (_result) { |
7388 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p"); | |
7389 | _resultobj = Py_BuildValue("s",_ptemp); | |
7390 | } else { | |
7391 | Py_INCREF(Py_None); | |
7392 | _resultobj = Py_None; | |
7393 | } | |
9a74fcaf RD |
7394 | { |
7395 | if (_obj5) | |
7396 | delete _arg5; | |
7397 | } | |
f6bcfd97 BP |
7398 | return _resultobj; |
7399 | } | |
7400 | ||
7401 | #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2)) | |
7402 | static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7403 | PyObject * _resultobj; | |
7404 | bool _result; | |
7405 | wxGrid * _arg0; | |
7406 | int _arg1; | |
7407 | int _arg2; | |
7408 | WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells; | |
7409 | PyObject * _argo0 = 0; | |
7410 | char *_kwnames[] = { "self","numRows","numCols","selmode", NULL }; | |
7411 | ||
7412 | self = self; | |
7413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
7414 | return NULL; | |
7415 | if (_argo0) { | |
7416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p."); | |
7419 | return NULL; | |
7420 | } | |
7421 | } | |
7422 | { | |
474c48f9 | 7423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7424 | _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7425 | |
474c48f9 | 7426 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7427 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7428 | } _resultobj = Py_BuildValue("i",_result); |
7429 | return _resultobj; | |
7430 | } | |
7431 | ||
7432 | #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0)) | |
7433 | static PyObject *_wrap_wxGrid_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7434 | PyObject * _resultobj; | |
7435 | wxGrid * _arg0; | |
7436 | WXGRIDSELECTIONMODES _arg1; | |
7437 | PyObject * _argo0 = 0; | |
7438 | char *_kwnames[] = { "self","selmode", NULL }; | |
7439 | ||
7440 | self = self; | |
7441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetSelectionMode",_kwnames,&_argo0,&_arg1)) | |
7442 | return NULL; | |
7443 | if (_argo0) { | |
7444 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7445 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p."); | |
7447 | return NULL; | |
7448 | } | |
7449 | } | |
7450 | { | |
474c48f9 | 7451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7452 | wxGrid_SetSelectionMode(_arg0,_arg1); |
f6bcfd97 | 7453 | |
474c48f9 | 7454 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7455 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7456 | } Py_INCREF(Py_None); |
7457 | _resultobj = Py_None; | |
7458 | return _resultobj; | |
7459 | } | |
7460 | ||
7461 | #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows()) | |
7462 | static PyObject *_wrap_wxGrid_GetNumberRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7463 | PyObject * _resultobj; | |
7464 | int _result; | |
7465 | wxGrid * _arg0; | |
7466 | PyObject * _argo0 = 0; | |
7467 | char *_kwnames[] = { "self", NULL }; | |
7468 | ||
7469 | self = self; | |
7470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberRows",_kwnames,&_argo0)) | |
7471 | return NULL; | |
7472 | if (_argo0) { | |
7473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p."); | |
7476 | return NULL; | |
7477 | } | |
7478 | } | |
7479 | { | |
474c48f9 | 7480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7481 | _result = (int )wxGrid_GetNumberRows(_arg0); |
f6bcfd97 | 7482 | |
474c48f9 | 7483 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7484 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7485 | } _resultobj = Py_BuildValue("i",_result); |
7486 | return _resultobj; | |
7487 | } | |
7488 | ||
7489 | #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols()) | |
7490 | static PyObject *_wrap_wxGrid_GetNumberCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7491 | PyObject * _resultobj; | |
7492 | int _result; | |
7493 | wxGrid * _arg0; | |
7494 | PyObject * _argo0 = 0; | |
7495 | char *_kwnames[] = { "self", NULL }; | |
7496 | ||
7497 | self = self; | |
7498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetNumberCols",_kwnames,&_argo0)) | |
7499 | return NULL; | |
7500 | if (_argo0) { | |
7501 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7502 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7503 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p."); | |
7504 | return NULL; | |
7505 | } | |
7506 | } | |
7507 | { | |
474c48f9 | 7508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7509 | _result = (int )wxGrid_GetNumberCols(_arg0); |
f6bcfd97 | 7510 | |
474c48f9 | 7511 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7512 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7513 | } _resultobj = Py_BuildValue("i",_result); |
7514 | return _resultobj; | |
7515 | } | |
7516 | ||
7517 | #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0)) | |
7518 | static PyObject *_wrap_wxGrid_ProcessTableMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7519 | PyObject * _resultobj; | |
7520 | bool _result; | |
7521 | wxGrid * _arg0; | |
7522 | wxGridTableMessage * _arg1; | |
7523 | PyObject * _argo0 = 0; | |
7524 | PyObject * _argo1 = 0; | |
7525 | char *_kwnames[] = { "self","arg2", NULL }; | |
7526 | ||
7527 | self = self; | |
7528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_ProcessTableMessage",_kwnames,&_argo0,&_argo1)) | |
7529 | return NULL; | |
7530 | if (_argo0) { | |
7531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p."); | |
7534 | return NULL; | |
7535 | } | |
7536 | } | |
7537 | if (_argo1) { | |
7538 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7539 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableMessage_p")) { | |
7540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p."); | |
7541 | return NULL; | |
7542 | } | |
7543 | } | |
7544 | { | |
474c48f9 | 7545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7546 | _result = (bool )wxGrid_ProcessTableMessage(_arg0,*_arg1); |
f6bcfd97 | 7547 | |
474c48f9 | 7548 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7549 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7550 | } _resultobj = Py_BuildValue("i",_result); |
7551 | return _resultobj; | |
7552 | } | |
7553 | ||
7554 | #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable()) | |
7555 | static PyObject *_wrap_wxGrid_GetTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7556 | PyObject * _resultobj; | |
7557 | wxGridTableBase * _result; | |
7558 | wxGrid * _arg0; | |
7559 | PyObject * _argo0 = 0; | |
7560 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
7561 | |
7562 | self = self; | |
7563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTable",_kwnames,&_argo0)) | |
7564 | return NULL; | |
7565 | if (_argo0) { | |
7566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p."); | |
7569 | return NULL; | |
7570 | } | |
7571 | } | |
7572 | { | |
474c48f9 | 7573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7574 | _result = (wxGridTableBase *)wxGrid_GetTable(_arg0); |
f6bcfd97 | 7575 | |
474c48f9 | 7576 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7577 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 7578 | }{ _resultobj = wxPyMake_wxGridTableBase(_result); } |
f6bcfd97 BP |
7579 | return _resultobj; |
7580 | } | |
7581 | ||
7582 | #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2)) | |
7583 | static PyObject *_wrap_wxGrid_SetTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7584 | PyObject * _resultobj; | |
7585 | bool _result; | |
7586 | wxGrid * _arg0; | |
7587 | wxGridTableBase * _arg1; | |
7588 | bool _arg2 = (bool ) FALSE; | |
7589 | WXGRIDSELECTIONMODES _arg3 = (WXGRIDSELECTIONMODES ) wxGrid::wxGridSelectCells; | |
7590 | PyObject * _argo0 = 0; | |
7591 | PyObject * _argo1 = 0; | |
7592 | int tempbool2 = (int) FALSE; | |
7593 | char *_kwnames[] = { "self","table","takeOwnership","selmode", NULL }; | |
7594 | ||
7595 | self = self; | |
7596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxGrid_SetTable",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3)) | |
7597 | return NULL; | |
7598 | if (_argo0) { | |
7599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p."); | |
7602 | return NULL; | |
7603 | } | |
7604 | } | |
7605 | if (_argo1) { | |
7606 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7607 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridTableBase_p")) { | |
7608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p."); | |
7609 | return NULL; | |
7610 | } | |
7611 | } | |
7612 | _arg2 = (bool ) tempbool2; | |
7613 | { | |
474c48f9 | 7614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7615 | _result = (bool )wxGrid_SetTable(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7616 | |
474c48f9 | 7617 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7618 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7619 | } _resultobj = Py_BuildValue("i",_result); |
7620 | return _resultobj; | |
7621 | } | |
7622 | ||
7623 | #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid()) | |
7624 | static PyObject *_wrap_wxGrid_ClearGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7625 | PyObject * _resultobj; | |
7626 | wxGrid * _arg0; | |
7627 | PyObject * _argo0 = 0; | |
7628 | char *_kwnames[] = { "self", NULL }; | |
7629 | ||
7630 | self = self; | |
7631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearGrid",_kwnames,&_argo0)) | |
7632 | return NULL; | |
7633 | if (_argo0) { | |
7634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p."); | |
7637 | return NULL; | |
7638 | } | |
7639 | } | |
7640 | { | |
474c48f9 | 7641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7642 | wxGrid_ClearGrid(_arg0); |
f6bcfd97 | 7643 | |
474c48f9 | 7644 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7645 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7646 | } Py_INCREF(Py_None); |
7647 | _resultobj = Py_None; | |
7648 | return _resultobj; | |
7649 | } | |
7650 | ||
7651 | #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2)) | |
7652 | static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7653 | PyObject * _resultobj; | |
7654 | bool _result; | |
7655 | wxGrid * _arg0; | |
7656 | int _arg1 = (int ) 0; | |
7657 | int _arg2 = (int ) 1; | |
7658 | bool _arg3 = (bool ) TRUE; | |
7659 | PyObject * _argo0 = 0; | |
7660 | int tempbool3 = (int) TRUE; | |
7661 | char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL }; | |
7662 | ||
7663 | self = self; | |
7664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7665 | return NULL; | |
7666 | if (_argo0) { | |
7667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p."); | |
7670 | return NULL; | |
7671 | } | |
7672 | } | |
7673 | _arg3 = (bool ) tempbool3; | |
7674 | { | |
474c48f9 | 7675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7676 | _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7677 | |
474c48f9 | 7678 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7679 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7680 | } _resultobj = Py_BuildValue("i",_result); |
7681 | return _resultobj; | |
7682 | } | |
7683 | ||
7684 | #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1)) | |
7685 | static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7686 | PyObject * _resultobj; | |
7687 | bool _result; | |
7688 | wxGrid * _arg0; | |
7689 | int _arg1 = (int ) 1; | |
7690 | bool _arg2 = (bool ) TRUE; | |
7691 | PyObject * _argo0 = 0; | |
7692 | int tempbool2 = (int) TRUE; | |
7693 | char *_kwnames[] = { "self","numRows","updateLabels", NULL }; | |
7694 | ||
7695 | self = self; | |
7696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
7697 | return NULL; | |
7698 | if (_argo0) { | |
7699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p."); | |
7702 | return NULL; | |
7703 | } | |
7704 | } | |
7705 | _arg2 = (bool ) tempbool2; | |
7706 | { | |
474c48f9 | 7707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7708 | _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2); |
f6bcfd97 | 7709 | |
474c48f9 | 7710 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7711 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7712 | } _resultobj = Py_BuildValue("i",_result); |
7713 | return _resultobj; | |
7714 | } | |
7715 | ||
7716 | #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2)) | |
7717 | static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7718 | PyObject * _resultobj; | |
7719 | bool _result; | |
7720 | wxGrid * _arg0; | |
7721 | int _arg1 = (int ) 0; | |
7722 | int _arg2 = (int ) 1; | |
7723 | bool _arg3 = (bool ) TRUE; | |
7724 | PyObject * _argo0 = 0; | |
7725 | int tempbool3 = (int) TRUE; | |
7726 | char *_kwnames[] = { "self","pos","numRows","updateLabels", NULL }; | |
7727 | ||
7728 | self = self; | |
7729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7730 | return NULL; | |
7731 | if (_argo0) { | |
7732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p."); | |
7735 | return NULL; | |
7736 | } | |
7737 | } | |
7738 | _arg3 = (bool ) tempbool3; | |
7739 | { | |
474c48f9 | 7740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7741 | _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7742 | |
474c48f9 | 7743 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7744 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7745 | } _resultobj = Py_BuildValue("i",_result); |
7746 | return _resultobj; | |
7747 | } | |
7748 | ||
7749 | #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2)) | |
7750 | static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7751 | PyObject * _resultobj; | |
7752 | bool _result; | |
7753 | wxGrid * _arg0; | |
7754 | int _arg1 = (int ) 0; | |
7755 | int _arg2 = (int ) 1; | |
7756 | bool _arg3 = (bool ) TRUE; | |
7757 | PyObject * _argo0 = 0; | |
7758 | int tempbool3 = (int) TRUE; | |
7759 | char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL }; | |
7760 | ||
7761 | self = self; | |
7762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7763 | return NULL; | |
7764 | if (_argo0) { | |
7765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p."); | |
7768 | return NULL; | |
7769 | } | |
7770 | } | |
7771 | _arg3 = (bool ) tempbool3; | |
7772 | { | |
474c48f9 | 7773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7774 | _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7775 | |
474c48f9 | 7776 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7777 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7778 | } _resultobj = Py_BuildValue("i",_result); |
7779 | return _resultobj; | |
7780 | } | |
7781 | ||
7782 | #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1)) | |
7783 | static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7784 | PyObject * _resultobj; | |
7785 | bool _result; | |
7786 | wxGrid * _arg0; | |
7787 | int _arg1 = (int ) 1; | |
7788 | bool _arg2 = (bool ) TRUE; | |
7789 | PyObject * _argo0 = 0; | |
7790 | int tempbool2 = (int) TRUE; | |
7791 | char *_kwnames[] = { "self","numCols","updateLabels", NULL }; | |
7792 | ||
7793 | self = self; | |
7794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
7795 | return NULL; | |
7796 | if (_argo0) { | |
7797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p."); | |
7800 | return NULL; | |
7801 | } | |
7802 | } | |
7803 | _arg2 = (bool ) tempbool2; | |
7804 | { | |
474c48f9 | 7805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7806 | _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2); |
f6bcfd97 | 7807 | |
474c48f9 | 7808 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7809 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7810 | } _resultobj = Py_BuildValue("i",_result); |
7811 | return _resultobj; | |
7812 | } | |
7813 | ||
7814 | #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2)) | |
7815 | static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7816 | PyObject * _resultobj; | |
7817 | bool _result; | |
7818 | wxGrid * _arg0; | |
7819 | int _arg1 = (int ) 0; | |
7820 | int _arg2 = (int ) 1; | |
7821 | bool _arg3 = (bool ) TRUE; | |
7822 | PyObject * _argo0 = 0; | |
7823 | int tempbool3 = (int) TRUE; | |
7824 | char *_kwnames[] = { "self","pos","numCols","updateLabels", NULL }; | |
7825 | ||
7826 | self = self; | |
7827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
7828 | return NULL; | |
7829 | if (_argo0) { | |
7830 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7831 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p."); | |
7833 | return NULL; | |
7834 | } | |
7835 | } | |
7836 | _arg3 = (bool ) tempbool3; | |
7837 | { | |
474c48f9 | 7838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7839 | _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 7840 | |
474c48f9 | 7841 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7842 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7843 | } _resultobj = Py_BuildValue("i",_result); |
7844 | return _resultobj; | |
7845 | } | |
7846 | ||
7847 | #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1)) | |
7848 | static PyObject *_wrap_wxGrid_DrawCellHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7849 | PyObject * _resultobj; | |
7850 | wxGrid * _arg0; | |
7851 | wxDC * _arg1; | |
7852 | wxGridCellAttr * _arg2; | |
7853 | PyObject * _argo0 = 0; | |
7854 | PyObject * _argo1 = 0; | |
7855 | PyObject * _argo2 = 0; | |
7856 | char *_kwnames[] = { "self","dc","attr", NULL }; | |
7857 | ||
7858 | self = self; | |
7859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_DrawCellHighlight",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7860 | return NULL; | |
7861 | if (_argo0) { | |
7862 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7863 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p."); | |
7865 | return NULL; | |
7866 | } | |
7867 | } | |
7868 | if (_argo1) { | |
7869 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7870 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p."); | |
7872 | return NULL; | |
7873 | } | |
7874 | } | |
7875 | if (_argo2) { | |
7876 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7877 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
7878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p."); | |
7879 | return NULL; | |
7880 | } | |
7881 | } | |
7882 | { | |
474c48f9 | 7883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7884 | wxGrid_DrawCellHighlight(_arg0,*_arg1,_arg2); |
f6bcfd97 | 7885 | |
474c48f9 | 7886 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7887 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7888 | } Py_INCREF(Py_None); |
7889 | _resultobj = Py_None; | |
7890 | return _resultobj; | |
7891 | } | |
7892 | ||
7893 | #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7894 | static PyObject *_wrap_wxGrid_DrawTextRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7895 | PyObject * _resultobj; | |
7896 | wxGrid * _arg0; | |
7897 | wxDC * _arg1; | |
7898 | wxString * _arg2; | |
7899 | wxRect * _arg3; | |
7900 | int _arg4 = (int ) wxLEFT; | |
7901 | int _arg5 = (int ) wxTOP; | |
7902 | PyObject * _argo0 = 0; | |
7903 | PyObject * _argo1 = 0; | |
7904 | PyObject * _obj2 = 0; | |
7905 | wxRect temp; | |
7906 | PyObject * _obj3 = 0; | |
7907 | char *_kwnames[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL }; | |
7908 | ||
7909 | self = self; | |
7910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames,&_argo0,&_argo1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
7911 | return NULL; | |
7912 | if (_argo0) { | |
7913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p."); | |
7916 | return NULL; | |
7917 | } | |
7918 | } | |
7919 | if (_argo1) { | |
7920 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7921 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p."); | |
7923 | return NULL; | |
7924 | } | |
7925 | } | |
7926 | { | |
c8bc7bb8 RD |
7927 | _arg2 = wxString_in_helper(_obj2); |
7928 | if (_arg2 == NULL) | |
2cd2fac8 | 7929 | return NULL; |
f6bcfd97 BP |
7930 | } |
7931 | { | |
7932 | _arg3 = &temp; | |
7933 | if (! wxRect_helper(_obj3, &_arg3)) | |
7934 | return NULL; | |
7935 | } | |
7936 | { | |
474c48f9 | 7937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7938 | wxGrid_DrawTextRectangle(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 | 7939 | |
474c48f9 | 7940 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 7941 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
7942 | } Py_INCREF(Py_None); |
7943 | _resultobj = Py_None; | |
7944 | { | |
7945 | if (_obj2) | |
7946 | delete _arg2; | |
7947 | } | |
7948 | return _resultobj; | |
7949 | } | |
7950 | ||
f6bcfd97 BP |
7951 | #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
7952 | static PyObject *_wrap_wxGrid_GetTextBoxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7953 | PyObject * _resultobj; | |
7954 | wxGrid * _arg0; | |
7955 | wxDC * _arg1; | |
7956 | wxArrayString * _arg2; | |
7957 | long * _arg3; | |
7958 | long temp; | |
7959 | long * _arg4; | |
7960 | long temp0; | |
7961 | PyObject * _argo0 = 0; | |
7962 | PyObject * _argo1 = 0; | |
5c0282d5 | 7963 | PyObject * _obj2 = 0; |
f6bcfd97 BP |
7964 | char *_kwnames[] = { "self","dc","lines", NULL }; |
7965 | ||
7966 | self = self; | |
7967 | { | |
7968 | _arg3 = &temp; | |
7969 | } | |
7970 | { | |
7971 | _arg4 = &temp0; | |
7972 | } | |
5c0282d5 | 7973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetTextBoxSize",_kwnames,&_argo0,&_argo1,&_obj2)) |
f6bcfd97 BP |
7974 | return NULL; |
7975 | if (_argo0) { | |
7976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
7978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p."); | |
7979 | return NULL; | |
7980 | } | |
7981 | } | |
7982 | if (_argo1) { | |
7983 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7984 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p."); | |
7986 | return NULL; | |
7987 | } | |
7988 | } | |
5c0282d5 RD |
7989 | { |
7990 | if (! PySequence_Check(_obj2)) { | |
7991 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
f6bcfd97 | 7992 | return NULL; |
f6bcfd97 | 7993 | } |
5c0282d5 RD |
7994 | _arg2 = new wxArrayString; |
7995 | int i, len=PySequence_Length(_obj2); | |
7996 | for (i=0; i<len; i++) { | |
7997 | PyObject* item = PySequence_GetItem(_obj2, i); | |
c8bc7bb8 RD |
7998 | #if wxUSE_UNICODE |
7999 | PyObject* str = PyObject_Unicode(item); | |
8000 | _arg2->Add(PyUnicode_AsUnicode(str)); | |
8001 | #else | |
5c0282d5 | 8002 | PyObject* str = PyObject_Str(item); |
85247b36 | 8003 | _arg2->Add(PyString_AsString(str)); |
c8bc7bb8 | 8004 | #endif |
5c0282d5 RD |
8005 | Py_DECREF(item); |
8006 | Py_DECREF(str); | |
8007 | } | |
8008 | } | |
f6bcfd97 | 8009 | { |
474c48f9 | 8010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8011 | wxGrid_GetTextBoxSize(_arg0,*_arg1,*_arg2,_arg3,_arg4); |
f6bcfd97 | 8012 | |
474c48f9 | 8013 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8014 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8015 | } Py_INCREF(Py_None); |
8016 | _resultobj = Py_None; | |
8017 | { | |
8018 | PyObject *o; | |
8019 | o = PyInt_FromLong((long) (*_arg3)); | |
8020 | _resultobj = t_output_helper(_resultobj, o); | |
8021 | } | |
8022 | { | |
8023 | PyObject *o; | |
8024 | o = PyInt_FromLong((long) (*_arg4)); | |
8025 | _resultobj = t_output_helper(_resultobj, o); | |
5c0282d5 RD |
8026 | } |
8027 | { | |
8028 | if (_obj2) | |
8029 | delete _arg2; | |
f6bcfd97 BP |
8030 | } |
8031 | return _resultobj; | |
8032 | } | |
8033 | ||
8034 | #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch()) | |
8035 | static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8036 | PyObject * _resultobj; | |
8037 | wxGrid * _arg0; | |
8038 | PyObject * _argo0 = 0; | |
8039 | char *_kwnames[] = { "self", NULL }; | |
8040 | ||
8041 | self = self; | |
8042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0)) | |
8043 | return NULL; | |
8044 | if (_argo0) { | |
8045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p."); | |
8048 | return NULL; | |
8049 | } | |
8050 | } | |
8051 | { | |
474c48f9 | 8052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8053 | wxGrid_BeginBatch(_arg0); |
f6bcfd97 | 8054 | |
474c48f9 | 8055 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8056 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8057 | } Py_INCREF(Py_None); |
8058 | _resultobj = Py_None; | |
8059 | return _resultobj; | |
8060 | } | |
8061 | ||
8062 | #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch()) | |
8063 | static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8064 | PyObject * _resultobj; | |
8065 | wxGrid * _arg0; | |
8066 | PyObject * _argo0 = 0; | |
8067 | char *_kwnames[] = { "self", NULL }; | |
8068 | ||
8069 | self = self; | |
8070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0)) | |
8071 | return NULL; | |
8072 | if (_argo0) { | |
8073 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8074 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p."); | |
8076 | return NULL; | |
8077 | } | |
8078 | } | |
8079 | { | |
474c48f9 | 8080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8081 | wxGrid_EndBatch(_arg0); |
f6bcfd97 | 8082 | |
474c48f9 | 8083 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8084 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8085 | } Py_INCREF(Py_None); |
8086 | _resultobj = Py_None; | |
8087 | return _resultobj; | |
8088 | } | |
8089 | ||
8090 | #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount()) | |
8091 | static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8092 | PyObject * _resultobj; | |
8093 | int _result; | |
8094 | wxGrid * _arg0; | |
8095 | PyObject * _argo0 = 0; | |
8096 | char *_kwnames[] = { "self", NULL }; | |
8097 | ||
8098 | self = self; | |
8099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0)) | |
8100 | return NULL; | |
8101 | if (_argo0) { | |
8102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p."); | |
8105 | return NULL; | |
8106 | } | |
8107 | } | |
8108 | { | |
474c48f9 | 8109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8110 | _result = (int )wxGrid_GetBatchCount(_arg0); |
f6bcfd97 | 8111 | |
474c48f9 | 8112 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8113 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8114 | } _resultobj = Py_BuildValue("i",_result); |
8115 | return _resultobj; | |
8116 | } | |
8117 | ||
9a08cd12 RD |
8118 | #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh()) |
8119 | static PyObject *_wrap_wxGrid_ForceRefresh(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8120 | PyObject * _resultobj; | |
8121 | wxGrid * _arg0; | |
8122 | PyObject * _argo0 = 0; | |
8123 | char *_kwnames[] = { "self", NULL }; | |
8124 | ||
8125 | self = self; | |
8126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ForceRefresh",_kwnames,&_argo0)) | |
8127 | return NULL; | |
8128 | if (_argo0) { | |
8129 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8130 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8131 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p."); | |
8132 | return NULL; | |
8133 | } | |
8134 | } | |
8135 | { | |
474c48f9 | 8136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8137 | wxGrid_ForceRefresh(_arg0); |
9a08cd12 | 8138 | |
474c48f9 | 8139 | wxPyEndAllowThreads(__tstate); |
9a08cd12 RD |
8140 | if (PyErr_Occurred()) return NULL; |
8141 | } Py_INCREF(Py_None); | |
8142 | _resultobj = Py_None; | |
8143 | return _resultobj; | |
8144 | } | |
8145 | ||
4eb65923 RD |
8146 | #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1)) |
8147 | static PyObject *_wrap_wxGrid_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8148 | PyObject * _resultobj; | |
8149 | wxGrid * _arg0; | |
8150 | bool _arg1 = (bool ) TRUE; | |
8151 | wxRect * _arg2 = (wxRect *) NULL; | |
8152 | PyObject * _argo0 = 0; | |
8153 | int tempbool1 = (int) TRUE; | |
8154 | wxRect temp; | |
8155 | PyObject * _obj2 = 0; | |
8156 | char *_kwnames[] = { "self","eraseb","rect", NULL }; | |
8157 | ||
8158 | self = self; | |
8159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxGrid_Refresh",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
8160 | return NULL; | |
8161 | if (_argo0) { | |
8162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p."); | |
8165 | return NULL; | |
8166 | } | |
8167 | } | |
8168 | _arg1 = (bool ) tempbool1; | |
8169 | if (_obj2) | |
8170 | { | |
8171 | _arg2 = &temp; | |
8172 | if (! wxRect_helper(_obj2, &_arg2)) | |
8173 | return NULL; | |
8174 | } | |
8175 | { | |
8176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8177 | wxGrid_Refresh(_arg0,_arg1,_arg2); | |
8178 | ||
8179 | wxPyEndAllowThreads(__tstate); | |
8180 | if (PyErr_Occurred()) return NULL; | |
8181 | } Py_INCREF(Py_None); | |
8182 | _resultobj = Py_None; | |
8183 | return _resultobj; | |
8184 | } | |
8185 | ||
f6bcfd97 BP |
8186 | #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable()) |
8187 | static PyObject *_wrap_wxGrid_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8188 | PyObject * _resultobj; | |
8189 | bool _result; | |
8190 | wxGrid * _arg0; | |
8191 | PyObject * _argo0 = 0; | |
8192 | char *_kwnames[] = { "self", NULL }; | |
8193 | ||
8194 | self = self; | |
8195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsEditable",_kwnames,&_argo0)) | |
8196 | return NULL; | |
8197 | if (_argo0) { | |
8198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p."); | |
8201 | return NULL; | |
8202 | } | |
8203 | } | |
8204 | { | |
474c48f9 | 8205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8206 | _result = (bool )wxGrid_IsEditable(_arg0); |
f6bcfd97 | 8207 | |
474c48f9 | 8208 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8209 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8210 | } _resultobj = Py_BuildValue("i",_result); |
8211 | return _resultobj; | |
8212 | } | |
8213 | ||
8214 | #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0)) | |
8215 | static PyObject *_wrap_wxGrid_EnableEditing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8216 | PyObject * _resultobj; | |
8217 | wxGrid * _arg0; | |
8218 | bool _arg1; | |
8219 | PyObject * _argo0 = 0; | |
8220 | int tempbool1; | |
8221 | char *_kwnames[] = { "self","edit", NULL }; | |
8222 | ||
8223 | self = self; | |
8224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_EnableEditing",_kwnames,&_argo0,&tempbool1)) | |
8225 | return NULL; | |
8226 | if (_argo0) { | |
8227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p."); | |
8230 | return NULL; | |
8231 | } | |
8232 | } | |
8233 | _arg1 = (bool ) tempbool1; | |
8234 | { | |
474c48f9 | 8235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8236 | wxGrid_EnableEditing(_arg0,_arg1); |
f6bcfd97 | 8237 | |
474c48f9 | 8238 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8239 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8240 | } Py_INCREF(Py_None); |
8241 | _resultobj = Py_None; | |
8242 | return _resultobj; | |
8243 | } | |
8244 | ||
8245 | #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0)) | |
8246 | static PyObject *_wrap_wxGrid_EnableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8247 | PyObject * _resultobj; | |
8248 | wxGrid * _arg0; | |
8249 | bool _arg1 = (bool ) TRUE; | |
8250 | PyObject * _argo0 = 0; | |
8251 | int tempbool1 = (int) TRUE; | |
8252 | char *_kwnames[] = { "self","enable", NULL }; | |
8253 | ||
8254 | self = self; | |
8255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableCellEditControl",_kwnames,&_argo0,&tempbool1)) | |
8256 | return NULL; | |
8257 | if (_argo0) { | |
8258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p."); | |
8261 | return NULL; | |
8262 | } | |
8263 | } | |
8264 | _arg1 = (bool ) tempbool1; | |
8265 | { | |
474c48f9 | 8266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8267 | wxGrid_EnableCellEditControl(_arg0,_arg1); |
f6bcfd97 | 8268 | |
474c48f9 | 8269 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8270 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8271 | } Py_INCREF(Py_None); |
8272 | _resultobj = Py_None; | |
8273 | return _resultobj; | |
8274 | } | |
8275 | ||
8276 | #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl()) | |
8277 | static PyObject *_wrap_wxGrid_DisableCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8278 | PyObject * _resultobj; | |
8279 | wxGrid * _arg0; | |
8280 | PyObject * _argo0 = 0; | |
8281 | char *_kwnames[] = { "self", NULL }; | |
8282 | ||
8283 | self = self; | |
8284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableCellEditControl",_kwnames,&_argo0)) | |
8285 | return NULL; | |
8286 | if (_argo0) { | |
8287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p."); | |
8290 | return NULL; | |
8291 | } | |
8292 | } | |
8293 | { | |
474c48f9 | 8294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8295 | wxGrid_DisableCellEditControl(_arg0); |
f6bcfd97 | 8296 | |
474c48f9 | 8297 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8298 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8299 | } Py_INCREF(Py_None); |
8300 | _resultobj = Py_None; | |
8301 | return _resultobj; | |
8302 | } | |
8303 | ||
8304 | #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl()) | |
8305 | static PyObject *_wrap_wxGrid_CanEnableCellControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8306 | PyObject * _resultobj; | |
8307 | bool _result; | |
8308 | wxGrid * _arg0; | |
8309 | PyObject * _argo0 = 0; | |
8310 | char *_kwnames[] = { "self", NULL }; | |
8311 | ||
8312 | self = self; | |
8313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanEnableCellControl",_kwnames,&_argo0)) | |
8314 | return NULL; | |
8315 | if (_argo0) { | |
8316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p."); | |
8319 | return NULL; | |
8320 | } | |
8321 | } | |
8322 | { | |
474c48f9 | 8323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8324 | _result = (bool )wxGrid_CanEnableCellControl(_arg0); |
f6bcfd97 | 8325 | |
474c48f9 | 8326 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8327 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8328 | } _resultobj = Py_BuildValue("i",_result); |
8329 | return _resultobj; | |
8330 | } | |
8331 | ||
8332 | #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled()) | |
8333 | static PyObject *_wrap_wxGrid_IsCellEditControlEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8334 | PyObject * _resultobj; | |
8335 | bool _result; | |
8336 | wxGrid * _arg0; | |
8337 | PyObject * _argo0 = 0; | |
8338 | char *_kwnames[] = { "self", NULL }; | |
8339 | ||
8340 | self = self; | |
8341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlEnabled",_kwnames,&_argo0)) | |
8342 | return NULL; | |
8343 | if (_argo0) { | |
8344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p."); | |
8347 | return NULL; | |
8348 | } | |
8349 | } | |
8350 | { | |
474c48f9 | 8351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8352 | _result = (bool )wxGrid_IsCellEditControlEnabled(_arg0); |
f6bcfd97 | 8353 | |
474c48f9 | 8354 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8355 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8356 | } _resultobj = Py_BuildValue("i",_result); |
8357 | return _resultobj; | |
8358 | } | |
8359 | ||
8360 | #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown()) | |
8361 | static PyObject *_wrap_wxGrid_IsCellEditControlShown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8362 | PyObject * _resultobj; | |
8363 | bool _result; | |
8364 | wxGrid * _arg0; | |
8365 | PyObject * _argo0 = 0; | |
8366 | char *_kwnames[] = { "self", NULL }; | |
8367 | ||
8368 | self = self; | |
8369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCellEditControlShown",_kwnames,&_argo0)) | |
8370 | return NULL; | |
8371 | if (_argo0) { | |
8372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p."); | |
8375 | return NULL; | |
8376 | } | |
8377 | } | |
8378 | { | |
474c48f9 | 8379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8380 | _result = (bool )wxGrid_IsCellEditControlShown(_arg0); |
f6bcfd97 | 8381 | |
474c48f9 | 8382 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8383 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8384 | } _resultobj = Py_BuildValue("i",_result); |
8385 | return _resultobj; | |
8386 | } | |
8387 | ||
8388 | #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly()) | |
8389 | static PyObject *_wrap_wxGrid_IsCurrentCellReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8390 | PyObject * _resultobj; | |
8391 | bool _result; | |
8392 | wxGrid * _arg0; | |
8393 | PyObject * _argo0 = 0; | |
8394 | char *_kwnames[] = { "self", NULL }; | |
8395 | ||
8396 | self = self; | |
8397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsCurrentCellReadOnly",_kwnames,&_argo0)) | |
8398 | return NULL; | |
8399 | if (_argo0) { | |
8400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p."); | |
8403 | return NULL; | |
8404 | } | |
8405 | } | |
8406 | { | |
474c48f9 | 8407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8408 | _result = (bool )wxGrid_IsCurrentCellReadOnly(_arg0); |
f6bcfd97 | 8409 | |
474c48f9 | 8410 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8411 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8412 | } _resultobj = Py_BuildValue("i",_result); |
8413 | return _resultobj; | |
8414 | } | |
8415 | ||
8416 | #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl()) | |
8417 | static PyObject *_wrap_wxGrid_ShowCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8418 | PyObject * _resultobj; | |
8419 | wxGrid * _arg0; | |
8420 | PyObject * _argo0 = 0; | |
8421 | char *_kwnames[] = { "self", NULL }; | |
8422 | ||
8423 | self = self; | |
8424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ShowCellEditControl",_kwnames,&_argo0)) | |
8425 | return NULL; | |
8426 | if (_argo0) { | |
8427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p."); | |
8430 | return NULL; | |
8431 | } | |
8432 | } | |
8433 | { | |
474c48f9 | 8434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8435 | wxGrid_ShowCellEditControl(_arg0); |
f6bcfd97 | 8436 | |
474c48f9 | 8437 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8438 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8439 | } Py_INCREF(Py_None); |
8440 | _resultobj = Py_None; | |
8441 | return _resultobj; | |
8442 | } | |
8443 | ||
8444 | #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl()) | |
8445 | static PyObject *_wrap_wxGrid_HideCellEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8446 | PyObject * _resultobj; | |
8447 | wxGrid * _arg0; | |
8448 | PyObject * _argo0 = 0; | |
8449 | char *_kwnames[] = { "self", NULL }; | |
8450 | ||
8451 | self = self; | |
8452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_HideCellEditControl",_kwnames,&_argo0)) | |
8453 | return NULL; | |
8454 | if (_argo0) { | |
8455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p."); | |
8458 | return NULL; | |
8459 | } | |
8460 | } | |
8461 | { | |
474c48f9 | 8462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8463 | wxGrid_HideCellEditControl(_arg0); |
f6bcfd97 | 8464 | |
474c48f9 | 8465 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8466 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8467 | } Py_INCREF(Py_None); |
8468 | _resultobj = Py_None; | |
8469 | return _resultobj; | |
8470 | } | |
8471 | ||
8472 | #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue()) | |
8473 | static PyObject *_wrap_wxGrid_SaveEditControlValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8474 | PyObject * _resultobj; | |
8475 | wxGrid * _arg0; | |
8476 | PyObject * _argo0 = 0; | |
8477 | char *_kwnames[] = { "self", NULL }; | |
8478 | ||
8479 | self = self; | |
8480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SaveEditControlValue",_kwnames,&_argo0)) | |
8481 | return NULL; | |
8482 | if (_argo0) { | |
8483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p."); | |
8486 | return NULL; | |
8487 | } | |
8488 | } | |
8489 | { | |
474c48f9 | 8490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8491 | wxGrid_SaveEditControlValue(_arg0); |
f6bcfd97 | 8492 | |
474c48f9 | 8493 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8494 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8495 | } Py_INCREF(Py_None); |
8496 | _resultobj = Py_None; | |
8497 | return _resultobj; | |
8498 | } | |
8499 | ||
8500 | static wxGridCellCoords * wxGrid_XYToCell(wxGrid *self,int x,int y) { | |
8501 | wxGridCellCoords rv; | |
8502 | self->XYToCell(x, y, rv); | |
8503 | return new wxGridCellCoords(rv); | |
8504 | } | |
8505 | static PyObject *_wrap_wxGrid_XYToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8506 | PyObject * _resultobj; | |
8507 | wxGridCellCoords * _result; | |
8508 | wxGrid * _arg0; | |
8509 | int _arg1; | |
8510 | int _arg2; | |
8511 | PyObject * _argo0 = 0; | |
8512 | char *_kwnames[] = { "self","x","y", NULL }; | |
8513 | char _ptemp[128]; | |
8514 | ||
8515 | self = self; | |
8516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_XYToCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8517 | return NULL; | |
8518 | if (_argo0) { | |
8519 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8520 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p."); | |
8522 | return NULL; | |
8523 | } | |
8524 | } | |
8525 | { | |
474c48f9 | 8526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8527 | _result = (wxGridCellCoords *)wxGrid_XYToCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 8528 | |
474c48f9 | 8529 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8530 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8531 | } if (_result) { |
8532 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCellCoords_p"); | |
8533 | _resultobj = Py_BuildValue("s",_ptemp); | |
8534 | } else { | |
8535 | Py_INCREF(Py_None); | |
8536 | _resultobj = Py_None; | |
8537 | } | |
8538 | return _resultobj; | |
8539 | } | |
8540 | ||
8541 | #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0)) | |
8542 | static PyObject *_wrap_wxGrid_YToRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8543 | PyObject * _resultobj; | |
8544 | int _result; | |
8545 | wxGrid * _arg0; | |
8546 | int _arg1; | |
8547 | PyObject * _argo0 = 0; | |
8548 | char *_kwnames[] = { "self","y", NULL }; | |
8549 | ||
8550 | self = self; | |
8551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToRow",_kwnames,&_argo0,&_arg1)) | |
8552 | return NULL; | |
8553 | if (_argo0) { | |
8554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p."); | |
8557 | return NULL; | |
8558 | } | |
8559 | } | |
8560 | { | |
474c48f9 | 8561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8562 | _result = (int )wxGrid_YToRow(_arg0,_arg1); |
f6bcfd97 | 8563 | |
474c48f9 | 8564 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8565 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8566 | } _resultobj = Py_BuildValue("i",_result); |
8567 | return _resultobj; | |
8568 | } | |
8569 | ||
8570 | #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0)) | |
8571 | static PyObject *_wrap_wxGrid_XToCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8572 | PyObject * _resultobj; | |
8573 | int _result; | |
8574 | wxGrid * _arg0; | |
8575 | int _arg1; | |
8576 | PyObject * _argo0 = 0; | |
8577 | char *_kwnames[] = { "self","x", NULL }; | |
8578 | ||
8579 | self = self; | |
8580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToCol",_kwnames,&_argo0,&_arg1)) | |
8581 | return NULL; | |
8582 | if (_argo0) { | |
8583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p."); | |
8586 | return NULL; | |
8587 | } | |
8588 | } | |
8589 | { | |
474c48f9 | 8590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8591 | _result = (int )wxGrid_XToCol(_arg0,_arg1); |
f6bcfd97 | 8592 | |
474c48f9 | 8593 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8594 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8595 | } _resultobj = Py_BuildValue("i",_result); |
8596 | return _resultobj; | |
8597 | } | |
8598 | ||
8599 | #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0)) | |
8600 | static PyObject *_wrap_wxGrid_YToEdgeOfRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8601 | PyObject * _resultobj; | |
8602 | int _result; | |
8603 | wxGrid * _arg0; | |
8604 | int _arg1; | |
8605 | PyObject * _argo0 = 0; | |
8606 | char *_kwnames[] = { "self","y", NULL }; | |
8607 | ||
8608 | self = self; | |
8609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_YToEdgeOfRow",_kwnames,&_argo0,&_arg1)) | |
8610 | return NULL; | |
8611 | if (_argo0) { | |
8612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p."); | |
8615 | return NULL; | |
8616 | } | |
8617 | } | |
8618 | { | |
474c48f9 | 8619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8620 | _result = (int )wxGrid_YToEdgeOfRow(_arg0,_arg1); |
f6bcfd97 | 8621 | |
474c48f9 | 8622 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8623 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8624 | } _resultobj = Py_BuildValue("i",_result); |
8625 | return _resultobj; | |
8626 | } | |
8627 | ||
8628 | #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0)) | |
8629 | static PyObject *_wrap_wxGrid_XToEdgeOfCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8630 | PyObject * _resultobj; | |
8631 | int _result; | |
8632 | wxGrid * _arg0; | |
8633 | int _arg1; | |
8634 | PyObject * _argo0 = 0; | |
8635 | char *_kwnames[] = { "self","x", NULL }; | |
8636 | ||
8637 | self = self; | |
8638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_XToEdgeOfCol",_kwnames,&_argo0,&_arg1)) | |
8639 | return NULL; | |
8640 | if (_argo0) { | |
8641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p."); | |
8644 | return NULL; | |
8645 | } | |
8646 | } | |
8647 | { | |
474c48f9 | 8648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8649 | _result = (int )wxGrid_XToEdgeOfCol(_arg0,_arg1); |
f6bcfd97 | 8650 | |
474c48f9 | 8651 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8652 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8653 | } _resultobj = Py_BuildValue("i",_result); |
8654 | return _resultobj; | |
8655 | } | |
8656 | ||
8657 | #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1)) | |
8658 | static PyObject *_wrap_wxGrid_CellToRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8659 | PyObject * _resultobj; | |
8660 | wxRect * _result; | |
8661 | wxGrid * _arg0; | |
8662 | int _arg1; | |
8663 | int _arg2; | |
8664 | PyObject * _argo0 = 0; | |
8665 | char *_kwnames[] = { "self","row","col", NULL }; | |
8666 | char _ptemp[128]; | |
8667 | ||
8668 | self = self; | |
8669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellToRect",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8670 | return NULL; | |
8671 | if (_argo0) { | |
8672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p."); | |
8675 | return NULL; | |
8676 | } | |
8677 | } | |
8678 | { | |
474c48f9 | 8679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8680 | _result = new wxRect (wxGrid_CellToRect(_arg0,_arg1,_arg2)); |
f6bcfd97 | 8681 | |
474c48f9 | 8682 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8683 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8684 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
8685 | _resultobj = Py_BuildValue("s",_ptemp); | |
8686 | return _resultobj; | |
8687 | } | |
8688 | ||
8689 | #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow()) | |
8690 | static PyObject *_wrap_wxGrid_GetGridCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8691 | PyObject * _resultobj; | |
8692 | int _result; | |
8693 | wxGrid * _arg0; | |
8694 | PyObject * _argo0 = 0; | |
8695 | char *_kwnames[] = { "self", NULL }; | |
8696 | ||
8697 | self = self; | |
8698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorRow",_kwnames,&_argo0)) | |
8699 | return NULL; | |
8700 | if (_argo0) { | |
8701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p."); | |
8704 | return NULL; | |
8705 | } | |
8706 | } | |
8707 | { | |
474c48f9 | 8708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8709 | _result = (int )wxGrid_GetGridCursorRow(_arg0); |
f6bcfd97 | 8710 | |
474c48f9 | 8711 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8712 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8713 | } _resultobj = Py_BuildValue("i",_result); |
8714 | return _resultobj; | |
8715 | } | |
8716 | ||
8717 | #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol()) | |
8718 | static PyObject *_wrap_wxGrid_GetGridCursorCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8719 | PyObject * _resultobj; | |
8720 | int _result; | |
8721 | wxGrid * _arg0; | |
8722 | PyObject * _argo0 = 0; | |
8723 | char *_kwnames[] = { "self", NULL }; | |
8724 | ||
8725 | self = self; | |
8726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCursorCol",_kwnames,&_argo0)) | |
8727 | return NULL; | |
8728 | if (_argo0) { | |
8729 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8730 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8731 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p."); | |
8732 | return NULL; | |
8733 | } | |
8734 | } | |
8735 | { | |
474c48f9 | 8736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8737 | _result = (int )wxGrid_GetGridCursorCol(_arg0); |
f6bcfd97 | 8738 | |
474c48f9 | 8739 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8740 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8741 | } _resultobj = Py_BuildValue("i",_result); |
8742 | return _resultobj; | |
8743 | } | |
8744 | ||
8745 | #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2)) | |
8746 | static PyObject *_wrap_wxGrid_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8747 | PyObject * _resultobj; | |
8748 | bool _result; | |
8749 | wxGrid * _arg0; | |
8750 | int _arg1; | |
8751 | int _arg2; | |
8752 | bool _arg3 = (bool ) TRUE; | |
8753 | PyObject * _argo0 = 0; | |
8754 | int tempbool3 = (int) TRUE; | |
8755 | char *_kwnames[] = { "self","row","col","wholeCellVisible", NULL }; | |
8756 | ||
8757 | self = self; | |
8758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_IsVisible",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
8759 | return NULL; | |
8760 | if (_argo0) { | |
8761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p."); | |
8764 | return NULL; | |
8765 | } | |
8766 | } | |
8767 | _arg3 = (bool ) tempbool3; | |
8768 | { | |
474c48f9 | 8769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8770 | _result = (bool )wxGrid_IsVisible(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 8771 | |
474c48f9 | 8772 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8773 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8774 | } _resultobj = Py_BuildValue("i",_result); |
8775 | return _resultobj; | |
8776 | } | |
8777 | ||
8778 | #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1)) | |
8779 | static PyObject *_wrap_wxGrid_MakeCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8780 | PyObject * _resultobj; | |
8781 | wxGrid * _arg0; | |
8782 | int _arg1; | |
8783 | int _arg2; | |
8784 | PyObject * _argo0 = 0; | |
8785 | char *_kwnames[] = { "self","row","col", NULL }; | |
8786 | ||
8787 | self = self; | |
8788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_MakeCellVisible",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8789 | return NULL; | |
8790 | if (_argo0) { | |
8791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p."); | |
8794 | return NULL; | |
8795 | } | |
8796 | } | |
8797 | { | |
474c48f9 | 8798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8799 | wxGrid_MakeCellVisible(_arg0,_arg1,_arg2); |
f6bcfd97 | 8800 | |
474c48f9 | 8801 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8802 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8803 | } Py_INCREF(Py_None); |
8804 | _resultobj = Py_None; | |
8805 | return _resultobj; | |
8806 | } | |
8807 | ||
8808 | #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1)) | |
8809 | static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8810 | PyObject * _resultobj; | |
8811 | wxGrid * _arg0; | |
8812 | int _arg1; | |
8813 | int _arg2; | |
8814 | PyObject * _argo0 = 0; | |
8815 | char *_kwnames[] = { "self","row","col", NULL }; | |
8816 | ||
8817 | self = self; | |
8818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8819 | return NULL; | |
8820 | if (_argo0) { | |
8821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p."); | |
8824 | return NULL; | |
8825 | } | |
8826 | } | |
8827 | { | |
474c48f9 | 8828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8829 | wxGrid_SetGridCursor(_arg0,_arg1,_arg2); |
f6bcfd97 | 8830 | |
474c48f9 | 8831 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8832 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8833 | } Py_INCREF(Py_None); |
8834 | _resultobj = Py_None; | |
8835 | return _resultobj; | |
8836 | } | |
8837 | ||
8838 | #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0)) | |
8839 | static PyObject *_wrap_wxGrid_MoveCursorUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8840 | PyObject * _resultobj; | |
8841 | bool _result; | |
8842 | wxGrid * _arg0; | |
8843 | bool _arg1; | |
8844 | PyObject * _argo0 = 0; | |
8845 | int tempbool1; | |
8846 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8847 | ||
8848 | self = self; | |
8849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUp",_kwnames,&_argo0,&tempbool1)) | |
8850 | return NULL; | |
8851 | if (_argo0) { | |
8852 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8853 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p."); | |
8855 | return NULL; | |
8856 | } | |
8857 | } | |
8858 | _arg1 = (bool ) tempbool1; | |
8859 | { | |
474c48f9 | 8860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8861 | _result = (bool )wxGrid_MoveCursorUp(_arg0,_arg1); |
f6bcfd97 | 8862 | |
474c48f9 | 8863 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8864 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8865 | } _resultobj = Py_BuildValue("i",_result); |
8866 | return _resultobj; | |
8867 | } | |
8868 | ||
8869 | #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0)) | |
8870 | static PyObject *_wrap_wxGrid_MoveCursorDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8871 | PyObject * _resultobj; | |
8872 | bool _result; | |
8873 | wxGrid * _arg0; | |
8874 | bool _arg1; | |
8875 | PyObject * _argo0 = 0; | |
8876 | int tempbool1; | |
8877 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8878 | ||
8879 | self = self; | |
8880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDown",_kwnames,&_argo0,&tempbool1)) | |
8881 | return NULL; | |
8882 | if (_argo0) { | |
8883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p."); | |
8886 | return NULL; | |
8887 | } | |
8888 | } | |
8889 | _arg1 = (bool ) tempbool1; | |
8890 | { | |
474c48f9 | 8891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8892 | _result = (bool )wxGrid_MoveCursorDown(_arg0,_arg1); |
f6bcfd97 | 8893 | |
474c48f9 | 8894 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8895 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8896 | } _resultobj = Py_BuildValue("i",_result); |
8897 | return _resultobj; | |
8898 | } | |
8899 | ||
8900 | #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0)) | |
8901 | static PyObject *_wrap_wxGrid_MoveCursorLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8902 | PyObject * _resultobj; | |
8903 | bool _result; | |
8904 | wxGrid * _arg0; | |
8905 | bool _arg1; | |
8906 | PyObject * _argo0 = 0; | |
8907 | int tempbool1; | |
8908 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8909 | ||
8910 | self = self; | |
8911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeft",_kwnames,&_argo0,&tempbool1)) | |
8912 | return NULL; | |
8913 | if (_argo0) { | |
8914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p."); | |
8917 | return NULL; | |
8918 | } | |
8919 | } | |
8920 | _arg1 = (bool ) tempbool1; | |
8921 | { | |
474c48f9 | 8922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8923 | _result = (bool )wxGrid_MoveCursorLeft(_arg0,_arg1); |
f6bcfd97 | 8924 | |
474c48f9 | 8925 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8926 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8927 | } _resultobj = Py_BuildValue("i",_result); |
8928 | return _resultobj; | |
8929 | } | |
8930 | ||
8931 | #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0)) | |
8932 | static PyObject *_wrap_wxGrid_MoveCursorRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8933 | PyObject * _resultobj; | |
8934 | bool _result; | |
8935 | wxGrid * _arg0; | |
8936 | bool _arg1; | |
8937 | PyObject * _argo0 = 0; | |
8938 | int tempbool1; | |
8939 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
8940 | ||
8941 | self = self; | |
8942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRight",_kwnames,&_argo0,&tempbool1)) | |
8943 | return NULL; | |
8944 | if (_argo0) { | |
8945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p."); | |
8948 | return NULL; | |
8949 | } | |
8950 | } | |
8951 | _arg1 = (bool ) tempbool1; | |
8952 | { | |
474c48f9 | 8953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8954 | _result = (bool )wxGrid_MoveCursorRight(_arg0,_arg1); |
f6bcfd97 | 8955 | |
474c48f9 | 8956 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8957 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8958 | } _resultobj = Py_BuildValue("i",_result); |
8959 | return _resultobj; | |
8960 | } | |
8961 | ||
8962 | #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown()) | |
8963 | static PyObject *_wrap_wxGrid_MovePageDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8964 | PyObject * _resultobj; | |
8965 | bool _result; | |
8966 | wxGrid * _arg0; | |
8967 | PyObject * _argo0 = 0; | |
8968 | char *_kwnames[] = { "self", NULL }; | |
8969 | ||
8970 | self = self; | |
8971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageDown",_kwnames,&_argo0)) | |
8972 | return NULL; | |
8973 | if (_argo0) { | |
8974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
8976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p."); | |
8977 | return NULL; | |
8978 | } | |
8979 | } | |
8980 | { | |
474c48f9 | 8981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8982 | _result = (bool )wxGrid_MovePageDown(_arg0); |
f6bcfd97 | 8983 | |
474c48f9 | 8984 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 8985 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
8986 | } _resultobj = Py_BuildValue("i",_result); |
8987 | return _resultobj; | |
8988 | } | |
8989 | ||
8990 | #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp()) | |
8991 | static PyObject *_wrap_wxGrid_MovePageUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8992 | PyObject * _resultobj; | |
8993 | bool _result; | |
8994 | wxGrid * _arg0; | |
8995 | PyObject * _argo0 = 0; | |
8996 | char *_kwnames[] = { "self", NULL }; | |
8997 | ||
8998 | self = self; | |
8999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_MovePageUp",_kwnames,&_argo0)) | |
9000 | return NULL; | |
9001 | if (_argo0) { | |
9002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p."); | |
9005 | return NULL; | |
9006 | } | |
9007 | } | |
9008 | { | |
474c48f9 | 9009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9010 | _result = (bool )wxGrid_MovePageUp(_arg0); |
f6bcfd97 | 9011 | |
474c48f9 | 9012 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9013 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9014 | } _resultobj = Py_BuildValue("i",_result); |
9015 | return _resultobj; | |
9016 | } | |
9017 | ||
9018 | #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0)) | |
9019 | static PyObject *_wrap_wxGrid_MoveCursorUpBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9020 | PyObject * _resultobj; | |
9021 | bool _result; | |
9022 | wxGrid * _arg0; | |
9023 | bool _arg1; | |
9024 | PyObject * _argo0 = 0; | |
9025 | int tempbool1; | |
9026 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9027 | ||
9028 | self = self; | |
9029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorUpBlock",_kwnames,&_argo0,&tempbool1)) | |
9030 | return NULL; | |
9031 | if (_argo0) { | |
9032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p."); | |
9035 | return NULL; | |
9036 | } | |
9037 | } | |
9038 | _arg1 = (bool ) tempbool1; | |
9039 | { | |
474c48f9 | 9040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9041 | _result = (bool )wxGrid_MoveCursorUpBlock(_arg0,_arg1); |
f6bcfd97 | 9042 | |
474c48f9 | 9043 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9044 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9045 | } _resultobj = Py_BuildValue("i",_result); |
9046 | return _resultobj; | |
9047 | } | |
9048 | ||
9049 | #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0)) | |
9050 | static PyObject *_wrap_wxGrid_MoveCursorDownBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9051 | PyObject * _resultobj; | |
9052 | bool _result; | |
9053 | wxGrid * _arg0; | |
9054 | bool _arg1; | |
9055 | PyObject * _argo0 = 0; | |
9056 | int tempbool1; | |
9057 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9058 | ||
9059 | self = self; | |
9060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorDownBlock",_kwnames,&_argo0,&tempbool1)) | |
9061 | return NULL; | |
9062 | if (_argo0) { | |
9063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p."); | |
9066 | return NULL; | |
9067 | } | |
9068 | } | |
9069 | _arg1 = (bool ) tempbool1; | |
9070 | { | |
474c48f9 | 9071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9072 | _result = (bool )wxGrid_MoveCursorDownBlock(_arg0,_arg1); |
f6bcfd97 | 9073 | |
474c48f9 | 9074 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9075 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9076 | } _resultobj = Py_BuildValue("i",_result); |
9077 | return _resultobj; | |
9078 | } | |
9079 | ||
9080 | #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0)) | |
9081 | static PyObject *_wrap_wxGrid_MoveCursorLeftBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9082 | PyObject * _resultobj; | |
9083 | bool _result; | |
9084 | wxGrid * _arg0; | |
9085 | bool _arg1; | |
9086 | PyObject * _argo0 = 0; | |
9087 | int tempbool1; | |
9088 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9089 | ||
9090 | self = self; | |
9091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames,&_argo0,&tempbool1)) | |
9092 | return NULL; | |
9093 | if (_argo0) { | |
9094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p."); | |
9097 | return NULL; | |
9098 | } | |
9099 | } | |
9100 | _arg1 = (bool ) tempbool1; | |
9101 | { | |
474c48f9 | 9102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9103 | _result = (bool )wxGrid_MoveCursorLeftBlock(_arg0,_arg1); |
f6bcfd97 | 9104 | |
474c48f9 | 9105 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9106 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9107 | } _resultobj = Py_BuildValue("i",_result); |
9108 | return _resultobj; | |
9109 | } | |
9110 | ||
9111 | #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0)) | |
9112 | static PyObject *_wrap_wxGrid_MoveCursorRightBlock(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9113 | PyObject * _resultobj; | |
9114 | bool _result; | |
9115 | wxGrid * _arg0; | |
9116 | bool _arg1; | |
9117 | PyObject * _argo0 = 0; | |
9118 | int tempbool1; | |
9119 | char *_kwnames[] = { "self","expandSelection", NULL }; | |
9120 | ||
9121 | self = self; | |
9122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_MoveCursorRightBlock",_kwnames,&_argo0,&tempbool1)) | |
9123 | return NULL; | |
9124 | if (_argo0) { | |
9125 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9126 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p."); | |
9128 | return NULL; | |
9129 | } | |
9130 | } | |
9131 | _arg1 = (bool ) tempbool1; | |
9132 | { | |
474c48f9 | 9133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9134 | _result = (bool )wxGrid_MoveCursorRightBlock(_arg0,_arg1); |
f6bcfd97 | 9135 | |
474c48f9 | 9136 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9137 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9138 | } _resultobj = Py_BuildValue("i",_result); |
9139 | return _resultobj; | |
9140 | } | |
9141 | ||
9142 | #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize()) | |
9143 | static PyObject *_wrap_wxGrid_GetDefaultRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9144 | PyObject * _resultobj; | |
9145 | int _result; | |
9146 | wxGrid * _arg0; | |
9147 | PyObject * _argo0 = 0; | |
9148 | char *_kwnames[] = { "self", NULL }; | |
9149 | ||
9150 | self = self; | |
9151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowLabelSize",_kwnames,&_argo0)) | |
9152 | return NULL; | |
9153 | if (_argo0) { | |
9154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p."); | |
9157 | return NULL; | |
9158 | } | |
9159 | } | |
9160 | { | |
474c48f9 | 9161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9162 | _result = (int )wxGrid_GetDefaultRowLabelSize(_arg0); |
f6bcfd97 | 9163 | |
474c48f9 | 9164 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9165 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9166 | } _resultobj = Py_BuildValue("i",_result); |
9167 | return _resultobj; | |
9168 | } | |
9169 | ||
9170 | #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize()) | |
9171 | static PyObject *_wrap_wxGrid_GetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9172 | PyObject * _resultobj; | |
9173 | int _result; | |
9174 | wxGrid * _arg0; | |
9175 | PyObject * _argo0 = 0; | |
9176 | char *_kwnames[] = { "self", NULL }; | |
9177 | ||
9178 | self = self; | |
9179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelSize",_kwnames,&_argo0)) | |
9180 | return NULL; | |
9181 | if (_argo0) { | |
9182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p."); | |
9185 | return NULL; | |
9186 | } | |
9187 | } | |
9188 | { | |
474c48f9 | 9189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9190 | _result = (int )wxGrid_GetRowLabelSize(_arg0); |
f6bcfd97 | 9191 | |
474c48f9 | 9192 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9193 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9194 | } _resultobj = Py_BuildValue("i",_result); |
9195 | return _resultobj; | |
9196 | } | |
9197 | ||
9198 | #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize()) | |
9199 | static PyObject *_wrap_wxGrid_GetDefaultColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9200 | PyObject * _resultobj; | |
9201 | int _result; | |
9202 | wxGrid * _arg0; | |
9203 | PyObject * _argo0 = 0; | |
9204 | char *_kwnames[] = { "self", NULL }; | |
9205 | ||
9206 | self = self; | |
9207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColLabelSize",_kwnames,&_argo0)) | |
9208 | return NULL; | |
9209 | if (_argo0) { | |
9210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p."); | |
9213 | return NULL; | |
9214 | } | |
9215 | } | |
9216 | { | |
474c48f9 | 9217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9218 | _result = (int )wxGrid_GetDefaultColLabelSize(_arg0); |
f6bcfd97 | 9219 | |
474c48f9 | 9220 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9221 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9222 | } _resultobj = Py_BuildValue("i",_result); |
9223 | return _resultobj; | |
9224 | } | |
9225 | ||
9226 | #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize()) | |
9227 | static PyObject *_wrap_wxGrid_GetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9228 | PyObject * _resultobj; | |
9229 | int _result; | |
9230 | wxGrid * _arg0; | |
9231 | PyObject * _argo0 = 0; | |
9232 | char *_kwnames[] = { "self", NULL }; | |
9233 | ||
9234 | self = self; | |
9235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelSize",_kwnames,&_argo0)) | |
9236 | return NULL; | |
9237 | if (_argo0) { | |
9238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p."); | |
9241 | return NULL; | |
9242 | } | |
9243 | } | |
9244 | { | |
474c48f9 | 9245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9246 | _result = (int )wxGrid_GetColLabelSize(_arg0); |
f6bcfd97 | 9247 | |
474c48f9 | 9248 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9249 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9250 | } _resultobj = Py_BuildValue("i",_result); |
9251 | return _resultobj; | |
9252 | } | |
9253 | ||
9254 | #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour()) | |
9255 | static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9256 | PyObject * _resultobj; | |
9257 | wxColour * _result; | |
9258 | wxGrid * _arg0; | |
9259 | PyObject * _argo0 = 0; | |
9260 | char *_kwnames[] = { "self", NULL }; | |
9261 | char _ptemp[128]; | |
9262 | ||
9263 | self = self; | |
9264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0)) | |
9265 | return NULL; | |
9266 | if (_argo0) { | |
9267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p."); | |
9270 | return NULL; | |
9271 | } | |
9272 | } | |
9273 | { | |
474c48f9 | 9274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9275 | _result = new wxColour (wxGrid_GetLabelBackgroundColour(_arg0)); |
f6bcfd97 | 9276 | |
474c48f9 | 9277 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9278 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9279 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9280 | _resultobj = Py_BuildValue("s",_ptemp); | |
9281 | return _resultobj; | |
9282 | } | |
9283 | ||
9284 | #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour()) | |
9285 | static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9286 | PyObject * _resultobj; | |
9287 | wxColour * _result; | |
9288 | wxGrid * _arg0; | |
9289 | PyObject * _argo0 = 0; | |
9290 | char *_kwnames[] = { "self", NULL }; | |
9291 | char _ptemp[128]; | |
9292 | ||
9293 | self = self; | |
9294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0)) | |
9295 | return NULL; | |
9296 | if (_argo0) { | |
9297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p."); | |
9300 | return NULL; | |
9301 | } | |
9302 | } | |
9303 | { | |
474c48f9 | 9304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9305 | _result = new wxColour (wxGrid_GetLabelTextColour(_arg0)); |
f6bcfd97 | 9306 | |
474c48f9 | 9307 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9308 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9309 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9310 | _resultobj = Py_BuildValue("s",_ptemp); | |
9311 | return _resultobj; | |
9312 | } | |
9313 | ||
9314 | #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont()) | |
9315 | static PyObject *_wrap_wxGrid_GetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9316 | PyObject * _resultobj; | |
9317 | wxFont * _result; | |
9318 | wxGrid * _arg0; | |
9319 | PyObject * _argo0 = 0; | |
9320 | char *_kwnames[] = { "self", NULL }; | |
9321 | char _ptemp[128]; | |
9322 | ||
9323 | self = self; | |
9324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelFont",_kwnames,&_argo0)) | |
9325 | return NULL; | |
9326 | if (_argo0) { | |
9327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p."); | |
9330 | return NULL; | |
9331 | } | |
9332 | } | |
9333 | { | |
474c48f9 | 9334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9335 | _result = new wxFont (wxGrid_GetLabelFont(_arg0)); |
f6bcfd97 | 9336 | |
474c48f9 | 9337 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9338 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9339 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
9340 | _resultobj = Py_BuildValue("s",_ptemp); | |
9341 | return _resultobj; | |
9342 | } | |
9343 | ||
9344 | #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1)) | |
9345 | static PyObject *_wrap_wxGrid_GetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9346 | PyObject * _resultobj; | |
9347 | wxGrid * _arg0; | |
9348 | int * _arg1; | |
9349 | int temp; | |
9350 | int * _arg2; | |
9351 | int temp0; | |
9352 | PyObject * _argo0 = 0; | |
9353 | char *_kwnames[] = { "self", NULL }; | |
9354 | ||
9355 | self = self; | |
9356 | { | |
9357 | _arg1 = &temp; | |
9358 | } | |
9359 | { | |
9360 | _arg2 = &temp0; | |
9361 | } | |
9362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRowLabelAlignment",_kwnames,&_argo0)) | |
9363 | return NULL; | |
9364 | if (_argo0) { | |
9365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p."); | |
9368 | return NULL; | |
9369 | } | |
9370 | } | |
9371 | { | |
474c48f9 | 9372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9373 | wxGrid_GetRowLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9374 | |
474c48f9 | 9375 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9376 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9377 | } Py_INCREF(Py_None); |
9378 | _resultobj = Py_None; | |
9379 | { | |
9380 | PyObject *o; | |
9381 | o = PyInt_FromLong((long) (*_arg1)); | |
9382 | _resultobj = t_output_helper(_resultobj, o); | |
9383 | } | |
9384 | { | |
9385 | PyObject *o; | |
9386 | o = PyInt_FromLong((long) (*_arg2)); | |
9387 | _resultobj = t_output_helper(_resultobj, o); | |
9388 | } | |
9389 | return _resultobj; | |
9390 | } | |
9391 | ||
9392 | #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1)) | |
9393 | static PyObject *_wrap_wxGrid_GetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9394 | PyObject * _resultobj; | |
9395 | wxGrid * _arg0; | |
9396 | int * _arg1; | |
9397 | int temp; | |
9398 | int * _arg2; | |
9399 | int temp0; | |
9400 | PyObject * _argo0 = 0; | |
9401 | char *_kwnames[] = { "self", NULL }; | |
9402 | ||
9403 | self = self; | |
9404 | { | |
9405 | _arg1 = &temp; | |
9406 | } | |
9407 | { | |
9408 | _arg2 = &temp0; | |
9409 | } | |
9410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetColLabelAlignment",_kwnames,&_argo0)) | |
9411 | return NULL; | |
9412 | if (_argo0) { | |
9413 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9414 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p."); | |
9416 | return NULL; | |
9417 | } | |
9418 | } | |
9419 | { | |
474c48f9 | 9420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9421 | wxGrid_GetColLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9422 | |
474c48f9 | 9423 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9424 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9425 | } Py_INCREF(Py_None); |
9426 | _resultobj = Py_None; | |
9427 | { | |
9428 | PyObject *o; | |
9429 | o = PyInt_FromLong((long) (*_arg1)); | |
9430 | _resultobj = t_output_helper(_resultobj, o); | |
9431 | } | |
9432 | { | |
9433 | PyObject *o; | |
9434 | o = PyInt_FromLong((long) (*_arg2)); | |
9435 | _resultobj = t_output_helper(_resultobj, o); | |
9436 | } | |
9437 | return _resultobj; | |
9438 | } | |
9439 | ||
9440 | #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0)) | |
9441 | static PyObject *_wrap_wxGrid_GetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9442 | PyObject * _resultobj; | |
9443 | wxString * _result; | |
9444 | wxGrid * _arg0; | |
9445 | int _arg1; | |
9446 | PyObject * _argo0 = 0; | |
9447 | char *_kwnames[] = { "self","row", NULL }; | |
9448 | ||
9449 | self = self; | |
9450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowLabelValue",_kwnames,&_argo0,&_arg1)) | |
9451 | return NULL; | |
9452 | if (_argo0) { | |
9453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p."); | |
9456 | return NULL; | |
9457 | } | |
9458 | } | |
9459 | { | |
474c48f9 | 9460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9461 | _result = new wxString (wxGrid_GetRowLabelValue(_arg0,_arg1)); |
f6bcfd97 | 9462 | |
474c48f9 | 9463 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9464 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 9465 | }{ |
c8bc7bb8 RD |
9466 | #if wxUSE_UNICODE |
9467 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
9468 | #else | |
f6bcfd97 | 9469 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9470 | #endif |
f6bcfd97 BP |
9471 | } |
9472 | { | |
9473 | delete _result; | |
9474 | } | |
9475 | return _resultobj; | |
9476 | } | |
9477 | ||
9478 | #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0)) | |
9479 | static PyObject *_wrap_wxGrid_GetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9480 | PyObject * _resultobj; | |
9481 | wxString * _result; | |
9482 | wxGrid * _arg0; | |
9483 | int _arg1; | |
9484 | PyObject * _argo0 = 0; | |
9485 | char *_kwnames[] = { "self","col", NULL }; | |
9486 | ||
9487 | self = self; | |
9488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColLabelValue",_kwnames,&_argo0,&_arg1)) | |
9489 | return NULL; | |
9490 | if (_argo0) { | |
9491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p."); | |
9494 | return NULL; | |
9495 | } | |
9496 | } | |
9497 | { | |
474c48f9 | 9498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9499 | _result = new wxString (wxGrid_GetColLabelValue(_arg0,_arg1)); |
f6bcfd97 | 9500 | |
474c48f9 | 9501 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9502 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 9503 | }{ |
c8bc7bb8 RD |
9504 | #if wxUSE_UNICODE |
9505 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
9506 | #else | |
f6bcfd97 | 9507 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9508 | #endif |
f6bcfd97 BP |
9509 | } |
9510 | { | |
9511 | delete _result; | |
9512 | } | |
9513 | return _resultobj; | |
9514 | } | |
9515 | ||
9516 | #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour()) | |
9517 | static PyObject *_wrap_wxGrid_GetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9518 | PyObject * _resultobj; | |
9519 | wxColour * _result; | |
9520 | wxGrid * _arg0; | |
9521 | PyObject * _argo0 = 0; | |
9522 | char *_kwnames[] = { "self", NULL }; | |
9523 | char _ptemp[128]; | |
9524 | ||
9525 | self = self; | |
9526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridLineColour",_kwnames,&_argo0)) | |
9527 | return NULL; | |
9528 | if (_argo0) { | |
9529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p."); | |
9532 | return NULL; | |
9533 | } | |
9534 | } | |
9535 | { | |
474c48f9 | 9536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9537 | _result = new wxColour (wxGrid_GetGridLineColour(_arg0)); |
f6bcfd97 | 9538 | |
474c48f9 | 9539 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9540 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9541 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9542 | _resultobj = Py_BuildValue("s",_ptemp); | |
9543 | return _resultobj; | |
9544 | } | |
9545 | ||
9546 | #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour()) | |
9547 | static PyObject *_wrap_wxGrid_GetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9548 | PyObject * _resultobj; | |
9549 | wxColour * _result; | |
9550 | wxGrid * _arg0; | |
9551 | PyObject * _argo0 = 0; | |
9552 | char *_kwnames[] = { "self", NULL }; | |
9553 | char _ptemp[128]; | |
9554 | ||
9555 | self = self; | |
9556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightColour",_kwnames,&_argo0)) | |
9557 | return NULL; | |
9558 | if (_argo0) { | |
9559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p."); | |
9562 | return NULL; | |
9563 | } | |
9564 | } | |
9565 | { | |
474c48f9 | 9566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9567 | _result = new wxColour (wxGrid_GetCellHighlightColour(_arg0)); |
f6bcfd97 | 9568 | |
474c48f9 | 9569 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9570 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9571 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
9572 | _resultobj = Py_BuildValue("s",_ptemp); | |
9573 | return _resultobj; | |
9574 | } | |
9575 | ||
9df61a29 RD |
9576 | #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth()) |
9577 | static PyObject *_wrap_wxGrid_GetCellHighlightPenWidth(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_GetCellHighlightPenWidth",_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_GetCellHighlightPenWidth. Expected _wxGrid_p."); | |
9591 | return NULL; | |
9592 | } | |
9593 | } | |
9594 | { | |
474c48f9 | 9595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9596 | _result = (int )wxGrid_GetCellHighlightPenWidth(_arg0); |
9df61a29 | 9597 | |
474c48f9 | 9598 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9599 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
9600 | } _resultobj = Py_BuildValue("i",_result); |
9601 | return _resultobj; | |
9602 | } | |
9603 | ||
9604 | #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth()) | |
9605 | static PyObject *_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9606 | PyObject * _resultobj; | |
9607 | int _result; | |
9608 | wxGrid * _arg0; | |
9609 | PyObject * _argo0 = 0; | |
9610 | char *_kwnames[] = { "self", NULL }; | |
9611 | ||
9612 | self = self; | |
9613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames,&_argo0)) | |
9614 | return NULL; | |
9615 | if (_argo0) { | |
9616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p."); | |
9619 | return NULL; | |
9620 | } | |
9621 | } | |
9622 | { | |
474c48f9 | 9623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9624 | _result = (int )wxGrid_GetCellHighlightROPenWidth(_arg0); |
9df61a29 | 9625 | |
474c48f9 | 9626 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9627 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
9628 | } _resultobj = Py_BuildValue("i",_result); |
9629 | return _resultobj; | |
9630 | } | |
9631 | ||
f6bcfd97 BP |
9632 | #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0)) |
9633 | static PyObject *_wrap_wxGrid_SetRowLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9634 | PyObject * _resultobj; | |
9635 | wxGrid * _arg0; | |
9636 | int _arg1; | |
9637 | PyObject * _argo0 = 0; | |
9638 | char *_kwnames[] = { "self","width", NULL }; | |
9639 | ||
9640 | self = self; | |
9641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetRowLabelSize",_kwnames,&_argo0,&_arg1)) | |
9642 | return NULL; | |
9643 | if (_argo0) { | |
9644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p."); | |
9647 | return NULL; | |
9648 | } | |
9649 | } | |
9650 | { | |
474c48f9 | 9651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9652 | wxGrid_SetRowLabelSize(_arg0,_arg1); |
f6bcfd97 | 9653 | |
474c48f9 | 9654 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9655 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9656 | } Py_INCREF(Py_None); |
9657 | _resultobj = Py_None; | |
9658 | return _resultobj; | |
9659 | } | |
9660 | ||
9661 | #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0)) | |
9662 | static PyObject *_wrap_wxGrid_SetColLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9663 | PyObject * _resultobj; | |
9664 | wxGrid * _arg0; | |
9665 | int _arg1; | |
9666 | PyObject * _argo0 = 0; | |
9667 | char *_kwnames[] = { "self","height", NULL }; | |
9668 | ||
9669 | self = self; | |
9670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColLabelSize",_kwnames,&_argo0,&_arg1)) | |
9671 | return NULL; | |
9672 | if (_argo0) { | |
9673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p."); | |
9676 | return NULL; | |
9677 | } | |
9678 | } | |
9679 | { | |
474c48f9 | 9680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9681 | wxGrid_SetColLabelSize(_arg0,_arg1); |
f6bcfd97 | 9682 | |
474c48f9 | 9683 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9684 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9685 | } Py_INCREF(Py_None); |
9686 | _resultobj = Py_None; | |
9687 | return _resultobj; | |
9688 | } | |
9689 | ||
9690 | #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0)) | |
9691 | static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9692 | PyObject * _resultobj; | |
9693 | wxGrid * _arg0; | |
9694 | wxColour * _arg1; | |
9695 | PyObject * _argo0 = 0; | |
9696 | wxColour temp; | |
9697 | PyObject * _obj1 = 0; | |
9698 | char *_kwnames[] = { "self","arg2", NULL }; | |
9699 | ||
9700 | self = self; | |
9701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
9702 | return NULL; | |
9703 | if (_argo0) { | |
9704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p."); | |
9707 | return NULL; | |
9708 | } | |
9709 | } | |
9710 | { | |
9711 | _arg1 = &temp; | |
9712 | if (! wxColour_helper(_obj1, &_arg1)) | |
9713 | return NULL; | |
9714 | } | |
9715 | { | |
474c48f9 | 9716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9717 | wxGrid_SetLabelBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 9718 | |
474c48f9 | 9719 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9720 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9721 | } Py_INCREF(Py_None); |
9722 | _resultobj = Py_None; | |
9723 | return _resultobj; | |
9724 | } | |
9725 | ||
9726 | #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0)) | |
9727 | static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9728 | PyObject * _resultobj; | |
9729 | wxGrid * _arg0; | |
9730 | wxColour * _arg1; | |
9731 | PyObject * _argo0 = 0; | |
9732 | wxColour temp; | |
9733 | PyObject * _obj1 = 0; | |
9734 | char *_kwnames[] = { "self","arg2", NULL }; | |
9735 | ||
9736 | self = self; | |
9737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_obj1)) | |
9738 | return NULL; | |
9739 | if (_argo0) { | |
9740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p."); | |
9743 | return NULL; | |
9744 | } | |
9745 | } | |
9746 | { | |
9747 | _arg1 = &temp; | |
9748 | if (! wxColour_helper(_obj1, &_arg1)) | |
9749 | return NULL; | |
9750 | } | |
9751 | { | |
474c48f9 | 9752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9753 | wxGrid_SetLabelTextColour(_arg0,*_arg1); |
f6bcfd97 | 9754 | |
474c48f9 | 9755 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9756 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9757 | } Py_INCREF(Py_None); |
9758 | _resultobj = Py_None; | |
9759 | return _resultobj; | |
9760 | } | |
9761 | ||
9762 | #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0)) | |
9763 | static PyObject *_wrap_wxGrid_SetLabelFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9764 | PyObject * _resultobj; | |
9765 | wxGrid * _arg0; | |
9766 | wxFont * _arg1; | |
9767 | PyObject * _argo0 = 0; | |
9768 | PyObject * _argo1 = 0; | |
9769 | char *_kwnames[] = { "self","arg2", NULL }; | |
9770 | ||
9771 | self = self; | |
9772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelFont",_kwnames,&_argo0,&_argo1)) | |
9773 | return NULL; | |
9774 | if (_argo0) { | |
9775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p."); | |
9778 | return NULL; | |
9779 | } | |
9780 | } | |
9781 | if (_argo1) { | |
9782 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9783 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
9784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p."); | |
9785 | return NULL; | |
9786 | } | |
9787 | } | |
9788 | { | |
474c48f9 | 9789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9790 | wxGrid_SetLabelFont(_arg0,*_arg1); |
f6bcfd97 | 9791 | |
474c48f9 | 9792 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9793 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9794 | } Py_INCREF(Py_None); |
9795 | _resultobj = Py_None; | |
9796 | return _resultobj; | |
9797 | } | |
9798 | ||
9799 | #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1)) | |
9800 | static PyObject *_wrap_wxGrid_SetRowLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9801 | PyObject * _resultobj; | |
9802 | wxGrid * _arg0; | |
9803 | int _arg1; | |
9804 | int _arg2; | |
9805 | PyObject * _argo0 = 0; | |
9806 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
9807 | ||
9808 | self = self; | |
9809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9810 | return NULL; | |
9811 | if (_argo0) { | |
9812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p."); | |
9815 | return NULL; | |
9816 | } | |
9817 | } | |
9818 | { | |
474c48f9 | 9819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9820 | wxGrid_SetRowLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9821 | |
474c48f9 | 9822 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9823 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9824 | } Py_INCREF(Py_None); |
9825 | _resultobj = Py_None; | |
9826 | return _resultobj; | |
9827 | } | |
9828 | ||
9829 | #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1)) | |
9830 | static PyObject *_wrap_wxGrid_SetColLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9831 | PyObject * _resultobj; | |
9832 | wxGrid * _arg0; | |
9833 | int _arg1; | |
9834 | int _arg2; | |
9835 | PyObject * _argo0 = 0; | |
9836 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
9837 | ||
9838 | self = self; | |
9839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9840 | return NULL; | |
9841 | if (_argo0) { | |
9842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p."); | |
9845 | return NULL; | |
9846 | } | |
9847 | } | |
9848 | { | |
474c48f9 | 9849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9850 | wxGrid_SetColLabelAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 9851 | |
474c48f9 | 9852 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9853 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9854 | } Py_INCREF(Py_None); |
9855 | _resultobj = Py_None; | |
9856 | return _resultobj; | |
9857 | } | |
9858 | ||
9859 | #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1)) | |
9860 | static PyObject *_wrap_wxGrid_SetRowLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9861 | PyObject * _resultobj; | |
9862 | wxGrid * _arg0; | |
9863 | int _arg1; | |
9864 | wxString * _arg2; | |
9865 | PyObject * _argo0 = 0; | |
9866 | PyObject * _obj2 = 0; | |
9867 | char *_kwnames[] = { "self","row","arg3", NULL }; | |
9868 | ||
9869 | self = self; | |
9870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9871 | return NULL; | |
9872 | if (_argo0) { | |
9873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p."); | |
9876 | return NULL; | |
9877 | } | |
9878 | } | |
9879 | { | |
c8bc7bb8 RD |
9880 | _arg2 = wxString_in_helper(_obj2); |
9881 | if (_arg2 == NULL) | |
2cd2fac8 | 9882 | return NULL; |
f6bcfd97 BP |
9883 | } |
9884 | { | |
474c48f9 | 9885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9886 | wxGrid_SetRowLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 9887 | |
474c48f9 | 9888 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9889 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9890 | } Py_INCREF(Py_None); |
9891 | _resultobj = Py_None; | |
9892 | { | |
9893 | if (_obj2) | |
9894 | delete _arg2; | |
9895 | } | |
9896 | return _resultobj; | |
9897 | } | |
9898 | ||
9899 | #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1)) | |
9900 | static PyObject *_wrap_wxGrid_SetColLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9901 | PyObject * _resultobj; | |
9902 | wxGrid * _arg0; | |
9903 | int _arg1; | |
9904 | wxString * _arg2; | |
9905 | PyObject * _argo0 = 0; | |
9906 | PyObject * _obj2 = 0; | |
9907 | char *_kwnames[] = { "self","col","arg3", NULL }; | |
9908 | ||
9909 | self = self; | |
9910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColLabelValue",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9911 | return NULL; | |
9912 | if (_argo0) { | |
9913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p."); | |
9916 | return NULL; | |
9917 | } | |
9918 | } | |
9919 | { | |
c8bc7bb8 RD |
9920 | _arg2 = wxString_in_helper(_obj2); |
9921 | if (_arg2 == NULL) | |
2cd2fac8 | 9922 | return NULL; |
f6bcfd97 BP |
9923 | } |
9924 | { | |
474c48f9 | 9925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9926 | wxGrid_SetColLabelValue(_arg0,_arg1,*_arg2); |
f6bcfd97 | 9927 | |
474c48f9 | 9928 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9929 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9930 | } Py_INCREF(Py_None); |
9931 | _resultobj = Py_None; | |
9932 | { | |
9933 | if (_obj2) | |
9934 | delete _arg2; | |
9935 | } | |
9936 | return _resultobj; | |
9937 | } | |
9938 | ||
9939 | #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0)) | |
9940 | static PyObject *_wrap_wxGrid_SetGridLineColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9941 | PyObject * _resultobj; | |
9942 | wxGrid * _arg0; | |
9943 | wxColour * _arg1; | |
9944 | PyObject * _argo0 = 0; | |
9945 | wxColour temp; | |
9946 | PyObject * _obj1 = 0; | |
9947 | char *_kwnames[] = { "self","arg2", NULL }; | |
9948 | ||
9949 | self = self; | |
9950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetGridLineColour",_kwnames,&_argo0,&_obj1)) | |
9951 | return NULL; | |
9952 | if (_argo0) { | |
9953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p."); | |
9956 | return NULL; | |
9957 | } | |
9958 | } | |
9959 | { | |
9960 | _arg1 = &temp; | |
9961 | if (! wxColour_helper(_obj1, &_arg1)) | |
9962 | return NULL; | |
9963 | } | |
9964 | { | |
474c48f9 | 9965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9966 | wxGrid_SetGridLineColour(_arg0,*_arg1); |
f6bcfd97 | 9967 | |
474c48f9 | 9968 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 9969 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
9970 | } Py_INCREF(Py_None); |
9971 | _resultobj = Py_None; | |
9972 | return _resultobj; | |
9973 | } | |
9974 | ||
9975 | #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0)) | |
9976 | static PyObject *_wrap_wxGrid_SetCellHighlightColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9977 | PyObject * _resultobj; | |
9978 | wxGrid * _arg0; | |
9979 | wxColour * _arg1; | |
9980 | PyObject * _argo0 = 0; | |
9981 | wxColour temp; | |
9982 | PyObject * _obj1 = 0; | |
9983 | char *_kwnames[] = { "self","arg2", NULL }; | |
9984 | ||
9985 | self = self; | |
9986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetCellHighlightColour",_kwnames,&_argo0,&_obj1)) | |
9987 | return NULL; | |
9988 | if (_argo0) { | |
9989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
9991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p."); | |
9992 | return NULL; | |
9993 | } | |
9994 | } | |
9995 | { | |
9996 | _arg1 = &temp; | |
9997 | if (! wxColour_helper(_obj1, &_arg1)) | |
9998 | return NULL; | |
9999 | } | |
10000 | { | |
474c48f9 | 10001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10002 | wxGrid_SetCellHighlightColour(_arg0,*_arg1); |
f6bcfd97 | 10003 | |
474c48f9 | 10004 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10005 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10006 | } Py_INCREF(Py_None); |
10007 | _resultobj = Py_None; | |
10008 | return _resultobj; | |
10009 | } | |
10010 | ||
9df61a29 RD |
10011 | #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0)) |
10012 | static PyObject *_wrap_wxGrid_SetCellHighlightPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10013 | PyObject * _resultobj; | |
10014 | wxGrid * _arg0; | |
10015 | int _arg1; | |
10016 | PyObject * _argo0 = 0; | |
10017 | char *_kwnames[] = { "self","width", NULL }; | |
10018 | ||
10019 | self = self; | |
10020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames,&_argo0,&_arg1)) | |
10021 | return NULL; | |
10022 | if (_argo0) { | |
10023 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10024 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p."); | |
10026 | return NULL; | |
10027 | } | |
10028 | } | |
10029 | { | |
474c48f9 | 10030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10031 | wxGrid_SetCellHighlightPenWidth(_arg0,_arg1); |
9df61a29 | 10032 | |
474c48f9 | 10033 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10034 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
10035 | } Py_INCREF(Py_None); |
10036 | _resultobj = Py_None; | |
10037 | return _resultobj; | |
10038 | } | |
10039 | ||
10040 | #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0)) | |
10041 | static PyObject *_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10042 | PyObject * _resultobj; | |
10043 | wxGrid * _arg0; | |
10044 | int _arg1; | |
10045 | PyObject * _argo0 = 0; | |
10046 | char *_kwnames[] = { "self","width", NULL }; | |
10047 | ||
10048 | self = self; | |
10049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames,&_argo0,&_arg1)) | |
10050 | return NULL; | |
10051 | if (_argo0) { | |
10052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p."); | |
10055 | return NULL; | |
10056 | } | |
10057 | } | |
10058 | { | |
474c48f9 | 10059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10060 | wxGrid_SetCellHighlightROPenWidth(_arg0,_arg1); |
9df61a29 | 10061 | |
474c48f9 | 10062 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10063 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
10064 | } Py_INCREF(Py_None); |
10065 | _resultobj = Py_None; | |
10066 | return _resultobj; | |
10067 | } | |
10068 | ||
f6bcfd97 BP |
10069 | #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0)) |
10070 | static PyObject *_wrap_wxGrid_EnableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10071 | PyObject * _resultobj; | |
10072 | wxGrid * _arg0; | |
10073 | bool _arg1 = (bool ) TRUE; | |
10074 | PyObject * _argo0 = 0; | |
10075 | int tempbool1 = (int) TRUE; | |
10076 | char *_kwnames[] = { "self","enable", NULL }; | |
10077 | ||
10078 | self = self; | |
10079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragRowSize",_kwnames,&_argo0,&tempbool1)) | |
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_EnableDragRowSize. Expected _wxGrid_p."); | |
10085 | return NULL; | |
10086 | } | |
10087 | } | |
10088 | _arg1 = (bool ) tempbool1; | |
10089 | { | |
474c48f9 | 10090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10091 | wxGrid_EnableDragRowSize(_arg0,_arg1); |
f6bcfd97 | 10092 | |
474c48f9 | 10093 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10094 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10095 | } Py_INCREF(Py_None); |
10096 | _resultobj = Py_None; | |
10097 | return _resultobj; | |
10098 | } | |
10099 | ||
10100 | #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize()) | |
10101 | static PyObject *_wrap_wxGrid_DisableDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10102 | PyObject * _resultobj; | |
10103 | wxGrid * _arg0; | |
10104 | PyObject * _argo0 = 0; | |
10105 | char *_kwnames[] = { "self", NULL }; | |
10106 | ||
10107 | self = self; | |
10108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragRowSize",_kwnames,&_argo0)) | |
10109 | return NULL; | |
10110 | if (_argo0) { | |
10111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p."); | |
10114 | return NULL; | |
10115 | } | |
10116 | } | |
10117 | { | |
474c48f9 | 10118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10119 | wxGrid_DisableDragRowSize(_arg0); |
f6bcfd97 | 10120 | |
474c48f9 | 10121 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10122 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10123 | } Py_INCREF(Py_None); |
10124 | _resultobj = Py_None; | |
10125 | return _resultobj; | |
10126 | } | |
10127 | ||
10128 | #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize()) | |
10129 | static PyObject *_wrap_wxGrid_CanDragRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10130 | PyObject * _resultobj; | |
10131 | bool _result; | |
10132 | wxGrid * _arg0; | |
10133 | PyObject * _argo0 = 0; | |
10134 | char *_kwnames[] = { "self", NULL }; | |
10135 | ||
10136 | self = self; | |
10137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragRowSize",_kwnames,&_argo0)) | |
10138 | return NULL; | |
10139 | if (_argo0) { | |
10140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p."); | |
10143 | return NULL; | |
10144 | } | |
10145 | } | |
10146 | { | |
474c48f9 | 10147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10148 | _result = (bool )wxGrid_CanDragRowSize(_arg0); |
f6bcfd97 | 10149 | |
474c48f9 | 10150 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10151 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10152 | } _resultobj = Py_BuildValue("i",_result); |
10153 | return _resultobj; | |
10154 | } | |
10155 | ||
10156 | #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0)) | |
10157 | static PyObject *_wrap_wxGrid_EnableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10158 | PyObject * _resultobj; | |
10159 | wxGrid * _arg0; | |
10160 | bool _arg1 = (bool ) TRUE; | |
10161 | PyObject * _argo0 = 0; | |
10162 | int tempbool1 = (int) TRUE; | |
10163 | char *_kwnames[] = { "self","enable", NULL }; | |
10164 | ||
10165 | self = self; | |
10166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragColSize",_kwnames,&_argo0,&tempbool1)) | |
10167 | return NULL; | |
10168 | if (_argo0) { | |
10169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p."); | |
10172 | return NULL; | |
10173 | } | |
10174 | } | |
10175 | _arg1 = (bool ) tempbool1; | |
10176 | { | |
474c48f9 | 10177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10178 | wxGrid_EnableDragColSize(_arg0,_arg1); |
f6bcfd97 | 10179 | |
474c48f9 | 10180 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10181 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10182 | } Py_INCREF(Py_None); |
10183 | _resultobj = Py_None; | |
10184 | return _resultobj; | |
10185 | } | |
10186 | ||
10187 | #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize()) | |
10188 | static PyObject *_wrap_wxGrid_DisableDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10189 | PyObject * _resultobj; | |
10190 | wxGrid * _arg0; | |
10191 | PyObject * _argo0 = 0; | |
10192 | char *_kwnames[] = { "self", NULL }; | |
10193 | ||
10194 | self = self; | |
10195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragColSize",_kwnames,&_argo0)) | |
10196 | return NULL; | |
10197 | if (_argo0) { | |
10198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p."); | |
10201 | return NULL; | |
10202 | } | |
10203 | } | |
10204 | { | |
474c48f9 | 10205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10206 | wxGrid_DisableDragColSize(_arg0); |
f6bcfd97 | 10207 | |
474c48f9 | 10208 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10209 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10210 | } Py_INCREF(Py_None); |
10211 | _resultobj = Py_None; | |
10212 | return _resultobj; | |
10213 | } | |
10214 | ||
10215 | #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize()) | |
10216 | static PyObject *_wrap_wxGrid_CanDragColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10217 | PyObject * _resultobj; | |
10218 | bool _result; | |
10219 | wxGrid * _arg0; | |
10220 | PyObject * _argo0 = 0; | |
10221 | char *_kwnames[] = { "self", NULL }; | |
10222 | ||
10223 | self = self; | |
10224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragColSize",_kwnames,&_argo0)) | |
10225 | return NULL; | |
10226 | if (_argo0) { | |
10227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p."); | |
10230 | return NULL; | |
10231 | } | |
10232 | } | |
10233 | { | |
474c48f9 | 10234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10235 | _result = (bool )wxGrid_CanDragColSize(_arg0); |
f6bcfd97 | 10236 | |
474c48f9 | 10237 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10238 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10239 | } _resultobj = Py_BuildValue("i",_result); |
10240 | return _resultobj; | |
10241 | } | |
10242 | ||
10243 | #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0)) | |
10244 | static PyObject *_wrap_wxGrid_EnableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10245 | PyObject * _resultobj; | |
10246 | wxGrid * _arg0; | |
10247 | bool _arg1 = (bool ) TRUE; | |
10248 | PyObject * _argo0 = 0; | |
10249 | int tempbool1 = (int) TRUE; | |
10250 | char *_kwnames[] = { "self","enable", NULL }; | |
10251 | ||
10252 | self = self; | |
10253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableDragGridSize",_kwnames,&_argo0,&tempbool1)) | |
10254 | return NULL; | |
10255 | if (_argo0) { | |
10256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p."); | |
10259 | return NULL; | |
10260 | } | |
10261 | } | |
10262 | _arg1 = (bool ) tempbool1; | |
10263 | { | |
474c48f9 | 10264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10265 | wxGrid_EnableDragGridSize(_arg0,_arg1); |
f6bcfd97 | 10266 | |
474c48f9 | 10267 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10268 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10269 | } Py_INCREF(Py_None); |
10270 | _resultobj = Py_None; | |
10271 | return _resultobj; | |
10272 | } | |
10273 | ||
10274 | #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize()) | |
10275 | static PyObject *_wrap_wxGrid_DisableDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10276 | PyObject * _resultobj; | |
10277 | wxGrid * _arg0; | |
10278 | PyObject * _argo0 = 0; | |
10279 | char *_kwnames[] = { "self", NULL }; | |
10280 | ||
10281 | self = self; | |
10282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_DisableDragGridSize",_kwnames,&_argo0)) | |
10283 | return NULL; | |
10284 | if (_argo0) { | |
10285 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10286 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p."); | |
10288 | return NULL; | |
10289 | } | |
10290 | } | |
10291 | { | |
474c48f9 | 10292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10293 | wxGrid_DisableDragGridSize(_arg0); |
f6bcfd97 | 10294 | |
474c48f9 | 10295 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10296 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10297 | } Py_INCREF(Py_None); |
10298 | _resultobj = Py_None; | |
10299 | return _resultobj; | |
10300 | } | |
10301 | ||
10302 | #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize()) | |
10303 | static PyObject *_wrap_wxGrid_CanDragGridSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10304 | PyObject * _resultobj; | |
10305 | bool _result; | |
10306 | wxGrid * _arg0; | |
10307 | PyObject * _argo0 = 0; | |
10308 | char *_kwnames[] = { "self", NULL }; | |
10309 | ||
10310 | self = self; | |
10311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CanDragGridSize",_kwnames,&_argo0)) | |
10312 | return NULL; | |
10313 | if (_argo0) { | |
10314 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10315 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p."); | |
10317 | return NULL; | |
10318 | } | |
10319 | } | |
10320 | { | |
474c48f9 | 10321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10322 | _result = (bool )wxGrid_CanDragGridSize(_arg0); |
f6bcfd97 | 10323 | |
474c48f9 | 10324 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10325 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10326 | } _resultobj = Py_BuildValue("i",_result); |
10327 | return _resultobj; | |
10328 | } | |
10329 | ||
4eb65923 RD |
10330 | #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2)) |
10331 | static PyObject *_wrap_wxGrid_SetAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10332 | PyObject * _resultobj; | |
10333 | wxGrid * _arg0; | |
10334 | int _arg1; | |
10335 | int _arg2; | |
10336 | wxGridCellAttr * _arg3; | |
10337 | PyObject * _argo0 = 0; | |
10338 | PyObject * _argo3 = 0; | |
10339 | char *_kwnames[] = { "self","row","col","attr", NULL }; | |
10340 | ||
10341 | self = self; | |
10342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
10343 | return NULL; | |
10344 | if (_argo0) { | |
10345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p."); | |
10348 | return NULL; | |
10349 | } | |
10350 | } | |
10351 | if (_argo3) { | |
10352 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
10353 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellAttr_p")) { | |
10354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p."); | |
10355 | return NULL; | |
10356 | } | |
10357 | } | |
10358 | { | |
10359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10360 | wxGrid_SetAttr(_arg0,_arg1,_arg2,_arg3); | |
10361 | ||
10362 | wxPyEndAllowThreads(__tstate); | |
10363 | if (PyErr_Occurred()) return NULL; | |
10364 | } Py_INCREF(Py_None); | |
10365 | _resultobj = Py_None; | |
10366 | return _resultobj; | |
10367 | } | |
10368 | ||
f6bcfd97 BP |
10369 | #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1)) |
10370 | static PyObject *_wrap_wxGrid_SetRowAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10371 | PyObject * _resultobj; | |
10372 | wxGrid * _arg0; | |
10373 | int _arg1; | |
10374 | wxGridCellAttr * _arg2; | |
10375 | PyObject * _argo0 = 0; | |
10376 | PyObject * _argo2 = 0; | |
10377 | char *_kwnames[] = { "self","row","attr", NULL }; | |
10378 | ||
10379 | self = self; | |
10380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetRowAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
10381 | return NULL; | |
10382 | if (_argo0) { | |
10383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p."); | |
10386 | return NULL; | |
10387 | } | |
10388 | } | |
10389 | if (_argo2) { | |
10390 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10391 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
10392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p."); | |
10393 | return NULL; | |
10394 | } | |
10395 | } | |
10396 | { | |
474c48f9 | 10397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10398 | wxGrid_SetRowAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 10399 | |
474c48f9 | 10400 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10401 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10402 | } Py_INCREF(Py_None); |
10403 | _resultobj = Py_None; | |
10404 | return _resultobj; | |
10405 | } | |
10406 | ||
10407 | #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1)) | |
10408 | static PyObject *_wrap_wxGrid_SetColAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10409 | PyObject * _resultobj; | |
10410 | wxGrid * _arg0; | |
10411 | int _arg1; | |
10412 | wxGridCellAttr * _arg2; | |
10413 | PyObject * _argo0 = 0; | |
10414 | PyObject * _argo2 = 0; | |
10415 | char *_kwnames[] = { "self","col","attr", NULL }; | |
10416 | ||
10417 | self = self; | |
10418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColAttr",_kwnames,&_argo0,&_arg1,&_argo2)) | |
10419 | return NULL; | |
10420 | if (_argo0) { | |
10421 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10422 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p."); | |
10424 | return NULL; | |
10425 | } | |
10426 | } | |
10427 | if (_argo2) { | |
10428 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10429 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellAttr_p")) { | |
10430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p."); | |
10431 | return NULL; | |
10432 | } | |
10433 | } | |
10434 | { | |
474c48f9 | 10435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10436 | wxGrid_SetColAttr(_arg0,_arg1,_arg2); |
f6bcfd97 | 10437 | |
474c48f9 | 10438 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10439 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10440 | } Py_INCREF(Py_None); |
10441 | _resultobj = Py_None; | |
10442 | return _resultobj; | |
10443 | } | |
10444 | ||
10445 | #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0)) | |
10446 | static PyObject *_wrap_wxGrid_SetColFormatBool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10447 | PyObject * _resultobj; | |
10448 | wxGrid * _arg0; | |
10449 | int _arg1; | |
10450 | PyObject * _argo0 = 0; | |
10451 | char *_kwnames[] = { "self","col", NULL }; | |
10452 | ||
10453 | self = self; | |
10454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatBool",_kwnames,&_argo0,&_arg1)) | |
10455 | return NULL; | |
10456 | if (_argo0) { | |
10457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p."); | |
10460 | return NULL; | |
10461 | } | |
10462 | } | |
10463 | { | |
474c48f9 | 10464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10465 | wxGrid_SetColFormatBool(_arg0,_arg1); |
f6bcfd97 | 10466 | |
474c48f9 | 10467 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10468 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10469 | } Py_INCREF(Py_None); |
10470 | _resultobj = Py_None; | |
10471 | return _resultobj; | |
10472 | } | |
10473 | ||
10474 | #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0)) | |
10475 | static PyObject *_wrap_wxGrid_SetColFormatNumber(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10476 | PyObject * _resultobj; | |
10477 | wxGrid * _arg0; | |
10478 | int _arg1; | |
10479 | PyObject * _argo0 = 0; | |
10480 | char *_kwnames[] = { "self","col", NULL }; | |
10481 | ||
10482 | self = self; | |
10483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetColFormatNumber",_kwnames,&_argo0,&_arg1)) | |
10484 | return NULL; | |
10485 | if (_argo0) { | |
10486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p."); | |
10489 | return NULL; | |
10490 | } | |
10491 | } | |
10492 | { | |
474c48f9 | 10493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10494 | wxGrid_SetColFormatNumber(_arg0,_arg1); |
f6bcfd97 | 10495 | |
474c48f9 | 10496 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10497 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10498 | } Py_INCREF(Py_None); |
10499 | _resultobj = Py_None; | |
10500 | return _resultobj; | |
10501 | } | |
10502 | ||
10503 | #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2)) | |
10504 | static PyObject *_wrap_wxGrid_SetColFormatFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10505 | PyObject * _resultobj; | |
10506 | wxGrid * _arg0; | |
10507 | int _arg1; | |
10508 | int _arg2 = (int ) -1; | |
10509 | int _arg3 = (int ) -1; | |
10510 | PyObject * _argo0 = 0; | |
10511 | char *_kwnames[] = { "self","col","width","precision", NULL }; | |
10512 | ||
10513 | self = self; | |
10514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
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_SetColFormatFloat. Expected _wxGrid_p."); | |
10520 | return NULL; | |
10521 | } | |
10522 | } | |
10523 | { | |
474c48f9 | 10524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10525 | wxGrid_SetColFormatFloat(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 10526 | |
474c48f9 | 10527 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 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_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1)) | |
10535 | static PyObject *_wrap_wxGrid_SetColFormatCustom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10536 | PyObject * _resultobj; | |
10537 | wxGrid * _arg0; | |
10538 | int _arg1; | |
10539 | wxString * _arg2; | |
10540 | PyObject * _argo0 = 0; | |
10541 | PyObject * _obj2 = 0; | |
10542 | char *_kwnames[] = { "self","col","typeName", NULL }; | |
10543 | ||
10544 | self = self; | |
10545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxGrid_SetColFormatCustom",_kwnames,&_argo0,&_arg1,&_obj2)) | |
10546 | return NULL; | |
10547 | if (_argo0) { | |
10548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p."); | |
10551 | return NULL; | |
10552 | } | |
10553 | } | |
10554 | { | |
c8bc7bb8 RD |
10555 | _arg2 = wxString_in_helper(_obj2); |
10556 | if (_arg2 == NULL) | |
2cd2fac8 | 10557 | return NULL; |
f6bcfd97 BP |
10558 | } |
10559 | { | |
474c48f9 | 10560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10561 | wxGrid_SetColFormatCustom(_arg0,_arg1,*_arg2); |
f6bcfd97 | 10562 | |
474c48f9 | 10563 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10564 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10565 | } Py_INCREF(Py_None); |
10566 | _resultobj = Py_None; | |
10567 | { | |
10568 | if (_obj2) | |
10569 | delete _arg2; | |
10570 | } | |
10571 | return _resultobj; | |
10572 | } | |
10573 | ||
10574 | #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0)) | |
10575 | static PyObject *_wrap_wxGrid_EnableGridLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10576 | PyObject * _resultobj; | |
10577 | wxGrid * _arg0; | |
10578 | bool _arg1 = (bool ) TRUE; | |
10579 | PyObject * _argo0 = 0; | |
10580 | int tempbool1 = (int) TRUE; | |
10581 | char *_kwnames[] = { "self","enable", NULL }; | |
10582 | ||
10583 | self = self; | |
10584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_EnableGridLines",_kwnames,&_argo0,&tempbool1)) | |
10585 | return NULL; | |
10586 | if (_argo0) { | |
10587 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10588 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10589 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p."); | |
10590 | return NULL; | |
10591 | } | |
10592 | } | |
10593 | _arg1 = (bool ) tempbool1; | |
10594 | { | |
474c48f9 | 10595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10596 | wxGrid_EnableGridLines(_arg0,_arg1); |
f6bcfd97 | 10597 | |
474c48f9 | 10598 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10599 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10600 | } Py_INCREF(Py_None); |
10601 | _resultobj = Py_None; | |
10602 | return _resultobj; | |
10603 | } | |
10604 | ||
10605 | #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled()) | |
10606 | static PyObject *_wrap_wxGrid_GridLinesEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10607 | PyObject * _resultobj; | |
10608 | bool _result; | |
10609 | wxGrid * _arg0; | |
10610 | PyObject * _argo0 = 0; | |
10611 | char *_kwnames[] = { "self", NULL }; | |
10612 | ||
10613 | self = self; | |
10614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GridLinesEnabled",_kwnames,&_argo0)) | |
10615 | return NULL; | |
10616 | if (_argo0) { | |
10617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p."); | |
10620 | return NULL; | |
10621 | } | |
10622 | } | |
10623 | { | |
474c48f9 | 10624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10625 | _result = (bool )wxGrid_GridLinesEnabled(_arg0); |
f6bcfd97 | 10626 | |
474c48f9 | 10627 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10628 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10629 | } _resultobj = Py_BuildValue("i",_result); |
10630 | return _resultobj; | |
10631 | } | |
10632 | ||
10633 | #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize()) | |
10634 | static PyObject *_wrap_wxGrid_GetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10635 | PyObject * _resultobj; | |
10636 | int _result; | |
10637 | wxGrid * _arg0; | |
10638 | PyObject * _argo0 = 0; | |
10639 | char *_kwnames[] = { "self", NULL }; | |
10640 | ||
10641 | self = self; | |
10642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRowSize",_kwnames,&_argo0)) | |
10643 | return NULL; | |
10644 | if (_argo0) { | |
10645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p."); | |
10648 | return NULL; | |
10649 | } | |
10650 | } | |
10651 | { | |
474c48f9 | 10652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10653 | _result = (int )wxGrid_GetDefaultRowSize(_arg0); |
f6bcfd97 | 10654 | |
474c48f9 | 10655 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10656 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10657 | } _resultobj = Py_BuildValue("i",_result); |
10658 | return _resultobj; | |
10659 | } | |
10660 | ||
10661 | #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0)) | |
10662 | static PyObject *_wrap_wxGrid_GetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10663 | PyObject * _resultobj; | |
10664 | int _result; | |
10665 | wxGrid * _arg0; | |
10666 | int _arg1; | |
10667 | PyObject * _argo0 = 0; | |
10668 | char *_kwnames[] = { "self","row", NULL }; | |
10669 | ||
10670 | self = self; | |
10671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowSize",_kwnames,&_argo0,&_arg1)) | |
10672 | return NULL; | |
10673 | if (_argo0) { | |
10674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p."); | |
10677 | return NULL; | |
10678 | } | |
10679 | } | |
10680 | { | |
474c48f9 | 10681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10682 | _result = (int )wxGrid_GetRowSize(_arg0,_arg1); |
f6bcfd97 | 10683 | |
474c48f9 | 10684 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10685 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10686 | } _resultobj = Py_BuildValue("i",_result); |
10687 | return _resultobj; | |
10688 | } | |
10689 | ||
10690 | #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize()) | |
10691 | static PyObject *_wrap_wxGrid_GetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10692 | PyObject * _resultobj; | |
10693 | int _result; | |
10694 | wxGrid * _arg0; | |
10695 | PyObject * _argo0 = 0; | |
10696 | char *_kwnames[] = { "self", NULL }; | |
10697 | ||
10698 | self = self; | |
10699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultColSize",_kwnames,&_argo0)) | |
10700 | return NULL; | |
10701 | if (_argo0) { | |
10702 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10703 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10704 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p."); | |
10705 | return NULL; | |
10706 | } | |
10707 | } | |
10708 | { | |
474c48f9 | 10709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10710 | _result = (int )wxGrid_GetDefaultColSize(_arg0); |
f6bcfd97 | 10711 | |
474c48f9 | 10712 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10713 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10714 | } _resultobj = Py_BuildValue("i",_result); |
10715 | return _resultobj; | |
10716 | } | |
10717 | ||
10718 | #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0)) | |
10719 | static PyObject *_wrap_wxGrid_GetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10720 | PyObject * _resultobj; | |
10721 | int _result; | |
10722 | wxGrid * _arg0; | |
10723 | int _arg1; | |
10724 | PyObject * _argo0 = 0; | |
10725 | char *_kwnames[] = { "self","col", NULL }; | |
10726 | ||
10727 | self = self; | |
10728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColSize",_kwnames,&_argo0,&_arg1)) | |
10729 | return NULL; | |
10730 | if (_argo0) { | |
10731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p."); | |
10734 | return NULL; | |
10735 | } | |
10736 | } | |
10737 | { | |
474c48f9 | 10738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10739 | _result = (int )wxGrid_GetColSize(_arg0,_arg1); |
f6bcfd97 | 10740 | |
474c48f9 | 10741 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10742 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10743 | } _resultobj = Py_BuildValue("i",_result); |
10744 | return _resultobj; | |
10745 | } | |
10746 | ||
10747 | #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour()) | |
10748 | static PyObject *_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10749 | PyObject * _resultobj; | |
10750 | wxColour * _result; | |
10751 | wxGrid * _arg0; | |
10752 | PyObject * _argo0 = 0; | |
10753 | char *_kwnames[] = { "self", NULL }; | |
10754 | char _ptemp[128]; | |
10755 | ||
10756 | self = self; | |
10757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames,&_argo0)) | |
10758 | return NULL; | |
10759 | if (_argo0) { | |
10760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p."); | |
10763 | return NULL; | |
10764 | } | |
10765 | } | |
10766 | { | |
474c48f9 | 10767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10768 | _result = new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0)); |
f6bcfd97 | 10769 | |
474c48f9 | 10770 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10771 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10772 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10773 | _resultobj = Py_BuildValue("s",_ptemp); | |
10774 | return _resultobj; | |
10775 | } | |
10776 | ||
10777 | #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1)) | |
10778 | static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10779 | PyObject * _resultobj; | |
10780 | wxColour * _result; | |
10781 | wxGrid * _arg0; | |
10782 | int _arg1; | |
10783 | int _arg2; | |
10784 | PyObject * _argo0 = 0; | |
10785 | char *_kwnames[] = { "self","row","col", NULL }; | |
10786 | char _ptemp[128]; | |
10787 | ||
10788 | self = self; | |
10789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10790 | return NULL; | |
10791 | if (_argo0) { | |
10792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p."); | |
10795 | return NULL; | |
10796 | } | |
10797 | } | |
10798 | { | |
474c48f9 | 10799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10800 | _result = new wxColour (wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10801 | |
474c48f9 | 10802 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10803 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10804 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10805 | _resultobj = Py_BuildValue("s",_ptemp); | |
10806 | return _resultobj; | |
10807 | } | |
10808 | ||
10809 | #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour()) | |
10810 | static PyObject *_wrap_wxGrid_GetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10811 | PyObject * _resultobj; | |
10812 | wxColour * _result; | |
10813 | wxGrid * _arg0; | |
10814 | PyObject * _argo0 = 0; | |
10815 | char *_kwnames[] = { "self", NULL }; | |
10816 | char _ptemp[128]; | |
10817 | ||
10818 | self = self; | |
10819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellTextColour",_kwnames,&_argo0)) | |
10820 | return NULL; | |
10821 | if (_argo0) { | |
10822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p."); | |
10825 | return NULL; | |
10826 | } | |
10827 | } | |
10828 | { | |
474c48f9 | 10829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10830 | _result = new wxColour (wxGrid_GetDefaultCellTextColour(_arg0)); |
f6bcfd97 | 10831 | |
474c48f9 | 10832 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10833 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10834 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10835 | _resultobj = Py_BuildValue("s",_ptemp); | |
10836 | return _resultobj; | |
10837 | } | |
10838 | ||
10839 | #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1)) | |
10840 | static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10841 | PyObject * _resultobj; | |
10842 | wxColour * _result; | |
10843 | wxGrid * _arg0; | |
10844 | int _arg1; | |
10845 | int _arg2; | |
10846 | PyObject * _argo0 = 0; | |
10847 | char *_kwnames[] = { "self","row","col", NULL }; | |
10848 | char _ptemp[128]; | |
10849 | ||
10850 | self = self; | |
10851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10852 | return NULL; | |
10853 | if (_argo0) { | |
10854 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10855 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p."); | |
10857 | return NULL; | |
10858 | } | |
10859 | } | |
10860 | { | |
474c48f9 | 10861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10862 | _result = new wxColour (wxGrid_GetCellTextColour(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10863 | |
474c48f9 | 10864 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10865 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10866 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
10867 | _resultobj = Py_BuildValue("s",_ptemp); | |
10868 | return _resultobj; | |
10869 | } | |
10870 | ||
10871 | #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont()) | |
10872 | static PyObject *_wrap_wxGrid_GetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10873 | PyObject * _resultobj; | |
10874 | wxFont * _result; | |
10875 | wxGrid * _arg0; | |
10876 | PyObject * _argo0 = 0; | |
10877 | char *_kwnames[] = { "self", NULL }; | |
10878 | char _ptemp[128]; | |
10879 | ||
10880 | self = self; | |
10881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellFont",_kwnames,&_argo0)) | |
10882 | return NULL; | |
10883 | if (_argo0) { | |
10884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p."); | |
10887 | return NULL; | |
10888 | } | |
10889 | } | |
10890 | { | |
474c48f9 | 10891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10892 | _result = new wxFont (wxGrid_GetDefaultCellFont(_arg0)); |
f6bcfd97 | 10893 | |
474c48f9 | 10894 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10895 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10896 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
10897 | _resultobj = Py_BuildValue("s",_ptemp); | |
10898 | return _resultobj; | |
10899 | } | |
10900 | ||
10901 | #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1)) | |
10902 | static PyObject *_wrap_wxGrid_GetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10903 | PyObject * _resultobj; | |
10904 | wxFont * _result; | |
10905 | wxGrid * _arg0; | |
10906 | int _arg1; | |
10907 | int _arg2; | |
10908 | PyObject * _argo0 = 0; | |
10909 | char *_kwnames[] = { "self","row","col", NULL }; | |
10910 | char _ptemp[128]; | |
10911 | ||
10912 | self = self; | |
10913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellFont",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10914 | return NULL; | |
10915 | if (_argo0) { | |
10916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p."); | |
10919 | return NULL; | |
10920 | } | |
10921 | } | |
10922 | { | |
474c48f9 | 10923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10924 | _result = new wxFont (wxGrid_GetCellFont(_arg0,_arg1,_arg2)); |
f6bcfd97 | 10925 | |
474c48f9 | 10926 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10927 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10928 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); |
10929 | _resultobj = Py_BuildValue("s",_ptemp); | |
10930 | return _resultobj; | |
10931 | } | |
10932 | ||
10933 | #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1)) | |
10934 | static PyObject *_wrap_wxGrid_GetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10935 | PyObject * _resultobj; | |
10936 | wxGrid * _arg0; | |
10937 | int * _arg1; | |
10938 | int * _arg2; | |
10939 | PyObject * _argo0 = 0; | |
10940 | PyObject * _argo1 = 0; | |
10941 | PyObject * _argo2 = 0; | |
10942 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
10943 | ||
10944 | self = self; | |
10945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames,&_argo0,&_argo1,&_argo2)) | |
10946 | return NULL; | |
10947 | if (_argo0) { | |
10948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p."); | |
10951 | return NULL; | |
10952 | } | |
10953 | } | |
10954 | if (_argo1) { | |
10955 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10956 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
10957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p."); | |
10958 | return NULL; | |
10959 | } | |
10960 | } | |
10961 | if (_argo2) { | |
10962 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
10963 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
10964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p."); | |
10965 | return NULL; | |
10966 | } | |
10967 | } | |
10968 | { | |
474c48f9 | 10969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10970 | wxGrid_GetDefaultCellAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 10971 | |
474c48f9 | 10972 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 10973 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
10974 | } Py_INCREF(Py_None); |
10975 | _resultobj = Py_None; | |
10976 | return _resultobj; | |
10977 | } | |
10978 | ||
10979 | #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
10980 | static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10981 | PyObject * _resultobj; | |
10982 | wxGrid * _arg0; | |
10983 | int _arg1; | |
10984 | int _arg2; | |
10985 | int * _arg3; | |
10986 | int * _arg4; | |
10987 | PyObject * _argo0 = 0; | |
10988 | PyObject * _argo3 = 0; | |
10989 | PyObject * _argo4 = 0; | |
10990 | char *_kwnames[] = { "self","row","col","horiz","vert", NULL }; | |
10991 | ||
10992 | self = self; | |
10993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4)) | |
10994 | return NULL; | |
10995 | if (_argo0) { | |
10996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
10998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p."); | |
10999 | return NULL; | |
11000 | } | |
11001 | } | |
11002 | if (_argo3) { | |
11003 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11004 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) { | |
11005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p."); | |
11006 | return NULL; | |
11007 | } | |
11008 | } | |
11009 | if (_argo4) { | |
11010 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
11011 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) { | |
11012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p."); | |
11013 | return NULL; | |
11014 | } | |
11015 | } | |
11016 | { | |
474c48f9 | 11017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11018 | wxGrid_GetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4); |
f6bcfd97 | 11019 | |
474c48f9 | 11020 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11021 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11022 | } Py_INCREF(Py_None); |
11023 | _resultobj = Py_None; | |
11024 | return _resultobj; | |
11025 | } | |
11026 | ||
4eb65923 RD |
11027 | #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow()) |
11028 | static PyObject *_wrap_wxGrid_GetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11029 | PyObject * _resultobj; | |
11030 | bool _result; | |
11031 | wxGrid * _arg0; | |
11032 | PyObject * _argo0 = 0; | |
11033 | char *_kwnames[] = { "self", NULL }; | |
11034 | ||
11035 | self = self; | |
11036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultCellOverflow",_kwnames,&_argo0)) | |
11037 | return NULL; | |
11038 | if (_argo0) { | |
11039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p."); | |
11042 | return NULL; | |
11043 | } | |
11044 | } | |
11045 | { | |
11046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11047 | _result = (bool )wxGrid_GetDefaultCellOverflow(_arg0); | |
11048 | ||
11049 | wxPyEndAllowThreads(__tstate); | |
11050 | if (PyErr_Occurred()) return NULL; | |
11051 | } _resultobj = Py_BuildValue("i",_result); | |
11052 | return _resultobj; | |
11053 | } | |
11054 | ||
11055 | #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1)) | |
11056 | static PyObject *_wrap_wxGrid_GetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11057 | PyObject * _resultobj; | |
11058 | bool _result; | |
11059 | wxGrid * _arg0; | |
11060 | int _arg1; | |
11061 | int _arg2; | |
11062 | PyObject * _argo0 = 0; | |
11063 | char *_kwnames[] = { "self","row","col", NULL }; | |
11064 | ||
11065 | self = self; | |
11066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11067 | return NULL; | |
11068 | if (_argo0) { | |
11069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p."); | |
11072 | return NULL; | |
11073 | } | |
11074 | } | |
11075 | { | |
11076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11077 | _result = (bool )wxGrid_GetCellOverflow(_arg0,_arg1,_arg2); | |
11078 | ||
11079 | wxPyEndAllowThreads(__tstate); | |
11080 | if (PyErr_Occurred()) return NULL; | |
11081 | } _resultobj = Py_BuildValue("i",_result); | |
11082 | return _resultobj; | |
11083 | } | |
11084 | ||
11085 | #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11086 | static PyObject *_wrap_wxGrid_GetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11087 | PyObject * _resultobj; | |
11088 | wxGrid * _arg0; | |
11089 | int _arg1; | |
11090 | int _arg2; | |
11091 | int * _arg3; | |
11092 | int temp; | |
11093 | int * _arg4; | |
11094 | int temp0; | |
11095 | PyObject * _argo0 = 0; | |
11096 | char *_kwnames[] = { "self","row","col", NULL }; | |
11097 | ||
11098 | self = self; | |
11099 | { | |
11100 | _arg3 = &temp; | |
11101 | } | |
11102 | { | |
11103 | _arg4 = &temp0; | |
11104 | } | |
11105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
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_GetCellSize. Expected _wxGrid_p."); | |
11111 | return NULL; | |
11112 | } | |
11113 | } | |
11114 | { | |
11115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11116 | wxGrid_GetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11117 | ||
11118 | wxPyEndAllowThreads(__tstate); | |
11119 | if (PyErr_Occurred()) return NULL; | |
11120 | } Py_INCREF(Py_None); | |
11121 | _resultobj = Py_None; | |
11122 | { | |
11123 | PyObject *o; | |
11124 | o = PyInt_FromLong((long) (*_arg3)); | |
11125 | _resultobj = t_output_helper(_resultobj, o); | |
11126 | } | |
11127 | { | |
11128 | PyObject *o; | |
11129 | o = PyInt_FromLong((long) (*_arg4)); | |
11130 | _resultobj = t_output_helper(_resultobj, o); | |
11131 | } | |
11132 | return _resultobj; | |
11133 | } | |
11134 | ||
f6bcfd97 BP |
11135 | #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1)) |
11136 | static PyObject *_wrap_wxGrid_SetDefaultRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11137 | PyObject * _resultobj; | |
11138 | wxGrid * _arg0; | |
11139 | int _arg1; | |
11140 | bool _arg2 = (bool ) FALSE; | |
11141 | PyObject * _argo0 = 0; | |
11142 | int tempbool2 = (int) FALSE; | |
11143 | char *_kwnames[] = { "self","height","resizeExistingRows", NULL }; | |
11144 | ||
11145 | self = self; | |
11146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11147 | return NULL; | |
11148 | if (_argo0) { | |
11149 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11150 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p."); | |
11152 | return NULL; | |
11153 | } | |
11154 | } | |
11155 | _arg2 = (bool ) tempbool2; | |
11156 | { | |
474c48f9 | 11157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11158 | wxGrid_SetDefaultRowSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 11159 | |
474c48f9 | 11160 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11161 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11162 | } Py_INCREF(Py_None); |
11163 | _resultobj = Py_None; | |
11164 | return _resultobj; | |
11165 | } | |
11166 | ||
11167 | #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1)) | |
11168 | static PyObject *_wrap_wxGrid_SetRowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11169 | PyObject * _resultobj; | |
11170 | wxGrid * _arg0; | |
11171 | int _arg1; | |
11172 | int _arg2; | |
11173 | PyObject * _argo0 = 0; | |
11174 | char *_kwnames[] = { "self","row","height", NULL }; | |
11175 | ||
11176 | self = self; | |
11177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11178 | return NULL; | |
11179 | if (_argo0) { | |
11180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p."); | |
11183 | return NULL; | |
11184 | } | |
11185 | } | |
11186 | { | |
474c48f9 | 11187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11188 | wxGrid_SetRowSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 11189 | |
474c48f9 | 11190 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11191 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11192 | } Py_INCREF(Py_None); |
11193 | _resultobj = Py_None; | |
11194 | return _resultobj; | |
11195 | } | |
11196 | ||
11197 | #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1)) | |
11198 | static PyObject *_wrap_wxGrid_SetDefaultColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11199 | PyObject * _resultobj; | |
11200 | wxGrid * _arg0; | |
11201 | int _arg1; | |
11202 | bool _arg2 = (bool ) FALSE; | |
11203 | PyObject * _argo0 = 0; | |
11204 | int tempbool2 = (int) FALSE; | |
11205 | char *_kwnames[] = { "self","width","resizeExistingCols", NULL }; | |
11206 | ||
11207 | self = self; | |
11208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SetDefaultColSize",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11209 | return NULL; | |
11210 | if (_argo0) { | |
11211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p."); | |
11214 | return NULL; | |
11215 | } | |
11216 | } | |
11217 | _arg2 = (bool ) tempbool2; | |
11218 | { | |
474c48f9 | 11219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11220 | wxGrid_SetDefaultColSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 11221 | |
474c48f9 | 11222 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11223 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11224 | } Py_INCREF(Py_None); |
11225 | _resultobj = Py_None; | |
11226 | return _resultobj; | |
11227 | } | |
11228 | ||
11229 | #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1)) | |
11230 | static PyObject *_wrap_wxGrid_SetColSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11231 | PyObject * _resultobj; | |
11232 | wxGrid * _arg0; | |
11233 | int _arg1; | |
11234 | int _arg2; | |
11235 | PyObject * _argo0 = 0; | |
11236 | char *_kwnames[] = { "self","col","width", NULL }; | |
11237 | ||
11238 | self = self; | |
11239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11240 | return NULL; | |
11241 | if (_argo0) { | |
11242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p."); | |
11245 | return NULL; | |
11246 | } | |
11247 | } | |
11248 | { | |
474c48f9 | 11249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11250 | wxGrid_SetColSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 11251 | |
474c48f9 | 11252 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11253 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11254 | } Py_INCREF(Py_None); |
11255 | _resultobj = Py_None; | |
11256 | return _resultobj; | |
11257 | } | |
11258 | ||
11259 | #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1)) | |
11260 | static PyObject *_wrap_wxGrid_AutoSizeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11261 | PyObject * _resultobj; | |
11262 | wxGrid * _arg0; | |
11263 | int _arg1; | |
11264 | bool _arg2 = (bool ) TRUE; | |
11265 | PyObject * _argo0 = 0; | |
11266 | int tempbool2 = (int) TRUE; | |
11267 | char *_kwnames[] = { "self","col","setAsMin", NULL }; | |
11268 | ||
11269 | self = self; | |
11270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeColumn",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11271 | return NULL; | |
11272 | if (_argo0) { | |
11273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p."); | |
11276 | return NULL; | |
11277 | } | |
11278 | } | |
11279 | _arg2 = (bool ) tempbool2; | |
11280 | { | |
474c48f9 | 11281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11282 | wxGrid_AutoSizeColumn(_arg0,_arg1,_arg2); |
f6bcfd97 | 11283 | |
474c48f9 | 11284 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11285 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11286 | } Py_INCREF(Py_None); |
11287 | _resultobj = Py_None; | |
11288 | return _resultobj; | |
11289 | } | |
11290 | ||
11291 | #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1)) | |
11292 | static PyObject *_wrap_wxGrid_AutoSizeRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11293 | PyObject * _resultobj; | |
11294 | wxGrid * _arg0; | |
11295 | int _arg1; | |
11296 | bool _arg2 = (bool ) TRUE; | |
11297 | PyObject * _argo0 = 0; | |
11298 | int tempbool2 = (int) TRUE; | |
11299 | char *_kwnames[] = { "self","row","setAsMin", NULL }; | |
11300 | ||
11301 | self = self; | |
11302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_AutoSizeRow",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
11303 | return NULL; | |
11304 | if (_argo0) { | |
11305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p."); | |
11308 | return NULL; | |
11309 | } | |
11310 | } | |
11311 | _arg2 = (bool ) tempbool2; | |
11312 | { | |
474c48f9 | 11313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11314 | wxGrid_AutoSizeRow(_arg0,_arg1,_arg2); |
f6bcfd97 | 11315 | |
474c48f9 | 11316 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11317 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11318 | } Py_INCREF(Py_None); |
11319 | _resultobj = Py_None; | |
11320 | return _resultobj; | |
11321 | } | |
11322 | ||
11323 | #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0)) | |
11324 | static PyObject *_wrap_wxGrid_AutoSizeColumns(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11325 | PyObject * _resultobj; | |
11326 | wxGrid * _arg0; | |
11327 | bool _arg1 = (bool ) TRUE; | |
11328 | PyObject * _argo0 = 0; | |
11329 | int tempbool1 = (int) TRUE; | |
11330 | char *_kwnames[] = { "self","setAsMin", NULL }; | |
11331 | ||
11332 | self = self; | |
11333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeColumns",_kwnames,&_argo0,&tempbool1)) | |
11334 | return NULL; | |
11335 | if (_argo0) { | |
11336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p."); | |
11339 | return NULL; | |
11340 | } | |
11341 | } | |
11342 | _arg1 = (bool ) tempbool1; | |
11343 | { | |
474c48f9 | 11344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11345 | wxGrid_AutoSizeColumns(_arg0,_arg1); |
f6bcfd97 | 11346 | |
474c48f9 | 11347 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11348 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11349 | } Py_INCREF(Py_None); |
11350 | _resultobj = Py_None; | |
11351 | return _resultobj; | |
11352 | } | |
11353 | ||
11354 | #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0)) | |
11355 | static PyObject *_wrap_wxGrid_AutoSizeRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11356 | PyObject * _resultobj; | |
11357 | wxGrid * _arg0; | |
11358 | bool _arg1 = (bool ) TRUE; | |
11359 | PyObject * _argo0 = 0; | |
11360 | int tempbool1 = (int) TRUE; | |
11361 | char *_kwnames[] = { "self","setAsMin", NULL }; | |
11362 | ||
11363 | self = self; | |
11364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_AutoSizeRows",_kwnames,&_argo0,&tempbool1)) | |
11365 | return NULL; | |
11366 | if (_argo0) { | |
11367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p."); | |
11370 | return NULL; | |
11371 | } | |
11372 | } | |
11373 | _arg1 = (bool ) tempbool1; | |
11374 | { | |
474c48f9 | 11375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11376 | wxGrid_AutoSizeRows(_arg0,_arg1); |
f6bcfd97 | 11377 | |
474c48f9 | 11378 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 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_AutoSize(_swigobj) (_swigobj->AutoSize()) | |
11386 | static PyObject *_wrap_wxGrid_AutoSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11387 | PyObject * _resultobj; | |
11388 | wxGrid * _arg0; | |
11389 | PyObject * _argo0 = 0; | |
11390 | char *_kwnames[] = { "self", NULL }; | |
11391 | ||
11392 | self = self; | |
11393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AutoSize",_kwnames,&_argo0)) | |
11394 | return NULL; | |
11395 | if (_argo0) { | |
11396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p."); | |
11399 | return NULL; | |
11400 | } | |
11401 | } | |
11402 | { | |
474c48f9 | 11403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11404 | wxGrid_AutoSize(_arg0); |
f6bcfd97 | 11405 | |
474c48f9 | 11406 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11407 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11408 | } Py_INCREF(Py_None); |
11409 | _resultobj = Py_None; | |
11410 | return _resultobj; | |
11411 | } | |
11412 | ||
11413 | #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1)) | |
11414 | static PyObject *_wrap_wxGrid_SetColMinimalWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11415 | PyObject * _resultobj; | |
11416 | wxGrid * _arg0; | |
11417 | int _arg1; | |
11418 | int _arg2; | |
11419 | PyObject * _argo0 = 0; | |
11420 | char *_kwnames[] = { "self","col","width", NULL }; | |
11421 | ||
11422 | self = self; | |
11423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColMinimalWidth",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11424 | return NULL; | |
11425 | if (_argo0) { | |
11426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p."); | |
11429 | return NULL; | |
11430 | } | |
11431 | } | |
11432 | { | |
474c48f9 | 11433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11434 | wxGrid_SetColMinimalWidth(_arg0,_arg1,_arg2); |
f6bcfd97 | 11435 | |
474c48f9 | 11436 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11437 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11438 | } Py_INCREF(Py_None); |
11439 | _resultobj = Py_None; | |
11440 | return _resultobj; | |
11441 | } | |
11442 | ||
11443 | #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1)) | |
11444 | static PyObject *_wrap_wxGrid_SetRowMinimalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11445 | PyObject * _resultobj; | |
11446 | wxGrid * _arg0; | |
11447 | int _arg1; | |
11448 | int _arg2; | |
11449 | PyObject * _argo0 = 0; | |
11450 | char *_kwnames[] = { "self","row","width", NULL }; | |
11451 | ||
11452 | self = self; | |
11453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowMinimalHeight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11454 | return NULL; | |
11455 | if (_argo0) { | |
11456 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11457 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p."); | |
11459 | return NULL; | |
11460 | } | |
11461 | } | |
11462 | { | |
474c48f9 | 11463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11464 | wxGrid_SetRowMinimalHeight(_arg0,_arg1,_arg2); |
f6bcfd97 | 11465 | |
474c48f9 | 11466 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11467 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11468 | } Py_INCREF(Py_None); |
11469 | _resultobj = Py_None; | |
11470 | return _resultobj; | |
11471 | } | |
11472 | ||
11473 | #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0)) | |
11474 | static PyObject *_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11475 | PyObject * _resultobj; | |
11476 | wxGrid * _arg0; | |
11477 | wxColour * _arg1; | |
11478 | PyObject * _argo0 = 0; | |
11479 | wxColour temp; | |
11480 | PyObject * _obj1 = 0; | |
11481 | char *_kwnames[] = { "self","arg2", NULL }; | |
11482 | ||
11483 | self = self; | |
11484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
11485 | return NULL; | |
11486 | if (_argo0) { | |
11487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p."); | |
11490 | return NULL; | |
11491 | } | |
11492 | } | |
11493 | { | |
11494 | _arg1 = &temp; | |
11495 | if (! wxColour_helper(_obj1, &_arg1)) | |
11496 | return NULL; | |
11497 | } | |
11498 | { | |
474c48f9 | 11499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11500 | wxGrid_SetDefaultCellBackgroundColour(_arg0,*_arg1); |
f6bcfd97 | 11501 | |
474c48f9 | 11502 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11503 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11504 | } Py_INCREF(Py_None); |
11505 | _resultobj = Py_None; | |
11506 | return _resultobj; | |
11507 | } | |
11508 | ||
11509 | #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2)) | |
11510 | static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11511 | PyObject * _resultobj; | |
11512 | wxGrid * _arg0; | |
11513 | int _arg1; | |
11514 | int _arg2; | |
11515 | wxColour * _arg3; | |
11516 | PyObject * _argo0 = 0; | |
11517 | wxColour temp; | |
11518 | PyObject * _obj3 = 0; | |
11519 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11520 | ||
11521 | self = self; | |
11522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11523 | return NULL; | |
11524 | if (_argo0) { | |
11525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p."); | |
11528 | return NULL; | |
11529 | } | |
11530 | } | |
11531 | { | |
11532 | _arg3 = &temp; | |
11533 | if (! wxColour_helper(_obj3, &_arg3)) | |
11534 | return NULL; | |
11535 | } | |
11536 | { | |
474c48f9 | 11537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11538 | wxGrid_SetCellBackgroundColour(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11539 | |
474c48f9 | 11540 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11541 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11542 | } Py_INCREF(Py_None); |
11543 | _resultobj = Py_None; | |
11544 | return _resultobj; | |
11545 | } | |
11546 | ||
11547 | #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0)) | |
11548 | static PyObject *_wrap_wxGrid_SetDefaultCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11549 | PyObject * _resultobj; | |
11550 | wxGrid * _arg0; | |
11551 | wxColour * _arg1; | |
11552 | PyObject * _argo0 = 0; | |
11553 | wxColour temp; | |
11554 | PyObject * _obj1 = 0; | |
11555 | char *_kwnames[] = { "self","arg2", NULL }; | |
11556 | ||
11557 | self = self; | |
11558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellTextColour",_kwnames,&_argo0,&_obj1)) | |
11559 | return NULL; | |
11560 | if (_argo0) { | |
11561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p."); | |
11564 | return NULL; | |
11565 | } | |
11566 | } | |
11567 | { | |
11568 | _arg1 = &temp; | |
11569 | if (! wxColour_helper(_obj1, &_arg1)) | |
11570 | return NULL; | |
11571 | } | |
11572 | { | |
474c48f9 | 11573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11574 | wxGrid_SetDefaultCellTextColour(_arg0,*_arg1); |
f6bcfd97 | 11575 | |
474c48f9 | 11576 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11577 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11578 | } Py_INCREF(Py_None); |
11579 | _resultobj = Py_None; | |
11580 | return _resultobj; | |
11581 | } | |
11582 | ||
11583 | #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2)) | |
11584 | static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11585 | PyObject * _resultobj; | |
11586 | wxGrid * _arg0; | |
11587 | int _arg1; | |
11588 | int _arg2; | |
11589 | wxColour * _arg3; | |
11590 | PyObject * _argo0 = 0; | |
11591 | wxColour temp; | |
11592 | PyObject * _obj3 = 0; | |
11593 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11594 | ||
11595 | self = self; | |
11596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
11597 | return NULL; | |
11598 | if (_argo0) { | |
11599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p."); | |
11602 | return NULL; | |
11603 | } | |
11604 | } | |
11605 | { | |
11606 | _arg3 = &temp; | |
11607 | if (! wxColour_helper(_obj3, &_arg3)) | |
11608 | return NULL; | |
11609 | } | |
11610 | { | |
474c48f9 | 11611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11612 | wxGrid_SetCellTextColour(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11613 | |
474c48f9 | 11614 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11615 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11616 | } Py_INCREF(Py_None); |
11617 | _resultobj = Py_None; | |
11618 | return _resultobj; | |
11619 | } | |
11620 | ||
11621 | #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0)) | |
11622 | static PyObject *_wrap_wxGrid_SetDefaultCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11623 | PyObject * _resultobj; | |
11624 | wxGrid * _arg0; | |
11625 | wxFont * _arg1; | |
11626 | PyObject * _argo0 = 0; | |
11627 | PyObject * _argo1 = 0; | |
11628 | char *_kwnames[] = { "self","arg2", NULL }; | |
11629 | ||
11630 | self = self; | |
11631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultCellFont",_kwnames,&_argo0,&_argo1)) | |
11632 | return NULL; | |
11633 | if (_argo0) { | |
11634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p."); | |
11637 | return NULL; | |
11638 | } | |
11639 | } | |
11640 | if (_argo1) { | |
11641 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11642 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
11643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p."); | |
11644 | return NULL; | |
11645 | } | |
11646 | } | |
11647 | { | |
474c48f9 | 11648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11649 | wxGrid_SetDefaultCellFont(_arg0,*_arg1); |
f6bcfd97 | 11650 | |
474c48f9 | 11651 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11652 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11653 | } Py_INCREF(Py_None); |
11654 | _resultobj = Py_None; | |
11655 | return _resultobj; | |
11656 | } | |
11657 | ||
11658 | #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2)) | |
11659 | static PyObject *_wrap_wxGrid_SetCellFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11660 | PyObject * _resultobj; | |
11661 | wxGrid * _arg0; | |
11662 | int _arg1; | |
11663 | int _arg2; | |
11664 | wxFont * _arg3; | |
11665 | PyObject * _argo0 = 0; | |
11666 | PyObject * _argo3 = 0; | |
11667 | char *_kwnames[] = { "self","row","col","arg4", NULL }; | |
11668 | ||
11669 | self = self; | |
11670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellFont",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
11671 | return NULL; | |
11672 | if (_argo0) { | |
11673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p."); | |
11676 | return NULL; | |
11677 | } | |
11678 | } | |
11679 | if (_argo3) { | |
11680 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11681 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxFont_p")) { | |
11682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p."); | |
11683 | return NULL; | |
11684 | } | |
11685 | } | |
11686 | { | |
474c48f9 | 11687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11688 | wxGrid_SetCellFont(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 11689 | |
474c48f9 | 11690 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 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_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1)) | |
11698 | static PyObject *_wrap_wxGrid_SetDefaultCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11699 | PyObject * _resultobj; | |
11700 | wxGrid * _arg0; | |
11701 | int _arg1; | |
11702 | int _arg2; | |
11703 | PyObject * _argo0 = 0; | |
11704 | char *_kwnames[] = { "self","horiz","vert", NULL }; | |
11705 | ||
11706 | self = self; | |
11707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11708 | return NULL; | |
11709 | if (_argo0) { | |
11710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p."); | |
11713 | return NULL; | |
11714 | } | |
11715 | } | |
11716 | { | |
474c48f9 | 11717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11718 | wxGrid_SetDefaultCellAlignment(_arg0,_arg1,_arg2); |
f6bcfd97 | 11719 | |
474c48f9 | 11720 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11721 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11722 | } Py_INCREF(Py_None); |
11723 | _resultobj = Py_None; | |
11724 | return _resultobj; | |
11725 | } | |
11726 | ||
11727 | #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11728 | static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11729 | PyObject * _resultobj; | |
11730 | wxGrid * _arg0; | |
11731 | int _arg1; | |
11732 | int _arg2; | |
11733 | int _arg3; | |
11734 | int _arg4; | |
11735 | PyObject * _argo0 = 0; | |
11736 | char *_kwnames[] = { "self","row","col","horiz","vert", NULL }; | |
11737 | ||
11738 | self = self; | |
11739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_SetCellAlignment. Expected _wxGrid_p."); | |
11745 | return NULL; | |
11746 | } | |
11747 | } | |
11748 | { | |
474c48f9 | 11749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11750 | wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3,_arg4); |
f6bcfd97 | 11751 | |
474c48f9 | 11752 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11753 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11754 | } Py_INCREF(Py_None); |
11755 | _resultobj = Py_None; | |
11756 | return _resultobj; | |
11757 | } | |
11758 | ||
4eb65923 RD |
11759 | #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0)) |
11760 | static PyObject *_wrap_wxGrid_SetDefaultCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11761 | PyObject * _resultobj; | |
11762 | wxGrid * _arg0; | |
11763 | bool _arg1; | |
11764 | PyObject * _argo0 = 0; | |
11765 | int tempbool1; | |
11766 | char *_kwnames[] = { "self","allow", NULL }; | |
11767 | ||
11768 | self = self; | |
11769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames,&_argo0,&tempbool1)) | |
11770 | return NULL; | |
11771 | if (_argo0) { | |
11772 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11773 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p."); | |
11775 | return NULL; | |
11776 | } | |
11777 | } | |
11778 | _arg1 = (bool ) tempbool1; | |
11779 | { | |
11780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11781 | wxGrid_SetDefaultCellOverflow(_arg0,_arg1); | |
11782 | ||
11783 | wxPyEndAllowThreads(__tstate); | |
11784 | if (PyErr_Occurred()) return NULL; | |
11785 | } Py_INCREF(Py_None); | |
11786 | _resultobj = Py_None; | |
11787 | return _resultobj; | |
11788 | } | |
11789 | ||
11790 | #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2)) | |
11791 | static PyObject *_wrap_wxGrid_SetCellOverflow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11792 | PyObject * _resultobj; | |
11793 | wxGrid * _arg0; | |
11794 | int _arg1; | |
11795 | int _arg2; | |
11796 | bool _arg3; | |
11797 | PyObject * _argo0 = 0; | |
11798 | int tempbool3; | |
11799 | char *_kwnames[] = { "self","row","col","allow", NULL }; | |
11800 | ||
11801 | self = self; | |
11802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellOverflow",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
11803 | return NULL; | |
11804 | if (_argo0) { | |
11805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p."); | |
11808 | return NULL; | |
11809 | } | |
11810 | } | |
11811 | _arg3 = (bool ) tempbool3; | |
11812 | { | |
11813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11814 | wxGrid_SetCellOverflow(_arg0,_arg1,_arg2,_arg3); | |
11815 | ||
11816 | wxPyEndAllowThreads(__tstate); | |
11817 | if (PyErr_Occurred()) return NULL; | |
11818 | } Py_INCREF(Py_None); | |
11819 | _resultobj = Py_None; | |
11820 | return _resultobj; | |
11821 | } | |
11822 | ||
11823 | #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11824 | static PyObject *_wrap_wxGrid_SetCellSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11825 | PyObject * _resultobj; | |
11826 | wxGrid * _arg0; | |
11827 | int _arg1; | |
11828 | int _arg2; | |
11829 | int _arg3; | |
11830 | int _arg4; | |
11831 | PyObject * _argo0 = 0; | |
11832 | char *_kwnames[] = { "self","row","col","num_rows","num_cols", NULL }; | |
11833 | ||
11834 | self = self; | |
11835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SetCellSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11836 | return NULL; | |
11837 | if (_argo0) { | |
11838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p."); | |
11841 | return NULL; | |
11842 | } | |
11843 | } | |
11844 | { | |
11845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11846 | wxGrid_SetCellSize(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11847 | ||
11848 | wxPyEndAllowThreads(__tstate); | |
11849 | if (PyErr_Occurred()) return NULL; | |
11850 | } Py_INCREF(Py_None); | |
11851 | _resultobj = Py_None; | |
11852 | return _resultobj; | |
11853 | } | |
11854 | ||
f6bcfd97 BP |
11855 | #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0)) |
11856 | static PyObject *_wrap_wxGrid_SetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11857 | PyObject * _resultobj; | |
11858 | wxGrid * _arg0; | |
11859 | wxGridCellRenderer * _arg1; | |
11860 | PyObject * _argo0 = 0; | |
11861 | PyObject * _argo1 = 0; | |
11862 | char *_kwnames[] = { "self","renderer", NULL }; | |
11863 | ||
11864 | self = self; | |
11865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultRenderer",_kwnames,&_argo0,&_argo1)) | |
11866 | return NULL; | |
11867 | if (_argo0) { | |
11868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p."); | |
11871 | return NULL; | |
11872 | } | |
11873 | } | |
11874 | if (_argo1) { | |
11875 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11876 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellRenderer_p")) { | |
11877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p."); | |
11878 | return NULL; | |
11879 | } | |
11880 | } | |
11881 | { | |
474c48f9 | 11882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11883 | wxGrid_SetDefaultRenderer(_arg0,_arg1); |
f6bcfd97 | 11884 | |
474c48f9 | 11885 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11886 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11887 | } Py_INCREF(Py_None); |
11888 | _resultobj = Py_None; | |
11889 | return _resultobj; | |
11890 | } | |
11891 | ||
11892 | #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2)) | |
11893 | static PyObject *_wrap_wxGrid_SetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11894 | PyObject * _resultobj; | |
11895 | wxGrid * _arg0; | |
11896 | int _arg1; | |
11897 | int _arg2; | |
11898 | wxGridCellRenderer * _arg3; | |
11899 | PyObject * _argo0 = 0; | |
11900 | PyObject * _argo3 = 0; | |
11901 | char *_kwnames[] = { "self","row","col","renderer", NULL }; | |
11902 | ||
11903 | self = self; | |
11904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
11905 | return NULL; | |
11906 | if (_argo0) { | |
11907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p."); | |
11910 | return NULL; | |
11911 | } | |
11912 | } | |
11913 | if (_argo3) { | |
11914 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
11915 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellRenderer_p")) { | |
11916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p."); | |
11917 | return NULL; | |
11918 | } | |
11919 | } | |
11920 | { | |
474c48f9 | 11921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11922 | wxGrid_SetCellRenderer(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 11923 | |
474c48f9 | 11924 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11925 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
11926 | } Py_INCREF(Py_None); |
11927 | _resultobj = Py_None; | |
11928 | return _resultobj; | |
11929 | } | |
11930 | ||
11931 | #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer()) | |
11932 | static PyObject *_wrap_wxGrid_GetDefaultRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11933 | PyObject * _resultobj; | |
11934 | wxGridCellRenderer * _result; | |
11935 | wxGrid * _arg0; | |
11936 | PyObject * _argo0 = 0; | |
11937 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
11938 | |
11939 | self = self; | |
11940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultRenderer",_kwnames,&_argo0)) | |
11941 | return NULL; | |
11942 | if (_argo0) { | |
11943 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11944 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11945 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p."); | |
11946 | return NULL; | |
11947 | } | |
11948 | } | |
11949 | { | |
474c48f9 | 11950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11951 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRenderer(_arg0); |
f6bcfd97 | 11952 | |
474c48f9 | 11953 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11954 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 11955 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
11956 | return _resultobj; |
11957 | } | |
11958 | ||
11959 | #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1)) | |
11960 | static PyObject *_wrap_wxGrid_GetCellRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11961 | PyObject * _resultobj; | |
11962 | wxGridCellRenderer * _result; | |
11963 | wxGrid * _arg0; | |
11964 | int _arg1; | |
11965 | int _arg2; | |
11966 | PyObject * _argo0 = 0; | |
11967 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
11968 | |
11969 | self = self; | |
11970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellRenderer",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11971 | return NULL; | |
11972 | if (_argo0) { | |
11973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
11975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p."); | |
11976 | return NULL; | |
11977 | } | |
11978 | } | |
11979 | { | |
474c48f9 | 11980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11981 | _result = (wxGridCellRenderer *)wxGrid_GetCellRenderer(_arg0,_arg1,_arg2); |
f6bcfd97 | 11982 | |
474c48f9 | 11983 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 11984 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 11985 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
11986 | return _resultobj; |
11987 | } | |
11988 | ||
11989 | #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0)) | |
11990 | static PyObject *_wrap_wxGrid_SetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11991 | PyObject * _resultobj; | |
11992 | wxGrid * _arg0; | |
11993 | wxGridCellEditor * _arg1; | |
11994 | PyObject * _argo0 = 0; | |
11995 | PyObject * _argo1 = 0; | |
11996 | char *_kwnames[] = { "self","editor", NULL }; | |
11997 | ||
11998 | self = self; | |
11999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefaultEditor",_kwnames,&_argo0,&_argo1)) | |
12000 | return NULL; | |
12001 | if (_argo0) { | |
12002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p."); | |
12005 | return NULL; | |
12006 | } | |
12007 | } | |
12008 | if (_argo1) { | |
12009 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12010 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCellEditor_p")) { | |
12011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p."); | |
12012 | return NULL; | |
12013 | } | |
12014 | } | |
12015 | { | |
474c48f9 | 12016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12017 | wxGrid_SetDefaultEditor(_arg0,_arg1); |
f6bcfd97 | 12018 | |
474c48f9 | 12019 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12020 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12021 | } Py_INCREF(Py_None); |
12022 | _resultobj = Py_None; | |
12023 | return _resultobj; | |
12024 | } | |
12025 | ||
12026 | #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2)) | |
12027 | static PyObject *_wrap_wxGrid_SetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12028 | PyObject * _resultobj; | |
12029 | wxGrid * _arg0; | |
12030 | int _arg1; | |
12031 | int _arg2; | |
12032 | wxGridCellEditor * _arg3; | |
12033 | PyObject * _argo0 = 0; | |
12034 | PyObject * _argo3 = 0; | |
12035 | char *_kwnames[] = { "self","row","col","editor", NULL }; | |
12036 | ||
12037 | self = self; | |
12038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3)) | |
12039 | return NULL; | |
12040 | if (_argo0) { | |
12041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p."); | |
12044 | return NULL; | |
12045 | } | |
12046 | } | |
12047 | if (_argo3) { | |
12048 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
12049 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) { | |
12050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p."); | |
12051 | return NULL; | |
12052 | } | |
12053 | } | |
12054 | { | |
474c48f9 | 12055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12056 | wxGrid_SetCellEditor(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 12057 | |
474c48f9 | 12058 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12059 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12060 | } Py_INCREF(Py_None); |
12061 | _resultobj = Py_None; | |
12062 | return _resultobj; | |
12063 | } | |
12064 | ||
12065 | #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor()) | |
12066 | static PyObject *_wrap_wxGrid_GetDefaultEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12067 | PyObject * _resultobj; | |
12068 | wxGridCellEditor * _result; | |
12069 | wxGrid * _arg0; | |
12070 | PyObject * _argo0 = 0; | |
12071 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
12072 | |
12073 | self = self; | |
12074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefaultEditor",_kwnames,&_argo0)) | |
12075 | return NULL; | |
12076 | if (_argo0) { | |
12077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p."); | |
12080 | return NULL; | |
12081 | } | |
12082 | } | |
12083 | { | |
474c48f9 | 12084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12085 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditor(_arg0); |
f6bcfd97 | 12086 | |
474c48f9 | 12087 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12088 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 12089 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
12090 | return _resultobj; |
12091 | } | |
12092 | ||
12093 | #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1)) | |
12094 | static PyObject *_wrap_wxGrid_GetCellEditor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12095 | PyObject * _resultobj; | |
12096 | wxGridCellEditor * _result; | |
12097 | wxGrid * _arg0; | |
12098 | int _arg1; | |
12099 | int _arg2; | |
12100 | PyObject * _argo0 = 0; | |
12101 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
12102 | |
12103 | self = self; | |
12104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellEditor",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12105 | return NULL; | |
12106 | if (_argo0) { | |
12107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p."); | |
12110 | return NULL; | |
12111 | } | |
12112 | } | |
12113 | { | |
474c48f9 | 12114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12115 | _result = (wxGridCellEditor *)wxGrid_GetCellEditor(_arg0,_arg1,_arg2); |
f6bcfd97 | 12116 | |
474c48f9 | 12117 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12118 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 12119 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
12120 | return _resultobj; |
12121 | } | |
12122 | ||
12123 | #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1)) | |
12124 | static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12125 | PyObject * _resultobj; | |
12126 | wxString * _result; | |
12127 | wxGrid * _arg0; | |
12128 | int _arg1; | |
12129 | int _arg2; | |
12130 | PyObject * _argo0 = 0; | |
12131 | char *_kwnames[] = { "self","row","col", NULL }; | |
12132 | ||
12133 | self = self; | |
12134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12135 | return NULL; | |
12136 | if (_argo0) { | |
12137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p."); | |
12140 | return NULL; | |
12141 | } | |
12142 | } | |
12143 | { | |
474c48f9 | 12144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12145 | _result = new wxString (wxGrid_GetCellValue(_arg0,_arg1,_arg2)); |
f6bcfd97 | 12146 | |
474c48f9 | 12147 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12148 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 | 12149 | }{ |
c8bc7bb8 RD |
12150 | #if wxUSE_UNICODE |
12151 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
12152 | #else | |
f6bcfd97 | 12153 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 12154 | #endif |
f6bcfd97 BP |
12155 | } |
12156 | { | |
12157 | delete _result; | |
12158 | } | |
12159 | return _resultobj; | |
12160 | } | |
12161 | ||
12162 | #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2)) | |
12163 | static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12164 | PyObject * _resultobj; | |
12165 | wxGrid * _arg0; | |
12166 | int _arg1; | |
12167 | int _arg2; | |
12168 | wxString * _arg3; | |
12169 | PyObject * _argo0 = 0; | |
12170 | PyObject * _obj3 = 0; | |
12171 | char *_kwnames[] = { "self","row","col","s", NULL }; | |
12172 | ||
12173 | self = self; | |
12174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO:wxGrid_SetCellValue",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
12175 | return NULL; | |
12176 | if (_argo0) { | |
12177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p."); | |
12180 | return NULL; | |
12181 | } | |
12182 | } | |
12183 | { | |
c8bc7bb8 RD |
12184 | _arg3 = wxString_in_helper(_obj3); |
12185 | if (_arg3 == NULL) | |
2cd2fac8 | 12186 | return NULL; |
f6bcfd97 BP |
12187 | } |
12188 | { | |
474c48f9 | 12189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12190 | wxGrid_SetCellValue(_arg0,_arg1,_arg2,*_arg3); |
f6bcfd97 | 12191 | |
474c48f9 | 12192 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12193 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12194 | } Py_INCREF(Py_None); |
12195 | _resultobj = Py_None; | |
12196 | { | |
12197 | if (_obj3) | |
12198 | delete _arg3; | |
12199 | } | |
12200 | return _resultobj; | |
12201 | } | |
12202 | ||
12203 | #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1)) | |
12204 | static PyObject *_wrap_wxGrid_IsReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12205 | PyObject * _resultobj; | |
12206 | bool _result; | |
12207 | wxGrid * _arg0; | |
12208 | int _arg1; | |
12209 | int _arg2; | |
12210 | PyObject * _argo0 = 0; | |
12211 | char *_kwnames[] = { "self","row","col", NULL }; | |
12212 | ||
12213 | self = self; | |
12214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsReadOnly",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12215 | return NULL; | |
12216 | if (_argo0) { | |
12217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p."); | |
12220 | return NULL; | |
12221 | } | |
12222 | } | |
12223 | { | |
474c48f9 | 12224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12225 | _result = (bool )wxGrid_IsReadOnly(_arg0,_arg1,_arg2); |
f6bcfd97 | 12226 | |
474c48f9 | 12227 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12228 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12229 | } _resultobj = Py_BuildValue("i",_result); |
12230 | return _resultobj; | |
12231 | } | |
12232 | ||
12233 | #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2)) | |
12234 | static PyObject *_wrap_wxGrid_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12235 | PyObject * _resultobj; | |
12236 | wxGrid * _arg0; | |
12237 | int _arg1; | |
12238 | int _arg2; | |
12239 | bool _arg3 = (bool ) TRUE; | |
12240 | PyObject * _argo0 = 0; | |
12241 | int tempbool3 = (int) TRUE; | |
12242 | char *_kwnames[] = { "self","row","col","isReadOnly", NULL }; | |
12243 | ||
12244 | self = self; | |
12245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxGrid_SetReadOnly",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
12246 | return NULL; | |
12247 | if (_argo0) { | |
12248 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12249 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12250 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p."); | |
12251 | return NULL; | |
12252 | } | |
12253 | } | |
12254 | _arg3 = (bool ) tempbool3; | |
12255 | { | |
474c48f9 | 12256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12257 | wxGrid_SetReadOnly(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 12258 | |
474c48f9 | 12259 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12260 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12261 | } Py_INCREF(Py_None); |
12262 | _resultobj = Py_None; | |
12263 | return _resultobj; | |
12264 | } | |
12265 | ||
12266 | #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1)) | |
12267 | static PyObject *_wrap_wxGrid_SelectRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12268 | PyObject * _resultobj; | |
12269 | wxGrid * _arg0; | |
12270 | int _arg1; | |
12271 | bool _arg2 = (bool ) FALSE; | |
12272 | PyObject * _argo0 = 0; | |
12273 | int tempbool2 = (int) FALSE; | |
12274 | char *_kwnames[] = { "self","row","addToSelected", NULL }; | |
12275 | ||
12276 | self = self; | |
12277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectRow",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
12278 | return NULL; | |
12279 | if (_argo0) { | |
12280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p."); | |
12283 | return NULL; | |
12284 | } | |
12285 | } | |
12286 | _arg2 = (bool ) tempbool2; | |
12287 | { | |
474c48f9 | 12288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12289 | wxGrid_SelectRow(_arg0,_arg1,_arg2); |
f6bcfd97 | 12290 | |
474c48f9 | 12291 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12292 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12293 | } Py_INCREF(Py_None); |
12294 | _resultobj = Py_None; | |
12295 | return _resultobj; | |
12296 | } | |
12297 | ||
12298 | #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1)) | |
12299 | static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12300 | PyObject * _resultobj; | |
12301 | wxGrid * _arg0; | |
12302 | int _arg1; | |
12303 | bool _arg2 = (bool ) FALSE; | |
12304 | PyObject * _argo0 = 0; | |
12305 | int tempbool2 = (int) FALSE; | |
12306 | char *_kwnames[] = { "self","col","addToSelected", NULL }; | |
12307 | ||
12308 | self = self; | |
12309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxGrid_SelectCol",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
12310 | return NULL; | |
12311 | if (_argo0) { | |
12312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p."); | |
12315 | return NULL; | |
12316 | } | |
12317 | } | |
12318 | _arg2 = (bool ) tempbool2; | |
12319 | { | |
474c48f9 | 12320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12321 | wxGrid_SelectCol(_arg0,_arg1,_arg2); |
f6bcfd97 | 12322 | |
474c48f9 | 12323 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12324 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12325 | } Py_INCREF(Py_None); |
12326 | _resultobj = Py_None; | |
12327 | return _resultobj; | |
12328 | } | |
12329 | ||
c368d904 | 12330 | #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
f6bcfd97 BP |
12331 | static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) { |
12332 | PyObject * _resultobj; | |
12333 | wxGrid * _arg0; | |
12334 | int _arg1; | |
12335 | int _arg2; | |
12336 | int _arg3; | |
12337 | int _arg4; | |
c368d904 | 12338 | bool _arg5 = (bool ) FALSE; |
f6bcfd97 | 12339 | PyObject * _argo0 = 0; |
c368d904 RD |
12340 | int tempbool5 = (int) FALSE; |
12341 | char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL }; | |
f6bcfd97 BP |
12342 | |
12343 | self = self; | |
c368d904 | 12344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5)) |
f6bcfd97 BP |
12345 | return NULL; |
12346 | if (_argo0) { | |
12347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p."); | |
12350 | return NULL; | |
12351 | } | |
12352 | } | |
c368d904 | 12353 | _arg5 = (bool ) tempbool5; |
f6bcfd97 | 12354 | { |
474c48f9 | 12355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12356 | wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
f6bcfd97 | 12357 | |
474c48f9 | 12358 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12359 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12360 | } Py_INCREF(Py_None); |
12361 | _resultobj = Py_None; | |
12362 | return _resultobj; | |
12363 | } | |
12364 | ||
12365 | #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll()) | |
12366 | static PyObject *_wrap_wxGrid_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12367 | PyObject * _resultobj; | |
12368 | wxGrid * _arg0; | |
12369 | PyObject * _argo0 = 0; | |
12370 | char *_kwnames[] = { "self", NULL }; | |
12371 | ||
12372 | self = self; | |
12373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_SelectAll",_kwnames,&_argo0)) | |
12374 | return NULL; | |
12375 | if (_argo0) { | |
12376 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12377 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p."); | |
12379 | return NULL; | |
12380 | } | |
12381 | } | |
12382 | { | |
474c48f9 | 12383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12384 | wxGrid_SelectAll(_arg0); |
f6bcfd97 | 12385 | |
474c48f9 | 12386 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 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_IsSelection(_swigobj) (_swigobj->IsSelection()) | |
12394 | static PyObject *_wrap_wxGrid_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12395 | PyObject * _resultobj; | |
12396 | bool _result; | |
12397 | wxGrid * _arg0; | |
12398 | PyObject * _argo0 = 0; | |
12399 | char *_kwnames[] = { "self", NULL }; | |
12400 | ||
12401 | self = self; | |
12402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_IsSelection",_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_IsSelection. Expected _wxGrid_p."); | |
12408 | return NULL; | |
12409 | } | |
12410 | } | |
12411 | { | |
474c48f9 | 12412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12413 | _result = (bool )wxGrid_IsSelection(_arg0); |
f6bcfd97 | 12414 | |
474c48f9 | 12415 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12416 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12417 | } _resultobj = Py_BuildValue("i",_result); |
12418 | return _resultobj; | |
12419 | } | |
12420 | ||
12421 | #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection()) | |
12422 | static PyObject *_wrap_wxGrid_ClearSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12423 | PyObject * _resultobj; | |
12424 | wxGrid * _arg0; | |
12425 | PyObject * _argo0 = 0; | |
12426 | char *_kwnames[] = { "self", NULL }; | |
12427 | ||
12428 | self = self; | |
12429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_ClearSelection",_kwnames,&_argo0)) | |
12430 | return NULL; | |
12431 | if (_argo0) { | |
12432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p."); | |
12435 | return NULL; | |
12436 | } | |
12437 | } | |
12438 | { | |
474c48f9 | 12439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12440 | wxGrid_ClearSelection(_arg0); |
f6bcfd97 | 12441 | |
474c48f9 | 12442 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12443 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12444 | } Py_INCREF(Py_None); |
12445 | _resultobj = Py_None; | |
12446 | return _resultobj; | |
12447 | } | |
12448 | ||
12449 | #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1)) | |
12450 | static PyObject *_wrap_wxGrid_IsInSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12451 | PyObject * _resultobj; | |
12452 | bool _result; | |
12453 | wxGrid * _arg0; | |
12454 | int _arg1; | |
12455 | int _arg2; | |
12456 | PyObject * _argo0 = 0; | |
12457 | char *_kwnames[] = { "self","row","col", NULL }; | |
12458 | ||
12459 | self = self; | |
12460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_IsInSelection",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12461 | return NULL; | |
12462 | if (_argo0) { | |
12463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p."); | |
12466 | return NULL; | |
12467 | } | |
12468 | } | |
12469 | { | |
474c48f9 | 12470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12471 | _result = (bool )wxGrid_IsInSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 12472 | |
474c48f9 | 12473 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12474 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12475 | } _resultobj = Py_BuildValue("i",_result); |
12476 | return _resultobj; | |
12477 | } | |
12478 | ||
12479 | #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1)) | |
12480 | static PyObject *_wrap_wxGrid_BlockToDeviceRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12481 | PyObject * _resultobj; | |
12482 | wxRect * _result; | |
12483 | wxGrid * _arg0; | |
12484 | wxGridCellCoords * _arg1; | |
12485 | wxGridCellCoords * _arg2; | |
12486 | PyObject * _argo0 = 0; | |
12487 | wxGridCellCoords temp; | |
12488 | PyObject * _obj1 = 0; | |
12489 | wxGridCellCoords temp0; | |
12490 | PyObject * _obj2 = 0; | |
12491 | char *_kwnames[] = { "self","topLeft","bottomRight", NULL }; | |
12492 | char _ptemp[128]; | |
12493 | ||
12494 | self = self; | |
12495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxGrid_BlockToDeviceRect",_kwnames,&_argo0,&_obj1,&_obj2)) | |
12496 | return NULL; | |
12497 | if (_argo0) { | |
12498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p."); | |
12501 | return NULL; | |
12502 | } | |
12503 | } | |
12504 | { | |
12505 | _arg1 = &temp; | |
12506 | if (! wxGridCellCoords_helper(_obj1, &_arg1)) | |
12507 | return NULL; | |
12508 | } | |
12509 | { | |
12510 | _arg2 = &temp0; | |
12511 | if (! wxGridCellCoords_helper(_obj2, &_arg2)) | |
12512 | return NULL; | |
12513 | } | |
12514 | { | |
474c48f9 | 12515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12516 | _result = new wxRect (wxGrid_BlockToDeviceRect(_arg0,*_arg1,*_arg2)); |
f6bcfd97 | 12517 | |
474c48f9 | 12518 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12519 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12520 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); |
12521 | _resultobj = Py_BuildValue("s",_ptemp); | |
12522 | return _resultobj; | |
12523 | } | |
12524 | ||
12525 | #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground()) | |
12526 | static PyObject *_wrap_wxGrid_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12527 | PyObject * _resultobj; | |
12528 | wxColour * _result; | |
12529 | wxGrid * _arg0; | |
12530 | PyObject * _argo0 = 0; | |
12531 | char *_kwnames[] = { "self", NULL }; | |
12532 | char _ptemp[128]; | |
12533 | ||
12534 | self = self; | |
12535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionBackground",_kwnames,&_argo0)) | |
12536 | return NULL; | |
12537 | if (_argo0) { | |
12538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p."); | |
12541 | return NULL; | |
12542 | } | |
12543 | } | |
12544 | { | |
474c48f9 | 12545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12546 | _result = new wxColour (wxGrid_GetSelectionBackground(_arg0)); |
f6bcfd97 | 12547 | |
474c48f9 | 12548 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12549 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12550 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
12551 | _resultobj = Py_BuildValue("s",_ptemp); | |
12552 | return _resultobj; | |
12553 | } | |
12554 | ||
12555 | #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground()) | |
12556 | static PyObject *_wrap_wxGrid_GetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12557 | PyObject * _resultobj; | |
12558 | wxColour * _result; | |
12559 | wxGrid * _arg0; | |
12560 | PyObject * _argo0 = 0; | |
12561 | char *_kwnames[] = { "self", NULL }; | |
12562 | char _ptemp[128]; | |
12563 | ||
12564 | self = self; | |
12565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetSelectionForeground",_kwnames,&_argo0)) | |
12566 | return NULL; | |
12567 | if (_argo0) { | |
12568 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12569 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12570 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p."); | |
12571 | return NULL; | |
12572 | } | |
12573 | } | |
12574 | { | |
474c48f9 | 12575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12576 | _result = new wxColour (wxGrid_GetSelectionForeground(_arg0)); |
f6bcfd97 | 12577 | |
474c48f9 | 12578 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12579 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12580 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
12581 | _resultobj = Py_BuildValue("s",_ptemp); | |
12582 | return _resultobj; | |
12583 | } | |
12584 | ||
12585 | #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0)) | |
12586 | static PyObject *_wrap_wxGrid_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12587 | PyObject * _resultobj; | |
12588 | wxGrid * _arg0; | |
12589 | wxColour * _arg1; | |
12590 | PyObject * _argo0 = 0; | |
12591 | wxColour temp; | |
12592 | PyObject * _obj1 = 0; | |
12593 | char *_kwnames[] = { "self","c", NULL }; | |
12594 | ||
12595 | self = self; | |
12596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionBackground",_kwnames,&_argo0,&_obj1)) | |
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_SetSelectionBackground. Expected _wxGrid_p."); | |
12602 | return NULL; | |
12603 | } | |
12604 | } | |
12605 | { | |
12606 | _arg1 = &temp; | |
12607 | if (! wxColour_helper(_obj1, &_arg1)) | |
12608 | return NULL; | |
12609 | } | |
12610 | { | |
474c48f9 | 12611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12612 | wxGrid_SetSelectionBackground(_arg0,*_arg1); |
f6bcfd97 | 12613 | |
474c48f9 | 12614 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12615 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12616 | } Py_INCREF(Py_None); |
12617 | _resultobj = Py_None; | |
12618 | return _resultobj; | |
12619 | } | |
12620 | ||
12621 | #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0)) | |
12622 | static PyObject *_wrap_wxGrid_SetSelectionForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12623 | PyObject * _resultobj; | |
12624 | wxGrid * _arg0; | |
12625 | wxColour * _arg1; | |
12626 | PyObject * _argo0 = 0; | |
12627 | wxColour temp; | |
12628 | PyObject * _obj1 = 0; | |
12629 | char *_kwnames[] = { "self","c", NULL }; | |
12630 | ||
12631 | self = self; | |
12632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetSelectionForeground",_kwnames,&_argo0,&_obj1)) | |
12633 | return NULL; | |
12634 | if (_argo0) { | |
12635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p."); | |
12638 | return NULL; | |
12639 | } | |
12640 | } | |
12641 | { | |
12642 | _arg1 = &temp; | |
12643 | if (! wxColour_helper(_obj1, &_arg1)) | |
12644 | return NULL; | |
12645 | } | |
12646 | { | |
474c48f9 | 12647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12648 | wxGrid_SetSelectionForeground(_arg0,*_arg1); |
f6bcfd97 | 12649 | |
474c48f9 | 12650 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12651 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12652 | } Py_INCREF(Py_None); |
12653 | _resultobj = Py_None; | |
12654 | return _resultobj; | |
12655 | } | |
12656 | ||
12657 | #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2)) | |
12658 | static PyObject *_wrap_wxGrid_RegisterDataType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12659 | PyObject * _resultobj; | |
12660 | wxGrid * _arg0; | |
12661 | wxString * _arg1; | |
12662 | wxGridCellRenderer * _arg2; | |
12663 | wxGridCellEditor * _arg3; | |
12664 | PyObject * _argo0 = 0; | |
12665 | PyObject * _obj1 = 0; | |
12666 | PyObject * _argo2 = 0; | |
12667 | PyObject * _argo3 = 0; | |
12668 | char *_kwnames[] = { "self","typeName","renderer","editor", NULL }; | |
12669 | ||
12670 | self = self; | |
12671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxGrid_RegisterDataType",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3)) | |
12672 | return NULL; | |
12673 | if (_argo0) { | |
12674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p."); | |
12677 | return NULL; | |
12678 | } | |
12679 | } | |
12680 | { | |
c8bc7bb8 RD |
12681 | _arg1 = wxString_in_helper(_obj1); |
12682 | if (_arg1 == NULL) | |
2cd2fac8 | 12683 | return NULL; |
f6bcfd97 BP |
12684 | } |
12685 | if (_argo2) { | |
12686 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
12687 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGridCellRenderer_p")) { | |
12688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p."); | |
12689 | return NULL; | |
12690 | } | |
12691 | } | |
12692 | if (_argo3) { | |
12693 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
12694 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxGridCellEditor_p")) { | |
12695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p."); | |
12696 | return NULL; | |
12697 | } | |
12698 | } | |
12699 | { | |
474c48f9 | 12700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12701 | wxGrid_RegisterDataType(_arg0,*_arg1,_arg2,_arg3); |
f6bcfd97 | 12702 | |
474c48f9 | 12703 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12704 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12705 | } Py_INCREF(Py_None); |
12706 | _resultobj = Py_None; | |
12707 | { | |
12708 | if (_obj1) | |
12709 | delete _arg1; | |
12710 | } | |
12711 | return _resultobj; | |
12712 | } | |
12713 | ||
12714 | #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1)) | |
12715 | static PyObject *_wrap_wxGrid_GetDefaultEditorForCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12716 | PyObject * _resultobj; | |
12717 | wxGridCellEditor * _result; | |
12718 | wxGrid * _arg0; | |
12719 | int _arg1; | |
12720 | int _arg2; | |
12721 | PyObject * _argo0 = 0; | |
12722 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
12723 | |
12724 | self = self; | |
12725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12726 | return NULL; | |
12727 | if (_argo0) { | |
12728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p."); | |
12731 | return NULL; | |
12732 | } | |
12733 | } | |
12734 | { | |
474c48f9 | 12735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12736 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 12737 | |
474c48f9 | 12738 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12739 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 12740 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
12741 | return _resultobj; |
12742 | } | |
12743 | ||
12744 | #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1)) | |
12745 | static PyObject *_wrap_wxGrid_GetDefaultRendererForCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12746 | PyObject * _resultobj; | |
12747 | wxGridCellRenderer * _result; | |
12748 | wxGrid * _arg0; | |
12749 | int _arg1; | |
12750 | int _arg2; | |
12751 | PyObject * _argo0 = 0; | |
12752 | char *_kwnames[] = { "self","row","col", NULL }; | |
f6bcfd97 BP |
12753 | |
12754 | self = self; | |
12755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12756 | return NULL; | |
12757 | if (_argo0) { | |
12758 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12759 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12760 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p."); | |
12761 | return NULL; | |
12762 | } | |
12763 | } | |
12764 | { | |
474c48f9 | 12765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12766 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForCell(_arg0,_arg1,_arg2); |
f6bcfd97 | 12767 | |
474c48f9 | 12768 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12769 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 12770 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
12771 | return _resultobj; |
12772 | } | |
12773 | ||
12774 | #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0)) | |
12775 | static PyObject *_wrap_wxGrid_GetDefaultEditorForType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12776 | PyObject * _resultobj; | |
12777 | wxGridCellEditor * _result; | |
12778 | wxGrid * _arg0; | |
12779 | wxString * _arg1; | |
12780 | PyObject * _argo0 = 0; | |
12781 | PyObject * _obj1 = 0; | |
12782 | char *_kwnames[] = { "self","typeName", NULL }; | |
f6bcfd97 BP |
12783 | |
12784 | self = self; | |
12785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultEditorForType",_kwnames,&_argo0,&_obj1)) | |
12786 | return NULL; | |
12787 | if (_argo0) { | |
12788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p."); | |
12791 | return NULL; | |
12792 | } | |
12793 | } | |
12794 | { | |
c8bc7bb8 RD |
12795 | _arg1 = wxString_in_helper(_obj1); |
12796 | if (_arg1 == NULL) | |
2cd2fac8 | 12797 | return NULL; |
f6bcfd97 BP |
12798 | } |
12799 | { | |
474c48f9 | 12800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12801 | _result = (wxGridCellEditor *)wxGrid_GetDefaultEditorForType(_arg0,*_arg1); |
f6bcfd97 | 12802 | |
474c48f9 | 12803 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12804 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 12805 | }{ _resultobj = wxPyMake_wxGridCellEditor(_result); } |
f6bcfd97 BP |
12806 | { |
12807 | if (_obj1) | |
12808 | delete _arg1; | |
12809 | } | |
12810 | return _resultobj; | |
12811 | } | |
12812 | ||
12813 | #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0)) | |
12814 | static PyObject *_wrap_wxGrid_GetDefaultRendererForType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12815 | PyObject * _resultobj; | |
12816 | wxGridCellRenderer * _result; | |
12817 | wxGrid * _arg0; | |
12818 | wxString * _arg1; | |
12819 | PyObject * _argo0 = 0; | |
12820 | PyObject * _obj1 = 0; | |
12821 | char *_kwnames[] = { "self","typeName", NULL }; | |
f6bcfd97 BP |
12822 | |
12823 | self = self; | |
12824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_GetDefaultRendererForType",_kwnames,&_argo0,&_obj1)) | |
12825 | return NULL; | |
12826 | if (_argo0) { | |
12827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p."); | |
12830 | return NULL; | |
12831 | } | |
12832 | } | |
12833 | { | |
c8bc7bb8 RD |
12834 | _arg1 = wxString_in_helper(_obj1); |
12835 | if (_arg1 == NULL) | |
f6bcfd97 | 12836 | return NULL; |
f6bcfd97 BP |
12837 | } |
12838 | { | |
474c48f9 | 12839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12840 | _result = (wxGridCellRenderer *)wxGrid_GetDefaultRendererForType(_arg0,*_arg1); |
f6bcfd97 | 12841 | |
474c48f9 | 12842 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12843 | if (PyErr_Occurred()) return NULL; |
b98a5dfc | 12844 | }{ _resultobj = wxPyMake_wxGridCellRenderer(_result); } |
f6bcfd97 BP |
12845 | { |
12846 | if (_obj1) | |
12847 | delete _arg1; | |
12848 | } | |
12849 | return _resultobj; | |
12850 | } | |
12851 | ||
12852 | #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
12853 | static PyObject *_wrap_wxGrid_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12854 | PyObject * _resultobj; | |
12855 | wxGrid * _arg0; | |
12856 | int _arg1; | |
12857 | int _arg2; | |
12858 | PyObject * _argo0 = 0; | |
12859 | char *_kwnames[] = { "self","extraWidth","extraHeight", NULL }; | |
12860 | ||
12861 | self = self; | |
12862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12863 | return NULL; | |
12864 | if (_argo0) { | |
12865 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12866 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p."); | |
12868 | return NULL; | |
12869 | } | |
12870 | } | |
12871 | { | |
474c48f9 | 12872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12873 | wxGrid_SetMargins(_arg0,_arg1,_arg2); |
f6bcfd97 | 12874 | |
474c48f9 | 12875 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12876 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
12877 | } Py_INCREF(Py_None); |
12878 | _resultobj = Py_None; | |
12879 | return _resultobj; | |
12880 | } | |
12881 | ||
9df61a29 RD |
12882 | #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow()) |
12883 | static PyObject *_wrap_wxGrid_GetGridWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12884 | PyObject * _resultobj; | |
12885 | wxWindow * _result; | |
12886 | wxGrid * _arg0; | |
12887 | PyObject * _argo0 = 0; | |
12888 | char *_kwnames[] = { "self", NULL }; | |
12889 | ||
12890 | self = self; | |
12891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridWindow",_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_GetGridWindow. Expected _wxGrid_p."); | |
12897 | return NULL; | |
12898 | } | |
12899 | } | |
12900 | { | |
474c48f9 | 12901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12902 | _result = (wxWindow *)wxGrid_GetGridWindow(_arg0); |
9df61a29 | 12903 | |
474c48f9 | 12904 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12905 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
12906 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12907 | return _resultobj; | |
12908 | } | |
12909 | ||
12910 | #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow()) | |
12911 | static PyObject *_wrap_wxGrid_GetGridRowLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12912 | PyObject * _resultobj; | |
12913 | wxWindow * _result; | |
12914 | wxGrid * _arg0; | |
12915 | PyObject * _argo0 = 0; | |
12916 | char *_kwnames[] = { "self", NULL }; | |
12917 | ||
12918 | self = self; | |
12919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridRowLabelWindow",_kwnames,&_argo0)) | |
12920 | return NULL; | |
12921 | if (_argo0) { | |
12922 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12923 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12924 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p."); | |
12925 | return NULL; | |
12926 | } | |
12927 | } | |
12928 | { | |
474c48f9 | 12929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12930 | _result = (wxWindow *)wxGrid_GetGridRowLabelWindow(_arg0); |
9df61a29 | 12931 | |
474c48f9 | 12932 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12933 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
12934 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12935 | return _resultobj; | |
12936 | } | |
12937 | ||
12938 | #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow()) | |
12939 | static PyObject *_wrap_wxGrid_GetGridColLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12940 | PyObject * _resultobj; | |
12941 | wxWindow * _result; | |
12942 | wxGrid * _arg0; | |
12943 | PyObject * _argo0 = 0; | |
12944 | char *_kwnames[] = { "self", NULL }; | |
12945 | ||
12946 | self = self; | |
12947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridColLabelWindow",_kwnames,&_argo0)) | |
12948 | return NULL; | |
12949 | if (_argo0) { | |
12950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p."); | |
12953 | return NULL; | |
12954 | } | |
12955 | } | |
12956 | { | |
474c48f9 | 12957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12958 | _result = (wxWindow *)wxGrid_GetGridColLabelWindow(_arg0); |
9df61a29 | 12959 | |
474c48f9 | 12960 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12961 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
12962 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12963 | return _resultobj; | |
12964 | } | |
12965 | ||
12966 | #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow()) | |
12967 | static PyObject *_wrap_wxGrid_GetGridCornerLabelWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12968 | PyObject * _resultobj; | |
12969 | wxWindow * _result; | |
12970 | wxGrid * _arg0; | |
12971 | PyObject * _argo0 = 0; | |
12972 | char *_kwnames[] = { "self", NULL }; | |
12973 | ||
12974 | self = self; | |
12975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetGridCornerLabelWindow",_kwnames,&_argo0)) | |
12976 | return NULL; | |
12977 | if (_argo0) { | |
12978 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12979 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) { | |
12980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p."); | |
12981 | return NULL; | |
12982 | } | |
12983 | } | |
12984 | { | |
474c48f9 | 12985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12986 | _result = (wxWindow *)wxGrid_GetGridCornerLabelWindow(_arg0); |
9df61a29 | 12987 | |
474c48f9 | 12988 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 12989 | if (PyErr_Occurred()) return NULL; |
9df61a29 RD |
12990 | }{ _resultobj = wxPyMake_wxObject(_result); } |
12991 | return _resultobj; | |
12992 | } | |
12993 | ||
f6bcfd97 BP |
12994 | static void *SwigwxGridEventTowxNotifyEvent(void *ptr) { |
12995 | wxGridEvent *src; | |
12996 | wxNotifyEvent *dest; | |
12997 | src = (wxGridEvent *) ptr; | |
12998 | dest = (wxNotifyEvent *) src; | |
12999 | return (void *) dest; | |
13000 | } | |
13001 | ||
13002 | static void *SwigwxGridEventTowxCommandEvent(void *ptr) { | |
13003 | wxGridEvent *src; | |
13004 | wxCommandEvent *dest; | |
13005 | src = (wxGridEvent *) ptr; | |
13006 | dest = (wxCommandEvent *) src; | |
13007 | return (void *) dest; | |
13008 | } | |
13009 | ||
13010 | static void *SwigwxGridEventTowxEvent(void *ptr) { | |
13011 | wxGridEvent *src; | |
13012 | wxEvent *dest; | |
13013 | src = (wxGridEvent *) ptr; | |
13014 | dest = (wxEvent *) src; | |
13015 | return (void *) dest; | |
13016 | } | |
13017 | ||
9df61a29 RD |
13018 | static void *SwigwxGridEventTowxObject(void *ptr) { |
13019 | wxGridEvent *src; | |
13020 | wxObject *dest; | |
13021 | src = (wxGridEvent *) ptr; | |
13022 | dest = (wxObject *) src; | |
13023 | return (void *) dest; | |
13024 | } | |
13025 | ||
f6bcfd97 BP |
13026 | #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)) |
13027 | static PyObject *_wrap_new_wxGridEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13028 | PyObject * _resultobj; | |
13029 | wxGridEvent * _result; | |
13030 | int _arg0; | |
13031 | wxEventType _arg1; | |
13032 | wxGrid * _arg2; | |
13033 | int _arg3 = (int ) -1; | |
13034 | int _arg4 = (int ) -1; | |
13035 | int _arg5 = (int ) -1; | |
13036 | int _arg6 = (int ) -1; | |
13037 | bool _arg7 = (bool ) TRUE; | |
13038 | bool _arg8 = (bool ) FALSE; | |
13039 | bool _arg9 = (bool ) FALSE; | |
13040 | bool _arg10 = (bool ) FALSE; | |
13041 | bool _arg11 = (bool ) FALSE; | |
13042 | PyObject * _argo2 = 0; | |
13043 | int tempbool7 = (int) TRUE; | |
13044 | int tempbool8 = (int) FALSE; | |
13045 | int tempbool9 = (int) FALSE; | |
13046 | int tempbool10 = (int) FALSE; | |
13047 | int tempbool11 = (int) FALSE; | |
13048 | char *_kwnames[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL }; | |
13049 | char _ptemp[128]; | |
13050 | ||
13051 | self = self; | |
13052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6,&tempbool7,&tempbool8,&tempbool9,&tempbool10,&tempbool11)) | |
13053 | return NULL; | |
13054 | if (_argo2) { | |
13055 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13056 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
13057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p."); | |
13058 | return NULL; | |
13059 | } | |
13060 | } | |
13061 | _arg7 = (bool ) tempbool7; | |
13062 | _arg8 = (bool ) tempbool8; | |
13063 | _arg9 = (bool ) tempbool9; | |
13064 | _arg10 = (bool ) tempbool10; | |
13065 | _arg11 = (bool ) tempbool11; | |
13066 | { | |
474c48f9 | 13067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13068 | _result = (wxGridEvent *)new_wxGridEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11); |
f6bcfd97 | 13069 | |
474c48f9 | 13070 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13071 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13072 | } if (_result) { |
13073 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEvent_p"); | |
13074 | _resultobj = Py_BuildValue("s",_ptemp); | |
13075 | } else { | |
13076 | Py_INCREF(Py_None); | |
13077 | _resultobj = Py_None; | |
13078 | } | |
13079 | return _resultobj; | |
13080 | } | |
13081 | ||
13082 | #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow()) | |
13083 | static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13084 | PyObject * _resultobj; | |
13085 | int _result; | |
13086 | wxGridEvent * _arg0; | |
13087 | PyObject * _argo0 = 0; | |
13088 | char *_kwnames[] = { "self", NULL }; | |
13089 | ||
13090 | self = self; | |
13091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0)) | |
13092 | return NULL; | |
13093 | if (_argo0) { | |
13094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p."); | |
13097 | return NULL; | |
13098 | } | |
13099 | } | |
13100 | { | |
474c48f9 | 13101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13102 | _result = (int )wxGridEvent_GetRow(_arg0); |
f6bcfd97 | 13103 | |
474c48f9 | 13104 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13105 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13106 | } _resultobj = Py_BuildValue("i",_result); |
13107 | return _resultobj; | |
13108 | } | |
13109 | ||
13110 | #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
13111 | static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13112 | PyObject * _resultobj; | |
13113 | int _result; | |
13114 | wxGridEvent * _arg0; | |
13115 | PyObject * _argo0 = 0; | |
13116 | char *_kwnames[] = { "self", NULL }; | |
13117 | ||
13118 | self = self; | |
13119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0)) | |
13120 | return NULL; | |
13121 | if (_argo0) { | |
13122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p."); | |
13125 | return NULL; | |
13126 | } | |
13127 | } | |
13128 | { | |
474c48f9 | 13129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13130 | _result = (int )wxGridEvent_GetCol(_arg0); |
f6bcfd97 | 13131 | |
474c48f9 | 13132 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13133 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13134 | } _resultobj = Py_BuildValue("i",_result); |
13135 | return _resultobj; | |
13136 | } | |
13137 | ||
13138 | #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
13139 | static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13140 | PyObject * _resultobj; | |
13141 | wxPoint * _result; | |
13142 | wxGridEvent * _arg0; | |
13143 | PyObject * _argo0 = 0; | |
13144 | char *_kwnames[] = { "self", NULL }; | |
13145 | char _ptemp[128]; | |
13146 | ||
13147 | self = self; | |
13148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0)) | |
13149 | return NULL; | |
13150 | if (_argo0) { | |
13151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p."); | |
13154 | return NULL; | |
13155 | } | |
13156 | } | |
13157 | { | |
474c48f9 | 13158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13159 | _result = new wxPoint (wxGridEvent_GetPosition(_arg0)); |
f6bcfd97 | 13160 | |
474c48f9 | 13161 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13162 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13163 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
13164 | _resultobj = Py_BuildValue("s",_ptemp); | |
13165 | return _resultobj; | |
13166 | } | |
13167 | ||
13168 | #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting()) | |
13169 | static PyObject *_wrap_wxGridEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13170 | PyObject * _resultobj; | |
13171 | bool _result; | |
13172 | wxGridEvent * _arg0; | |
13173 | PyObject * _argo0 = 0; | |
13174 | char *_kwnames[] = { "self", NULL }; | |
13175 | ||
13176 | self = self; | |
13177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_Selecting",_kwnames,&_argo0)) | |
13178 | return NULL; | |
13179 | if (_argo0) { | |
13180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p."); | |
13183 | return NULL; | |
13184 | } | |
13185 | } | |
13186 | { | |
474c48f9 | 13187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13188 | _result = (bool )wxGridEvent_Selecting(_arg0); |
f6bcfd97 | 13189 | |
474c48f9 | 13190 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13191 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13192 | } _resultobj = Py_BuildValue("i",_result); |
13193 | return _resultobj; | |
13194 | } | |
13195 | ||
13196 | #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
13197 | static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13198 | PyObject * _resultobj; | |
13199 | bool _result; | |
13200 | wxGridEvent * _arg0; | |
13201 | PyObject * _argo0 = 0; | |
13202 | char *_kwnames[] = { "self", NULL }; | |
13203 | ||
13204 | self = self; | |
13205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0)) | |
13206 | return NULL; | |
13207 | if (_argo0) { | |
13208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p."); | |
13211 | return NULL; | |
13212 | } | |
13213 | } | |
13214 | { | |
474c48f9 | 13215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13216 | _result = (bool )wxGridEvent_ControlDown(_arg0); |
f6bcfd97 | 13217 | |
474c48f9 | 13218 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13219 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13220 | } _resultobj = Py_BuildValue("i",_result); |
13221 | return _resultobj; | |
13222 | } | |
13223 | ||
13224 | #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
13225 | static PyObject *_wrap_wxGridEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13226 | PyObject * _resultobj; | |
13227 | bool _result; | |
13228 | wxGridEvent * _arg0; | |
13229 | PyObject * _argo0 = 0; | |
13230 | char *_kwnames[] = { "self", NULL }; | |
13231 | ||
13232 | self = self; | |
13233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_MetaDown",_kwnames,&_argo0)) | |
13234 | return NULL; | |
13235 | if (_argo0) { | |
13236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p."); | |
13239 | return NULL; | |
13240 | } | |
13241 | } | |
13242 | { | |
474c48f9 | 13243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13244 | _result = (bool )wxGridEvent_MetaDown(_arg0); |
f6bcfd97 | 13245 | |
474c48f9 | 13246 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13247 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13248 | } _resultobj = Py_BuildValue("i",_result); |
13249 | return _resultobj; | |
13250 | } | |
13251 | ||
13252 | #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
13253 | static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13254 | PyObject * _resultobj; | |
13255 | bool _result; | |
13256 | wxGridEvent * _arg0; | |
13257 | PyObject * _argo0 = 0; | |
13258 | char *_kwnames[] = { "self", NULL }; | |
13259 | ||
13260 | self = self; | |
13261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0)) | |
13262 | return NULL; | |
13263 | if (_argo0) { | |
13264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p."); | |
13267 | return NULL; | |
13268 | } | |
13269 | } | |
13270 | { | |
474c48f9 | 13271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13272 | _result = (bool )wxGridEvent_ShiftDown(_arg0); |
f6bcfd97 | 13273 | |
474c48f9 | 13274 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13275 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13276 | } _resultobj = Py_BuildValue("i",_result); |
13277 | return _resultobj; | |
13278 | } | |
13279 | ||
13280 | #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
13281 | static PyObject *_wrap_wxGridEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13282 | PyObject * _resultobj; | |
13283 | bool _result; | |
13284 | wxGridEvent * _arg0; | |
13285 | PyObject * _argo0 = 0; | |
13286 | char *_kwnames[] = { "self", NULL }; | |
13287 | ||
13288 | self = self; | |
13289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_AltDown",_kwnames,&_argo0)) | |
13290 | return NULL; | |
13291 | if (_argo0) { | |
13292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) { | |
13294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p."); | |
13295 | return NULL; | |
13296 | } | |
13297 | } | |
13298 | { | |
474c48f9 | 13299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13300 | _result = (bool )wxGridEvent_AltDown(_arg0); |
f6bcfd97 | 13301 | |
474c48f9 | 13302 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13303 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13304 | } _resultobj = Py_BuildValue("i",_result); |
13305 | return _resultobj; | |
13306 | } | |
13307 | ||
13308 | static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr) { | |
13309 | wxGridSizeEvent *src; | |
13310 | wxNotifyEvent *dest; | |
13311 | src = (wxGridSizeEvent *) ptr; | |
13312 | dest = (wxNotifyEvent *) src; | |
13313 | return (void *) dest; | |
13314 | } | |
13315 | ||
13316 | static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr) { | |
13317 | wxGridSizeEvent *src; | |
13318 | wxCommandEvent *dest; | |
13319 | src = (wxGridSizeEvent *) ptr; | |
13320 | dest = (wxCommandEvent *) src; | |
13321 | return (void *) dest; | |
13322 | } | |
13323 | ||
13324 | static void *SwigwxGridSizeEventTowxEvent(void *ptr) { | |
13325 | wxGridSizeEvent *src; | |
13326 | wxEvent *dest; | |
13327 | src = (wxGridSizeEvent *) ptr; | |
13328 | dest = (wxEvent *) src; | |
13329 | return (void *) dest; | |
13330 | } | |
13331 | ||
9df61a29 RD |
13332 | static void *SwigwxGridSizeEventTowxObject(void *ptr) { |
13333 | wxGridSizeEvent *src; | |
13334 | wxObject *dest; | |
13335 | src = (wxGridSizeEvent *) ptr; | |
13336 | dest = (wxObject *) src; | |
13337 | return (void *) dest; | |
13338 | } | |
13339 | ||
f6bcfd97 BP |
13340 | #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)) |
13341 | static PyObject *_wrap_new_wxGridSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13342 | PyObject * _resultobj; | |
13343 | wxGridSizeEvent * _result; | |
13344 | int _arg0; | |
13345 | wxEventType _arg1; | |
13346 | wxGrid * _arg2; | |
13347 | int _arg3 = (int ) -1; | |
13348 | int _arg4 = (int ) -1; | |
13349 | int _arg5 = (int ) -1; | |
13350 | bool _arg6 = (bool ) FALSE; | |
13351 | bool _arg7 = (bool ) FALSE; | |
13352 | bool _arg8 = (bool ) FALSE; | |
13353 | bool _arg9 = (bool ) FALSE; | |
13354 | PyObject * _argo2 = 0; | |
13355 | int tempbool6 = (int) FALSE; | |
13356 | int tempbool7 = (int) FALSE; | |
13357 | int tempbool8 = (int) FALSE; | |
13358 | int tempbool9 = (int) FALSE; | |
13359 | char *_kwnames[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL }; | |
13360 | char _ptemp[128]; | |
13361 | ||
13362 | self = self; | |
13363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&tempbool6,&tempbool7,&tempbool8,&tempbool9)) | |
13364 | return NULL; | |
13365 | if (_argo2) { | |
13366 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13367 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
13368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p."); | |
13369 | return NULL; | |
13370 | } | |
13371 | } | |
13372 | _arg6 = (bool ) tempbool6; | |
13373 | _arg7 = (bool ) tempbool7; | |
13374 | _arg8 = (bool ) tempbool8; | |
13375 | _arg9 = (bool ) tempbool9; | |
13376 | { | |
474c48f9 | 13377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13378 | _result = (wxGridSizeEvent *)new_wxGridSizeEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); |
f6bcfd97 | 13379 | |
474c48f9 | 13380 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13381 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13382 | } if (_result) { |
13383 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizeEvent_p"); | |
13384 | _resultobj = Py_BuildValue("s",_ptemp); | |
13385 | } else { | |
13386 | Py_INCREF(Py_None); | |
13387 | _resultobj = Py_None; | |
13388 | } | |
13389 | return _resultobj; | |
13390 | } | |
13391 | ||
13392 | #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol()) | |
13393 | static PyObject *_wrap_wxGridSizeEvent_GetRowOrCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13394 | PyObject * _resultobj; | |
13395 | int _result; | |
13396 | wxGridSizeEvent * _arg0; | |
13397 | PyObject * _argo0 = 0; | |
13398 | char *_kwnames[] = { "self", NULL }; | |
13399 | ||
13400 | self = self; | |
13401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetRowOrCol",_kwnames,&_argo0)) | |
13402 | return NULL; | |
13403 | if (_argo0) { | |
13404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p."); | |
13407 | return NULL; | |
13408 | } | |
13409 | } | |
13410 | { | |
474c48f9 | 13411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13412 | _result = (int )wxGridSizeEvent_GetRowOrCol(_arg0); |
f6bcfd97 | 13413 | |
474c48f9 | 13414 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13415 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13416 | } _resultobj = Py_BuildValue("i",_result); |
13417 | return _resultobj; | |
13418 | } | |
13419 | ||
13420 | #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
13421 | static PyObject *_wrap_wxGridSizeEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13422 | PyObject * _resultobj; | |
13423 | wxPoint * _result; | |
13424 | wxGridSizeEvent * _arg0; | |
13425 | PyObject * _argo0 = 0; | |
13426 | char *_kwnames[] = { "self", NULL }; | |
13427 | char _ptemp[128]; | |
13428 | ||
13429 | self = self; | |
13430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_GetPosition",_kwnames,&_argo0)) | |
13431 | return NULL; | |
13432 | if (_argo0) { | |
13433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p."); | |
13436 | return NULL; | |
13437 | } | |
13438 | } | |
13439 | { | |
474c48f9 | 13440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13441 | _result = new wxPoint (wxGridSizeEvent_GetPosition(_arg0)); |
f6bcfd97 | 13442 | |
474c48f9 | 13443 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13444 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13445 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
13446 | _resultobj = Py_BuildValue("s",_ptemp); | |
13447 | return _resultobj; | |
13448 | } | |
13449 | ||
13450 | #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
13451 | static PyObject *_wrap_wxGridSizeEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13452 | PyObject * _resultobj; | |
13453 | bool _result; | |
13454 | wxGridSizeEvent * _arg0; | |
13455 | PyObject * _argo0 = 0; | |
13456 | char *_kwnames[] = { "self", NULL }; | |
13457 | ||
13458 | self = self; | |
13459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ControlDown",_kwnames,&_argo0)) | |
13460 | return NULL; | |
13461 | if (_argo0) { | |
13462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p."); | |
13465 | return NULL; | |
13466 | } | |
13467 | } | |
13468 | { | |
474c48f9 | 13469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13470 | _result = (bool )wxGridSizeEvent_ControlDown(_arg0); |
f6bcfd97 | 13471 | |
474c48f9 | 13472 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13473 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13474 | } _resultobj = Py_BuildValue("i",_result); |
13475 | return _resultobj; | |
13476 | } | |
13477 | ||
13478 | #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
13479 | static PyObject *_wrap_wxGridSizeEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13480 | PyObject * _resultobj; | |
13481 | bool _result; | |
13482 | wxGridSizeEvent * _arg0; | |
13483 | PyObject * _argo0 = 0; | |
13484 | char *_kwnames[] = { "self", NULL }; | |
13485 | ||
13486 | self = self; | |
13487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_MetaDown",_kwnames,&_argo0)) | |
13488 | return NULL; | |
13489 | if (_argo0) { | |
13490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p."); | |
13493 | return NULL; | |
13494 | } | |
13495 | } | |
13496 | { | |
474c48f9 | 13497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13498 | _result = (bool )wxGridSizeEvent_MetaDown(_arg0); |
f6bcfd97 | 13499 | |
474c48f9 | 13500 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13501 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13502 | } _resultobj = Py_BuildValue("i",_result); |
13503 | return _resultobj; | |
13504 | } | |
13505 | ||
13506 | #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
13507 | static PyObject *_wrap_wxGridSizeEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13508 | PyObject * _resultobj; | |
13509 | bool _result; | |
13510 | wxGridSizeEvent * _arg0; | |
13511 | PyObject * _argo0 = 0; | |
13512 | char *_kwnames[] = { "self", NULL }; | |
13513 | ||
13514 | self = self; | |
13515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_ShiftDown",_kwnames,&_argo0)) | |
13516 | return NULL; | |
13517 | if (_argo0) { | |
13518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p."); | |
13521 | return NULL; | |
13522 | } | |
13523 | } | |
13524 | { | |
474c48f9 | 13525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13526 | _result = (bool )wxGridSizeEvent_ShiftDown(_arg0); |
f6bcfd97 | 13527 | |
474c48f9 | 13528 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13529 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13530 | } _resultobj = Py_BuildValue("i",_result); |
13531 | return _resultobj; | |
13532 | } | |
13533 | ||
13534 | #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
13535 | static PyObject *_wrap_wxGridSizeEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13536 | PyObject * _resultobj; | |
13537 | bool _result; | |
13538 | wxGridSizeEvent * _arg0; | |
13539 | PyObject * _argo0 = 0; | |
13540 | char *_kwnames[] = { "self", NULL }; | |
13541 | ||
13542 | self = self; | |
13543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizeEvent_AltDown",_kwnames,&_argo0)) | |
13544 | return NULL; | |
13545 | if (_argo0) { | |
13546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizeEvent_p")) { | |
13548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p."); | |
13549 | return NULL; | |
13550 | } | |
13551 | } | |
13552 | { | |
474c48f9 | 13553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13554 | _result = (bool )wxGridSizeEvent_AltDown(_arg0); |
f6bcfd97 | 13555 | |
474c48f9 | 13556 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13557 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13558 | } _resultobj = Py_BuildValue("i",_result); |
13559 | return _resultobj; | |
13560 | } | |
13561 | ||
13562 | static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr) { | |
13563 | wxGridRangeSelectEvent *src; | |
13564 | wxNotifyEvent *dest; | |
13565 | src = (wxGridRangeSelectEvent *) ptr; | |
13566 | dest = (wxNotifyEvent *) src; | |
13567 | return (void *) dest; | |
13568 | } | |
13569 | ||
13570 | static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr) { | |
13571 | wxGridRangeSelectEvent *src; | |
13572 | wxCommandEvent *dest; | |
13573 | src = (wxGridRangeSelectEvent *) ptr; | |
13574 | dest = (wxCommandEvent *) src; | |
13575 | return (void *) dest; | |
13576 | } | |
13577 | ||
13578 | static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr) { | |
13579 | wxGridRangeSelectEvent *src; | |
13580 | wxEvent *dest; | |
13581 | src = (wxGridRangeSelectEvent *) ptr; | |
13582 | dest = (wxEvent *) src; | |
13583 | return (void *) dest; | |
13584 | } | |
13585 | ||
9df61a29 RD |
13586 | static void *SwigwxGridRangeSelectEventTowxObject(void *ptr) { |
13587 | wxGridRangeSelectEvent *src; | |
13588 | wxObject *dest; | |
13589 | src = (wxGridRangeSelectEvent *) ptr; | |
13590 | dest = (wxObject *) src; | |
13591 | return (void *) dest; | |
13592 | } | |
13593 | ||
f6bcfd97 BP |
13594 | #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)) |
13595 | static PyObject *_wrap_new_wxGridRangeSelectEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13596 | PyObject * _resultobj; | |
13597 | wxGridRangeSelectEvent * _result; | |
13598 | int _arg0; | |
13599 | wxEventType _arg1; | |
13600 | wxGrid * _arg2; | |
13601 | wxGridCellCoords * _arg3; | |
13602 | wxGridCellCoords * _arg4; | |
13603 | bool _arg5 = (bool ) TRUE; | |
13604 | bool _arg6 = (bool ) FALSE; | |
13605 | bool _arg7 = (bool ) FALSE; | |
13606 | bool _arg8 = (bool ) FALSE; | |
13607 | bool _arg9 = (bool ) FALSE; | |
13608 | PyObject * _argo2 = 0; | |
13609 | wxGridCellCoords temp; | |
13610 | PyObject * _obj3 = 0; | |
13611 | wxGridCellCoords temp0; | |
13612 | PyObject * _obj4 = 0; | |
13613 | int tempbool5 = (int) TRUE; | |
13614 | int tempbool6 = (int) FALSE; | |
13615 | int tempbool7 = (int) FALSE; | |
13616 | int tempbool8 = (int) FALSE; | |
13617 | int tempbool9 = (int) FALSE; | |
13618 | char *_kwnames[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL }; | |
13619 | char _ptemp[128]; | |
13620 | ||
13621 | self = self; | |
13622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_obj3,&_obj4,&tempbool5,&tempbool6,&tempbool7,&tempbool8,&tempbool9)) | |
13623 | return NULL; | |
13624 | if (_argo2) { | |
13625 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
13626 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxGrid_p")) { | |
13627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p."); | |
13628 | return NULL; | |
13629 | } | |
13630 | } | |
13631 | { | |
13632 | _arg3 = &temp; | |
13633 | if (! wxGridCellCoords_helper(_obj3, &_arg3)) | |
13634 | return NULL; | |
13635 | } | |
13636 | { | |
13637 | _arg4 = &temp0; | |
13638 | if (! wxGridCellCoords_helper(_obj4, &_arg4)) | |
13639 | return NULL; | |
13640 | } | |
13641 | _arg5 = (bool ) tempbool5; | |
13642 | _arg6 = (bool ) tempbool6; | |
13643 | _arg7 = (bool ) tempbool7; | |
13644 | _arg8 = (bool ) tempbool8; | |
13645 | _arg9 = (bool ) tempbool9; | |
13646 | { | |
474c48f9 | 13647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13648 | _result = (wxGridRangeSelectEvent *)new_wxGridRangeSelectEvent(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); |
f6bcfd97 | 13649 | |
474c48f9 | 13650 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13651 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13652 | } if (_result) { |
13653 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridRangeSelectEvent_p"); | |
13654 | _resultobj = Py_BuildValue("s",_ptemp); | |
13655 | } else { | |
13656 | Py_INCREF(Py_None); | |
13657 | _resultobj = Py_None; | |
13658 | } | |
13659 | return _resultobj; | |
13660 | } | |
13661 | ||
13662 | #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords()) | |
13663 | static PyObject *_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13664 | PyObject * _resultobj; | |
13665 | wxGridCellCoords * _result; | |
13666 | wxGridRangeSelectEvent * _arg0; | |
13667 | PyObject * _argo0 = 0; | |
13668 | char *_kwnames[] = { "self", NULL }; | |
13669 | char _ptemp[128]; | |
13670 | ||
13671 | self = self; | |
13672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames,&_argo0)) | |
13673 | return NULL; | |
13674 | if (_argo0) { | |
13675 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13676 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p."); | |
13678 | return NULL; | |
13679 | } | |
13680 | } | |
13681 | { | |
474c48f9 | 13682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13683 | _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0)); |
f6bcfd97 | 13684 | |
474c48f9 | 13685 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13686 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13687 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p"); |
13688 | _resultobj = Py_BuildValue("s",_ptemp); | |
13689 | return _resultobj; | |
13690 | } | |
13691 | ||
13692 | #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords()) | |
13693 | static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13694 | PyObject * _resultobj; | |
13695 | wxGridCellCoords * _result; | |
13696 | wxGridRangeSelectEvent * _arg0; | |
13697 | PyObject * _argo0 = 0; | |
13698 | char *_kwnames[] = { "self", NULL }; | |
13699 | char _ptemp[128]; | |
13700 | ||
13701 | self = self; | |
13702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames,&_argo0)) | |
13703 | return NULL; | |
13704 | if (_argo0) { | |
13705 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13706 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p."); | |
13708 | return NULL; | |
13709 | } | |
13710 | } | |
13711 | { | |
474c48f9 | 13712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13713 | _result = new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0)); |
f6bcfd97 | 13714 | |
474c48f9 | 13715 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13716 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13717 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxGridCellCoords_p"); |
13718 | _resultobj = Py_BuildValue("s",_ptemp); | |
13719 | return _resultobj; | |
13720 | } | |
13721 | ||
13722 | #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow()) | |
13723 | static PyObject *_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13724 | PyObject * _resultobj; | |
13725 | int _result; | |
13726 | wxGridRangeSelectEvent * _arg0; | |
13727 | PyObject * _argo0 = 0; | |
13728 | char *_kwnames[] = { "self", NULL }; | |
13729 | ||
13730 | self = self; | |
13731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames,&_argo0)) | |
13732 | return NULL; | |
13733 | if (_argo0) { | |
13734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p."); | |
13737 | return NULL; | |
13738 | } | |
13739 | } | |
13740 | { | |
474c48f9 | 13741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13742 | _result = (int )wxGridRangeSelectEvent_GetTopRow(_arg0); |
f6bcfd97 | 13743 | |
474c48f9 | 13744 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13745 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13746 | } _resultobj = Py_BuildValue("i",_result); |
13747 | return _resultobj; | |
13748 | } | |
13749 | ||
13750 | #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow()) | |
13751 | static PyObject *_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13752 | PyObject * _resultobj; | |
13753 | int _result; | |
13754 | wxGridRangeSelectEvent * _arg0; | |
13755 | PyObject * _argo0 = 0; | |
13756 | char *_kwnames[] = { "self", NULL }; | |
13757 | ||
13758 | self = self; | |
13759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames,&_argo0)) | |
13760 | return NULL; | |
13761 | if (_argo0) { | |
13762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p."); | |
13765 | return NULL; | |
13766 | } | |
13767 | } | |
13768 | { | |
474c48f9 | 13769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13770 | _result = (int )wxGridRangeSelectEvent_GetBottomRow(_arg0); |
f6bcfd97 | 13771 | |
474c48f9 | 13772 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13773 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13774 | } _resultobj = Py_BuildValue("i",_result); |
13775 | return _resultobj; | |
13776 | } | |
13777 | ||
13778 | #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol()) | |
13779 | static PyObject *_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13780 | PyObject * _resultobj; | |
13781 | int _result; | |
13782 | wxGridRangeSelectEvent * _arg0; | |
13783 | PyObject * _argo0 = 0; | |
13784 | char *_kwnames[] = { "self", NULL }; | |
13785 | ||
13786 | self = self; | |
13787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames,&_argo0)) | |
13788 | return NULL; | |
13789 | if (_argo0) { | |
13790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p."); | |
13793 | return NULL; | |
13794 | } | |
13795 | } | |
13796 | { | |
474c48f9 | 13797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13798 | _result = (int )wxGridRangeSelectEvent_GetLeftCol(_arg0); |
f6bcfd97 | 13799 | |
474c48f9 | 13800 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13801 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13802 | } _resultobj = Py_BuildValue("i",_result); |
13803 | return _resultobj; | |
13804 | } | |
13805 | ||
13806 | #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol()) | |
13807 | static PyObject *_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13808 | PyObject * _resultobj; | |
13809 | int _result; | |
13810 | wxGridRangeSelectEvent * _arg0; | |
13811 | PyObject * _argo0 = 0; | |
13812 | char *_kwnames[] = { "self", NULL }; | |
13813 | ||
13814 | self = self; | |
13815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames,&_argo0)) | |
13816 | return NULL; | |
13817 | if (_argo0) { | |
13818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p."); | |
13821 | return NULL; | |
13822 | } | |
13823 | } | |
13824 | { | |
474c48f9 | 13825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13826 | _result = (int )wxGridRangeSelectEvent_GetRightCol(_arg0); |
f6bcfd97 | 13827 | |
474c48f9 | 13828 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13829 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13830 | } _resultobj = Py_BuildValue("i",_result); |
13831 | return _resultobj; | |
13832 | } | |
13833 | ||
13834 | #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting()) | |
13835 | static PyObject *_wrap_wxGridRangeSelectEvent_Selecting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13836 | PyObject * _resultobj; | |
13837 | bool _result; | |
13838 | wxGridRangeSelectEvent * _arg0; | |
13839 | PyObject * _argo0 = 0; | |
13840 | char *_kwnames[] = { "self", NULL }; | |
13841 | ||
13842 | self = self; | |
13843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_Selecting",_kwnames,&_argo0)) | |
13844 | return NULL; | |
13845 | if (_argo0) { | |
13846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p."); | |
13849 | return NULL; | |
13850 | } | |
13851 | } | |
13852 | { | |
474c48f9 | 13853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13854 | _result = (bool )wxGridRangeSelectEvent_Selecting(_arg0); |
f6bcfd97 | 13855 | |
474c48f9 | 13856 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13857 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13858 | } _resultobj = Py_BuildValue("i",_result); |
13859 | return _resultobj; | |
13860 | } | |
13861 | ||
13862 | #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown()) | |
13863 | static PyObject *_wrap_wxGridRangeSelectEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13864 | PyObject * _resultobj; | |
13865 | bool _result; | |
13866 | wxGridRangeSelectEvent * _arg0; | |
13867 | PyObject * _argo0 = 0; | |
13868 | char *_kwnames[] = { "self", NULL }; | |
13869 | ||
13870 | self = self; | |
13871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ControlDown",_kwnames,&_argo0)) | |
13872 | return NULL; | |
13873 | if (_argo0) { | |
13874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p."); | |
13877 | return NULL; | |
13878 | } | |
13879 | } | |
13880 | { | |
474c48f9 | 13881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13882 | _result = (bool )wxGridRangeSelectEvent_ControlDown(_arg0); |
f6bcfd97 | 13883 | |
474c48f9 | 13884 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13885 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13886 | } _resultobj = Py_BuildValue("i",_result); |
13887 | return _resultobj; | |
13888 | } | |
13889 | ||
13890 | #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown()) | |
13891 | static PyObject *_wrap_wxGridRangeSelectEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13892 | PyObject * _resultobj; | |
13893 | bool _result; | |
13894 | wxGridRangeSelectEvent * _arg0; | |
13895 | PyObject * _argo0 = 0; | |
13896 | char *_kwnames[] = { "self", NULL }; | |
13897 | ||
13898 | self = self; | |
13899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_MetaDown",_kwnames,&_argo0)) | |
13900 | return NULL; | |
13901 | if (_argo0) { | |
13902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p."); | |
13905 | return NULL; | |
13906 | } | |
13907 | } | |
13908 | { | |
474c48f9 | 13909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13910 | _result = (bool )wxGridRangeSelectEvent_MetaDown(_arg0); |
f6bcfd97 | 13911 | |
474c48f9 | 13912 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13913 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13914 | } _resultobj = Py_BuildValue("i",_result); |
13915 | return _resultobj; | |
13916 | } | |
13917 | ||
13918 | #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown()) | |
13919 | static PyObject *_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13920 | PyObject * _resultobj; | |
13921 | bool _result; | |
13922 | wxGridRangeSelectEvent * _arg0; | |
13923 | PyObject * _argo0 = 0; | |
13924 | char *_kwnames[] = { "self", NULL }; | |
13925 | ||
13926 | self = self; | |
13927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames,&_argo0)) | |
13928 | return NULL; | |
13929 | if (_argo0) { | |
13930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p."); | |
13933 | return NULL; | |
13934 | } | |
13935 | } | |
13936 | { | |
474c48f9 | 13937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13938 | _result = (bool )wxGridRangeSelectEvent_ShiftDown(_arg0); |
f6bcfd97 | 13939 | |
474c48f9 | 13940 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13941 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13942 | } _resultobj = Py_BuildValue("i",_result); |
13943 | return _resultobj; | |
13944 | } | |
13945 | ||
13946 | #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown()) | |
13947 | static PyObject *_wrap_wxGridRangeSelectEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13948 | PyObject * _resultobj; | |
13949 | bool _result; | |
13950 | wxGridRangeSelectEvent * _arg0; | |
13951 | PyObject * _argo0 = 0; | |
13952 | char *_kwnames[] = { "self", NULL }; | |
13953 | ||
13954 | self = self; | |
13955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridRangeSelectEvent_AltDown",_kwnames,&_argo0)) | |
13956 | return NULL; | |
13957 | if (_argo0) { | |
13958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
13959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridRangeSelectEvent_p")) { | |
13960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p."); | |
13961 | return NULL; | |
13962 | } | |
13963 | } | |
13964 | { | |
474c48f9 | 13965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 13966 | _result = (bool )wxGridRangeSelectEvent_AltDown(_arg0); |
f6bcfd97 | 13967 | |
474c48f9 | 13968 | wxPyEndAllowThreads(__tstate); |
4dfaa61e | 13969 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
13970 | } _resultobj = Py_BuildValue("i",_result); |
13971 | return _resultobj; | |
13972 | } | |
13973 | ||
9d6da64a RD |
13974 | static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr) { |
13975 | wxGridEditorCreatedEvent *src; | |
13976 | wxCommandEvent *dest; | |
13977 | src = (wxGridEditorCreatedEvent *) ptr; | |
13978 | dest = (wxCommandEvent *) src; | |
13979 | return (void *) dest; | |
13980 | } | |
13981 | ||
13982 | static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr) { | |
13983 | wxGridEditorCreatedEvent *src; | |
13984 | wxEvent *dest; | |
13985 | src = (wxGridEditorCreatedEvent *) ptr; | |
13986 | dest = (wxEvent *) src; | |
13987 | return (void *) dest; | |
13988 | } | |
13989 | ||
13990 | static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr) { | |
13991 | wxGridEditorCreatedEvent *src; | |
13992 | wxObject *dest; | |
13993 | src = (wxGridEditorCreatedEvent *) ptr; | |
13994 | dest = (wxObject *) src; | |
13995 | return (void *) dest; | |
13996 | } | |
13997 | ||
13998 | #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
13999 | static PyObject *_wrap_new_wxGridEditorCreatedEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14000 | PyObject * _resultobj; | |
14001 | wxGridEditorCreatedEvent * _result; | |
14002 | int _arg0; | |
14003 | wxEventType _arg1; | |
14004 | wxObject * _arg2; | |
14005 | int _arg3; | |
14006 | int _arg4; | |
14007 | wxControl * _arg5; | |
14008 | PyObject * _argo2 = 0; | |
14009 | PyObject * _argo5 = 0; | |
14010 | char *_kwnames[] = { "id","type","obj","row","col","ctrl", NULL }; | |
14011 | char _ptemp[128]; | |
14012 | ||
14013 | self = self; | |
14014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames,&_arg0,&_arg1,&_argo2,&_arg3,&_arg4,&_argo5)) | |
14015 | return NULL; | |
14016 | if (_argo2) { | |
14017 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
14018 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxObject_p")) { | |
14019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p."); | |
14020 | return NULL; | |
14021 | } | |
14022 | } | |
14023 | if (_argo5) { | |
14024 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
14025 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxControl_p")) { | |
14026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p."); | |
14027 | return NULL; | |
14028 | } | |
14029 | } | |
14030 | { | |
474c48f9 | 14031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14032 | _result = (wxGridEditorCreatedEvent *)new_wxGridEditorCreatedEvent(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
9d6da64a | 14033 | |
474c48f9 | 14034 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
14035 | if (PyErr_Occurred()) return NULL; |
14036 | } if (_result) { | |
14037 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridEditorCreatedEvent_p"); | |
14038 | _resultobj = Py_BuildValue("s",_ptemp); | |
14039 | } else { | |
14040 | Py_INCREF(Py_None); | |
14041 | _resultobj = Py_None; | |
14042 | } | |
14043 | return _resultobj; | |
14044 | } | |
14045 | ||
14046 | #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow()) | |
14047 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14048 | PyObject * _resultobj; | |
14049 | int _result; | |
14050 | wxGridEditorCreatedEvent * _arg0; | |
14051 | PyObject * _argo0 = 0; | |
14052 | char *_kwnames[] = { "self", NULL }; | |
14053 | ||
14054 | self = self; | |
14055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetRow",_kwnames,&_argo0)) | |
14056 | return NULL; | |
14057 | if (_argo0) { | |
14058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p."); | |
14061 | return NULL; | |
14062 | } | |
14063 | } | |
14064 | { | |
474c48f9 | 14065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14066 | _result = (int )wxGridEditorCreatedEvent_GetRow(_arg0); |
9d6da64a | 14067 | |
474c48f9 | 14068 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
14069 | if (PyErr_Occurred()) return NULL; |
14070 | } _resultobj = Py_BuildValue("i",_result); | |
14071 | return _resultobj; | |
14072 | } | |
14073 | ||
14074 | #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol()) | |
14075 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14076 | PyObject * _resultobj; | |
14077 | int _result; | |
14078 | wxGridEditorCreatedEvent * _arg0; | |
14079 | PyObject * _argo0 = 0; | |
14080 | char *_kwnames[] = { "self", NULL }; | |
14081 | ||
14082 | self = self; | |
14083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetCol",_kwnames,&_argo0)) | |
14084 | return NULL; | |
14085 | if (_argo0) { | |
14086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p."); | |
14089 | return NULL; | |
14090 | } | |
14091 | } | |
14092 | { | |
474c48f9 | 14093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14094 | _result = (int )wxGridEditorCreatedEvent_GetCol(_arg0); |
9d6da64a | 14095 | |
474c48f9 | 14096 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
14097 | if (PyErr_Occurred()) return NULL; |
14098 | } _resultobj = Py_BuildValue("i",_result); | |
14099 | return _resultobj; | |
14100 | } | |
14101 | ||
14102 | #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
14103 | static PyObject *_wrap_wxGridEditorCreatedEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14104 | PyObject * _resultobj; | |
14105 | wxControl * _result; | |
14106 | wxGridEditorCreatedEvent * _arg0; | |
14107 | PyObject * _argo0 = 0; | |
14108 | char *_kwnames[] = { "self", NULL }; | |
14109 | ||
14110 | self = self; | |
14111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEditorCreatedEvent_GetControl",_kwnames,&_argo0)) | |
14112 | return NULL; | |
14113 | if (_argo0) { | |
14114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p."); | |
14117 | return NULL; | |
14118 | } | |
14119 | } | |
14120 | { | |
474c48f9 | 14121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14122 | _result = (wxControl *)wxGridEditorCreatedEvent_GetControl(_arg0); |
9d6da64a | 14123 | |
474c48f9 | 14124 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
14125 | if (PyErr_Occurred()) return NULL; |
14126 | }{ _resultobj = wxPyMake_wxObject(_result); } | |
14127 | return _resultobj; | |
14128 | } | |
14129 | ||
14130 | #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0)) | |
14131 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14132 | PyObject * _resultobj; | |
14133 | wxGridEditorCreatedEvent * _arg0; | |
14134 | int _arg1; | |
14135 | PyObject * _argo0 = 0; | |
14136 | char *_kwnames[] = { "self","row", NULL }; | |
14137 | ||
14138 | self = self; | |
14139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames,&_argo0,&_arg1)) | |
14140 | return NULL; | |
14141 | if (_argo0) { | |
14142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p."); | |
14145 | return NULL; | |
14146 | } | |
14147 | } | |
14148 | { | |
474c48f9 | 14149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14150 | wxGridEditorCreatedEvent_SetRow(_arg0,_arg1); |
9d6da64a | 14151 | |
474c48f9 | 14152 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
14153 | if (PyErr_Occurred()) return NULL; |
14154 | } Py_INCREF(Py_None); | |
14155 | _resultobj = Py_None; | |
14156 | return _resultobj; | |
14157 | } | |
14158 | ||
14159 | #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0)) | |
14160 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14161 | PyObject * _resultobj; | |
14162 | wxGridEditorCreatedEvent * _arg0; | |
14163 | int _arg1; | |
14164 | PyObject * _argo0 = 0; | |
14165 | char *_kwnames[] = { "self","col", NULL }; | |
14166 | ||
14167 | self = self; | |
14168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames,&_argo0,&_arg1)) | |
14169 | return NULL; | |
14170 | if (_argo0) { | |
14171 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14172 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p."); | |
14174 | return NULL; | |
14175 | } | |
14176 | } | |
14177 | { | |
474c48f9 | 14178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14179 | wxGridEditorCreatedEvent_SetCol(_arg0,_arg1); |
9d6da64a | 14180 | |
474c48f9 | 14181 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
14182 | if (PyErr_Occurred()) return NULL; |
14183 | } Py_INCREF(Py_None); | |
14184 | _resultobj = Py_None; | |
14185 | return _resultobj; | |
14186 | } | |
14187 | ||
14188 | #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0)) | |
14189 | static PyObject *_wrap_wxGridEditorCreatedEvent_SetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14190 | PyObject * _resultobj; | |
14191 | wxGridEditorCreatedEvent * _arg0; | |
14192 | wxControl * _arg1; | |
14193 | PyObject * _argo0 = 0; | |
14194 | PyObject * _argo1 = 0; | |
14195 | char *_kwnames[] = { "self","ctrl", NULL }; | |
14196 | ||
14197 | self = self; | |
14198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames,&_argo0,&_argo1)) | |
14199 | return NULL; | |
14200 | if (_argo0) { | |
14201 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
14202 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEditorCreatedEvent_p")) { | |
14203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p."); | |
14204 | return NULL; | |
14205 | } | |
14206 | } | |
14207 | if (_argo1) { | |
14208 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
14209 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
14210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p."); | |
14211 | return NULL; | |
14212 | } | |
14213 | } | |
14214 | { | |
474c48f9 | 14215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 14216 | wxGridEditorCreatedEvent_SetControl(_arg0,_arg1); |
9d6da64a | 14217 | |
474c48f9 | 14218 | wxPyEndAllowThreads(__tstate); |
9d6da64a RD |
14219 | if (PyErr_Occurred()) return NULL; |
14220 | } Py_INCREF(Py_None); | |
14221 | _resultobj = Py_None; | |
14222 | return _resultobj; | |
14223 | } | |
14224 | ||
f6bcfd97 | 14225 | static PyMethodDef gridcMethods[] = { |
9d6da64a RD |
14226 | { "wxGridEditorCreatedEvent_SetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetControl, METH_VARARGS | METH_KEYWORDS }, |
14227 | { "wxGridEditorCreatedEvent_SetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetCol, METH_VARARGS | METH_KEYWORDS }, | |
14228 | { "wxGridEditorCreatedEvent_SetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_SetRow, METH_VARARGS | METH_KEYWORDS }, | |
14229 | { "wxGridEditorCreatedEvent_GetControl", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
14230 | { "wxGridEditorCreatedEvent_GetCol", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
14231 | { "wxGridEditorCreatedEvent_GetRow", (PyCFunction) _wrap_wxGridEditorCreatedEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
14232 | { "new_wxGridEditorCreatedEvent", (PyCFunction) _wrap_new_wxGridEditorCreatedEvent, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14233 | { "wxGridRangeSelectEvent_AltDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, |
14234 | { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
14235 | { "wxGridRangeSelectEvent_MetaDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
14236 | { "wxGridRangeSelectEvent_ControlDown", (PyCFunction) _wrap_wxGridRangeSelectEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
14237 | { "wxGridRangeSelectEvent_Selecting", (PyCFunction) _wrap_wxGridRangeSelectEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, | |
14238 | { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetRightCol, METH_VARARGS | METH_KEYWORDS }, | |
14239 | { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetLeftCol, METH_VARARGS | METH_KEYWORDS }, | |
14240 | { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRow, METH_VARARGS | METH_KEYWORDS }, | |
14241 | { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopRow, METH_VARARGS | METH_KEYWORDS }, | |
14242 | { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords, METH_VARARGS | METH_KEYWORDS }, | |
14243 | { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords, METH_VARARGS | METH_KEYWORDS }, | |
14244 | { "new_wxGridRangeSelectEvent", (PyCFunction) _wrap_new_wxGridRangeSelectEvent, METH_VARARGS | METH_KEYWORDS }, | |
14245 | { "wxGridSizeEvent_AltDown", (PyCFunction) _wrap_wxGridSizeEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
14246 | { "wxGridSizeEvent_ShiftDown", (PyCFunction) _wrap_wxGridSizeEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
14247 | { "wxGridSizeEvent_MetaDown", (PyCFunction) _wrap_wxGridSizeEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
14248 | { "wxGridSizeEvent_ControlDown", (PyCFunction) _wrap_wxGridSizeEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
14249 | { "wxGridSizeEvent_GetPosition", (PyCFunction) _wrap_wxGridSizeEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
14250 | { "wxGridSizeEvent_GetRowOrCol", (PyCFunction) _wrap_wxGridSizeEvent_GetRowOrCol, METH_VARARGS | METH_KEYWORDS }, | |
14251 | { "new_wxGridSizeEvent", (PyCFunction) _wrap_new_wxGridSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
14252 | { "wxGridEvent_AltDown", (PyCFunction) _wrap_wxGridEvent_AltDown, METH_VARARGS | METH_KEYWORDS }, | |
14253 | { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS }, | |
14254 | { "wxGridEvent_MetaDown", (PyCFunction) _wrap_wxGridEvent_MetaDown, METH_VARARGS | METH_KEYWORDS }, | |
14255 | { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS }, | |
14256 | { "wxGridEvent_Selecting", (PyCFunction) _wrap_wxGridEvent_Selecting, METH_VARARGS | METH_KEYWORDS }, | |
14257 | { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
14258 | { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
14259 | { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
14260 | { "new_wxGridEvent", (PyCFunction) _wrap_new_wxGridEvent, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 RD |
14261 | { "wxGrid_GetGridCornerLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridCornerLabelWindow, METH_VARARGS | METH_KEYWORDS }, |
14262 | { "wxGrid_GetGridColLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridColLabelWindow, METH_VARARGS | METH_KEYWORDS }, | |
14263 | { "wxGrid_GetGridRowLabelWindow", (PyCFunction) _wrap_wxGrid_GetGridRowLabelWindow, METH_VARARGS | METH_KEYWORDS }, | |
14264 | { "wxGrid_GetGridWindow", (PyCFunction) _wrap_wxGrid_GetGridWindow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14265 | { "wxGrid_SetMargins", (PyCFunction) _wrap_wxGrid_SetMargins, METH_VARARGS | METH_KEYWORDS }, |
14266 | { "wxGrid_GetDefaultRendererForType", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForType, METH_VARARGS | METH_KEYWORDS }, | |
14267 | { "wxGrid_GetDefaultEditorForType", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForType, METH_VARARGS | METH_KEYWORDS }, | |
14268 | { "wxGrid_GetDefaultRendererForCell", (PyCFunction) _wrap_wxGrid_GetDefaultRendererForCell, METH_VARARGS | METH_KEYWORDS }, | |
14269 | { "wxGrid_GetDefaultEditorForCell", (PyCFunction) _wrap_wxGrid_GetDefaultEditorForCell, METH_VARARGS | METH_KEYWORDS }, | |
14270 | { "wxGrid_RegisterDataType", (PyCFunction) _wrap_wxGrid_RegisterDataType, METH_VARARGS | METH_KEYWORDS }, | |
14271 | { "wxGrid_SetSelectionForeground", (PyCFunction) _wrap_wxGrid_SetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, | |
14272 | { "wxGrid_SetSelectionBackground", (PyCFunction) _wrap_wxGrid_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
14273 | { "wxGrid_GetSelectionForeground", (PyCFunction) _wrap_wxGrid_GetSelectionForeground, METH_VARARGS | METH_KEYWORDS }, | |
14274 | { "wxGrid_GetSelectionBackground", (PyCFunction) _wrap_wxGrid_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
14275 | { "wxGrid_BlockToDeviceRect", (PyCFunction) _wrap_wxGrid_BlockToDeviceRect, METH_VARARGS | METH_KEYWORDS }, | |
14276 | { "wxGrid_IsInSelection", (PyCFunction) _wrap_wxGrid_IsInSelection, METH_VARARGS | METH_KEYWORDS }, | |
14277 | { "wxGrid_ClearSelection", (PyCFunction) _wrap_wxGrid_ClearSelection, METH_VARARGS | METH_KEYWORDS }, | |
14278 | { "wxGrid_IsSelection", (PyCFunction) _wrap_wxGrid_IsSelection, METH_VARARGS | METH_KEYWORDS }, | |
14279 | { "wxGrid_SelectAll", (PyCFunction) _wrap_wxGrid_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
14280 | { "wxGrid_SelectBlock", (PyCFunction) _wrap_wxGrid_SelectBlock, METH_VARARGS | METH_KEYWORDS }, | |
14281 | { "wxGrid_SelectCol", (PyCFunction) _wrap_wxGrid_SelectCol, METH_VARARGS | METH_KEYWORDS }, | |
14282 | { "wxGrid_SelectRow", (PyCFunction) _wrap_wxGrid_SelectRow, METH_VARARGS | METH_KEYWORDS }, | |
14283 | { "wxGrid_SetReadOnly", (PyCFunction) _wrap_wxGrid_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14284 | { "wxGrid_IsReadOnly", (PyCFunction) _wrap_wxGrid_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14285 | { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
14286 | { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS }, | |
14287 | { "wxGrid_GetCellEditor", (PyCFunction) _wrap_wxGrid_GetCellEditor, METH_VARARGS | METH_KEYWORDS }, | |
14288 | { "wxGrid_GetDefaultEditor", (PyCFunction) _wrap_wxGrid_GetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, | |
14289 | { "wxGrid_SetCellEditor", (PyCFunction) _wrap_wxGrid_SetCellEditor, METH_VARARGS | METH_KEYWORDS }, | |
14290 | { "wxGrid_SetDefaultEditor", (PyCFunction) _wrap_wxGrid_SetDefaultEditor, METH_VARARGS | METH_KEYWORDS }, | |
14291 | { "wxGrid_GetCellRenderer", (PyCFunction) _wrap_wxGrid_GetCellRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14292 | { "wxGrid_GetDefaultRenderer", (PyCFunction) _wrap_wxGrid_GetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14293 | { "wxGrid_SetCellRenderer", (PyCFunction) _wrap_wxGrid_SetCellRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14294 | { "wxGrid_SetDefaultRenderer", (PyCFunction) _wrap_wxGrid_SetDefaultRenderer, METH_VARARGS | METH_KEYWORDS }, | |
4eb65923 RD |
14295 | { "wxGrid_SetCellSize", (PyCFunction) _wrap_wxGrid_SetCellSize, METH_VARARGS | METH_KEYWORDS }, |
14296 | { "wxGrid_SetCellOverflow", (PyCFunction) _wrap_wxGrid_SetCellOverflow, METH_VARARGS | METH_KEYWORDS }, | |
14297 | { "wxGrid_SetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_SetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14298 | { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS }, |
14299 | { "wxGrid_SetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14300 | { "wxGrid_SetCellFont", (PyCFunction) _wrap_wxGrid_SetCellFont, METH_VARARGS | METH_KEYWORDS }, | |
14301 | { "wxGrid_SetDefaultCellFont", (PyCFunction) _wrap_wxGrid_SetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, | |
14302 | { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
14303 | { "wxGrid_SetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
14304 | { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14305 | { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14306 | { "wxGrid_SetRowMinimalHeight", (PyCFunction) _wrap_wxGrid_SetRowMinimalHeight, METH_VARARGS | METH_KEYWORDS }, | |
14307 | { "wxGrid_SetColMinimalWidth", (PyCFunction) _wrap_wxGrid_SetColMinimalWidth, METH_VARARGS | METH_KEYWORDS }, | |
14308 | { "wxGrid_AutoSize", (PyCFunction) _wrap_wxGrid_AutoSize, METH_VARARGS | METH_KEYWORDS }, | |
14309 | { "wxGrid_AutoSizeRows", (PyCFunction) _wrap_wxGrid_AutoSizeRows, METH_VARARGS | METH_KEYWORDS }, | |
14310 | { "wxGrid_AutoSizeColumns", (PyCFunction) _wrap_wxGrid_AutoSizeColumns, METH_VARARGS | METH_KEYWORDS }, | |
14311 | { "wxGrid_AutoSizeRow", (PyCFunction) _wrap_wxGrid_AutoSizeRow, METH_VARARGS | METH_KEYWORDS }, | |
14312 | { "wxGrid_AutoSizeColumn", (PyCFunction) _wrap_wxGrid_AutoSizeColumn, METH_VARARGS | METH_KEYWORDS }, | |
14313 | { "wxGrid_SetColSize", (PyCFunction) _wrap_wxGrid_SetColSize, METH_VARARGS | METH_KEYWORDS }, | |
14314 | { "wxGrid_SetDefaultColSize", (PyCFunction) _wrap_wxGrid_SetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, | |
14315 | { "wxGrid_SetRowSize", (PyCFunction) _wrap_wxGrid_SetRowSize, METH_VARARGS | METH_KEYWORDS }, | |
14316 | { "wxGrid_SetDefaultRowSize", (PyCFunction) _wrap_wxGrid_SetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, | |
4eb65923 RD |
14317 | { "wxGrid_GetCellSize", (PyCFunction) _wrap_wxGrid_GetCellSize, METH_VARARGS | METH_KEYWORDS }, |
14318 | { "wxGrid_GetCellOverflow", (PyCFunction) _wrap_wxGrid_GetCellOverflow, METH_VARARGS | METH_KEYWORDS }, | |
14319 | { "wxGrid_GetDefaultCellOverflow", (PyCFunction) _wrap_wxGrid_GetDefaultCellOverflow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14320 | { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS }, |
14321 | { "wxGrid_GetDefaultCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefaultCellAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14322 | { "wxGrid_GetCellFont", (PyCFunction) _wrap_wxGrid_GetCellFont, METH_VARARGS | METH_KEYWORDS }, | |
14323 | { "wxGrid_GetDefaultCellFont", (PyCFunction) _wrap_wxGrid_GetDefaultCellFont, METH_VARARGS | METH_KEYWORDS }, | |
14324 | { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
14325 | { "wxGrid_GetDefaultCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellTextColour, METH_VARARGS | METH_KEYWORDS }, | |
14326 | { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14327 | { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefaultCellBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14328 | { "wxGrid_GetColSize", (PyCFunction) _wrap_wxGrid_GetColSize, METH_VARARGS | METH_KEYWORDS }, | |
14329 | { "wxGrid_GetDefaultColSize", (PyCFunction) _wrap_wxGrid_GetDefaultColSize, METH_VARARGS | METH_KEYWORDS }, | |
14330 | { "wxGrid_GetRowSize", (PyCFunction) _wrap_wxGrid_GetRowSize, METH_VARARGS | METH_KEYWORDS }, | |
14331 | { "wxGrid_GetDefaultRowSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowSize, METH_VARARGS | METH_KEYWORDS }, | |
14332 | { "wxGrid_GridLinesEnabled", (PyCFunction) _wrap_wxGrid_GridLinesEnabled, METH_VARARGS | METH_KEYWORDS }, | |
14333 | { "wxGrid_EnableGridLines", (PyCFunction) _wrap_wxGrid_EnableGridLines, METH_VARARGS | METH_KEYWORDS }, | |
14334 | { "wxGrid_SetColFormatCustom", (PyCFunction) _wrap_wxGrid_SetColFormatCustom, METH_VARARGS | METH_KEYWORDS }, | |
14335 | { "wxGrid_SetColFormatFloat", (PyCFunction) _wrap_wxGrid_SetColFormatFloat, METH_VARARGS | METH_KEYWORDS }, | |
14336 | { "wxGrid_SetColFormatNumber", (PyCFunction) _wrap_wxGrid_SetColFormatNumber, METH_VARARGS | METH_KEYWORDS }, | |
14337 | { "wxGrid_SetColFormatBool", (PyCFunction) _wrap_wxGrid_SetColFormatBool, METH_VARARGS | METH_KEYWORDS }, | |
14338 | { "wxGrid_SetColAttr", (PyCFunction) _wrap_wxGrid_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
14339 | { "wxGrid_SetRowAttr", (PyCFunction) _wrap_wxGrid_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
4eb65923 | 14340 | { "wxGrid_SetAttr", (PyCFunction) _wrap_wxGrid_SetAttr, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14341 | { "wxGrid_CanDragGridSize", (PyCFunction) _wrap_wxGrid_CanDragGridSize, METH_VARARGS | METH_KEYWORDS }, |
14342 | { "wxGrid_DisableDragGridSize", (PyCFunction) _wrap_wxGrid_DisableDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
14343 | { "wxGrid_EnableDragGridSize", (PyCFunction) _wrap_wxGrid_EnableDragGridSize, METH_VARARGS | METH_KEYWORDS }, | |
14344 | { "wxGrid_CanDragColSize", (PyCFunction) _wrap_wxGrid_CanDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
14345 | { "wxGrid_DisableDragColSize", (PyCFunction) _wrap_wxGrid_DisableDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
14346 | { "wxGrid_EnableDragColSize", (PyCFunction) _wrap_wxGrid_EnableDragColSize, METH_VARARGS | METH_KEYWORDS }, | |
14347 | { "wxGrid_CanDragRowSize", (PyCFunction) _wrap_wxGrid_CanDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
14348 | { "wxGrid_DisableDragRowSize", (PyCFunction) _wrap_wxGrid_DisableDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
14349 | { "wxGrid_EnableDragRowSize", (PyCFunction) _wrap_wxGrid_EnableDragRowSize, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 RD |
14350 | { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
14351 | { "wxGrid_SetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_SetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14352 | { "wxGrid_SetCellHighlightColour", (PyCFunction) _wrap_wxGrid_SetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
14353 | { "wxGrid_SetGridLineColour", (PyCFunction) _wrap_wxGrid_SetGridLineColour, METH_VARARGS | METH_KEYWORDS }, | |
14354 | { "wxGrid_SetColLabelValue", (PyCFunction) _wrap_wxGrid_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14355 | { "wxGrid_SetRowLabelValue", (PyCFunction) _wrap_wxGrid_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14356 | { "wxGrid_SetColLabelAlignment", (PyCFunction) _wrap_wxGrid_SetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14357 | { "wxGrid_SetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_SetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14358 | { "wxGrid_SetLabelFont", (PyCFunction) _wrap_wxGrid_SetLabelFont, METH_VARARGS | METH_KEYWORDS }, | |
14359 | { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
14360 | { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14361 | { "wxGrid_SetColLabelSize", (PyCFunction) _wrap_wxGrid_SetColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
14362 | { "wxGrid_SetRowLabelSize", (PyCFunction) _wrap_wxGrid_SetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 RD |
14363 | { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightROPenWidth, METH_VARARGS | METH_KEYWORDS }, |
14364 | { "wxGrid_GetCellHighlightPenWidth", (PyCFunction) _wrap_wxGrid_GetCellHighlightPenWidth, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14365 | { "wxGrid_GetCellHighlightColour", (PyCFunction) _wrap_wxGrid_GetCellHighlightColour, METH_VARARGS | METH_KEYWORDS }, |
14366 | { "wxGrid_GetGridLineColour", (PyCFunction) _wrap_wxGrid_GetGridLineColour, METH_VARARGS | METH_KEYWORDS }, | |
14367 | { "wxGrid_GetColLabelValue", (PyCFunction) _wrap_wxGrid_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14368 | { "wxGrid_GetRowLabelValue", (PyCFunction) _wrap_wxGrid_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14369 | { "wxGrid_GetColLabelAlignment", (PyCFunction) _wrap_wxGrid_GetColLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14370 | { "wxGrid_GetRowLabelAlignment", (PyCFunction) _wrap_wxGrid_GetRowLabelAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14371 | { "wxGrid_GetLabelFont", (PyCFunction) _wrap_wxGrid_GetLabelFont, METH_VARARGS | METH_KEYWORDS }, | |
14372 | { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS }, | |
14373 | { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14374 | { "wxGrid_GetColLabelSize", (PyCFunction) _wrap_wxGrid_GetColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
14375 | { "wxGrid_GetDefaultColLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultColLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
14376 | { "wxGrid_GetRowLabelSize", (PyCFunction) _wrap_wxGrid_GetRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
14377 | { "wxGrid_GetDefaultRowLabelSize", (PyCFunction) _wrap_wxGrid_GetDefaultRowLabelSize, METH_VARARGS | METH_KEYWORDS }, | |
14378 | { "wxGrid_MoveCursorRightBlock", (PyCFunction) _wrap_wxGrid_MoveCursorRightBlock, METH_VARARGS | METH_KEYWORDS }, | |
14379 | { "wxGrid_MoveCursorLeftBlock", (PyCFunction) _wrap_wxGrid_MoveCursorLeftBlock, METH_VARARGS | METH_KEYWORDS }, | |
14380 | { "wxGrid_MoveCursorDownBlock", (PyCFunction) _wrap_wxGrid_MoveCursorDownBlock, METH_VARARGS | METH_KEYWORDS }, | |
14381 | { "wxGrid_MoveCursorUpBlock", (PyCFunction) _wrap_wxGrid_MoveCursorUpBlock, METH_VARARGS | METH_KEYWORDS }, | |
14382 | { "wxGrid_MovePageUp", (PyCFunction) _wrap_wxGrid_MovePageUp, METH_VARARGS | METH_KEYWORDS }, | |
14383 | { "wxGrid_MovePageDown", (PyCFunction) _wrap_wxGrid_MovePageDown, METH_VARARGS | METH_KEYWORDS }, | |
14384 | { "wxGrid_MoveCursorRight", (PyCFunction) _wrap_wxGrid_MoveCursorRight, METH_VARARGS | METH_KEYWORDS }, | |
14385 | { "wxGrid_MoveCursorLeft", (PyCFunction) _wrap_wxGrid_MoveCursorLeft, METH_VARARGS | METH_KEYWORDS }, | |
14386 | { "wxGrid_MoveCursorDown", (PyCFunction) _wrap_wxGrid_MoveCursorDown, METH_VARARGS | METH_KEYWORDS }, | |
14387 | { "wxGrid_MoveCursorUp", (PyCFunction) _wrap_wxGrid_MoveCursorUp, METH_VARARGS | METH_KEYWORDS }, | |
14388 | { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS }, | |
14389 | { "wxGrid_MakeCellVisible", (PyCFunction) _wrap_wxGrid_MakeCellVisible, METH_VARARGS | METH_KEYWORDS }, | |
14390 | { "wxGrid_IsVisible", (PyCFunction) _wrap_wxGrid_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
14391 | { "wxGrid_GetGridCursorCol", (PyCFunction) _wrap_wxGrid_GetGridCursorCol, METH_VARARGS | METH_KEYWORDS }, | |
14392 | { "wxGrid_GetGridCursorRow", (PyCFunction) _wrap_wxGrid_GetGridCursorRow, METH_VARARGS | METH_KEYWORDS }, | |
14393 | { "wxGrid_CellToRect", (PyCFunction) _wrap_wxGrid_CellToRect, METH_VARARGS | METH_KEYWORDS }, | |
14394 | { "wxGrid_XToEdgeOfCol", (PyCFunction) _wrap_wxGrid_XToEdgeOfCol, METH_VARARGS | METH_KEYWORDS }, | |
14395 | { "wxGrid_YToEdgeOfRow", (PyCFunction) _wrap_wxGrid_YToEdgeOfRow, METH_VARARGS | METH_KEYWORDS }, | |
14396 | { "wxGrid_XToCol", (PyCFunction) _wrap_wxGrid_XToCol, METH_VARARGS | METH_KEYWORDS }, | |
14397 | { "wxGrid_YToRow", (PyCFunction) _wrap_wxGrid_YToRow, METH_VARARGS | METH_KEYWORDS }, | |
14398 | { "wxGrid_XYToCell", (PyCFunction) _wrap_wxGrid_XYToCell, METH_VARARGS | METH_KEYWORDS }, | |
14399 | { "wxGrid_SaveEditControlValue", (PyCFunction) _wrap_wxGrid_SaveEditControlValue, METH_VARARGS | METH_KEYWORDS }, | |
14400 | { "wxGrid_HideCellEditControl", (PyCFunction) _wrap_wxGrid_HideCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
14401 | { "wxGrid_ShowCellEditControl", (PyCFunction) _wrap_wxGrid_ShowCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
14402 | { "wxGrid_IsCurrentCellReadOnly", (PyCFunction) _wrap_wxGrid_IsCurrentCellReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14403 | { "wxGrid_IsCellEditControlShown", (PyCFunction) _wrap_wxGrid_IsCellEditControlShown, METH_VARARGS | METH_KEYWORDS }, | |
14404 | { "wxGrid_IsCellEditControlEnabled", (PyCFunction) _wrap_wxGrid_IsCellEditControlEnabled, METH_VARARGS | METH_KEYWORDS }, | |
14405 | { "wxGrid_CanEnableCellControl", (PyCFunction) _wrap_wxGrid_CanEnableCellControl, METH_VARARGS | METH_KEYWORDS }, | |
14406 | { "wxGrid_DisableCellEditControl", (PyCFunction) _wrap_wxGrid_DisableCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
14407 | { "wxGrid_EnableCellEditControl", (PyCFunction) _wrap_wxGrid_EnableCellEditControl, METH_VARARGS | METH_KEYWORDS }, | |
14408 | { "wxGrid_EnableEditing", (PyCFunction) _wrap_wxGrid_EnableEditing, METH_VARARGS | METH_KEYWORDS }, | |
14409 | { "wxGrid_IsEditable", (PyCFunction) _wrap_wxGrid_IsEditable, METH_VARARGS | METH_KEYWORDS }, | |
4eb65923 | 14410 | { "wxGrid_Refresh", (PyCFunction) _wrap_wxGrid_Refresh, METH_VARARGS | METH_KEYWORDS }, |
9a08cd12 | 14411 | { "wxGrid_ForceRefresh", (PyCFunction) _wrap_wxGrid_ForceRefresh, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14412 | { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS }, |
14413 | { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS }, | |
14414 | { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS }, | |
14415 | { "wxGrid_GetTextBoxSize", (PyCFunction) _wrap_wxGrid_GetTextBoxSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14416 | { "wxGrid_DrawTextRectangle", (PyCFunction) _wrap_wxGrid_DrawTextRectangle, METH_VARARGS | METH_KEYWORDS }, |
14417 | { "wxGrid_DrawCellHighlight", (PyCFunction) _wrap_wxGrid_DrawCellHighlight, METH_VARARGS | METH_KEYWORDS }, | |
14418 | { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
14419 | { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
14420 | { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
14421 | { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
14422 | { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
14423 | { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
14424 | { "wxGrid_ClearGrid", (PyCFunction) _wrap_wxGrid_ClearGrid, METH_VARARGS | METH_KEYWORDS }, | |
14425 | { "wxGrid_SetTable", (PyCFunction) _wrap_wxGrid_SetTable, METH_VARARGS | METH_KEYWORDS }, | |
14426 | { "wxGrid_GetTable", (PyCFunction) _wrap_wxGrid_GetTable, METH_VARARGS | METH_KEYWORDS }, | |
14427 | { "wxGrid_ProcessTableMessage", (PyCFunction) _wrap_wxGrid_ProcessTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
14428 | { "wxGrid_GetNumberCols", (PyCFunction) _wrap_wxGrid_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, | |
14429 | { "wxGrid_GetNumberRows", (PyCFunction) _wrap_wxGrid_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, | |
14430 | { "wxGrid_SetSelectionMode", (PyCFunction) _wrap_wxGrid_SetSelectionMode, METH_VARARGS | METH_KEYWORDS }, | |
14431 | { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS }, | |
14432 | { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS }, | |
14433 | { "wxGridCellCoords___cmp__", (PyCFunction) _wrap_wxGridCellCoords___cmp__, METH_VARARGS | METH_KEYWORDS }, | |
14434 | { "wxGridCellCoords_asTuple", (PyCFunction) _wrap_wxGridCellCoords_asTuple, METH_VARARGS | METH_KEYWORDS }, | |
14435 | { "wxGridCellCoords_Set", (PyCFunction) _wrap_wxGridCellCoords_Set, METH_VARARGS | METH_KEYWORDS }, | |
14436 | { "wxGridCellCoords_SetCol", (PyCFunction) _wrap_wxGridCellCoords_SetCol, METH_VARARGS | METH_KEYWORDS }, | |
14437 | { "wxGridCellCoords_GetCol", (PyCFunction) _wrap_wxGridCellCoords_GetCol, METH_VARARGS | METH_KEYWORDS }, | |
14438 | { "wxGridCellCoords_SetRow", (PyCFunction) _wrap_wxGridCellCoords_SetRow, METH_VARARGS | METH_KEYWORDS }, | |
14439 | { "wxGridCellCoords_GetRow", (PyCFunction) _wrap_wxGridCellCoords_GetRow, METH_VARARGS | METH_KEYWORDS }, | |
14440 | { "delete_wxGridCellCoords", (PyCFunction) _wrap_delete_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS }, | |
14441 | { "new_wxGridCellCoords", (PyCFunction) _wrap_new_wxGridCellCoords, METH_VARARGS | METH_KEYWORDS }, | |
14442 | { "wxGridTableMessage_GetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt2, METH_VARARGS | METH_KEYWORDS }, | |
14443 | { "wxGridTableMessage_SetCommandInt2", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt2, METH_VARARGS | METH_KEYWORDS }, | |
14444 | { "wxGridTableMessage_GetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_GetCommandInt, METH_VARARGS | METH_KEYWORDS }, | |
14445 | { "wxGridTableMessage_SetCommandInt", (PyCFunction) _wrap_wxGridTableMessage_SetCommandInt, METH_VARARGS | METH_KEYWORDS }, | |
14446 | { "wxGridTableMessage_GetId", (PyCFunction) _wrap_wxGridTableMessage_GetId, METH_VARARGS | METH_KEYWORDS }, | |
14447 | { "wxGridTableMessage_SetId", (PyCFunction) _wrap_wxGridTableMessage_SetId, METH_VARARGS | METH_KEYWORDS }, | |
14448 | { "wxGridTableMessage_GetTableObject", (PyCFunction) _wrap_wxGridTableMessage_GetTableObject, METH_VARARGS | METH_KEYWORDS }, | |
14449 | { "wxGridTableMessage_SetTableObject", (PyCFunction) _wrap_wxGridTableMessage_SetTableObject, METH_VARARGS | METH_KEYWORDS }, | |
14450 | { "delete_wxGridTableMessage", (PyCFunction) _wrap_delete_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
14451 | { "new_wxGridTableMessage", (PyCFunction) _wrap_new_wxGridTableMessage, METH_VARARGS | METH_KEYWORDS }, | |
14452 | { "new_wxGridStringTable", (PyCFunction) _wrap_new_wxGridStringTable, METH_VARARGS | METH_KEYWORDS }, | |
14453 | { "wxPyGridTableBase_base_SetColAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
14454 | { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
14455 | { "wxPyGridTableBase_base_SetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14456 | { "wxPyGridTableBase_base_GetAttr", (PyCFunction) _wrap_wxPyGridTableBase_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14457 | { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction) _wrap_wxPyGridTableBase_base_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, | |
14458 | { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14459 | { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14460 | { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14461 | { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction) _wrap_wxPyGridTableBase_base_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14462 | { "wxPyGridTableBase_base_DeleteCols", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
14463 | { "wxPyGridTableBase_base_AppendCols", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
14464 | { "wxPyGridTableBase_base_InsertCols", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
14465 | { "wxPyGridTableBase_base_DeleteRows", (PyCFunction) _wrap_wxPyGridTableBase_base_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
14466 | { "wxPyGridTableBase_base_AppendRows", (PyCFunction) _wrap_wxPyGridTableBase_base_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
14467 | { "wxPyGridTableBase_base_InsertRows", (PyCFunction) _wrap_wxPyGridTableBase_base_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
14468 | { "wxPyGridTableBase_base_Clear", (PyCFunction) _wrap_wxPyGridTableBase_base_Clear, METH_VARARGS | METH_KEYWORDS }, | |
14469 | { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
14470 | { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction) _wrap_wxPyGridTableBase_base_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
14471 | { "wxPyGridTableBase_base_GetTypeName", (PyCFunction) _wrap_wxPyGridTableBase_base_GetTypeName, METH_VARARGS | METH_KEYWORDS }, | |
14472 | { "wxPyGridTableBase_Destroy", (PyCFunction) _wrap_wxPyGridTableBase_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 14473 | { "wxPyGridTableBase__setCallbackInfo", (PyCFunction) _wrap_wxPyGridTableBase__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14474 | { "new_wxPyGridTableBase", (PyCFunction) _wrap_new_wxPyGridTableBase, METH_VARARGS | METH_KEYWORDS }, |
14475 | { "wxGridTableBase_SetColAttr", (PyCFunction) _wrap_wxGridTableBase_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
14476 | { "wxGridTableBase_SetRowAttr", (PyCFunction) _wrap_wxGridTableBase_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
14477 | { "wxGridTableBase_SetAttr", (PyCFunction) _wrap_wxGridTableBase_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14478 | { "wxGridTableBase_GetAttr", (PyCFunction) _wrap_wxGridTableBase_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14479 | { "wxGridTableBase_CanHaveAttributes", (PyCFunction) _wrap_wxGridTableBase_CanHaveAttributes, METH_VARARGS | METH_KEYWORDS }, | |
14480 | { "wxGridTableBase_SetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14481 | { "wxGridTableBase_SetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_SetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14482 | { "wxGridTableBase_GetColLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetColLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14483 | { "wxGridTableBase_GetRowLabelValue", (PyCFunction) _wrap_wxGridTableBase_GetRowLabelValue, METH_VARARGS | METH_KEYWORDS }, | |
14484 | { "wxGridTableBase_DeleteCols", (PyCFunction) _wrap_wxGridTableBase_DeleteCols, METH_VARARGS | METH_KEYWORDS }, | |
14485 | { "wxGridTableBase_AppendCols", (PyCFunction) _wrap_wxGridTableBase_AppendCols, METH_VARARGS | METH_KEYWORDS }, | |
14486 | { "wxGridTableBase_InsertCols", (PyCFunction) _wrap_wxGridTableBase_InsertCols, METH_VARARGS | METH_KEYWORDS }, | |
14487 | { "wxGridTableBase_DeleteRows", (PyCFunction) _wrap_wxGridTableBase_DeleteRows, METH_VARARGS | METH_KEYWORDS }, | |
14488 | { "wxGridTableBase_AppendRows", (PyCFunction) _wrap_wxGridTableBase_AppendRows, METH_VARARGS | METH_KEYWORDS }, | |
14489 | { "wxGridTableBase_InsertRows", (PyCFunction) _wrap_wxGridTableBase_InsertRows, METH_VARARGS | METH_KEYWORDS }, | |
14490 | { "wxGridTableBase_Clear", (PyCFunction) _wrap_wxGridTableBase_Clear, METH_VARARGS | METH_KEYWORDS }, | |
14491 | { "wxGridTableBase_SetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_SetValueAsBool, METH_VARARGS | METH_KEYWORDS }, | |
14492 | { "wxGridTableBase_SetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_SetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, | |
14493 | { "wxGridTableBase_SetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_SetValueAsLong, METH_VARARGS | METH_KEYWORDS }, | |
14494 | { "wxGridTableBase_GetValueAsBool", (PyCFunction) _wrap_wxGridTableBase_GetValueAsBool, METH_VARARGS | METH_KEYWORDS }, | |
14495 | { "wxGridTableBase_GetValueAsDouble", (PyCFunction) _wrap_wxGridTableBase_GetValueAsDouble, METH_VARARGS | METH_KEYWORDS }, | |
14496 | { "wxGridTableBase_GetValueAsLong", (PyCFunction) _wrap_wxGridTableBase_GetValueAsLong, METH_VARARGS | METH_KEYWORDS }, | |
14497 | { "wxGridTableBase_CanSetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanSetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
14498 | { "wxGridTableBase_CanGetValueAs", (PyCFunction) _wrap_wxGridTableBase_CanGetValueAs, METH_VARARGS | METH_KEYWORDS }, | |
14499 | { "wxGridTableBase_GetTypeName", (PyCFunction) _wrap_wxGridTableBase_GetTypeName, METH_VARARGS | METH_KEYWORDS }, | |
14500 | { "wxGridTableBase_SetValue", (PyCFunction) _wrap_wxGridTableBase_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
14501 | { "wxGridTableBase_GetValue", (PyCFunction) _wrap_wxGridTableBase_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
14502 | { "wxGridTableBase_IsEmptyCell", (PyCFunction) _wrap_wxGridTableBase_IsEmptyCell, METH_VARARGS | METH_KEYWORDS }, | |
14503 | { "wxGridTableBase_GetNumberCols", (PyCFunction) _wrap_wxGridTableBase_GetNumberCols, METH_VARARGS | METH_KEYWORDS }, | |
14504 | { "wxGridTableBase_GetNumberRows", (PyCFunction) _wrap_wxGridTableBase_GetNumberRows, METH_VARARGS | METH_KEYWORDS }, | |
14505 | { "wxGridTableBase_GetView", (PyCFunction) _wrap_wxGridTableBase_GetView, METH_VARARGS | METH_KEYWORDS }, | |
14506 | { "wxGridTableBase_SetView", (PyCFunction) _wrap_wxGridTableBase_SetView, METH_VARARGS | METH_KEYWORDS }, | |
14507 | { "wxGridTableBase_GetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_GetAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
14508 | { "wxGridTableBase_SetAttrProvider", (PyCFunction) _wrap_wxGridTableBase_SetAttrProvider, METH_VARARGS | METH_KEYWORDS }, | |
b98a5dfc | 14509 | { "wxGridTableBase__setOORInfo", (PyCFunction) _wrap_wxGridTableBase__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14510 | { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetColAttr, METH_VARARGS | METH_KEYWORDS }, |
14511 | { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
14512 | { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14513 | { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction) _wrap_wxPyGridCellAttrProvider_base_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 14514 | { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellAttrProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14515 | { "new_wxPyGridCellAttrProvider", (PyCFunction) _wrap_new_wxPyGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
14516 | { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrCols, METH_VARARGS | METH_KEYWORDS }, | |
14517 | { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction) _wrap_wxGridCellAttrProvider_UpdateAttrRows, METH_VARARGS | METH_KEYWORDS }, | |
14518 | { "wxGridCellAttrProvider_SetColAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetColAttr, METH_VARARGS | METH_KEYWORDS }, | |
14519 | { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetRowAttr, METH_VARARGS | METH_KEYWORDS }, | |
14520 | { "wxGridCellAttrProvider_SetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_SetAttr, METH_VARARGS | METH_KEYWORDS }, | |
14521 | { "wxGridCellAttrProvider_GetAttr", (PyCFunction) _wrap_wxGridCellAttrProvider_GetAttr, METH_VARARGS | METH_KEYWORDS }, | |
b98a5dfc | 14522 | { "wxGridCellAttrProvider__setOORInfo", (PyCFunction) _wrap_wxGridCellAttrProvider__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14523 | { "new_wxGridCellAttrProvider", (PyCFunction) _wrap_new_wxGridCellAttrProvider, METH_VARARGS | METH_KEYWORDS }, |
14524 | { "wxGridCellAttr_SetDefAttr", (PyCFunction) _wrap_wxGridCellAttr_SetDefAttr, METH_VARARGS | METH_KEYWORDS }, | |
14525 | { "wxGridCellAttr_IsReadOnly", (PyCFunction) _wrap_wxGridCellAttr_IsReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14526 | { "wxGridCellAttr_GetEditor", (PyCFunction) _wrap_wxGridCellAttr_GetEditor, METH_VARARGS | METH_KEYWORDS }, | |
14527 | { "wxGridCellAttr_GetRenderer", (PyCFunction) _wrap_wxGridCellAttr_GetRenderer, METH_VARARGS | METH_KEYWORDS }, | |
4eb65923 RD |
14528 | { "wxGridCellAttr_GetOverflow", (PyCFunction) _wrap_wxGridCellAttr_GetOverflow, METH_VARARGS | METH_KEYWORDS }, |
14529 | { "wxGridCellAttr_GetSize", (PyCFunction) _wrap_wxGridCellAttr_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14530 | { "wxGridCellAttr_GetAlignment", (PyCFunction) _wrap_wxGridCellAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS }, |
14531 | { "wxGridCellAttr_GetFont", (PyCFunction) _wrap_wxGridCellAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
14532 | { "wxGridCellAttr_GetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14533 | { "wxGridCellAttr_GetTextColour", (PyCFunction) _wrap_wxGridCellAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 | 14534 | { "wxGridCellAttr_HasReadWriteMode", (PyCFunction) _wrap_wxGridCellAttr_HasReadWriteMode, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14535 | { "wxGridCellAttr_HasEditor", (PyCFunction) _wrap_wxGridCellAttr_HasEditor, METH_VARARGS | METH_KEYWORDS }, |
14536 | { "wxGridCellAttr_HasRenderer", (PyCFunction) _wrap_wxGridCellAttr_HasRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14537 | { "wxGridCellAttr_HasAlignment", (PyCFunction) _wrap_wxGridCellAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS }, | |
14538 | { "wxGridCellAttr_HasFont", (PyCFunction) _wrap_wxGridCellAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, | |
14539 | { "wxGridCellAttr_HasBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14540 | { "wxGridCellAttr_HasTextColour", (PyCFunction) _wrap_wxGridCellAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 | 14541 | { "wxGridCellAttr_SetKind", (PyCFunction) _wrap_wxGridCellAttr_SetKind, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14542 | { "wxGridCellAttr_SetEditor", (PyCFunction) _wrap_wxGridCellAttr_SetEditor, METH_VARARGS | METH_KEYWORDS }, |
14543 | { "wxGridCellAttr_SetRenderer", (PyCFunction) _wrap_wxGridCellAttr_SetRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14544 | { "wxGridCellAttr_SetReadOnly", (PyCFunction) _wrap_wxGridCellAttr_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
4eb65923 RD |
14545 | { "wxGridCellAttr_SetOverflow", (PyCFunction) _wrap_wxGridCellAttr_SetOverflow, METH_VARARGS | METH_KEYWORDS }, |
14546 | { "wxGridCellAttr_SetSize", (PyCFunction) _wrap_wxGridCellAttr_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14547 | { "wxGridCellAttr_SetAlignment", (PyCFunction) _wrap_wxGridCellAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS }, |
14548 | { "wxGridCellAttr_SetFont", (PyCFunction) _wrap_wxGridCellAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
14549 | { "wxGridCellAttr_SetBackgroundColour", (PyCFunction) _wrap_wxGridCellAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
14550 | { "wxGridCellAttr_SetTextColour", (PyCFunction) _wrap_wxGridCellAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
14551 | { "wxGridCellAttr_DecRef", (PyCFunction) _wrap_wxGridCellAttr_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14552 | { "wxGridCellAttr_IncRef", (PyCFunction) _wrap_wxGridCellAttr_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 | 14553 | { "wxGridCellAttr_MergeWith", (PyCFunction) _wrap_wxGridCellAttr_MergeWith, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14554 | { "wxGridCellAttr_Clone", (PyCFunction) _wrap_wxGridCellAttr_Clone, METH_VARARGS | METH_KEYWORDS }, |
14555 | { "new_wxGridCellAttr", (PyCFunction) _wrap_new_wxGridCellAttr, METH_VARARGS | METH_KEYWORDS }, | |
b98a5dfc | 14556 | { "wxGridCellAttr__setOORInfo", (PyCFunction) _wrap_wxGridCellAttr__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
059a841c RD |
14557 | { "new_wxGridCellAutoWrapStringEditor", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringEditor, METH_VARARGS | METH_KEYWORDS }, |
14558 | { "new_wxGridCellEnumEditor", (PyCFunction) _wrap_new_wxGridCellEnumEditor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14559 | { "new_wxGridCellChoiceEditor", (PyCFunction) _wrap_new_wxGridCellChoiceEditor, METH_VARARGS | METH_KEYWORDS }, |
14560 | { "new_wxGridCellBoolEditor", (PyCFunction) _wrap_new_wxGridCellBoolEditor, METH_VARARGS | METH_KEYWORDS }, | |
14561 | { "new_wxGridCellFloatEditor", (PyCFunction) _wrap_new_wxGridCellFloatEditor, METH_VARARGS | METH_KEYWORDS }, | |
14562 | { "new_wxGridCellNumberEditor", (PyCFunction) _wrap_new_wxGridCellNumberEditor, METH_VARARGS | METH_KEYWORDS }, | |
14563 | { "new_wxGridCellTextEditor", (PyCFunction) _wrap_new_wxGridCellTextEditor, METH_VARARGS | METH_KEYWORDS }, | |
14564 | { "wxPyGridCellEditor_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
14565 | { "wxPyGridCellEditor_base_Destroy", (PyCFunction) _wrap_wxPyGridCellEditor_base_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
14566 | { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction) _wrap_wxPyGridCellEditor_base_HandleReturn, METH_VARARGS | METH_KEYWORDS }, | |
14567 | { "wxPyGridCellEditor_base_StartingClick", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingClick, METH_VARARGS | METH_KEYWORDS }, | |
14568 | { "wxPyGridCellEditor_base_StartingKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_StartingKey, METH_VARARGS | METH_KEYWORDS }, | |
2cd2fac8 | 14569 | { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction) _wrap_wxPyGridCellEditor_base_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14570 | { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction) _wrap_wxPyGridCellEditor_base_PaintBackground, METH_VARARGS | METH_KEYWORDS }, |
14571 | { "wxPyGridCellEditor_base_Show", (PyCFunction) _wrap_wxPyGridCellEditor_base_Show, METH_VARARGS | METH_KEYWORDS }, | |
14572 | { "wxPyGridCellEditor_base_SetSize", (PyCFunction) _wrap_wxPyGridCellEditor_base_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 14573 | { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellEditor__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14574 | { "new_wxPyGridCellEditor", (PyCFunction) _wrap_new_wxPyGridCellEditor, METH_VARARGS | METH_KEYWORDS }, |
14575 | { "wxGridCellEditor_Destroy", (PyCFunction) _wrap_wxGridCellEditor_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
14576 | { "wxGridCellEditor_HandleReturn", (PyCFunction) _wrap_wxGridCellEditor_HandleReturn, METH_VARARGS | METH_KEYWORDS }, | |
14577 | { "wxGridCellEditor_StartingClick", (PyCFunction) _wrap_wxGridCellEditor_StartingClick, METH_VARARGS | METH_KEYWORDS }, | |
14578 | { "wxGridCellEditor_StartingKey", (PyCFunction) _wrap_wxGridCellEditor_StartingKey, METH_VARARGS | METH_KEYWORDS }, | |
14579 | { "wxGridCellEditor_IsAcceptedKey", (PyCFunction) _wrap_wxGridCellEditor_IsAcceptedKey, METH_VARARGS | METH_KEYWORDS }, | |
14580 | { "wxGridCellEditor_PaintBackground", (PyCFunction) _wrap_wxGridCellEditor_PaintBackground, METH_VARARGS | METH_KEYWORDS }, | |
14581 | { "wxGridCellEditor_Show", (PyCFunction) _wrap_wxGridCellEditor_Show, METH_VARARGS | METH_KEYWORDS }, | |
14582 | { "wxGridCellEditor_SetSize", (PyCFunction) _wrap_wxGridCellEditor_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
14583 | { "wxGridCellEditor_Clone", (PyCFunction) _wrap_wxGridCellEditor_Clone, METH_VARARGS | METH_KEYWORDS }, | |
14584 | { "wxGridCellEditor_Reset", (PyCFunction) _wrap_wxGridCellEditor_Reset, METH_VARARGS | METH_KEYWORDS }, | |
14585 | { "wxGridCellEditor_EndEdit", (PyCFunction) _wrap_wxGridCellEditor_EndEdit, METH_VARARGS | METH_KEYWORDS }, | |
14586 | { "wxGridCellEditor_BeginEdit", (PyCFunction) _wrap_wxGridCellEditor_BeginEdit, METH_VARARGS | METH_KEYWORDS }, | |
14587 | { "wxGridCellEditor_Create", (PyCFunction) _wrap_wxGridCellEditor_Create, METH_VARARGS | METH_KEYWORDS }, | |
14588 | { "wxGridCellEditor_DecRef", (PyCFunction) _wrap_wxGridCellEditor_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14589 | { "wxGridCellEditor_IncRef", (PyCFunction) _wrap_wxGridCellEditor_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
14590 | { "wxGridCellEditor_SetParameters", (PyCFunction) _wrap_wxGridCellEditor_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
14591 | { "wxGridCellEditor_SetControl", (PyCFunction) _wrap_wxGridCellEditor_SetControl, METH_VARARGS | METH_KEYWORDS }, | |
14592 | { "wxGridCellEditor_GetControl", (PyCFunction) _wrap_wxGridCellEditor_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
14593 | { "wxGridCellEditor_IsCreated", (PyCFunction) _wrap_wxGridCellEditor_IsCreated, METH_VARARGS | METH_KEYWORDS }, | |
b98a5dfc | 14594 | { "wxGridCellEditor__setOORInfo", (PyCFunction) _wrap_wxGridCellEditor__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
059a841c RD |
14595 | { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction) _wrap_new_wxGridCellAutoWrapStringRenderer, METH_VARARGS | METH_KEYWORDS }, |
14596 | { "new_wxGridCellEnumRenderer", (PyCFunction) _wrap_new_wxGridCellEnumRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14597 | { "new_wxGridCellDateTimeRenderer", (PyCFunction) _wrap_new_wxGridCellDateTimeRenderer, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
14598 | { "new_wxGridCellBoolRenderer", (PyCFunction) _wrap_new_wxGridCellBoolRenderer, METH_VARARGS | METH_KEYWORDS }, |
14599 | { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetPrecision, METH_VARARGS | METH_KEYWORDS }, | |
14600 | { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetPrecision, METH_VARARGS | METH_KEYWORDS }, | |
14601 | { "wxGridCellFloatRenderer_SetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_SetWidth, METH_VARARGS | METH_KEYWORDS }, | |
14602 | { "wxGridCellFloatRenderer_GetWidth", (PyCFunction) _wrap_wxGridCellFloatRenderer_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
14603 | { "new_wxGridCellFloatRenderer", (PyCFunction) _wrap_new_wxGridCellFloatRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14604 | { "new_wxGridCellNumberRenderer", (PyCFunction) _wrap_new_wxGridCellNumberRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14605 | { "new_wxGridCellStringRenderer", (PyCFunction) _wrap_new_wxGridCellStringRenderer, METH_VARARGS | METH_KEYWORDS }, | |
14606 | { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction) _wrap_wxPyGridCellRenderer_base_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 14607 | { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction) _wrap_wxPyGridCellRenderer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14608 | { "new_wxPyGridCellRenderer", (PyCFunction) _wrap_new_wxPyGridCellRenderer, METH_VARARGS | METH_KEYWORDS }, |
14609 | { "wxGridCellRenderer_Clone", (PyCFunction) _wrap_wxGridCellRenderer_Clone, METH_VARARGS | METH_KEYWORDS }, | |
14610 | { "wxGridCellRenderer_GetBestSize", (PyCFunction) _wrap_wxGridCellRenderer_GetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
14611 | { "wxGridCellRenderer_Draw", (PyCFunction) _wrap_wxGridCellRenderer_Draw, METH_VARARGS | METH_KEYWORDS }, | |
14612 | { "wxGridCellRenderer_DecRef", (PyCFunction) _wrap_wxGridCellRenderer_DecRef, METH_VARARGS | METH_KEYWORDS }, | |
14613 | { "wxGridCellRenderer_IncRef", (PyCFunction) _wrap_wxGridCellRenderer_IncRef, METH_VARARGS | METH_KEYWORDS }, | |
14614 | { "wxGridCellRenderer_SetParameters", (PyCFunction) _wrap_wxGridCellRenderer_SetParameters, METH_VARARGS | METH_KEYWORDS }, | |
b98a5dfc | 14615 | { "wxGridCellRenderer__setOORInfo", (PyCFunction) _wrap_wxGridCellRenderer__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
14616 | { NULL, NULL } |
14617 | }; | |
14618 | #ifdef __cplusplus | |
14619 | } | |
14620 | #endif | |
14621 | /* | |
14622 | * This table is used by the pointer type-checker | |
14623 | */ | |
14624 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
9d6da64a | 14625 | { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent}, |
f6bcfd97 | 14626 | { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent}, |
f6bcfd97 | 14627 | { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent}, |
f6bcfd97 | 14628 | { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent}, |
f6bcfd97 | 14629 | { "_signed_long","_long",0}, |
059a841c | 14630 | { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor}, |
f6bcfd97 BP |
14631 | { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0}, |
14632 | { "_wxPrintQuality","_wxCoord",0}, | |
14633 | { "_wxPrintQuality","_int",0}, | |
14634 | { "_wxPrintQuality","_signed_int",0}, | |
14635 | { "_wxPrintQuality","_unsigned_int",0}, | |
14636 | { "_wxPrintQuality","_wxWindowID",0}, | |
14637 | { "_wxPrintQuality","_uint",0}, | |
14638 | { "_wxPrintQuality","_EBool",0}, | |
14639 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 14640 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 | 14641 | { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent}, |
f6bcfd97 | 14642 | { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent}, |
f6bcfd97 | 14643 | { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent}, |
f6bcfd97 | 14644 | { "_byte","_unsigned_char",0}, |
f6bcfd97 BP |
14645 | { "_long","_unsigned_long",0}, |
14646 | { "_long","_signed_long",0}, | |
f6bcfd97 BP |
14647 | { "_size_t","_WXGRIDSELECTIONMODES",0}, |
14648 | { "_size_t","_wxCoord",0}, | |
14649 | { "_size_t","_wxPrintQuality",0}, | |
c368d904 | 14650 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
14651 | { "_size_t","_unsigned_int",0}, |
14652 | { "_size_t","_int",0}, | |
14653 | { "_size_t","_wxWindowID",0}, | |
14654 | { "_size_t","_uint",0}, | |
f6bcfd97 | 14655 | { "_wxPanel","_wxGrid",SwigwxGridTowxPanel}, |
f6bcfd97 BP |
14656 | { "_uint","_WXGRIDSELECTIONMODES",0}, |
14657 | { "_uint","_wxCoord",0}, | |
14658 | { "_uint","_wxPrintQuality",0}, | |
c368d904 | 14659 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
14660 | { "_uint","_size_t",0}, |
14661 | { "_uint","_unsigned_int",0}, | |
14662 | { "_uint","_int",0}, | |
14663 | { "_uint","_wxWindowID",0}, | |
14664 | { "_wxChar","_char",0}, | |
9d6da64a | 14665 | { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent}, |
f6bcfd97 | 14666 | { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent}, |
f6bcfd97 | 14667 | { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent}, |
f6bcfd97 | 14668 | { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent}, |
f6bcfd97 | 14669 | { "_char","_wxChar",0}, |
059a841c | 14670 | { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer}, |
059a841c | 14671 | { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer}, |
059a841c | 14672 | { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer}, |
f6bcfd97 | 14673 | { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer}, |
f6bcfd97 | 14674 | { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer}, |
059a841c | 14675 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
f6bcfd97 | 14676 | { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase}, |
f6bcfd97 | 14677 | { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase}, |
f6bcfd97 BP |
14678 | { "_EBool","_WXGRIDSELECTIONMODES",0}, |
14679 | { "_EBool","_wxCoord",0}, | |
14680 | { "_EBool","_wxPrintQuality",0}, | |
14681 | { "_EBool","_signed_int",0}, | |
14682 | { "_EBool","_int",0}, | |
14683 | { "_EBool","_wxWindowID",0}, | |
f6bcfd97 | 14684 | { "_unsigned_long","_long",0}, |
f6bcfd97 BP |
14685 | { "_WXGRIDSELECTIONMODES","_int",0}, |
14686 | { "_WXGRIDSELECTIONMODES","_signed_int",0}, | |
14687 | { "_WXGRIDSELECTIONMODES","_unsigned_int",0}, | |
14688 | { "_WXGRIDSELECTIONMODES","_wxWindowID",0}, | |
14689 | { "_WXGRIDSELECTIONMODES","_uint",0}, | |
14690 | { "_WXGRIDSELECTIONMODES","_EBool",0}, | |
14691 | { "_WXGRIDSELECTIONMODES","_size_t",0}, | |
c368d904 | 14692 | { "_WXGRIDSELECTIONMODES","_time_t",0}, |
f6bcfd97 BP |
14693 | { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0}, |
14694 | { "_WXGRIDSELECTIONMODES","_wxCoord",0}, | |
059a841c | 14695 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
f6bcfd97 BP |
14696 | { "_signed_int","_WXGRIDSELECTIONMODES",0}, |
14697 | { "_signed_int","_wxCoord",0}, | |
14698 | { "_signed_int","_wxPrintQuality",0}, | |
14699 | { "_signed_int","_EBool",0}, | |
14700 | { "_signed_int","_wxWindowID",0}, | |
14701 | { "_signed_int","_int",0}, | |
059a841c | 14702 | { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor}, |
059a841c | 14703 | { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor}, |
f6bcfd97 | 14704 | { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor}, |
f6bcfd97 | 14705 | { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor}, |
f6bcfd97 | 14706 | { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor}, |
f6bcfd97 | 14707 | { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor}, |
f6bcfd97 | 14708 | { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor}, |
f6bcfd97 | 14709 | { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor}, |
f6bcfd97 BP |
14710 | { "_WXTYPE","_short",0}, |
14711 | { "_WXTYPE","_signed_short",0}, | |
14712 | { "_WXTYPE","_unsigned_short",0}, | |
f6bcfd97 | 14713 | { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider}, |
f6bcfd97 BP |
14714 | { "_unsigned_short","_WXTYPE",0}, |
14715 | { "_unsigned_short","_short",0}, | |
9d6da64a | 14716 | { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject}, |
9df61a29 | 14717 | { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject}, |
9df61a29 | 14718 | { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject}, |
9df61a29 | 14719 | { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject}, |
9df61a29 | 14720 | { "_wxObject","_wxGrid",SwigwxGridTowxObject}, |
9df61a29 | 14721 | { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject}, |
9df61a29 | 14722 | { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject}, |
9df61a29 | 14723 | { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject}, |
f6bcfd97 BP |
14724 | { "_signed_short","_WXTYPE",0}, |
14725 | { "_signed_short","_short",0}, | |
f6bcfd97 | 14726 | { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow}, |
f6bcfd97 | 14727 | { "_unsigned_char","_byte",0}, |
f6bcfd97 BP |
14728 | { "_unsigned_int","_WXGRIDSELECTIONMODES",0}, |
14729 | { "_unsigned_int","_wxCoord",0}, | |
14730 | { "_unsigned_int","_wxPrintQuality",0}, | |
c368d904 | 14731 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
14732 | { "_unsigned_int","_size_t",0}, |
14733 | { "_unsigned_int","_uint",0}, | |
14734 | { "_unsigned_int","_wxWindowID",0}, | |
14735 | { "_unsigned_int","_int",0}, | |
f6bcfd97 BP |
14736 | { "_short","_WXTYPE",0}, |
14737 | { "_short","_unsigned_short",0}, | |
14738 | { "_short","_signed_short",0}, | |
f6bcfd97 BP |
14739 | { "_wxWindowID","_WXGRIDSELECTIONMODES",0}, |
14740 | { "_wxWindowID","_wxCoord",0}, | |
14741 | { "_wxWindowID","_wxPrintQuality",0}, | |
c368d904 | 14742 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
14743 | { "_wxWindowID","_size_t",0}, |
14744 | { "_wxWindowID","_EBool",0}, | |
14745 | { "_wxWindowID","_uint",0}, | |
14746 | { "_wxWindowID","_int",0}, | |
14747 | { "_wxWindowID","_signed_int",0}, | |
14748 | { "_wxWindowID","_unsigned_int",0}, | |
f6bcfd97 BP |
14749 | { "_int","_WXGRIDSELECTIONMODES",0}, |
14750 | { "_int","_wxCoord",0}, | |
14751 | { "_int","_wxPrintQuality",0}, | |
c368d904 | 14752 | { "_int","_time_t",0}, |
f6bcfd97 BP |
14753 | { "_int","_size_t",0}, |
14754 | { "_int","_EBool",0}, | |
14755 | { "_int","_uint",0}, | |
14756 | { "_int","_wxWindowID",0}, | |
14757 | { "_int","_unsigned_int",0}, | |
14758 | { "_int","_signed_int",0}, | |
c368d904 RD |
14759 | { "_time_t","_WXGRIDSELECTIONMODES",0}, |
14760 | { "_time_t","_wxCoord",0}, | |
14761 | { "_time_t","_wxPrintQuality",0}, | |
14762 | { "_time_t","_unsigned_int",0}, | |
14763 | { "_time_t","_int",0}, | |
14764 | { "_time_t","_wxWindowID",0}, | |
14765 | { "_time_t","_uint",0}, | |
14766 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
14767 | { "_wxCoord","_WXGRIDSELECTIONMODES",0}, |
14768 | { "_wxCoord","_int",0}, | |
14769 | { "_wxCoord","_signed_int",0}, | |
14770 | { "_wxCoord","_unsigned_int",0}, | |
14771 | { "_wxCoord","_wxWindowID",0}, | |
14772 | { "_wxCoord","_uint",0}, | |
14773 | { "_wxCoord","_EBool",0}, | |
14774 | { "_wxCoord","_size_t",0}, | |
c368d904 | 14775 | { "_wxCoord","_time_t",0}, |
f6bcfd97 | 14776 | { "_wxCoord","_wxPrintQuality",0}, |
059a841c | 14777 | { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer}, |
059a841c | 14778 | { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer}, |
059a841c | 14779 | { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer}, |
f6bcfd97 | 14780 | { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer}, |
f6bcfd97 | 14781 | { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer}, |
f6bcfd97 | 14782 | { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer}, |
f6bcfd97 | 14783 | { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer}, |
f6bcfd97 | 14784 | { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer}, |
059a841c | 14785 | { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14786 | { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14787 | { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor}, |
f6bcfd97 | 14788 | { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler}, |
f6bcfd97 | 14789 | { "_wxWindow","_wxGrid",SwigwxGridTowxWindow}, |
f6bcfd97 BP |
14790 | {0,0,0}}; |
14791 | ||
14792 | static PyObject *SWIG_globals; | |
14793 | #ifdef __cplusplus | |
14794 | extern "C" | |
14795 | #endif | |
14796 | SWIGEXPORT(void) initgridc() { | |
14797 | PyObject *m, *d; | |
14798 | SWIG_globals = SWIG_newvarlink(); | |
14799 | m = Py_InitModule("gridc", gridcMethods); | |
14800 | d = PyModule_GetDict(m); | |
14801 | PyDict_SetItemString(d,"wxGRID_VALUE_STRING", PyString_FromString("string")); | |
14802 | PyDict_SetItemString(d,"wxGRID_VALUE_BOOL", PyString_FromString("bool")); | |
14803 | PyDict_SetItemString(d,"wxGRID_VALUE_NUMBER", PyString_FromString("long")); | |
14804 | PyDict_SetItemString(d,"wxGRID_VALUE_FLOAT", PyString_FromString("double")); | |
14805 | PyDict_SetItemString(d,"wxGRID_VALUE_CHOICE", PyString_FromString("choice")); | |
14806 | PyDict_SetItemString(d,"wxGRID_VALUE_TEXT", PyString_FromString("string")); | |
14807 | PyDict_SetItemString(d,"wxGRID_VALUE_LONG", PyString_FromString("long")); | |
b98a5dfc RD |
14808 | PyDict_SetItemString(d,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint")); |
14809 | PyDict_SetItemString(d,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime")); | |
f6bcfd97 BP |
14810 | PyDict_SetItemString(d,"cvar", SWIG_globals); |
14811 | SWIG_addvarlink(SWIG_globals,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get, _wrap_wxGridNoCellCoords_set); | |
14812 | SWIG_addvarlink(SWIG_globals,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get, _wrap_wxGridNoCellRect_set); | |
14813 | PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES)); | |
14814 | PyDict_SetItemString(d,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES)); | |
14815 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED)); | |
14816 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED)); | |
14817 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED)); | |
14818 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED)); | |
14819 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED)); | |
14820 | PyDict_SetItemString(d,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED)); | |
14821 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK)); | |
14822 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK)); | |
14823 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK)); | |
14824 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK)); | |
14825 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK)); | |
14826 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK)); | |
14827 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK)); | |
14828 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK)); | |
14829 | PyDict_SetItemString(d,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE)); | |
14830 | PyDict_SetItemString(d,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE)); | |
14831 | PyDict_SetItemString(d,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT)); | |
14832 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE)); | |
14833 | PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL)); | |
14834 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN)); | |
14835 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN)); | |
9d6da64a | 14836 | PyDict_SetItemString(d,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED)); |
3a70a282 RD |
14837 | |
14838 | wxClassInfo::CleanUpClasses(); | |
14839 | wxClassInfo::InitializeClasses(); | |
9df61a29 RD |
14840 | PyDict_SetItemString(d,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any)); |
14841 | PyDict_SetItemString(d,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default)); | |
14842 | PyDict_SetItemString(d,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell)); | |
14843 | PyDict_SetItemString(d,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row)); | |
14844 | PyDict_SetItemString(d,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col)); | |
14845 | PyDict_SetItemString(d,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged)); | |
f6bcfd97 BP |
14846 | PyDict_SetItemString(d,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells)); |
14847 | PyDict_SetItemString(d,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows)); | |
14848 | PyDict_SetItemString(d,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns)); | |
14849 | { | |
14850 | int i; | |
14851 | for (i = 0; _swig_mapping[i].n1; i++) | |
14852 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
14853 | } | |
14854 | } |