]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * FILE : gtk/windows2.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Patch 5) | |
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,b) __declspec(dllexport) a b | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a,b) a _export b | |
31 | # else | |
32 | # define SWIGEXPORT(a,b) a b | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a,b) a b | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
47 | extern PyObject *SWIG_newvarlink(void); | |
48 | #ifdef __cplusplus | |
49 | } | |
50 | #endif | |
51 | ||
52 | #define SWIG_init initwindows2c | |
53 | ||
54 | #define SWIG_name "windows2c" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/grid.h> | |
58 | #include <wx/notebook.h> | |
59 | #include <wx/splitter.h> | |
60 | #ifdef __WXMSW__ | |
61 | #include <wx/msw/taskbar.h> | |
62 | #endif | |
63 | ||
64 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
65 | PyObject* o2; | |
66 | PyObject* o3; | |
67 | if (!target) { | |
68 | target = o; | |
69 | } else if (target == Py_None) { | |
70 | Py_DECREF(Py_None); | |
71 | target = o; | |
72 | } else { | |
73 | if (!PyList_Check(target)) { | |
74 | o2 = target; | |
75 | target = PyList_New(0); | |
76 | PyList_Append(target, o2); | |
77 | Py_XDECREF(o2); | |
78 | } | |
79 | PyList_Append(target,o); | |
80 | Py_XDECREF(o); | |
81 | } | |
82 | return target; | |
83 | } | |
84 | ||
85 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
86 | PyObject* o2; | |
87 | PyObject* o3; | |
88 | ||
89 | if (!target) { | |
90 | target = o; | |
91 | } else if (target == Py_None) { | |
92 | Py_DECREF(Py_None); | |
93 | target = o; | |
94 | } else { | |
95 | if (!PyTuple_Check(target)) { | |
96 | o2 = target; | |
97 | target = PyTuple_New(1); | |
98 | PyTuple_SetItem(target, 0, o2); | |
99 | } | |
100 | o3 = PyTuple_New(1); | |
101 | PyTuple_SetItem(o3, 0, o); | |
102 | ||
103 | o2 = target; | |
104 | target = PySequence_Concat(o2, o3); | |
105 | Py_DECREF(o2); | |
106 | Py_DECREF(o3); | |
107 | } | |
108 | return target; | |
109 | } | |
110 | ||
111 | ||
112 | extern byte* byte_LIST_helper(PyObject* source); | |
113 | extern int* int_LIST_helper(PyObject* source); | |
114 | extern long* long_LIST_helper(PyObject* source); | |
115 | extern char** string_LIST_helper(PyObject* source); | |
116 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
117 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
118 | extern wxString* wxString_LIST_helper(PyObject* source); | |
119 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); | |
120 | ||
121 | ||
122 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
123 | #define new_wxGridCell() (new wxGridCell()) | |
124 | static PyObject *_wrap_new_wxGridCell(PyObject *self, PyObject *args) { | |
125 | PyObject * _resultobj; | |
126 | wxGridCell * _result; | |
127 | char _ptemp[128]; | |
128 | ||
129 | self = self; | |
130 | if(!PyArg_ParseTuple(args,":new_wxGridCell")) | |
131 | return NULL; | |
132 | { | |
133 | wxPy_BEGIN_ALLOW_THREADS; | |
134 | _result = (wxGridCell *)new_wxGridCell(); | |
135 | ||
136 | wxPy_END_ALLOW_THREADS; | |
137 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
138 | _resultobj = Py_BuildValue("s",_ptemp); | |
139 | return _resultobj; | |
140 | } | |
141 | ||
142 | #define delete_wxGridCell(_swigobj) (delete _swigobj) | |
143 | static PyObject *_wrap_delete_wxGridCell(PyObject *self, PyObject *args) { | |
144 | PyObject * _resultobj; | |
145 | wxGridCell * _arg0; | |
146 | char * _argc0 = 0; | |
147 | ||
148 | self = self; | |
149 | if(!PyArg_ParseTuple(args,"s:delete_wxGridCell",&_argc0)) | |
150 | return NULL; | |
151 | if (_argc0) { | |
152 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p."); | |
154 | return NULL; | |
155 | } | |
156 | } | |
157 | { | |
158 | wxPy_BEGIN_ALLOW_THREADS; | |
159 | delete_wxGridCell(_arg0); | |
160 | ||
161 | wxPy_END_ALLOW_THREADS; | |
162 | } Py_INCREF(Py_None); | |
163 | _resultobj = Py_None; | |
164 | return _resultobj; | |
165 | } | |
166 | ||
167 | #define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue()) | |
168 | static PyObject *_wrap_wxGridCell_GetTextValue(PyObject *self, PyObject *args) { | |
169 | PyObject * _resultobj; | |
170 | wxString * _result; | |
171 | wxGridCell * _arg0; | |
172 | char * _argc0 = 0; | |
173 | ||
174 | self = self; | |
175 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetTextValue",&_argc0)) | |
176 | return NULL; | |
177 | if (_argc0) { | |
178 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p."); | |
180 | return NULL; | |
181 | } | |
182 | } | |
183 | { | |
184 | wxPy_BEGIN_ALLOW_THREADS; | |
185 | wxString & _result_ref = wxGridCell_GetTextValue(_arg0); | |
186 | _result = (wxString *) &_result_ref; | |
187 | ||
188 | wxPy_END_ALLOW_THREADS; | |
189 | }{ | |
190 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
191 | } | |
192 | return _resultobj; | |
193 | } | |
194 | ||
195 | #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0)) | |
196 | static PyObject *_wrap_wxGridCell_SetTextValue(PyObject *self, PyObject *args) { | |
197 | PyObject * _resultobj; | |
198 | wxGridCell * _arg0; | |
199 | wxString * _arg1; | |
200 | char * _argc0 = 0; | |
201 | PyObject * _obj1 = 0; | |
202 | ||
203 | self = self; | |
204 | if(!PyArg_ParseTuple(args,"sO:wxGridCell_SetTextValue",&_argc0,&_obj1)) | |
205 | return NULL; | |
206 | if (_argc0) { | |
207 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p."); | |
209 | return NULL; | |
210 | } | |
211 | } | |
212 | { | |
213 | if (!PyString_Check(_obj1)) { | |
214 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
215 | return NULL; | |
216 | } | |
217 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
218 | } | |
219 | { | |
220 | wxPy_BEGIN_ALLOW_THREADS; | |
221 | wxGridCell_SetTextValue(_arg0,*_arg1); | |
222 | ||
223 | wxPy_END_ALLOW_THREADS; | |
224 | } Py_INCREF(Py_None); | |
225 | _resultobj = Py_None; | |
226 | { | |
227 | if (_obj1) | |
228 | delete _arg1; | |
229 | } | |
230 | return _resultobj; | |
231 | } | |
232 | ||
233 | #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont()) | |
234 | static PyObject *_wrap_wxGridCell_GetFont(PyObject *self, PyObject *args) { | |
235 | PyObject * _resultobj; | |
236 | wxFont * _result; | |
237 | wxGridCell * _arg0; | |
238 | char * _argc0 = 0; | |
239 | char _ptemp[128]; | |
240 | ||
241 | self = self; | |
242 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetFont",&_argc0)) | |
243 | return NULL; | |
244 | if (_argc0) { | |
245 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p."); | |
247 | return NULL; | |
248 | } | |
249 | } | |
250 | { | |
251 | wxPy_BEGIN_ALLOW_THREADS; | |
252 | wxFont & _result_ref = wxGridCell_GetFont(_arg0); | |
253 | _result = (wxFont *) &_result_ref; | |
254 | ||
255 | wxPy_END_ALLOW_THREADS; | |
256 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
257 | _resultobj = Py_BuildValue("s",_ptemp); | |
258 | return _resultobj; | |
259 | } | |
260 | ||
261 | #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
262 | static PyObject *_wrap_wxGridCell_SetFont(PyObject *self, PyObject *args) { | |
263 | PyObject * _resultobj; | |
264 | wxGridCell * _arg0; | |
265 | wxFont * _arg1; | |
266 | char * _argc0 = 0; | |
267 | char * _argc1 = 0; | |
268 | ||
269 | self = self; | |
270 | if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetFont",&_argc0,&_argc1)) | |
271 | return NULL; | |
272 | if (_argc0) { | |
273 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p."); | |
275 | return NULL; | |
276 | } | |
277 | } | |
278 | if (_argc1) { | |
279 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p."); | |
281 | return NULL; | |
282 | } | |
283 | } | |
284 | { | |
285 | wxPy_BEGIN_ALLOW_THREADS; | |
286 | wxGridCell_SetFont(_arg0,*_arg1); | |
287 | ||
288 | wxPy_END_ALLOW_THREADS; | |
289 | } Py_INCREF(Py_None); | |
290 | _resultobj = Py_None; | |
291 | return _resultobj; | |
292 | } | |
293 | ||
294 | #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
295 | static PyObject *_wrap_wxGridCell_GetTextColour(PyObject *self, PyObject *args) { | |
296 | PyObject * _resultobj; | |
297 | wxColour * _result; | |
298 | wxGridCell * _arg0; | |
299 | char * _argc0 = 0; | |
300 | char _ptemp[128]; | |
301 | ||
302 | self = self; | |
303 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetTextColour",&_argc0)) | |
304 | return NULL; | |
305 | if (_argc0) { | |
306 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p."); | |
308 | return NULL; | |
309 | } | |
310 | } | |
311 | { | |
312 | wxPy_BEGIN_ALLOW_THREADS; | |
313 | wxColour & _result_ref = wxGridCell_GetTextColour(_arg0); | |
314 | _result = (wxColour *) &_result_ref; | |
315 | ||
316 | wxPy_END_ALLOW_THREADS; | |
317 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
318 | _resultobj = Py_BuildValue("s",_ptemp); | |
319 | return _resultobj; | |
320 | } | |
321 | ||
322 | #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
323 | static PyObject *_wrap_wxGridCell_SetTextColour(PyObject *self, PyObject *args) { | |
324 | PyObject * _resultobj; | |
325 | wxGridCell * _arg0; | |
326 | wxColour * _arg1; | |
327 | char * _argc0 = 0; | |
328 | char * _argc1 = 0; | |
329 | ||
330 | self = self; | |
331 | if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetTextColour",&_argc0,&_argc1)) | |
332 | return NULL; | |
333 | if (_argc0) { | |
334 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p."); | |
336 | return NULL; | |
337 | } | |
338 | } | |
339 | if (_argc1) { | |
340 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p."); | |
342 | return NULL; | |
343 | } | |
344 | } | |
345 | { | |
346 | wxPy_BEGIN_ALLOW_THREADS; | |
347 | wxGridCell_SetTextColour(_arg0,*_arg1); | |
348 | ||
349 | wxPy_END_ALLOW_THREADS; | |
350 | } Py_INCREF(Py_None); | |
351 | _resultobj = Py_None; | |
352 | return _resultobj; | |
353 | } | |
354 | ||
355 | #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
356 | static PyObject *_wrap_wxGridCell_GetBackgroundColour(PyObject *self, PyObject *args) { | |
357 | PyObject * _resultobj; | |
358 | wxColour * _result; | |
359 | wxGridCell * _arg0; | |
360 | char * _argc0 = 0; | |
361 | char _ptemp[128]; | |
362 | ||
363 | self = self; | |
364 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetBackgroundColour",&_argc0)) | |
365 | return NULL; | |
366 | if (_argc0) { | |
367 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p."); | |
369 | return NULL; | |
370 | } | |
371 | } | |
372 | { | |
373 | wxPy_BEGIN_ALLOW_THREADS; | |
374 | wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0); | |
375 | _result = (wxColour *) &_result_ref; | |
376 | ||
377 | wxPy_END_ALLOW_THREADS; | |
378 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
379 | _resultobj = Py_BuildValue("s",_ptemp); | |
380 | return _resultobj; | |
381 | } | |
382 | ||
383 | #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
384 | static PyObject *_wrap_wxGridCell_SetBackgroundColour(PyObject *self, PyObject *args) { | |
385 | PyObject * _resultobj; | |
386 | wxGridCell * _arg0; | |
387 | wxColour * _arg1; | |
388 | char * _argc0 = 0; | |
389 | char * _argc1 = 0; | |
390 | ||
391 | self = self; | |
392 | if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetBackgroundColour",&_argc0,&_argc1)) | |
393 | return NULL; | |
394 | if (_argc0) { | |
395 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p."); | |
397 | return NULL; | |
398 | } | |
399 | } | |
400 | if (_argc1) { | |
401 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p."); | |
403 | return NULL; | |
404 | } | |
405 | } | |
406 | { | |
407 | wxPy_BEGIN_ALLOW_THREADS; | |
408 | wxGridCell_SetBackgroundColour(_arg0,*_arg1); | |
409 | ||
410 | wxPy_END_ALLOW_THREADS; | |
411 | } Py_INCREF(Py_None); | |
412 | _resultobj = Py_None; | |
413 | return _resultobj; | |
414 | } | |
415 | ||
416 | #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush()) | |
417 | static PyObject *_wrap_wxGridCell_GetBackgroundBrush(PyObject *self, PyObject *args) { | |
418 | PyObject * _resultobj; | |
419 | wxBrush * _result; | |
420 | wxGridCell * _arg0; | |
421 | char * _argc0 = 0; | |
422 | char _ptemp[128]; | |
423 | ||
424 | self = self; | |
425 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetBackgroundBrush",&_argc0)) | |
426 | return NULL; | |
427 | if (_argc0) { | |
428 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p."); | |
430 | return NULL; | |
431 | } | |
432 | } | |
433 | { | |
434 | wxPy_BEGIN_ALLOW_THREADS; | |
435 | wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0); | |
436 | _result = (wxBrush *) &_result_ref; | |
437 | ||
438 | wxPy_END_ALLOW_THREADS; | |
439 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
440 | _resultobj = Py_BuildValue("s",_ptemp); | |
441 | return _resultobj; | |
442 | } | |
443 | ||
444 | #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment()) | |
445 | static PyObject *_wrap_wxGridCell_GetAlignment(PyObject *self, PyObject *args) { | |
446 | PyObject * _resultobj; | |
447 | int _result; | |
448 | wxGridCell * _arg0; | |
449 | char * _argc0 = 0; | |
450 | ||
451 | self = self; | |
452 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetAlignment",&_argc0)) | |
453 | return NULL; | |
454 | if (_argc0) { | |
455 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p."); | |
457 | return NULL; | |
458 | } | |
459 | } | |
460 | { | |
461 | wxPy_BEGIN_ALLOW_THREADS; | |
462 | _result = (int )wxGridCell_GetAlignment(_arg0); | |
463 | ||
464 | wxPy_END_ALLOW_THREADS; | |
465 | } _resultobj = Py_BuildValue("i",_result); | |
466 | return _resultobj; | |
467 | } | |
468 | ||
469 | #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0)) | |
470 | static PyObject *_wrap_wxGridCell_SetAlignment(PyObject *self, PyObject *args) { | |
471 | PyObject * _resultobj; | |
472 | wxGridCell * _arg0; | |
473 | int _arg1; | |
474 | char * _argc0 = 0; | |
475 | ||
476 | self = self; | |
477 | if(!PyArg_ParseTuple(args,"si:wxGridCell_SetAlignment",&_argc0,&_arg1)) | |
478 | return NULL; | |
479 | if (_argc0) { | |
480 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p."); | |
482 | return NULL; | |
483 | } | |
484 | } | |
485 | { | |
486 | wxPy_BEGIN_ALLOW_THREADS; | |
487 | wxGridCell_SetAlignment(_arg0,_arg1); | |
488 | ||
489 | wxPy_END_ALLOW_THREADS; | |
490 | } Py_INCREF(Py_None); | |
491 | _resultobj = Py_None; | |
492 | return _resultobj; | |
493 | } | |
494 | ||
495 | #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap()) | |
496 | static PyObject *_wrap_wxGridCell_GetCellBitmap(PyObject *self, PyObject *args) { | |
497 | PyObject * _resultobj; | |
498 | wxBitmap * _result; | |
499 | wxGridCell * _arg0; | |
500 | char * _argc0 = 0; | |
501 | char _ptemp[128]; | |
502 | ||
503 | self = self; | |
504 | if(!PyArg_ParseTuple(args,"s:wxGridCell_GetCellBitmap",&_argc0)) | |
505 | return NULL; | |
506 | if (_argc0) { | |
507 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p."); | |
509 | return NULL; | |
510 | } | |
511 | } | |
512 | { | |
513 | wxPy_BEGIN_ALLOW_THREADS; | |
514 | _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0); | |
515 | ||
516 | wxPy_END_ALLOW_THREADS; | |
517 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
518 | _resultobj = Py_BuildValue("s",_ptemp); | |
519 | return _resultobj; | |
520 | } | |
521 | ||
522 | #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0)) | |
523 | static PyObject *_wrap_wxGridCell_SetCellBitmap(PyObject *self, PyObject *args) { | |
524 | PyObject * _resultobj; | |
525 | wxGridCell * _arg0; | |
526 | wxBitmap * _arg1; | |
527 | char * _argc0 = 0; | |
528 | char * _argc1 = 0; | |
529 | ||
530 | self = self; | |
531 | if(!PyArg_ParseTuple(args,"ss:wxGridCell_SetCellBitmap",&_argc0,&_argc1)) | |
532 | return NULL; | |
533 | if (_argc0) { | |
534 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) { | |
535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p."); | |
536 | return NULL; | |
537 | } | |
538 | } | |
539 | if (_argc1) { | |
540 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) { | |
541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p."); | |
542 | return NULL; | |
543 | } | |
544 | } | |
545 | { | |
546 | wxPy_BEGIN_ALLOW_THREADS; | |
547 | wxGridCell_SetCellBitmap(_arg0,_arg1); | |
548 | ||
549 | wxPy_END_ALLOW_THREADS; | |
550 | } Py_INCREF(Py_None); | |
551 | _resultobj = Py_None; | |
552 | return _resultobj; | |
553 | } | |
554 | ||
555 | static void *SwigwxGridTowxPanel(void *ptr) { | |
556 | wxGrid *src; | |
557 | wxPanel *dest; | |
558 | src = (wxGrid *) ptr; | |
559 | dest = (wxPanel *) src; | |
560 | return (void *) dest; | |
561 | } | |
562 | ||
563 | static void *SwigwxGridTowxWindow(void *ptr) { | |
564 | wxGrid *src; | |
565 | wxWindow *dest; | |
566 | src = (wxGrid *) ptr; | |
567 | dest = (wxWindow *) src; | |
568 | return (void *) dest; | |
569 | } | |
570 | ||
571 | static void *SwigwxGridTowxEvtHandler(void *ptr) { | |
572 | wxGrid *src; | |
573 | wxEvtHandler *dest; | |
574 | src = (wxGrid *) ptr; | |
575 | dest = (wxEvtHandler *) src; | |
576 | return (void *) dest; | |
577 | } | |
578 | ||
579 | #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
580 | static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args) { | |
581 | PyObject * _resultobj; | |
582 | wxGrid * _result; | |
583 | wxWindow * _arg0; | |
584 | wxWindowID _arg1; | |
585 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
586 | wxSize * _arg3 = &wxPyDefaultSize; | |
587 | long _arg4 = 0; | |
588 | char * _arg5 = "grid"; | |
589 | char * _argc0 = 0; | |
590 | char * _argc2 = 0; | |
591 | char * _argc3 = 0; | |
592 | char _ptemp[128]; | |
593 | ||
594 | self = self; | |
595 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxGrid",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
596 | return NULL; | |
597 | if (_argc0) { | |
598 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p."); | |
600 | return NULL; | |
601 | } | |
602 | } | |
603 | if (_argc2) { | |
604 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGrid. Expected _wxPoint_p."); | |
606 | return NULL; | |
607 | } | |
608 | } | |
609 | if (_argc3) { | |
610 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGrid. Expected _wxSize_p."); | |
612 | return NULL; | |
613 | } | |
614 | } | |
615 | { | |
616 | wxPy_BEGIN_ALLOW_THREADS; | |
617 | _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
618 | ||
619 | wxPy_END_ALLOW_THREADS; | |
620 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p"); | |
621 | _resultobj = Py_BuildValue("s",_ptemp); | |
622 | return _resultobj; | |
623 | } | |
624 | ||
625 | #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars()) | |
626 | static PyObject *_wrap_wxGrid_AdjustScrollbars(PyObject *self, PyObject *args) { | |
627 | PyObject * _resultobj; | |
628 | wxGrid * _arg0; | |
629 | char * _argc0 = 0; | |
630 | ||
631 | self = self; | |
632 | if(!PyArg_ParseTuple(args,"s:wxGrid_AdjustScrollbars",&_argc0)) | |
633 | return NULL; | |
634 | if (_argc0) { | |
635 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p."); | |
637 | return NULL; | |
638 | } | |
639 | } | |
640 | { | |
641 | wxPy_BEGIN_ALLOW_THREADS; | |
642 | wxGrid_AdjustScrollbars(_arg0); | |
643 | ||
644 | wxPy_END_ALLOW_THREADS; | |
645 | } Py_INCREF(Py_None); | |
646 | _resultobj = Py_None; | |
647 | return _resultobj; | |
648 | } | |
649 | ||
650 | #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1)) | |
651 | static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args) { | |
652 | PyObject * _resultobj; | |
653 | bool _result; | |
654 | wxGrid * _arg0; | |
655 | int _arg1 = 1; | |
656 | bool _arg2 = (1); | |
657 | char * _argc0 = 0; | |
658 | int tempbool2; | |
659 | ||
660 | self = self; | |
661 | if(!PyArg_ParseTuple(args,"s|ii:wxGrid_AppendCols",&_argc0,&_arg1,&tempbool2)) | |
662 | return NULL; | |
663 | if (_argc0) { | |
664 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p."); | |
666 | return NULL; | |
667 | } | |
668 | } | |
669 | _arg2 = (bool ) tempbool2; | |
670 | { | |
671 | wxPy_BEGIN_ALLOW_THREADS; | |
672 | _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2); | |
673 | ||
674 | wxPy_END_ALLOW_THREADS; | |
675 | } _resultobj = Py_BuildValue("i",_result); | |
676 | return _resultobj; | |
677 | } | |
678 | ||
679 | #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1)) | |
680 | static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args) { | |
681 | PyObject * _resultobj; | |
682 | bool _result; | |
683 | wxGrid * _arg0; | |
684 | int _arg1 = 1; | |
685 | bool _arg2 = (1); | |
686 | char * _argc0 = 0; | |
687 | int tempbool2; | |
688 | ||
689 | self = self; | |
690 | if(!PyArg_ParseTuple(args,"s|ii:wxGrid_AppendRows",&_argc0,&_arg1,&tempbool2)) | |
691 | return NULL; | |
692 | if (_argc0) { | |
693 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p."); | |
695 | return NULL; | |
696 | } | |
697 | } | |
698 | _arg2 = (bool ) tempbool2; | |
699 | { | |
700 | wxPy_BEGIN_ALLOW_THREADS; | |
701 | _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2); | |
702 | ||
703 | wxPy_END_ALLOW_THREADS; | |
704 | } _resultobj = Py_BuildValue("i",_result); | |
705 | return _resultobj; | |
706 | } | |
707 | ||
708 | #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch()) | |
709 | static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args) { | |
710 | PyObject * _resultobj; | |
711 | wxGrid * _arg0; | |
712 | char * _argc0 = 0; | |
713 | ||
714 | self = self; | |
715 | if(!PyArg_ParseTuple(args,"s:wxGrid_BeginBatch",&_argc0)) | |
716 | return NULL; | |
717 | if (_argc0) { | |
718 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p."); | |
720 | return NULL; | |
721 | } | |
722 | } | |
723 | { | |
724 | wxPy_BEGIN_ALLOW_THREADS; | |
725 | wxGrid_BeginBatch(_arg0); | |
726 | ||
727 | wxPy_END_ALLOW_THREADS; | |
728 | } Py_INCREF(Py_None); | |
729 | _resultobj = Py_None; | |
730 | return _resultobj; | |
731 | } | |
732 | ||
733 | #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
734 | static PyObject *_wrap_wxGrid_CellHitTest(PyObject *self, PyObject *args) { | |
735 | PyObject * _resultobj; | |
736 | bool _result; | |
737 | wxGrid * _arg0; | |
738 | int _arg1; | |
739 | int _arg2; | |
740 | int * _arg3; | |
741 | int temp; | |
742 | int * _arg4; | |
743 | int temp0; | |
744 | char * _argc0 = 0; | |
745 | ||
746 | self = self; | |
747 | { | |
748 | _arg3 = &temp; | |
749 | } | |
750 | { | |
751 | _arg4 = &temp0; | |
752 | } | |
753 | if(!PyArg_ParseTuple(args,"sii:wxGrid_CellHitTest",&_argc0,&_arg1,&_arg2)) | |
754 | return NULL; | |
755 | if (_argc0) { | |
756 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p."); | |
758 | return NULL; | |
759 | } | |
760 | } | |
761 | { | |
762 | wxPy_BEGIN_ALLOW_THREADS; | |
763 | _result = (bool )wxGrid_CellHitTest(_arg0,_arg1,_arg2,_arg3,_arg4); | |
764 | ||
765 | wxPy_END_ALLOW_THREADS; | |
766 | } _resultobj = Py_BuildValue("i",_result); | |
767 | { | |
768 | PyObject *o; | |
769 | o = PyInt_FromLong((long) (*_arg3)); | |
770 | _resultobj = t_output_helper(_resultobj, o); | |
771 | } | |
772 | { | |
773 | PyObject *o; | |
774 | o = PyInt_FromLong((long) (*_arg4)); | |
775 | _resultobj = t_output_helper(_resultobj, o); | |
776 | } | |
777 | return _resultobj; | |
778 | } | |
779 | ||
780 | static bool wxGrid_CreateGrid(wxGrid *self,int rows,int cols,short defaultWidth,short defaultHeight) { | |
781 | return self->CreateGrid(rows, cols, NULL, NULL, | |
782 | defaultWidth, defaultHeight); | |
783 | } | |
784 | static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args) { | |
785 | PyObject * _resultobj; | |
786 | bool _result; | |
787 | wxGrid * _arg0; | |
788 | int _arg1; | |
789 | int _arg2; | |
790 | short _arg3 = wxGRID_DEFAULT_CELL_WIDTH; | |
791 | short _arg4 = wxGRID_DEFAULT_CELL_HEIGHT; | |
792 | char * _argc0 = 0; | |
793 | ||
794 | self = self; | |
795 | if(!PyArg_ParseTuple(args,"sii|hh:wxGrid_CreateGrid",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
796 | return NULL; | |
797 | if (_argc0) { | |
798 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p."); | |
800 | return NULL; | |
801 | } | |
802 | } | |
803 | { | |
804 | wxPy_BEGIN_ALLOW_THREADS; | |
805 | _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3,_arg4); | |
806 | ||
807 | wxPy_END_ALLOW_THREADS; | |
808 | } _resultobj = Py_BuildValue("i",_result); | |
809 | return _resultobj; | |
810 | } | |
811 | ||
812 | #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible()) | |
813 | static PyObject *_wrap_wxGrid_CurrentCellVisible(PyObject *self, PyObject *args) { | |
814 | PyObject * _resultobj; | |
815 | bool _result; | |
816 | wxGrid * _arg0; | |
817 | char * _argc0 = 0; | |
818 | ||
819 | self = self; | |
820 | if(!PyArg_ParseTuple(args,"s:wxGrid_CurrentCellVisible",&_argc0)) | |
821 | return NULL; | |
822 | if (_argc0) { | |
823 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p."); | |
825 | return NULL; | |
826 | } | |
827 | } | |
828 | { | |
829 | wxPy_BEGIN_ALLOW_THREADS; | |
830 | _result = (bool )wxGrid_CurrentCellVisible(_arg0); | |
831 | ||
832 | wxPy_END_ALLOW_THREADS; | |
833 | } _resultobj = Py_BuildValue("i",_result); | |
834 | return _resultobj; | |
835 | } | |
836 | ||
837 | #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2)) | |
838 | static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args) { | |
839 | PyObject * _resultobj; | |
840 | bool _result; | |
841 | wxGrid * _arg0; | |
842 | int _arg1 = 0; | |
843 | int _arg2 = 1; | |
844 | bool _arg3 = (1); | |
845 | char * _argc0 = 0; | |
846 | int tempbool3; | |
847 | ||
848 | self = self; | |
849 | if(!PyArg_ParseTuple(args,"s|iii:wxGrid_DeleteCols",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
850 | return NULL; | |
851 | if (_argc0) { | |
852 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p."); | |
854 | return NULL; | |
855 | } | |
856 | } | |
857 | _arg3 = (bool ) tempbool3; | |
858 | { | |
859 | wxPy_BEGIN_ALLOW_THREADS; | |
860 | _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3); | |
861 | ||
862 | wxPy_END_ALLOW_THREADS; | |
863 | } _resultobj = Py_BuildValue("i",_result); | |
864 | return _resultobj; | |
865 | } | |
866 | ||
867 | #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2)) | |
868 | static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args) { | |
869 | PyObject * _resultobj; | |
870 | bool _result; | |
871 | wxGrid * _arg0; | |
872 | int _arg1 = 0; | |
873 | int _arg2 = 1; | |
874 | bool _arg3 = (1); | |
875 | char * _argc0 = 0; | |
876 | int tempbool3; | |
877 | ||
878 | self = self; | |
879 | if(!PyArg_ParseTuple(args,"s|iii:wxGrid_DeleteRows",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
880 | return NULL; | |
881 | if (_argc0) { | |
882 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p."); | |
884 | return NULL; | |
885 | } | |
886 | } | |
887 | _arg3 = (bool ) tempbool3; | |
888 | { | |
889 | wxPy_BEGIN_ALLOW_THREADS; | |
890 | _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3); | |
891 | ||
892 | wxPy_END_ALLOW_THREADS; | |
893 | } _resultobj = Py_BuildValue("i",_result); | |
894 | return _resultobj; | |
895 | } | |
896 | ||
897 | #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch()) | |
898 | static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args) { | |
899 | PyObject * _resultobj; | |
900 | wxGrid * _arg0; | |
901 | char * _argc0 = 0; | |
902 | ||
903 | self = self; | |
904 | if(!PyArg_ParseTuple(args,"s:wxGrid_EndBatch",&_argc0)) | |
905 | return NULL; | |
906 | if (_argc0) { | |
907 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p."); | |
909 | return NULL; | |
910 | } | |
911 | } | |
912 | { | |
913 | wxPy_BEGIN_ALLOW_THREADS; | |
914 | wxGrid_EndBatch(_arg0); | |
915 | ||
916 | wxPy_END_ALLOW_THREADS; | |
917 | } Py_INCREF(Py_None); | |
918 | _resultobj = Py_None; | |
919 | return _resultobj; | |
920 | } | |
921 | ||
922 | #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount()) | |
923 | static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args) { | |
924 | PyObject * _resultobj; | |
925 | int _result; | |
926 | wxGrid * _arg0; | |
927 | char * _argc0 = 0; | |
928 | ||
929 | self = self; | |
930 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetBatchCount",&_argc0)) | |
931 | return NULL; | |
932 | if (_argc0) { | |
933 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p."); | |
935 | return NULL; | |
936 | } | |
937 | } | |
938 | { | |
939 | wxPy_BEGIN_ALLOW_THREADS; | |
940 | _result = (int )wxGrid_GetBatchCount(_arg0); | |
941 | ||
942 | wxPy_END_ALLOW_THREADS; | |
943 | } _resultobj = Py_BuildValue("i",_result); | |
944 | return _resultobj; | |
945 | } | |
946 | ||
947 | #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1)) | |
948 | static PyObject *_wrap_wxGrid_GetCell(PyObject *self, PyObject *args) { | |
949 | PyObject * _resultobj; | |
950 | wxGridCell * _result; | |
951 | wxGrid * _arg0; | |
952 | int _arg1; | |
953 | int _arg2; | |
954 | char * _argc0 = 0; | |
955 | char _ptemp[128]; | |
956 | ||
957 | self = self; | |
958 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCell",&_argc0,&_arg1,&_arg2)) | |
959 | return NULL; | |
960 | if (_argc0) { | |
961 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p."); | |
963 | return NULL; | |
964 | } | |
965 | } | |
966 | { | |
967 | wxPy_BEGIN_ALLOW_THREADS; | |
968 | _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2); | |
969 | ||
970 | wxPy_END_ALLOW_THREADS; | |
971 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
972 | _resultobj = Py_BuildValue("s",_ptemp); | |
973 | return _resultobj; | |
974 | } | |
975 | ||
976 | #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1)) | |
977 | static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args) { | |
978 | PyObject * _resultobj; | |
979 | int _result; | |
980 | wxGrid * _arg0; | |
981 | int _arg1; | |
982 | int _arg2; | |
983 | char * _argc0 = 0; | |
984 | ||
985 | self = self; | |
986 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellAlignment",&_argc0,&_arg1,&_arg2)) | |
987 | return NULL; | |
988 | if (_argc0) { | |
989 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p."); | |
991 | return NULL; | |
992 | } | |
993 | } | |
994 | { | |
995 | wxPy_BEGIN_ALLOW_THREADS; | |
996 | _result = (int )wxGrid_GetCellAlignment(_arg0,_arg1,_arg2); | |
997 | ||
998 | wxPy_END_ALLOW_THREADS; | |
999 | } _resultobj = Py_BuildValue("i",_result); | |
1000 | return _resultobj; | |
1001 | } | |
1002 | ||
1003 | #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment()) | |
1004 | static PyObject *_wrap_wxGrid_GetDefCellAlignment(PyObject *self, PyObject *args) { | |
1005 | PyObject * _resultobj; | |
1006 | int _result; | |
1007 | wxGrid * _arg0; | |
1008 | char * _argc0 = 0; | |
1009 | ||
1010 | self = self; | |
1011 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellAlignment",&_argc0)) | |
1012 | return NULL; | |
1013 | if (_argc0) { | |
1014 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p."); | |
1016 | return NULL; | |
1017 | } | |
1018 | } | |
1019 | { | |
1020 | wxPy_BEGIN_ALLOW_THREADS; | |
1021 | _result = (int )wxGrid_GetDefCellAlignment(_arg0); | |
1022 | ||
1023 | wxPy_END_ALLOW_THREADS; | |
1024 | } _resultobj = Py_BuildValue("i",_result); | |
1025 | return _resultobj; | |
1026 | } | |
1027 | ||
1028 | #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1)) | |
1029 | static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args) { | |
1030 | PyObject * _resultobj; | |
1031 | wxColour * _result; | |
1032 | wxGrid * _arg0; | |
1033 | int _arg1; | |
1034 | int _arg2; | |
1035 | char * _argc0 = 0; | |
1036 | char _ptemp[128]; | |
1037 | ||
1038 | self = self; | |
1039 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellBackgroundColour",&_argc0,&_arg1,&_arg2)) | |
1040 | return NULL; | |
1041 | if (_argc0) { | |
1042 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p."); | |
1044 | return NULL; | |
1045 | } | |
1046 | } | |
1047 | { | |
1048 | wxPy_BEGIN_ALLOW_THREADS; | |
1049 | wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2); | |
1050 | _result = (wxColour *) &_result_ref; | |
1051 | ||
1052 | wxPy_END_ALLOW_THREADS; | |
1053 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1054 | _resultobj = Py_BuildValue("s",_ptemp); | |
1055 | return _resultobj; | |
1056 | } | |
1057 | ||
1058 | #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour()) | |
1059 | static PyObject *_wrap_wxGrid_GetDefCellBackgroundColour(PyObject *self, PyObject *args) { | |
1060 | PyObject * _resultobj; | |
1061 | wxColour * _result; | |
1062 | wxGrid * _arg0; | |
1063 | char * _argc0 = 0; | |
1064 | char _ptemp[128]; | |
1065 | ||
1066 | self = self; | |
1067 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellBackgroundColour",&_argc0)) | |
1068 | return NULL; | |
1069 | if (_argc0) { | |
1070 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p."); | |
1072 | return NULL; | |
1073 | } | |
1074 | } | |
1075 | { | |
1076 | wxPy_BEGIN_ALLOW_THREADS; | |
1077 | wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0); | |
1078 | _result = (wxColour *) &_result_ref; | |
1079 | ||
1080 | wxPy_END_ALLOW_THREADS; | |
1081 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1082 | _resultobj = Py_BuildValue("s",_ptemp); | |
1083 | return _resultobj; | |
1084 | } | |
1085 | ||
1086 | #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1)) | |
1087 | static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args) { | |
1088 | PyObject * _resultobj; | |
1089 | wxColour * _result; | |
1090 | wxGrid * _arg0; | |
1091 | int _arg1; | |
1092 | int _arg2; | |
1093 | char * _argc0 = 0; | |
1094 | char _ptemp[128]; | |
1095 | ||
1096 | self = self; | |
1097 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellTextColour",&_argc0,&_arg1,&_arg2)) | |
1098 | return NULL; | |
1099 | if (_argc0) { | |
1100 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p."); | |
1102 | return NULL; | |
1103 | } | |
1104 | } | |
1105 | { | |
1106 | wxPy_BEGIN_ALLOW_THREADS; | |
1107 | wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2); | |
1108 | _result = (wxColour *) &_result_ref; | |
1109 | ||
1110 | wxPy_END_ALLOW_THREADS; | |
1111 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1112 | _resultobj = Py_BuildValue("s",_ptemp); | |
1113 | return _resultobj; | |
1114 | } | |
1115 | ||
1116 | #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour()) | |
1117 | static PyObject *_wrap_wxGrid_GetDefCellTextColour(PyObject *self, PyObject *args) { | |
1118 | PyObject * _resultobj; | |
1119 | wxColour * _result; | |
1120 | wxGrid * _arg0; | |
1121 | char * _argc0 = 0; | |
1122 | char _ptemp[128]; | |
1123 | ||
1124 | self = self; | |
1125 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellTextColour",&_argc0)) | |
1126 | return NULL; | |
1127 | if (_argc0) { | |
1128 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p."); | |
1130 | return NULL; | |
1131 | } | |
1132 | } | |
1133 | { | |
1134 | wxPy_BEGIN_ALLOW_THREADS; | |
1135 | wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0); | |
1136 | _result = (wxColour *) &_result_ref; | |
1137 | ||
1138 | wxPy_END_ALLOW_THREADS; | |
1139 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1140 | _resultobj = Py_BuildValue("s",_ptemp); | |
1141 | return _resultobj; | |
1142 | } | |
1143 | ||
1144 | #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1)) | |
1145 | static PyObject *_wrap_wxGrid_GetCellTextFont(PyObject *self, PyObject *args) { | |
1146 | PyObject * _resultobj; | |
1147 | wxFont * _result; | |
1148 | wxGrid * _arg0; | |
1149 | int _arg1; | |
1150 | int _arg2; | |
1151 | char * _argc0 = 0; | |
1152 | char _ptemp[128]; | |
1153 | ||
1154 | self = self; | |
1155 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellTextFont",&_argc0,&_arg1,&_arg2)) | |
1156 | return NULL; | |
1157 | if (_argc0) { | |
1158 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p."); | |
1160 | return NULL; | |
1161 | } | |
1162 | } | |
1163 | { | |
1164 | wxPy_BEGIN_ALLOW_THREADS; | |
1165 | wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2); | |
1166 | _result = (wxFont *) &_result_ref; | |
1167 | ||
1168 | wxPy_END_ALLOW_THREADS; | |
1169 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1170 | _resultobj = Py_BuildValue("s",_ptemp); | |
1171 | return _resultobj; | |
1172 | } | |
1173 | ||
1174 | #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont()) | |
1175 | static PyObject *_wrap_wxGrid_GetDefCellTextFont(PyObject *self, PyObject *args) { | |
1176 | PyObject * _resultobj; | |
1177 | wxFont * _result; | |
1178 | wxGrid * _arg0; | |
1179 | char * _argc0 = 0; | |
1180 | char _ptemp[128]; | |
1181 | ||
1182 | self = self; | |
1183 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetDefCellTextFont",&_argc0)) | |
1184 | return NULL; | |
1185 | if (_argc0) { | |
1186 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p."); | |
1188 | return NULL; | |
1189 | } | |
1190 | } | |
1191 | { | |
1192 | wxPy_BEGIN_ALLOW_THREADS; | |
1193 | wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0); | |
1194 | _result = (wxFont *) &_result_ref; | |
1195 | ||
1196 | wxPy_END_ALLOW_THREADS; | |
1197 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1198 | _resultobj = Py_BuildValue("s",_ptemp); | |
1199 | return _resultobj; | |
1200 | } | |
1201 | ||
1202 | #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1)) | |
1203 | static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args) { | |
1204 | PyObject * _resultobj; | |
1205 | wxString * _result; | |
1206 | wxGrid * _arg0; | |
1207 | int _arg1; | |
1208 | int _arg2; | |
1209 | char * _argc0 = 0; | |
1210 | ||
1211 | self = self; | |
1212 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetCellValue",&_argc0,&_arg1,&_arg2)) | |
1213 | return NULL; | |
1214 | if (_argc0) { | |
1215 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p."); | |
1217 | return NULL; | |
1218 | } | |
1219 | } | |
1220 | { | |
1221 | wxPy_BEGIN_ALLOW_THREADS; | |
1222 | wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2); | |
1223 | _result = (wxString *) &_result_ref; | |
1224 | ||
1225 | wxPy_END_ALLOW_THREADS; | |
1226 | }{ | |
1227 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
1228 | } | |
1229 | return _resultobj; | |
1230 | } | |
1231 | ||
1232 | #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols()) | |
1233 | static PyObject *_wrap_wxGrid_GetCols(PyObject *self, PyObject *args) { | |
1234 | PyObject * _resultobj; | |
1235 | int _result; | |
1236 | wxGrid * _arg0; | |
1237 | char * _argc0 = 0; | |
1238 | ||
1239 | self = self; | |
1240 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetCols",&_argc0)) | |
1241 | return NULL; | |
1242 | if (_argc0) { | |
1243 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p."); | |
1245 | return NULL; | |
1246 | } | |
1247 | } | |
1248 | { | |
1249 | wxPy_BEGIN_ALLOW_THREADS; | |
1250 | _result = (int )wxGrid_GetCols(_arg0); | |
1251 | ||
1252 | wxPy_END_ALLOW_THREADS; | |
1253 | } _resultobj = Py_BuildValue("i",_result); | |
1254 | return _resultobj; | |
1255 | } | |
1256 | ||
1257 | #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0)) | |
1258 | static PyObject *_wrap_wxGrid_GetColumnWidth(PyObject *self, PyObject *args) { | |
1259 | PyObject * _resultobj; | |
1260 | int _result; | |
1261 | wxGrid * _arg0; | |
1262 | int _arg1; | |
1263 | char * _argc0 = 0; | |
1264 | ||
1265 | self = self; | |
1266 | if(!PyArg_ParseTuple(args,"si:wxGrid_GetColumnWidth",&_argc0,&_arg1)) | |
1267 | return NULL; | |
1268 | if (_argc0) { | |
1269 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p."); | |
1271 | return NULL; | |
1272 | } | |
1273 | } | |
1274 | { | |
1275 | wxPy_BEGIN_ALLOW_THREADS; | |
1276 | _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1); | |
1277 | ||
1278 | wxPy_END_ALLOW_THREADS; | |
1279 | } _resultobj = Py_BuildValue("i",_result); | |
1280 | return _resultobj; | |
1281 | } | |
1282 | ||
1283 | #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect()) | |
1284 | static PyObject *_wrap_wxGrid_GetCurrentRect(PyObject *self, PyObject *args) { | |
1285 | PyObject * _resultobj; | |
1286 | wxRect * _result; | |
1287 | wxGrid * _arg0; | |
1288 | char * _argc0 = 0; | |
1289 | char _ptemp[128]; | |
1290 | ||
1291 | self = self; | |
1292 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetCurrentRect",&_argc0)) | |
1293 | return NULL; | |
1294 | if (_argc0) { | |
1295 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p."); | |
1297 | return NULL; | |
1298 | } | |
1299 | } | |
1300 | { | |
1301 | wxPy_BEGIN_ALLOW_THREADS; | |
1302 | _result = new wxRect (wxGrid_GetCurrentRect(_arg0)); | |
1303 | ||
1304 | wxPy_END_ALLOW_THREADS; | |
1305 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
1306 | _resultobj = Py_BuildValue("s",_ptemp); | |
1307 | return _resultobj; | |
1308 | } | |
1309 | ||
1310 | #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn()) | |
1311 | static PyObject *_wrap_wxGrid_GetCursorColumn(PyObject *self, PyObject *args) { | |
1312 | PyObject * _resultobj; | |
1313 | int _result; | |
1314 | wxGrid * _arg0; | |
1315 | char * _argc0 = 0; | |
1316 | ||
1317 | self = self; | |
1318 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetCursorColumn",&_argc0)) | |
1319 | return NULL; | |
1320 | if (_argc0) { | |
1321 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p."); | |
1323 | return NULL; | |
1324 | } | |
1325 | } | |
1326 | { | |
1327 | wxPy_BEGIN_ALLOW_THREADS; | |
1328 | _result = (int )wxGrid_GetCursorColumn(_arg0); | |
1329 | ||
1330 | wxPy_END_ALLOW_THREADS; | |
1331 | } _resultobj = Py_BuildValue("i",_result); | |
1332 | return _resultobj; | |
1333 | } | |
1334 | ||
1335 | #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow()) | |
1336 | static PyObject *_wrap_wxGrid_GetCursorRow(PyObject *self, PyObject *args) { | |
1337 | PyObject * _resultobj; | |
1338 | int _result; | |
1339 | wxGrid * _arg0; | |
1340 | char * _argc0 = 0; | |
1341 | ||
1342 | self = self; | |
1343 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetCursorRow",&_argc0)) | |
1344 | return NULL; | |
1345 | if (_argc0) { | |
1346 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p."); | |
1348 | return NULL; | |
1349 | } | |
1350 | } | |
1351 | { | |
1352 | wxPy_BEGIN_ALLOW_THREADS; | |
1353 | _result = (int )wxGrid_GetCursorRow(_arg0); | |
1354 | ||
1355 | wxPy_END_ALLOW_THREADS; | |
1356 | } _resultobj = Py_BuildValue("i",_result); | |
1357 | return _resultobj; | |
1358 | } | |
1359 | ||
1360 | #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable()) | |
1361 | static PyObject *_wrap_wxGrid_GetEditable(PyObject *self, PyObject *args) { | |
1362 | PyObject * _resultobj; | |
1363 | bool _result; | |
1364 | wxGrid * _arg0; | |
1365 | char * _argc0 = 0; | |
1366 | ||
1367 | self = self; | |
1368 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetEditable",&_argc0)) | |
1369 | return NULL; | |
1370 | if (_argc0) { | |
1371 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p."); | |
1373 | return NULL; | |
1374 | } | |
1375 | } | |
1376 | { | |
1377 | wxPy_BEGIN_ALLOW_THREADS; | |
1378 | _result = (bool )wxGrid_GetEditable(_arg0); | |
1379 | ||
1380 | wxPy_END_ALLOW_THREADS; | |
1381 | } _resultobj = Py_BuildValue("i",_result); | |
1382 | return _resultobj; | |
1383 | } | |
1384 | ||
1385 | #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar()) | |
1386 | static PyObject *_wrap_wxGrid_GetHorizScrollBar(PyObject *self, PyObject *args) { | |
1387 | PyObject * _resultobj; | |
1388 | wxScrollBar * _result; | |
1389 | wxGrid * _arg0; | |
1390 | char * _argc0 = 0; | |
1391 | char _ptemp[128]; | |
1392 | ||
1393 | self = self; | |
1394 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetHorizScrollBar",&_argc0)) | |
1395 | return NULL; | |
1396 | if (_argc0) { | |
1397 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p."); | |
1399 | return NULL; | |
1400 | } | |
1401 | } | |
1402 | { | |
1403 | wxPy_BEGIN_ALLOW_THREADS; | |
1404 | _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0); | |
1405 | ||
1406 | wxPy_END_ALLOW_THREADS; | |
1407 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p"); | |
1408 | _resultobj = Py_BuildValue("s",_ptemp); | |
1409 | return _resultobj; | |
1410 | } | |
1411 | ||
1412 | #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0)) | |
1413 | static PyObject *_wrap_wxGrid_GetLabelAlignment(PyObject *self, PyObject *args) { | |
1414 | PyObject * _resultobj; | |
1415 | int _result; | |
1416 | wxGrid * _arg0; | |
1417 | int _arg1; | |
1418 | char * _argc0 = 0; | |
1419 | ||
1420 | self = self; | |
1421 | if(!PyArg_ParseTuple(args,"si:wxGrid_GetLabelAlignment",&_argc0,&_arg1)) | |
1422 | return NULL; | |
1423 | if (_argc0) { | |
1424 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p."); | |
1426 | return NULL; | |
1427 | } | |
1428 | } | |
1429 | { | |
1430 | wxPy_BEGIN_ALLOW_THREADS; | |
1431 | _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1); | |
1432 | ||
1433 | wxPy_END_ALLOW_THREADS; | |
1434 | } _resultobj = Py_BuildValue("i",_result); | |
1435 | return _resultobj; | |
1436 | } | |
1437 | ||
1438 | #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour()) | |
1439 | static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args) { | |
1440 | PyObject * _resultobj; | |
1441 | wxColour * _result; | |
1442 | wxGrid * _arg0; | |
1443 | char * _argc0 = 0; | |
1444 | char _ptemp[128]; | |
1445 | ||
1446 | self = self; | |
1447 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelBackgroundColour",&_argc0)) | |
1448 | return NULL; | |
1449 | if (_argc0) { | |
1450 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p."); | |
1452 | return NULL; | |
1453 | } | |
1454 | } | |
1455 | { | |
1456 | wxPy_BEGIN_ALLOW_THREADS; | |
1457 | wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0); | |
1458 | _result = (wxColour *) &_result_ref; | |
1459 | ||
1460 | wxPy_END_ALLOW_THREADS; | |
1461 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1462 | _resultobj = Py_BuildValue("s",_ptemp); | |
1463 | return _resultobj; | |
1464 | } | |
1465 | ||
1466 | #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0)) | |
1467 | static PyObject *_wrap_wxGrid_GetLabelSize(PyObject *self, PyObject *args) { | |
1468 | PyObject * _resultobj; | |
1469 | int _result; | |
1470 | wxGrid * _arg0; | |
1471 | int _arg1; | |
1472 | char * _argc0 = 0; | |
1473 | ||
1474 | self = self; | |
1475 | if(!PyArg_ParseTuple(args,"si:wxGrid_GetLabelSize",&_argc0,&_arg1)) | |
1476 | return NULL; | |
1477 | if (_argc0) { | |
1478 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p."); | |
1480 | return NULL; | |
1481 | } | |
1482 | } | |
1483 | { | |
1484 | wxPy_BEGIN_ALLOW_THREADS; | |
1485 | _result = (int )wxGrid_GetLabelSize(_arg0,_arg1); | |
1486 | ||
1487 | wxPy_END_ALLOW_THREADS; | |
1488 | } _resultobj = Py_BuildValue("i",_result); | |
1489 | return _resultobj; | |
1490 | } | |
1491 | ||
1492 | #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour()) | |
1493 | static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args) { | |
1494 | PyObject * _resultobj; | |
1495 | wxColour * _result; | |
1496 | wxGrid * _arg0; | |
1497 | char * _argc0 = 0; | |
1498 | char _ptemp[128]; | |
1499 | ||
1500 | self = self; | |
1501 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelTextColour",&_argc0)) | |
1502 | return NULL; | |
1503 | if (_argc0) { | |
1504 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1505 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p."); | |
1506 | return NULL; | |
1507 | } | |
1508 | } | |
1509 | { | |
1510 | wxPy_BEGIN_ALLOW_THREADS; | |
1511 | wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0); | |
1512 | _result = (wxColour *) &_result_ref; | |
1513 | ||
1514 | wxPy_END_ALLOW_THREADS; | |
1515 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
1516 | _resultobj = Py_BuildValue("s",_ptemp); | |
1517 | return _resultobj; | |
1518 | } | |
1519 | ||
1520 | #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont()) | |
1521 | static PyObject *_wrap_wxGrid_GetLabelTextFont(PyObject *self, PyObject *args) { | |
1522 | PyObject * _resultobj; | |
1523 | wxFont * _result; | |
1524 | wxGrid * _arg0; | |
1525 | char * _argc0 = 0; | |
1526 | char _ptemp[128]; | |
1527 | ||
1528 | self = self; | |
1529 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetLabelTextFont",&_argc0)) | |
1530 | return NULL; | |
1531 | if (_argc0) { | |
1532 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p."); | |
1534 | return NULL; | |
1535 | } | |
1536 | } | |
1537 | { | |
1538 | wxPy_BEGIN_ALLOW_THREADS; | |
1539 | wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0); | |
1540 | _result = (wxFont *) &_result_ref; | |
1541 | ||
1542 | wxPy_END_ALLOW_THREADS; | |
1543 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
1544 | _resultobj = Py_BuildValue("s",_ptemp); | |
1545 | return _resultobj; | |
1546 | } | |
1547 | ||
1548 | #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1)) | |
1549 | static PyObject *_wrap_wxGrid_GetLabelValue(PyObject *self, PyObject *args) { | |
1550 | PyObject * _resultobj; | |
1551 | wxString * _result; | |
1552 | wxGrid * _arg0; | |
1553 | int _arg1; | |
1554 | int _arg2; | |
1555 | char * _argc0 = 0; | |
1556 | ||
1557 | self = self; | |
1558 | if(!PyArg_ParseTuple(args,"sii:wxGrid_GetLabelValue",&_argc0,&_arg1,&_arg2)) | |
1559 | return NULL; | |
1560 | if (_argc0) { | |
1561 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p."); | |
1563 | return NULL; | |
1564 | } | |
1565 | } | |
1566 | { | |
1567 | wxPy_BEGIN_ALLOW_THREADS; | |
1568 | wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2); | |
1569 | _result = (wxString *) &_result_ref; | |
1570 | ||
1571 | wxPy_END_ALLOW_THREADS; | |
1572 | }{ | |
1573 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
1574 | } | |
1575 | return _resultobj; | |
1576 | } | |
1577 | ||
1578 | #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0)) | |
1579 | static PyObject *_wrap_wxGrid_GetRowHeight(PyObject *self, PyObject *args) { | |
1580 | PyObject * _resultobj; | |
1581 | int _result; | |
1582 | wxGrid * _arg0; | |
1583 | int _arg1; | |
1584 | char * _argc0 = 0; | |
1585 | ||
1586 | self = self; | |
1587 | if(!PyArg_ParseTuple(args,"si:wxGrid_GetRowHeight",&_argc0,&_arg1)) | |
1588 | return NULL; | |
1589 | if (_argc0) { | |
1590 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p."); | |
1592 | return NULL; | |
1593 | } | |
1594 | } | |
1595 | { | |
1596 | wxPy_BEGIN_ALLOW_THREADS; | |
1597 | _result = (int )wxGrid_GetRowHeight(_arg0,_arg1); | |
1598 | ||
1599 | wxPy_END_ALLOW_THREADS; | |
1600 | } _resultobj = Py_BuildValue("i",_result); | |
1601 | return _resultobj; | |
1602 | } | |
1603 | ||
1604 | #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows()) | |
1605 | static PyObject *_wrap_wxGrid_GetRows(PyObject *self, PyObject *args) { | |
1606 | PyObject * _resultobj; | |
1607 | int _result; | |
1608 | wxGrid * _arg0; | |
1609 | char * _argc0 = 0; | |
1610 | ||
1611 | self = self; | |
1612 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetRows",&_argc0)) | |
1613 | return NULL; | |
1614 | if (_argc0) { | |
1615 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p."); | |
1617 | return NULL; | |
1618 | } | |
1619 | } | |
1620 | { | |
1621 | wxPy_BEGIN_ALLOW_THREADS; | |
1622 | _result = (int )wxGrid_GetRows(_arg0); | |
1623 | ||
1624 | wxPy_END_ALLOW_THREADS; | |
1625 | } _resultobj = Py_BuildValue("i",_result); | |
1626 | return _resultobj; | |
1627 | } | |
1628 | ||
1629 | #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX()) | |
1630 | static PyObject *_wrap_wxGrid_GetScrollPosX(PyObject *self, PyObject *args) { | |
1631 | PyObject * _resultobj; | |
1632 | int _result; | |
1633 | wxGrid * _arg0; | |
1634 | char * _argc0 = 0; | |
1635 | ||
1636 | self = self; | |
1637 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetScrollPosX",&_argc0)) | |
1638 | return NULL; | |
1639 | if (_argc0) { | |
1640 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p."); | |
1642 | return NULL; | |
1643 | } | |
1644 | } | |
1645 | { | |
1646 | wxPy_BEGIN_ALLOW_THREADS; | |
1647 | _result = (int )wxGrid_GetScrollPosX(_arg0); | |
1648 | ||
1649 | wxPy_END_ALLOW_THREADS; | |
1650 | } _resultobj = Py_BuildValue("i",_result); | |
1651 | return _resultobj; | |
1652 | } | |
1653 | ||
1654 | #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY()) | |
1655 | static PyObject *_wrap_wxGrid_GetScrollPosY(PyObject *self, PyObject *args) { | |
1656 | PyObject * _resultobj; | |
1657 | int _result; | |
1658 | wxGrid * _arg0; | |
1659 | char * _argc0 = 0; | |
1660 | ||
1661 | self = self; | |
1662 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetScrollPosY",&_argc0)) | |
1663 | return NULL; | |
1664 | if (_argc0) { | |
1665 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p."); | |
1667 | return NULL; | |
1668 | } | |
1669 | } | |
1670 | { | |
1671 | wxPy_BEGIN_ALLOW_THREADS; | |
1672 | _result = (int )wxGrid_GetScrollPosY(_arg0); | |
1673 | ||
1674 | wxPy_END_ALLOW_THREADS; | |
1675 | } _resultobj = Py_BuildValue("i",_result); | |
1676 | return _resultobj; | |
1677 | } | |
1678 | ||
1679 | #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem()) | |
1680 | static PyObject *_wrap_wxGrid_GetTextItem(PyObject *self, PyObject *args) { | |
1681 | PyObject * _resultobj; | |
1682 | wxTextCtrl * _result; | |
1683 | wxGrid * _arg0; | |
1684 | char * _argc0 = 0; | |
1685 | char _ptemp[128]; | |
1686 | ||
1687 | self = self; | |
1688 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetTextItem",&_argc0)) | |
1689 | return NULL; | |
1690 | if (_argc0) { | |
1691 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p."); | |
1693 | return NULL; | |
1694 | } | |
1695 | } | |
1696 | { | |
1697 | wxPy_BEGIN_ALLOW_THREADS; | |
1698 | _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0); | |
1699 | ||
1700 | wxPy_END_ALLOW_THREADS; | |
1701 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
1702 | _resultobj = Py_BuildValue("s",_ptemp); | |
1703 | return _resultobj; | |
1704 | } | |
1705 | ||
1706 | #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar()) | |
1707 | static PyObject *_wrap_wxGrid_GetVertScrollBar(PyObject *self, PyObject *args) { | |
1708 | PyObject * _resultobj; | |
1709 | wxScrollBar * _result; | |
1710 | wxGrid * _arg0; | |
1711 | char * _argc0 = 0; | |
1712 | char _ptemp[128]; | |
1713 | ||
1714 | self = self; | |
1715 | if(!PyArg_ParseTuple(args,"s:wxGrid_GetVertScrollBar",&_argc0)) | |
1716 | return NULL; | |
1717 | if (_argc0) { | |
1718 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p."); | |
1720 | return NULL; | |
1721 | } | |
1722 | } | |
1723 | { | |
1724 | wxPy_BEGIN_ALLOW_THREADS; | |
1725 | _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0); | |
1726 | ||
1727 | wxPy_END_ALLOW_THREADS; | |
1728 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p"); | |
1729 | _resultobj = Py_BuildValue("s",_ptemp); | |
1730 | return _resultobj; | |
1731 | } | |
1732 | ||
1733 | #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2)) | |
1734 | static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args) { | |
1735 | PyObject * _resultobj; | |
1736 | bool _result; | |
1737 | wxGrid * _arg0; | |
1738 | int _arg1 = 0; | |
1739 | int _arg2 = 1; | |
1740 | bool _arg3 = (1); | |
1741 | char * _argc0 = 0; | |
1742 | int tempbool3; | |
1743 | ||
1744 | self = self; | |
1745 | if(!PyArg_ParseTuple(args,"s|iii:wxGrid_InsertCols",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
1746 | return NULL; | |
1747 | if (_argc0) { | |
1748 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p."); | |
1750 | return NULL; | |
1751 | } | |
1752 | } | |
1753 | _arg3 = (bool ) tempbool3; | |
1754 | { | |
1755 | wxPy_BEGIN_ALLOW_THREADS; | |
1756 | _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3); | |
1757 | ||
1758 | wxPy_END_ALLOW_THREADS; | |
1759 | } _resultobj = Py_BuildValue("i",_result); | |
1760 | return _resultobj; | |
1761 | } | |
1762 | ||
1763 | #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2)) | |
1764 | static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args) { | |
1765 | PyObject * _resultobj; | |
1766 | bool _result; | |
1767 | wxGrid * _arg0; | |
1768 | int _arg1 = 0; | |
1769 | int _arg2 = 1; | |
1770 | bool _arg3 = (1); | |
1771 | char * _argc0 = 0; | |
1772 | int tempbool3; | |
1773 | ||
1774 | self = self; | |
1775 | if(!PyArg_ParseTuple(args,"s|iii:wxGrid_InsertRows",&_argc0,&_arg1,&_arg2,&tempbool3)) | |
1776 | return NULL; | |
1777 | if (_argc0) { | |
1778 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p."); | |
1780 | return NULL; | |
1781 | } | |
1782 | } | |
1783 | _arg3 = (bool ) tempbool3; | |
1784 | { | |
1785 | wxPy_BEGIN_ALLOW_THREADS; | |
1786 | _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3); | |
1787 | ||
1788 | wxPy_END_ALLOW_THREADS; | |
1789 | } _resultobj = Py_BuildValue("i",_result); | |
1790 | return _resultobj; | |
1791 | } | |
1792 | ||
1793 | #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0)) | |
1794 | static PyObject *_wrap_wxGrid_OnActivate(PyObject *self, PyObject *args) { | |
1795 | PyObject * _resultobj; | |
1796 | wxGrid * _arg0; | |
1797 | bool _arg1; | |
1798 | char * _argc0 = 0; | |
1799 | int tempbool1; | |
1800 | ||
1801 | self = self; | |
1802 | if(!PyArg_ParseTuple(args,"si:wxGrid_OnActivate",&_argc0,&tempbool1)) | |
1803 | return NULL; | |
1804 | if (_argc0) { | |
1805 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p."); | |
1807 | return NULL; | |
1808 | } | |
1809 | } | |
1810 | _arg1 = (bool ) tempbool1; | |
1811 | { | |
1812 | wxPy_BEGIN_ALLOW_THREADS; | |
1813 | wxGrid_OnActivate(_arg0,_arg1); | |
1814 | ||
1815 | wxPy_END_ALLOW_THREADS; | |
1816 | } Py_INCREF(Py_None); | |
1817 | _resultobj = Py_None; | |
1818 | return _resultobj; | |
1819 | } | |
1820 | ||
1821 | #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2)) | |
1822 | static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args) { | |
1823 | PyObject * _resultobj; | |
1824 | wxGrid * _arg0; | |
1825 | int _arg1; | |
1826 | int _arg2; | |
1827 | int _arg3; | |
1828 | char * _argc0 = 0; | |
1829 | ||
1830 | self = self; | |
1831 | if(!PyArg_ParseTuple(args,"siii:wxGrid_SetCellAlignment",&_argc0,&_arg1,&_arg2,&_arg3)) | |
1832 | return NULL; | |
1833 | if (_argc0) { | |
1834 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p."); | |
1836 | return NULL; | |
1837 | } | |
1838 | } | |
1839 | { | |
1840 | wxPy_BEGIN_ALLOW_THREADS; | |
1841 | wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3); | |
1842 | ||
1843 | wxPy_END_ALLOW_THREADS; | |
1844 | } Py_INCREF(Py_None); | |
1845 | _resultobj = Py_None; | |
1846 | return _resultobj; | |
1847 | } | |
1848 | ||
1849 | #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0)) | |
1850 | static PyObject *_wrap_wxGrid_SetDefCellAlignment(PyObject *self, PyObject *args) { | |
1851 | PyObject * _resultobj; | |
1852 | wxGrid * _arg0; | |
1853 | int _arg1; | |
1854 | char * _argc0 = 0; | |
1855 | ||
1856 | self = self; | |
1857 | if(!PyArg_ParseTuple(args,"si:wxGrid_SetDefCellAlignment",&_argc0,&_arg1)) | |
1858 | return NULL; | |
1859 | if (_argc0) { | |
1860 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p."); | |
1862 | return NULL; | |
1863 | } | |
1864 | } | |
1865 | { | |
1866 | wxPy_BEGIN_ALLOW_THREADS; | |
1867 | wxGrid_SetDefCellAlignment(_arg0,_arg1); | |
1868 | ||
1869 | wxPy_END_ALLOW_THREADS; | |
1870 | } Py_INCREF(Py_None); | |
1871 | _resultobj = Py_None; | |
1872 | return _resultobj; | |
1873 | } | |
1874 | ||
1875 | #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2)) | |
1876 | static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args) { | |
1877 | PyObject * _resultobj; | |
1878 | wxGrid * _arg0; | |
1879 | wxColour * _arg1; | |
1880 | int _arg2; | |
1881 | int _arg3; | |
1882 | char * _argc0 = 0; | |
1883 | char * _argc1 = 0; | |
1884 | ||
1885 | self = self; | |
1886 | if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellBackgroundColour",&_argc0,&_argc1,&_arg2,&_arg3)) | |
1887 | return NULL; | |
1888 | if (_argc0) { | |
1889 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p."); | |
1891 | return NULL; | |
1892 | } | |
1893 | } | |
1894 | if (_argc1) { | |
1895 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p."); | |
1897 | return NULL; | |
1898 | } | |
1899 | } | |
1900 | { | |
1901 | wxPy_BEGIN_ALLOW_THREADS; | |
1902 | wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3); | |
1903 | ||
1904 | wxPy_END_ALLOW_THREADS; | |
1905 | } Py_INCREF(Py_None); | |
1906 | _resultobj = Py_None; | |
1907 | return _resultobj; | |
1908 | } | |
1909 | ||
1910 | #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0)) | |
1911 | static PyObject *_wrap_wxGrid_SetDefCellBackgroundColour(PyObject *self, PyObject *args) { | |
1912 | PyObject * _resultobj; | |
1913 | wxGrid * _arg0; | |
1914 | wxColour * _arg1; | |
1915 | char * _argc0 = 0; | |
1916 | char * _argc1 = 0; | |
1917 | ||
1918 | self = self; | |
1919 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellBackgroundColour",&_argc0,&_argc1)) | |
1920 | return NULL; | |
1921 | if (_argc0) { | |
1922 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p."); | |
1924 | return NULL; | |
1925 | } | |
1926 | } | |
1927 | if (_argc1) { | |
1928 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p."); | |
1930 | return NULL; | |
1931 | } | |
1932 | } | |
1933 | { | |
1934 | wxPy_BEGIN_ALLOW_THREADS; | |
1935 | wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1); | |
1936 | ||
1937 | wxPy_END_ALLOW_THREADS; | |
1938 | } Py_INCREF(Py_None); | |
1939 | _resultobj = Py_None; | |
1940 | return _resultobj; | |
1941 | } | |
1942 | ||
1943 | #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2)) | |
1944 | static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args) { | |
1945 | PyObject * _resultobj; | |
1946 | wxGrid * _arg0; | |
1947 | wxColour * _arg1; | |
1948 | int _arg2; | |
1949 | int _arg3; | |
1950 | char * _argc0 = 0; | |
1951 | char * _argc1 = 0; | |
1952 | ||
1953 | self = self; | |
1954 | if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellTextColour",&_argc0,&_argc1,&_arg2,&_arg3)) | |
1955 | return NULL; | |
1956 | if (_argc0) { | |
1957 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p."); | |
1959 | return NULL; | |
1960 | } | |
1961 | } | |
1962 | if (_argc1) { | |
1963 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p."); | |
1965 | return NULL; | |
1966 | } | |
1967 | } | |
1968 | { | |
1969 | wxPy_BEGIN_ALLOW_THREADS; | |
1970 | wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3); | |
1971 | ||
1972 | wxPy_END_ALLOW_THREADS; | |
1973 | } Py_INCREF(Py_None); | |
1974 | _resultobj = Py_None; | |
1975 | return _resultobj; | |
1976 | } | |
1977 | ||
1978 | #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0)) | |
1979 | static PyObject *_wrap_wxGrid_SetDefCellTextColour(PyObject *self, PyObject *args) { | |
1980 | PyObject * _resultobj; | |
1981 | wxGrid * _arg0; | |
1982 | wxColour * _arg1; | |
1983 | char * _argc0 = 0; | |
1984 | char * _argc1 = 0; | |
1985 | ||
1986 | self = self; | |
1987 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellTextColour",&_argc0,&_argc1)) | |
1988 | return NULL; | |
1989 | if (_argc0) { | |
1990 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
1991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p."); | |
1992 | return NULL; | |
1993 | } | |
1994 | } | |
1995 | if (_argc1) { | |
1996 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p."); | |
1998 | return NULL; | |
1999 | } | |
2000 | } | |
2001 | { | |
2002 | wxPy_BEGIN_ALLOW_THREADS; | |
2003 | wxGrid_SetDefCellTextColour(_arg0,*_arg1); | |
2004 | ||
2005 | wxPy_END_ALLOW_THREADS; | |
2006 | } Py_INCREF(Py_None); | |
2007 | _resultobj = Py_None; | |
2008 | return _resultobj; | |
2009 | } | |
2010 | ||
2011 | #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2)) | |
2012 | static PyObject *_wrap_wxGrid_SetCellTextFont(PyObject *self, PyObject *args) { | |
2013 | PyObject * _resultobj; | |
2014 | wxGrid * _arg0; | |
2015 | wxFont * _arg1; | |
2016 | int _arg2; | |
2017 | int _arg3; | |
2018 | char * _argc0 = 0; | |
2019 | char * _argc1 = 0; | |
2020 | ||
2021 | self = self; | |
2022 | if(!PyArg_ParseTuple(args,"ssii:wxGrid_SetCellTextFont",&_argc0,&_argc1,&_arg2,&_arg3)) | |
2023 | return NULL; | |
2024 | if (_argc0) { | |
2025 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p."); | |
2027 | return NULL; | |
2028 | } | |
2029 | } | |
2030 | if (_argc1) { | |
2031 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
2032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p."); | |
2033 | return NULL; | |
2034 | } | |
2035 | } | |
2036 | { | |
2037 | wxPy_BEGIN_ALLOW_THREADS; | |
2038 | wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3); | |
2039 | ||
2040 | wxPy_END_ALLOW_THREADS; | |
2041 | } Py_INCREF(Py_None); | |
2042 | _resultobj = Py_None; | |
2043 | return _resultobj; | |
2044 | } | |
2045 | ||
2046 | #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0)) | |
2047 | static PyObject *_wrap_wxGrid_SetDefCellTextFont(PyObject *self, PyObject *args) { | |
2048 | PyObject * _resultobj; | |
2049 | wxGrid * _arg0; | |
2050 | wxFont * _arg1; | |
2051 | char * _argc0 = 0; | |
2052 | char * _argc1 = 0; | |
2053 | ||
2054 | self = self; | |
2055 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDefCellTextFont",&_argc0,&_argc1)) | |
2056 | return NULL; | |
2057 | if (_argc0) { | |
2058 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p."); | |
2060 | return NULL; | |
2061 | } | |
2062 | } | |
2063 | if (_argc1) { | |
2064 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
2065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p."); | |
2066 | return NULL; | |
2067 | } | |
2068 | } | |
2069 | { | |
2070 | wxPy_BEGIN_ALLOW_THREADS; | |
2071 | wxGrid_SetDefCellTextFont(_arg0,*_arg1); | |
2072 | ||
2073 | wxPy_END_ALLOW_THREADS; | |
2074 | } Py_INCREF(Py_None); | |
2075 | _resultobj = Py_None; | |
2076 | return _resultobj; | |
2077 | } | |
2078 | ||
2079 | #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2)) | |
2080 | static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args) { | |
2081 | PyObject * _resultobj; | |
2082 | wxGrid * _arg0; | |
2083 | wxString * _arg1; | |
2084 | int _arg2; | |
2085 | int _arg3; | |
2086 | char * _argc0 = 0; | |
2087 | PyObject * _obj1 = 0; | |
2088 | ||
2089 | self = self; | |
2090 | if(!PyArg_ParseTuple(args,"sOii:wxGrid_SetCellValue",&_argc0,&_obj1,&_arg2,&_arg3)) | |
2091 | return NULL; | |
2092 | if (_argc0) { | |
2093 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p."); | |
2095 | return NULL; | |
2096 | } | |
2097 | } | |
2098 | { | |
2099 | if (!PyString_Check(_obj1)) { | |
2100 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2101 | return NULL; | |
2102 | } | |
2103 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2104 | } | |
2105 | { | |
2106 | wxPy_BEGIN_ALLOW_THREADS; | |
2107 | wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3); | |
2108 | ||
2109 | wxPy_END_ALLOW_THREADS; | |
2110 | } Py_INCREF(Py_None); | |
2111 | _resultobj = Py_None; | |
2112 | { | |
2113 | if (_obj1) | |
2114 | delete _arg1; | |
2115 | } | |
2116 | return _resultobj; | |
2117 | } | |
2118 | ||
2119 | #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1)) | |
2120 | static PyObject *_wrap_wxGrid_SetColumnWidth(PyObject *self, PyObject *args) { | |
2121 | PyObject * _resultobj; | |
2122 | wxGrid * _arg0; | |
2123 | int _arg1; | |
2124 | int _arg2; | |
2125 | char * _argc0 = 0; | |
2126 | ||
2127 | self = self; | |
2128 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetColumnWidth",&_argc0,&_arg1,&_arg2)) | |
2129 | return NULL; | |
2130 | if (_argc0) { | |
2131 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p."); | |
2133 | return NULL; | |
2134 | } | |
2135 | } | |
2136 | { | |
2137 | wxPy_BEGIN_ALLOW_THREADS; | |
2138 | wxGrid_SetColumnWidth(_arg0,_arg1,_arg2); | |
2139 | ||
2140 | wxPy_END_ALLOW_THREADS; | |
2141 | } Py_INCREF(Py_None); | |
2142 | _resultobj = Py_None; | |
2143 | return _resultobj; | |
2144 | } | |
2145 | ||
2146 | #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0)) | |
2147 | static PyObject *_wrap_wxGrid_SetDividerPen(PyObject *self, PyObject *args) { | |
2148 | PyObject * _resultobj; | |
2149 | wxGrid * _arg0; | |
2150 | wxPen * _arg1; | |
2151 | char * _argc0 = 0; | |
2152 | char * _argc1 = 0; | |
2153 | ||
2154 | self = self; | |
2155 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetDividerPen",&_argc0,&_argc1)) | |
2156 | return NULL; | |
2157 | if (_argc0) { | |
2158 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p."); | |
2160 | return NULL; | |
2161 | } | |
2162 | } | |
2163 | if (_argc1) { | |
2164 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPen_p")) { | |
2165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p."); | |
2166 | return NULL; | |
2167 | } | |
2168 | } | |
2169 | { | |
2170 | wxPy_BEGIN_ALLOW_THREADS; | |
2171 | wxGrid_SetDividerPen(_arg0,*_arg1); | |
2172 | ||
2173 | wxPy_END_ALLOW_THREADS; | |
2174 | } Py_INCREF(Py_None); | |
2175 | _resultobj = Py_None; | |
2176 | return _resultobj; | |
2177 | } | |
2178 | ||
2179 | #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0)) | |
2180 | static PyObject *_wrap_wxGrid_SetEditable(PyObject *self, PyObject *args) { | |
2181 | PyObject * _resultobj; | |
2182 | wxGrid * _arg0; | |
2183 | bool _arg1; | |
2184 | char * _argc0 = 0; | |
2185 | int tempbool1; | |
2186 | ||
2187 | self = self; | |
2188 | if(!PyArg_ParseTuple(args,"si:wxGrid_SetEditable",&_argc0,&tempbool1)) | |
2189 | return NULL; | |
2190 | if (_argc0) { | |
2191 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p."); | |
2193 | return NULL; | |
2194 | } | |
2195 | } | |
2196 | _arg1 = (bool ) tempbool1; | |
2197 | { | |
2198 | wxPy_BEGIN_ALLOW_THREADS; | |
2199 | wxGrid_SetEditable(_arg0,_arg1); | |
2200 | ||
2201 | wxPy_END_ALLOW_THREADS; | |
2202 | } Py_INCREF(Py_None); | |
2203 | _resultobj = Py_None; | |
2204 | return _resultobj; | |
2205 | } | |
2206 | ||
2207 | #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1)) | |
2208 | static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args) { | |
2209 | PyObject * _resultobj; | |
2210 | wxGrid * _arg0; | |
2211 | int _arg1; | |
2212 | int _arg2; | |
2213 | char * _argc0 = 0; | |
2214 | ||
2215 | self = self; | |
2216 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetGridCursor",&_argc0,&_arg1,&_arg2)) | |
2217 | return NULL; | |
2218 | if (_argc0) { | |
2219 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p."); | |
2221 | return NULL; | |
2222 | } | |
2223 | } | |
2224 | { | |
2225 | wxPy_BEGIN_ALLOW_THREADS; | |
2226 | wxGrid_SetGridCursor(_arg0,_arg1,_arg2); | |
2227 | ||
2228 | wxPy_END_ALLOW_THREADS; | |
2229 | } Py_INCREF(Py_None); | |
2230 | _resultobj = Py_None; | |
2231 | return _resultobj; | |
2232 | } | |
2233 | ||
2234 | #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1)) | |
2235 | static PyObject *_wrap_wxGrid_SetLabelAlignment(PyObject *self, PyObject *args) { | |
2236 | PyObject * _resultobj; | |
2237 | wxGrid * _arg0; | |
2238 | int _arg1; | |
2239 | int _arg2; | |
2240 | char * _argc0 = 0; | |
2241 | ||
2242 | self = self; | |
2243 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetLabelAlignment",&_argc0,&_arg1,&_arg2)) | |
2244 | return NULL; | |
2245 | if (_argc0) { | |
2246 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p."); | |
2248 | return NULL; | |
2249 | } | |
2250 | } | |
2251 | { | |
2252 | wxPy_BEGIN_ALLOW_THREADS; | |
2253 | wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2); | |
2254 | ||
2255 | wxPy_END_ALLOW_THREADS; | |
2256 | } Py_INCREF(Py_None); | |
2257 | _resultobj = Py_None; | |
2258 | return _resultobj; | |
2259 | } | |
2260 | ||
2261 | #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0)) | |
2262 | static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args) { | |
2263 | PyObject * _resultobj; | |
2264 | wxGrid * _arg0; | |
2265 | wxColour * _arg1; | |
2266 | char * _argc0 = 0; | |
2267 | char * _argc1 = 0; | |
2268 | ||
2269 | self = self; | |
2270 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelBackgroundColour",&_argc0,&_argc1)) | |
2271 | return NULL; | |
2272 | if (_argc0) { | |
2273 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p."); | |
2275 | return NULL; | |
2276 | } | |
2277 | } | |
2278 | if (_argc1) { | |
2279 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
2280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p."); | |
2281 | return NULL; | |
2282 | } | |
2283 | } | |
2284 | { | |
2285 | wxPy_BEGIN_ALLOW_THREADS; | |
2286 | wxGrid_SetLabelBackgroundColour(_arg0,*_arg1); | |
2287 | ||
2288 | wxPy_END_ALLOW_THREADS; | |
2289 | } Py_INCREF(Py_None); | |
2290 | _resultobj = Py_None; | |
2291 | return _resultobj; | |
2292 | } | |
2293 | ||
2294 | #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1)) | |
2295 | static PyObject *_wrap_wxGrid_SetLabelSize(PyObject *self, PyObject *args) { | |
2296 | PyObject * _resultobj; | |
2297 | wxGrid * _arg0; | |
2298 | int _arg1; | |
2299 | int _arg2; | |
2300 | char * _argc0 = 0; | |
2301 | ||
2302 | self = self; | |
2303 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetLabelSize",&_argc0,&_arg1,&_arg2)) | |
2304 | return NULL; | |
2305 | if (_argc0) { | |
2306 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p."); | |
2308 | return NULL; | |
2309 | } | |
2310 | } | |
2311 | { | |
2312 | wxPy_BEGIN_ALLOW_THREADS; | |
2313 | wxGrid_SetLabelSize(_arg0,_arg1,_arg2); | |
2314 | ||
2315 | wxPy_END_ALLOW_THREADS; | |
2316 | } Py_INCREF(Py_None); | |
2317 | _resultobj = Py_None; | |
2318 | return _resultobj; | |
2319 | } | |
2320 | ||
2321 | #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0)) | |
2322 | static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args) { | |
2323 | PyObject * _resultobj; | |
2324 | wxGrid * _arg0; | |
2325 | wxColour * _arg1; | |
2326 | char * _argc0 = 0; | |
2327 | char * _argc1 = 0; | |
2328 | ||
2329 | self = self; | |
2330 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelTextColour",&_argc0,&_argc1)) | |
2331 | return NULL; | |
2332 | if (_argc0) { | |
2333 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p."); | |
2335 | return NULL; | |
2336 | } | |
2337 | } | |
2338 | if (_argc1) { | |
2339 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
2340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p."); | |
2341 | return NULL; | |
2342 | } | |
2343 | } | |
2344 | { | |
2345 | wxPy_BEGIN_ALLOW_THREADS; | |
2346 | wxGrid_SetLabelTextColour(_arg0,*_arg1); | |
2347 | ||
2348 | wxPy_END_ALLOW_THREADS; | |
2349 | } Py_INCREF(Py_None); | |
2350 | _resultobj = Py_None; | |
2351 | return _resultobj; | |
2352 | } | |
2353 | ||
2354 | #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0)) | |
2355 | static PyObject *_wrap_wxGrid_SetLabelTextFont(PyObject *self, PyObject *args) { | |
2356 | PyObject * _resultobj; | |
2357 | wxGrid * _arg0; | |
2358 | wxFont * _arg1; | |
2359 | char * _argc0 = 0; | |
2360 | char * _argc1 = 0; | |
2361 | ||
2362 | self = self; | |
2363 | if(!PyArg_ParseTuple(args,"ss:wxGrid_SetLabelTextFont",&_argc0,&_argc1)) | |
2364 | return NULL; | |
2365 | if (_argc0) { | |
2366 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p."); | |
2368 | return NULL; | |
2369 | } | |
2370 | } | |
2371 | if (_argc1) { | |
2372 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxFont_p")) { | |
2373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p."); | |
2374 | return NULL; | |
2375 | } | |
2376 | } | |
2377 | { | |
2378 | wxPy_BEGIN_ALLOW_THREADS; | |
2379 | wxGrid_SetLabelTextFont(_arg0,*_arg1); | |
2380 | ||
2381 | wxPy_END_ALLOW_THREADS; | |
2382 | } Py_INCREF(Py_None); | |
2383 | _resultobj = Py_None; | |
2384 | return _resultobj; | |
2385 | } | |
2386 | ||
2387 | #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2)) | |
2388 | static PyObject *_wrap_wxGrid_SetLabelValue(PyObject *self, PyObject *args) { | |
2389 | PyObject * _resultobj; | |
2390 | wxGrid * _arg0; | |
2391 | int _arg1; | |
2392 | wxString * _arg2; | |
2393 | int _arg3; | |
2394 | char * _argc0 = 0; | |
2395 | PyObject * _obj2 = 0; | |
2396 | ||
2397 | self = self; | |
2398 | if(!PyArg_ParseTuple(args,"siOi:wxGrid_SetLabelValue",&_argc0,&_arg1,&_obj2,&_arg3)) | |
2399 | return NULL; | |
2400 | if (_argc0) { | |
2401 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p."); | |
2403 | return NULL; | |
2404 | } | |
2405 | } | |
2406 | { | |
2407 | if (!PyString_Check(_obj2)) { | |
2408 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2409 | return NULL; | |
2410 | } | |
2411 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2412 | } | |
2413 | { | |
2414 | wxPy_BEGIN_ALLOW_THREADS; | |
2415 | wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3); | |
2416 | ||
2417 | wxPy_END_ALLOW_THREADS; | |
2418 | } Py_INCREF(Py_None); | |
2419 | _resultobj = Py_None; | |
2420 | { | |
2421 | if (_obj2) | |
2422 | delete _arg2; | |
2423 | } | |
2424 | return _resultobj; | |
2425 | } | |
2426 | ||
2427 | #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1)) | |
2428 | static PyObject *_wrap_wxGrid_SetRowHeight(PyObject *self, PyObject *args) { | |
2429 | PyObject * _resultobj; | |
2430 | wxGrid * _arg0; | |
2431 | int _arg1; | |
2432 | int _arg2; | |
2433 | char * _argc0 = 0; | |
2434 | ||
2435 | self = self; | |
2436 | if(!PyArg_ParseTuple(args,"sii:wxGrid_SetRowHeight",&_argc0,&_arg1,&_arg2)) | |
2437 | return NULL; | |
2438 | if (_argc0) { | |
2439 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p."); | |
2441 | return NULL; | |
2442 | } | |
2443 | } | |
2444 | { | |
2445 | wxPy_BEGIN_ALLOW_THREADS; | |
2446 | wxGrid_SetRowHeight(_arg0,_arg1,_arg2); | |
2447 | ||
2448 | wxPy_END_ALLOW_THREADS; | |
2449 | } Py_INCREF(Py_None); | |
2450 | _resultobj = Py_None; | |
2451 | return _resultobj; | |
2452 | } | |
2453 | ||
2454 | #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions()) | |
2455 | static PyObject *_wrap_wxGrid_UpdateDimensions(PyObject *self, PyObject *args) { | |
2456 | PyObject * _resultobj; | |
2457 | wxGrid * _arg0; | |
2458 | char * _argc0 = 0; | |
2459 | ||
2460 | self = self; | |
2461 | if(!PyArg_ParseTuple(args,"s:wxGrid_UpdateDimensions",&_argc0)) | |
2462 | return NULL; | |
2463 | if (_argc0) { | |
2464 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) { | |
2465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p."); | |
2466 | return NULL; | |
2467 | } | |
2468 | } | |
2469 | { | |
2470 | wxPy_BEGIN_ALLOW_THREADS; | |
2471 | wxGrid_UpdateDimensions(_arg0); | |
2472 | ||
2473 | wxPy_END_ALLOW_THREADS; | |
2474 | } Py_INCREF(Py_None); | |
2475 | _resultobj = Py_None; | |
2476 | return _resultobj; | |
2477 | } | |
2478 | ||
2479 | static void *SwigwxGridEventTowxEvent(void *ptr) { | |
2480 | wxGridEvent *src; | |
2481 | wxEvent *dest; | |
2482 | src = (wxGridEvent *) ptr; | |
2483 | dest = (wxEvent *) src; | |
2484 | return (void *) dest; | |
2485 | } | |
2486 | ||
2487 | #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval) | |
2488 | static PyObject *_wrap_wxGridEvent_m_row_set(PyObject *self, PyObject *args) { | |
2489 | PyObject * _resultobj; | |
2490 | int _result; | |
2491 | wxGridEvent * _arg0; | |
2492 | int _arg1; | |
2493 | char * _argc0 = 0; | |
2494 | ||
2495 | self = self; | |
2496 | if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_row_set",&_argc0,&_arg1)) | |
2497 | return NULL; | |
2498 | if (_argc0) { | |
2499 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p."); | |
2501 | return NULL; | |
2502 | } | |
2503 | } | |
2504 | { | |
2505 | wxPy_BEGIN_ALLOW_THREADS; | |
2506 | _result = (int )wxGridEvent_m_row_set(_arg0,_arg1); | |
2507 | ||
2508 | wxPy_END_ALLOW_THREADS; | |
2509 | } _resultobj = Py_BuildValue("i",_result); | |
2510 | return _resultobj; | |
2511 | } | |
2512 | ||
2513 | #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row) | |
2514 | static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args) { | |
2515 | PyObject * _resultobj; | |
2516 | int _result; | |
2517 | wxGridEvent * _arg0; | |
2518 | char * _argc0 = 0; | |
2519 | ||
2520 | self = self; | |
2521 | if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_row_get",&_argc0)) | |
2522 | return NULL; | |
2523 | if (_argc0) { | |
2524 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p."); | |
2526 | return NULL; | |
2527 | } | |
2528 | } | |
2529 | { | |
2530 | wxPy_BEGIN_ALLOW_THREADS; | |
2531 | _result = (int )wxGridEvent_m_row_get(_arg0); | |
2532 | ||
2533 | wxPy_END_ALLOW_THREADS; | |
2534 | } _resultobj = Py_BuildValue("i",_result); | |
2535 | return _resultobj; | |
2536 | } | |
2537 | ||
2538 | #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) | |
2539 | static PyObject *_wrap_wxGridEvent_m_col_set(PyObject *self, PyObject *args) { | |
2540 | PyObject * _resultobj; | |
2541 | int _result; | |
2542 | wxGridEvent * _arg0; | |
2543 | int _arg1; | |
2544 | char * _argc0 = 0; | |
2545 | ||
2546 | self = self; | |
2547 | if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_col_set",&_argc0,&_arg1)) | |
2548 | return NULL; | |
2549 | if (_argc0) { | |
2550 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p."); | |
2552 | return NULL; | |
2553 | } | |
2554 | } | |
2555 | { | |
2556 | wxPy_BEGIN_ALLOW_THREADS; | |
2557 | _result = (int )wxGridEvent_m_col_set(_arg0,_arg1); | |
2558 | ||
2559 | wxPy_END_ALLOW_THREADS; | |
2560 | } _resultobj = Py_BuildValue("i",_result); | |
2561 | return _resultobj; | |
2562 | } | |
2563 | ||
2564 | #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col) | |
2565 | static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args) { | |
2566 | PyObject * _resultobj; | |
2567 | int _result; | |
2568 | wxGridEvent * _arg0; | |
2569 | char * _argc0 = 0; | |
2570 | ||
2571 | self = self; | |
2572 | if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_col_get",&_argc0)) | |
2573 | return NULL; | |
2574 | if (_argc0) { | |
2575 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p."); | |
2577 | return NULL; | |
2578 | } | |
2579 | } | |
2580 | { | |
2581 | wxPy_BEGIN_ALLOW_THREADS; | |
2582 | _result = (int )wxGridEvent_m_col_get(_arg0); | |
2583 | ||
2584 | wxPy_END_ALLOW_THREADS; | |
2585 | } _resultobj = Py_BuildValue("i",_result); | |
2586 | return _resultobj; | |
2587 | } | |
2588 | ||
2589 | #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval) | |
2590 | static PyObject *_wrap_wxGridEvent_m_x_set(PyObject *self, PyObject *args) { | |
2591 | PyObject * _resultobj; | |
2592 | int _result; | |
2593 | wxGridEvent * _arg0; | |
2594 | int _arg1; | |
2595 | char * _argc0 = 0; | |
2596 | ||
2597 | self = self; | |
2598 | if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_x_set",&_argc0,&_arg1)) | |
2599 | return NULL; | |
2600 | if (_argc0) { | |
2601 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p."); | |
2603 | return NULL; | |
2604 | } | |
2605 | } | |
2606 | { | |
2607 | wxPy_BEGIN_ALLOW_THREADS; | |
2608 | _result = (int )wxGridEvent_m_x_set(_arg0,_arg1); | |
2609 | ||
2610 | wxPy_END_ALLOW_THREADS; | |
2611 | } _resultobj = Py_BuildValue("i",_result); | |
2612 | return _resultobj; | |
2613 | } | |
2614 | ||
2615 | #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x) | |
2616 | static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args) { | |
2617 | PyObject * _resultobj; | |
2618 | int _result; | |
2619 | wxGridEvent * _arg0; | |
2620 | char * _argc0 = 0; | |
2621 | ||
2622 | self = self; | |
2623 | if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_x_get",&_argc0)) | |
2624 | return NULL; | |
2625 | if (_argc0) { | |
2626 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p."); | |
2628 | return NULL; | |
2629 | } | |
2630 | } | |
2631 | { | |
2632 | wxPy_BEGIN_ALLOW_THREADS; | |
2633 | _result = (int )wxGridEvent_m_x_get(_arg0); | |
2634 | ||
2635 | wxPy_END_ALLOW_THREADS; | |
2636 | } _resultobj = Py_BuildValue("i",_result); | |
2637 | return _resultobj; | |
2638 | } | |
2639 | ||
2640 | #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval) | |
2641 | static PyObject *_wrap_wxGridEvent_m_y_set(PyObject *self, PyObject *args) { | |
2642 | PyObject * _resultobj; | |
2643 | int _result; | |
2644 | wxGridEvent * _arg0; | |
2645 | int _arg1; | |
2646 | char * _argc0 = 0; | |
2647 | ||
2648 | self = self; | |
2649 | if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_y_set",&_argc0,&_arg1)) | |
2650 | return NULL; | |
2651 | if (_argc0) { | |
2652 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p."); | |
2654 | return NULL; | |
2655 | } | |
2656 | } | |
2657 | { | |
2658 | wxPy_BEGIN_ALLOW_THREADS; | |
2659 | _result = (int )wxGridEvent_m_y_set(_arg0,_arg1); | |
2660 | ||
2661 | wxPy_END_ALLOW_THREADS; | |
2662 | } _resultobj = Py_BuildValue("i",_result); | |
2663 | return _resultobj; | |
2664 | } | |
2665 | ||
2666 | #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y) | |
2667 | static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args) { | |
2668 | PyObject * _resultobj; | |
2669 | int _result; | |
2670 | wxGridEvent * _arg0; | |
2671 | char * _argc0 = 0; | |
2672 | ||
2673 | self = self; | |
2674 | if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_y_get",&_argc0)) | |
2675 | return NULL; | |
2676 | if (_argc0) { | |
2677 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2678 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p."); | |
2679 | return NULL; | |
2680 | } | |
2681 | } | |
2682 | { | |
2683 | wxPy_BEGIN_ALLOW_THREADS; | |
2684 | _result = (int )wxGridEvent_m_y_get(_arg0); | |
2685 | ||
2686 | wxPy_END_ALLOW_THREADS; | |
2687 | } _resultobj = Py_BuildValue("i",_result); | |
2688 | return _resultobj; | |
2689 | } | |
2690 | ||
2691 | #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval) | |
2692 | static PyObject *_wrap_wxGridEvent_m_control_set(PyObject *self, PyObject *args) { | |
2693 | PyObject * _resultobj; | |
2694 | bool _result; | |
2695 | wxGridEvent * _arg0; | |
2696 | bool _arg1; | |
2697 | char * _argc0 = 0; | |
2698 | int tempbool1; | |
2699 | ||
2700 | self = self; | |
2701 | if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_control_set",&_argc0,&tempbool1)) | |
2702 | return NULL; | |
2703 | if (_argc0) { | |
2704 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p."); | |
2706 | return NULL; | |
2707 | } | |
2708 | } | |
2709 | _arg1 = (bool ) tempbool1; | |
2710 | { | |
2711 | wxPy_BEGIN_ALLOW_THREADS; | |
2712 | _result = (bool )wxGridEvent_m_control_set(_arg0,_arg1); | |
2713 | ||
2714 | wxPy_END_ALLOW_THREADS; | |
2715 | } _resultobj = Py_BuildValue("i",_result); | |
2716 | return _resultobj; | |
2717 | } | |
2718 | ||
2719 | #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control) | |
2720 | static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args) { | |
2721 | PyObject * _resultobj; | |
2722 | bool _result; | |
2723 | wxGridEvent * _arg0; | |
2724 | char * _argc0 = 0; | |
2725 | ||
2726 | self = self; | |
2727 | if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_control_get",&_argc0)) | |
2728 | return NULL; | |
2729 | if (_argc0) { | |
2730 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2731 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p."); | |
2732 | return NULL; | |
2733 | } | |
2734 | } | |
2735 | { | |
2736 | wxPy_BEGIN_ALLOW_THREADS; | |
2737 | _result = (bool )wxGridEvent_m_control_get(_arg0); | |
2738 | ||
2739 | wxPy_END_ALLOW_THREADS; | |
2740 | } _resultobj = Py_BuildValue("i",_result); | |
2741 | return _resultobj; | |
2742 | } | |
2743 | ||
2744 | #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval) | |
2745 | static PyObject *_wrap_wxGridEvent_m_shift_set(PyObject *self, PyObject *args) { | |
2746 | PyObject * _resultobj; | |
2747 | bool _result; | |
2748 | wxGridEvent * _arg0; | |
2749 | bool _arg1; | |
2750 | char * _argc0 = 0; | |
2751 | int tempbool1; | |
2752 | ||
2753 | self = self; | |
2754 | if(!PyArg_ParseTuple(args,"si:wxGridEvent_m_shift_set",&_argc0,&tempbool1)) | |
2755 | return NULL; | |
2756 | if (_argc0) { | |
2757 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p."); | |
2759 | return NULL; | |
2760 | } | |
2761 | } | |
2762 | _arg1 = (bool ) tempbool1; | |
2763 | { | |
2764 | wxPy_BEGIN_ALLOW_THREADS; | |
2765 | _result = (bool )wxGridEvent_m_shift_set(_arg0,_arg1); | |
2766 | ||
2767 | wxPy_END_ALLOW_THREADS; | |
2768 | } _resultobj = Py_BuildValue("i",_result); | |
2769 | return _resultobj; | |
2770 | } | |
2771 | ||
2772 | #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift) | |
2773 | static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args) { | |
2774 | PyObject * _resultobj; | |
2775 | bool _result; | |
2776 | wxGridEvent * _arg0; | |
2777 | char * _argc0 = 0; | |
2778 | ||
2779 | self = self; | |
2780 | if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_shift_get",&_argc0)) | |
2781 | return NULL; | |
2782 | if (_argc0) { | |
2783 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p."); | |
2785 | return NULL; | |
2786 | } | |
2787 | } | |
2788 | { | |
2789 | wxPy_BEGIN_ALLOW_THREADS; | |
2790 | _result = (bool )wxGridEvent_m_shift_get(_arg0); | |
2791 | ||
2792 | wxPy_END_ALLOW_THREADS; | |
2793 | } _resultobj = Py_BuildValue("i",_result); | |
2794 | return _resultobj; | |
2795 | } | |
2796 | ||
2797 | #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval) | |
2798 | static PyObject *_wrap_wxGridEvent_m_cell_set(PyObject *self, PyObject *args) { | |
2799 | PyObject * _resultobj; | |
2800 | wxGridCell * _result; | |
2801 | wxGridEvent * _arg0; | |
2802 | wxGridCell * _arg1; | |
2803 | char * _argc0 = 0; | |
2804 | char * _argc1 = 0; | |
2805 | char _ptemp[128]; | |
2806 | ||
2807 | self = self; | |
2808 | if(!PyArg_ParseTuple(args,"ss:wxGridEvent_m_cell_set",&_argc0,&_argc1)) | |
2809 | return NULL; | |
2810 | if (_argc0) { | |
2811 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p."); | |
2813 | return NULL; | |
2814 | } | |
2815 | } | |
2816 | if (_argc1) { | |
2817 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxGridCell_p")) { | |
2818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p."); | |
2819 | return NULL; | |
2820 | } | |
2821 | } | |
2822 | { | |
2823 | wxPy_BEGIN_ALLOW_THREADS; | |
2824 | _result = (wxGridCell *)wxGridEvent_m_cell_set(_arg0,_arg1); | |
2825 | ||
2826 | wxPy_END_ALLOW_THREADS; | |
2827 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
2828 | _resultobj = Py_BuildValue("s",_ptemp); | |
2829 | return _resultobj; | |
2830 | } | |
2831 | ||
2832 | #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell) | |
2833 | static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args) { | |
2834 | PyObject * _resultobj; | |
2835 | wxGridCell * _result; | |
2836 | wxGridEvent * _arg0; | |
2837 | char * _argc0 = 0; | |
2838 | char _ptemp[128]; | |
2839 | ||
2840 | self = self; | |
2841 | if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_cell_get",&_argc0)) | |
2842 | return NULL; | |
2843 | if (_argc0) { | |
2844 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) { | |
2845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p."); | |
2846 | return NULL; | |
2847 | } | |
2848 | } | |
2849 | { | |
2850 | wxPy_BEGIN_ALLOW_THREADS; | |
2851 | _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0); | |
2852 | ||
2853 | wxPy_END_ALLOW_THREADS; | |
2854 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p"); | |
2855 | _resultobj = Py_BuildValue("s",_ptemp); | |
2856 | return _resultobj; | |
2857 | } | |
2858 | ||
2859 | static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) { | |
2860 | wxNotebookEvent *src; | |
2861 | wxCommandEvent *dest; | |
2862 | src = (wxNotebookEvent *) ptr; | |
2863 | dest = (wxCommandEvent *) src; | |
2864 | return (void *) dest; | |
2865 | } | |
2866 | ||
2867 | static void *SwigwxNotebookEventTowxEvent(void *ptr) { | |
2868 | wxNotebookEvent *src; | |
2869 | wxEvent *dest; | |
2870 | src = (wxNotebookEvent *) ptr; | |
2871 | dest = (wxEvent *) src; | |
2872 | return (void *) dest; | |
2873 | } | |
2874 | ||
2875 | #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
2876 | static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args) { | |
2877 | PyObject * _resultobj; | |
2878 | int _result; | |
2879 | wxNotebookEvent * _arg0; | |
2880 | char * _argc0 = 0; | |
2881 | ||
2882 | self = self; | |
2883 | if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetSelection",&_argc0)) | |
2884 | return NULL; | |
2885 | if (_argc0) { | |
2886 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
2887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p."); | |
2888 | return NULL; | |
2889 | } | |
2890 | } | |
2891 | { | |
2892 | wxPy_BEGIN_ALLOW_THREADS; | |
2893 | _result = (int )wxNotebookEvent_GetSelection(_arg0); | |
2894 | ||
2895 | wxPy_END_ALLOW_THREADS; | |
2896 | } _resultobj = Py_BuildValue("i",_result); | |
2897 | return _resultobj; | |
2898 | } | |
2899 | ||
2900 | #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection()) | |
2901 | static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args) { | |
2902 | PyObject * _resultobj; | |
2903 | int _result; | |
2904 | wxNotebookEvent * _arg0; | |
2905 | char * _argc0 = 0; | |
2906 | ||
2907 | self = self; | |
2908 | if(!PyArg_ParseTuple(args,"s:wxNotebookEvent_GetOldSelection",&_argc0)) | |
2909 | return NULL; | |
2910 | if (_argc0) { | |
2911 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) { | |
2912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p."); | |
2913 | return NULL; | |
2914 | } | |
2915 | } | |
2916 | { | |
2917 | wxPy_BEGIN_ALLOW_THREADS; | |
2918 | _result = (int )wxNotebookEvent_GetOldSelection(_arg0); | |
2919 | ||
2920 | wxPy_END_ALLOW_THREADS; | |
2921 | } _resultobj = Py_BuildValue("i",_result); | |
2922 | return _resultobj; | |
2923 | } | |
2924 | ||
2925 | static void *SwigwxNotebookTowxControl(void *ptr) { | |
2926 | wxNotebook *src; | |
2927 | wxControl *dest; | |
2928 | src = (wxNotebook *) ptr; | |
2929 | dest = (wxControl *) src; | |
2930 | return (void *) dest; | |
2931 | } | |
2932 | ||
2933 | static void *SwigwxNotebookTowxWindow(void *ptr) { | |
2934 | wxNotebook *src; | |
2935 | wxWindow *dest; | |
2936 | src = (wxNotebook *) ptr; | |
2937 | dest = (wxWindow *) src; | |
2938 | return (void *) dest; | |
2939 | } | |
2940 | ||
2941 | static void *SwigwxNotebookTowxEvtHandler(void *ptr) { | |
2942 | wxNotebook *src; | |
2943 | wxEvtHandler *dest; | |
2944 | src = (wxNotebook *) ptr; | |
2945 | dest = (wxEvtHandler *) src; | |
2946 | return (void *) dest; | |
2947 | } | |
2948 | ||
2949 | #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2950 | static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args) { | |
2951 | PyObject * _resultobj; | |
2952 | wxNotebook * _result; | |
2953 | wxWindow * _arg0; | |
2954 | wxWindowID _arg1; | |
2955 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
2956 | wxSize * _arg3 = &wxPyDefaultSize; | |
2957 | long _arg4 = 0; | |
2958 | char * _arg5 = "notebook"; | |
2959 | char * _argc0 = 0; | |
2960 | char * _argc2 = 0; | |
2961 | char * _argc3 = 0; | |
2962 | char _ptemp[128]; | |
2963 | ||
2964 | self = self; | |
2965 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxNotebook",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
2966 | return NULL; | |
2967 | if (_argc0) { | |
2968 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p."); | |
2970 | return NULL; | |
2971 | } | |
2972 | } | |
2973 | if (_argc2) { | |
2974 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
2975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxNotebook. Expected _wxPoint_p."); | |
2976 | return NULL; | |
2977 | } | |
2978 | } | |
2979 | if (_argc3) { | |
2980 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
2981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxNotebook. Expected _wxSize_p."); | |
2982 | return NULL; | |
2983 | } | |
2984 | } | |
2985 | { | |
2986 | wxPy_BEGIN_ALLOW_THREADS; | |
2987 | _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
2988 | ||
2989 | wxPy_END_ALLOW_THREADS; | |
2990 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p"); | |
2991 | _resultobj = Py_BuildValue("s",_ptemp); | |
2992 | return _resultobj; | |
2993 | } | |
2994 | ||
2995 | #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount()) | |
2996 | static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args) { | |
2997 | PyObject * _resultobj; | |
2998 | int _result; | |
2999 | wxNotebook * _arg0; | |
3000 | char * _argc0 = 0; | |
3001 | ||
3002 | self = self; | |
3003 | if(!PyArg_ParseTuple(args,"s:wxNotebook_GetPageCount",&_argc0)) | |
3004 | return NULL; | |
3005 | if (_argc0) { | |
3006 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p."); | |
3008 | return NULL; | |
3009 | } | |
3010 | } | |
3011 | { | |
3012 | wxPy_BEGIN_ALLOW_THREADS; | |
3013 | _result = (int )wxNotebook_GetPageCount(_arg0); | |
3014 | ||
3015 | wxPy_END_ALLOW_THREADS; | |
3016 | } _resultobj = Py_BuildValue("i",_result); | |
3017 | return _resultobj; | |
3018 | } | |
3019 | ||
3020 | #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
3021 | static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args) { | |
3022 | PyObject * _resultobj; | |
3023 | int _result; | |
3024 | wxNotebook * _arg0; | |
3025 | int _arg1; | |
3026 | char * _argc0 = 0; | |
3027 | ||
3028 | self = self; | |
3029 | if(!PyArg_ParseTuple(args,"si:wxNotebook_SetSelection",&_argc0,&_arg1)) | |
3030 | return NULL; | |
3031 | if (_argc0) { | |
3032 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p."); | |
3034 | return NULL; | |
3035 | } | |
3036 | } | |
3037 | { | |
3038 | wxPy_BEGIN_ALLOW_THREADS; | |
3039 | _result = (int )wxNotebook_SetSelection(_arg0,_arg1); | |
3040 | ||
3041 | wxPy_END_ALLOW_THREADS; | |
3042 | } _resultobj = Py_BuildValue("i",_result); | |
3043 | return _resultobj; | |
3044 | } | |
3045 | ||
3046 | #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0)) | |
3047 | static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args) { | |
3048 | PyObject * _resultobj; | |
3049 | wxNotebook * _arg0; | |
3050 | bool _arg1 = (1); | |
3051 | char * _argc0 = 0; | |
3052 | int tempbool1; | |
3053 | ||
3054 | self = self; | |
3055 | if(!PyArg_ParseTuple(args,"s|i:wxNotebook_AdvanceSelection",&_argc0,&tempbool1)) | |
3056 | return NULL; | |
3057 | if (_argc0) { | |
3058 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p."); | |
3060 | return NULL; | |
3061 | } | |
3062 | } | |
3063 | _arg1 = (bool ) tempbool1; | |
3064 | { | |
3065 | wxPy_BEGIN_ALLOW_THREADS; | |
3066 | wxNotebook_AdvanceSelection(_arg0,_arg1); | |
3067 | ||
3068 | wxPy_END_ALLOW_THREADS; | |
3069 | } Py_INCREF(Py_None); | |
3070 | _resultobj = Py_None; | |
3071 | return _resultobj; | |
3072 | } | |
3073 | ||
3074 | #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
3075 | static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args) { | |
3076 | PyObject * _resultobj; | |
3077 | int _result; | |
3078 | wxNotebook * _arg0; | |
3079 | char * _argc0 = 0; | |
3080 | ||
3081 | self = self; | |
3082 | if(!PyArg_ParseTuple(args,"s:wxNotebook_GetSelection",&_argc0)) | |
3083 | return NULL; | |
3084 | if (_argc0) { | |
3085 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p."); | |
3087 | return NULL; | |
3088 | } | |
3089 | } | |
3090 | { | |
3091 | wxPy_BEGIN_ALLOW_THREADS; | |
3092 | _result = (int )wxNotebook_GetSelection(_arg0); | |
3093 | ||
3094 | wxPy_END_ALLOW_THREADS; | |
3095 | } _resultobj = Py_BuildValue("i",_result); | |
3096 | return _resultobj; | |
3097 | } | |
3098 | ||
3099 | #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1)) | |
3100 | static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args) { | |
3101 | PyObject * _resultobj; | |
3102 | bool _result; | |
3103 | wxNotebook * _arg0; | |
3104 | int _arg1; | |
3105 | wxString * _arg2; | |
3106 | char * _argc0 = 0; | |
3107 | PyObject * _obj2 = 0; | |
3108 | ||
3109 | self = self; | |
3110 | if(!PyArg_ParseTuple(args,"siO:wxNotebook_SetPageText",&_argc0,&_arg1,&_obj2)) | |
3111 | return NULL; | |
3112 | if (_argc0) { | |
3113 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p."); | |
3115 | return NULL; | |
3116 | } | |
3117 | } | |
3118 | { | |
3119 | if (!PyString_Check(_obj2)) { | |
3120 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3121 | return NULL; | |
3122 | } | |
3123 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
3124 | } | |
3125 | { | |
3126 | wxPy_BEGIN_ALLOW_THREADS; | |
3127 | _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2); | |
3128 | ||
3129 | wxPy_END_ALLOW_THREADS; | |
3130 | } _resultobj = Py_BuildValue("i",_result); | |
3131 | { | |
3132 | if (_obj2) | |
3133 | delete _arg2; | |
3134 | } | |
3135 | return _resultobj; | |
3136 | } | |
3137 | ||
3138 | #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0)) | |
3139 | static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args) { | |
3140 | PyObject * _resultobj; | |
3141 | wxString * _result; | |
3142 | wxNotebook * _arg0; | |
3143 | int _arg1; | |
3144 | char * _argc0 = 0; | |
3145 | ||
3146 | self = self; | |
3147 | if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageText",&_argc0,&_arg1)) | |
3148 | return NULL; | |
3149 | if (_argc0) { | |
3150 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p."); | |
3152 | return NULL; | |
3153 | } | |
3154 | } | |
3155 | { | |
3156 | wxPy_BEGIN_ALLOW_THREADS; | |
3157 | _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1)); | |
3158 | ||
3159 | wxPy_END_ALLOW_THREADS; | |
3160 | }{ | |
3161 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
3162 | } | |
3163 | { | |
3164 | delete _result; | |
3165 | } | |
3166 | return _resultobj; | |
3167 | } | |
3168 | ||
3169 | #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) | |
3170 | static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args) { | |
3171 | PyObject * _resultobj; | |
3172 | wxNotebook * _arg0; | |
3173 | wxImageList * _arg1; | |
3174 | char * _argc0 = 0; | |
3175 | char * _argc1 = 0; | |
3176 | ||
3177 | self = self; | |
3178 | if(!PyArg_ParseTuple(args,"ss:wxNotebook_SetImageList",&_argc0,&_argc1)) | |
3179 | return NULL; | |
3180 | if (_argc0) { | |
3181 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p."); | |
3183 | return NULL; | |
3184 | } | |
3185 | } | |
3186 | if (_argc1) { | |
3187 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) { | |
3188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p."); | |
3189 | return NULL; | |
3190 | } | |
3191 | } | |
3192 | { | |
3193 | wxPy_BEGIN_ALLOW_THREADS; | |
3194 | wxNotebook_SetImageList(_arg0,_arg1); | |
3195 | ||
3196 | wxPy_END_ALLOW_THREADS; | |
3197 | } Py_INCREF(Py_None); | |
3198 | _resultobj = Py_None; | |
3199 | return _resultobj; | |
3200 | } | |
3201 | ||
3202 | #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList()) | |
3203 | static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args) { | |
3204 | PyObject * _resultobj; | |
3205 | wxImageList * _result; | |
3206 | wxNotebook * _arg0; | |
3207 | char * _argc0 = 0; | |
3208 | char _ptemp[128]; | |
3209 | ||
3210 | self = self; | |
3211 | if(!PyArg_ParseTuple(args,"s:wxNotebook_GetImageList",&_argc0)) | |
3212 | return NULL; | |
3213 | if (_argc0) { | |
3214 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p."); | |
3216 | return NULL; | |
3217 | } | |
3218 | } | |
3219 | { | |
3220 | wxPy_BEGIN_ALLOW_THREADS; | |
3221 | _result = (wxImageList *)wxNotebook_GetImageList(_arg0); | |
3222 | ||
3223 | wxPy_END_ALLOW_THREADS; | |
3224 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
3225 | _resultobj = Py_BuildValue("s",_ptemp); | |
3226 | return _resultobj; | |
3227 | } | |
3228 | ||
3229 | #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0)) | |
3230 | static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args) { | |
3231 | PyObject * _resultobj; | |
3232 | int _result; | |
3233 | wxNotebook * _arg0; | |
3234 | int _arg1; | |
3235 | char * _argc0 = 0; | |
3236 | ||
3237 | self = self; | |
3238 | if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPageImage",&_argc0,&_arg1)) | |
3239 | return NULL; | |
3240 | if (_argc0) { | |
3241 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p."); | |
3243 | return NULL; | |
3244 | } | |
3245 | } | |
3246 | { | |
3247 | wxPy_BEGIN_ALLOW_THREADS; | |
3248 | _result = (int )wxNotebook_GetPageImage(_arg0,_arg1); | |
3249 | ||
3250 | wxPy_END_ALLOW_THREADS; | |
3251 | } _resultobj = Py_BuildValue("i",_result); | |
3252 | return _resultobj; | |
3253 | } | |
3254 | ||
3255 | #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1)) | |
3256 | static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args) { | |
3257 | PyObject * _resultobj; | |
3258 | bool _result; | |
3259 | wxNotebook * _arg0; | |
3260 | int _arg1; | |
3261 | int _arg2; | |
3262 | char * _argc0 = 0; | |
3263 | ||
3264 | self = self; | |
3265 | if(!PyArg_ParseTuple(args,"sii:wxNotebook_SetPageImage",&_argc0,&_arg1,&_arg2)) | |
3266 | return NULL; | |
3267 | if (_argc0) { | |
3268 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p."); | |
3270 | return NULL; | |
3271 | } | |
3272 | } | |
3273 | { | |
3274 | wxPy_BEGIN_ALLOW_THREADS; | |
3275 | _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2); | |
3276 | ||
3277 | wxPy_END_ALLOW_THREADS; | |
3278 | } _resultobj = Py_BuildValue("i",_result); | |
3279 | return _resultobj; | |
3280 | } | |
3281 | ||
3282 | #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount()) | |
3283 | static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args) { | |
3284 | PyObject * _resultobj; | |
3285 | int _result; | |
3286 | wxNotebook * _arg0; | |
3287 | char * _argc0 = 0; | |
3288 | ||
3289 | self = self; | |
3290 | if(!PyArg_ParseTuple(args,"s:wxNotebook_GetRowCount",&_argc0)) | |
3291 | return NULL; | |
3292 | if (_argc0) { | |
3293 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p."); | |
3295 | return NULL; | |
3296 | } | |
3297 | } | |
3298 | { | |
3299 | wxPy_BEGIN_ALLOW_THREADS; | |
3300 | _result = (int )wxNotebook_GetRowCount(_arg0); | |
3301 | ||
3302 | wxPy_END_ALLOW_THREADS; | |
3303 | } _resultobj = Py_BuildValue("i",_result); | |
3304 | return _resultobj; | |
3305 | } | |
3306 | ||
3307 | #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0)) | |
3308 | static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args) { | |
3309 | PyObject * _resultobj; | |
3310 | bool _result; | |
3311 | wxNotebook * _arg0; | |
3312 | int _arg1; | |
3313 | char * _argc0 = 0; | |
3314 | ||
3315 | self = self; | |
3316 | if(!PyArg_ParseTuple(args,"si:wxNotebook_DeletePage",&_argc0,&_arg1)) | |
3317 | return NULL; | |
3318 | if (_argc0) { | |
3319 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p."); | |
3321 | return NULL; | |
3322 | } | |
3323 | } | |
3324 | { | |
3325 | wxPy_BEGIN_ALLOW_THREADS; | |
3326 | _result = (bool )wxNotebook_DeletePage(_arg0,_arg1); | |
3327 | ||
3328 | wxPy_END_ALLOW_THREADS; | |
3329 | } _resultobj = Py_BuildValue("i",_result); | |
3330 | return _resultobj; | |
3331 | } | |
3332 | ||
3333 | #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0)) | |
3334 | static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args) { | |
3335 | PyObject * _resultobj; | |
3336 | bool _result; | |
3337 | wxNotebook * _arg0; | |
3338 | int _arg1; | |
3339 | char * _argc0 = 0; | |
3340 | ||
3341 | self = self; | |
3342 | if(!PyArg_ParseTuple(args,"si:wxNotebook_RemovePage",&_argc0,&_arg1)) | |
3343 | return NULL; | |
3344 | if (_argc0) { | |
3345 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p."); | |
3347 | return NULL; | |
3348 | } | |
3349 | } | |
3350 | { | |
3351 | wxPy_BEGIN_ALLOW_THREADS; | |
3352 | _result = (bool )wxNotebook_RemovePage(_arg0,_arg1); | |
3353 | ||
3354 | wxPy_END_ALLOW_THREADS; | |
3355 | } _resultobj = Py_BuildValue("i",_result); | |
3356 | return _resultobj; | |
3357 | } | |
3358 | ||
3359 | #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages()) | |
3360 | static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args) { | |
3361 | PyObject * _resultobj; | |
3362 | bool _result; | |
3363 | wxNotebook * _arg0; | |
3364 | char * _argc0 = 0; | |
3365 | ||
3366 | self = self; | |
3367 | if(!PyArg_ParseTuple(args,"s:wxNotebook_DeleteAllPages",&_argc0)) | |
3368 | return NULL; | |
3369 | if (_argc0) { | |
3370 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p."); | |
3372 | return NULL; | |
3373 | } | |
3374 | } | |
3375 | { | |
3376 | wxPy_BEGIN_ALLOW_THREADS; | |
3377 | _result = (bool )wxNotebook_DeleteAllPages(_arg0); | |
3378 | ||
3379 | wxPy_END_ALLOW_THREADS; | |
3380 | } _resultobj = Py_BuildValue("i",_result); | |
3381 | return _resultobj; | |
3382 | } | |
3383 | ||
3384 | #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3385 | static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args) { | |
3386 | PyObject * _resultobj; | |
3387 | bool _result; | |
3388 | wxNotebook * _arg0; | |
3389 | wxWindow * _arg1; | |
3390 | wxString * _arg2; | |
3391 | int _arg3 = (0); | |
3392 | int _arg4 = -1; | |
3393 | char * _argc0 = 0; | |
3394 | char * _argc1 = 0; | |
3395 | PyObject * _obj2 = 0; | |
3396 | ||
3397 | self = self; | |
3398 | if(!PyArg_ParseTuple(args,"ssO|ii:wxNotebook_AddPage",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4)) | |
3399 | return NULL; | |
3400 | if (_argc0) { | |
3401 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p."); | |
3403 | return NULL; | |
3404 | } | |
3405 | } | |
3406 | if (_argc1) { | |
3407 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
3408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p."); | |
3409 | return NULL; | |
3410 | } | |
3411 | } | |
3412 | { | |
3413 | if (!PyString_Check(_obj2)) { | |
3414 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3415 | return NULL; | |
3416 | } | |
3417 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
3418 | } | |
3419 | { | |
3420 | wxPy_BEGIN_ALLOW_THREADS; | |
3421 | _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
3422 | ||
3423 | wxPy_END_ALLOW_THREADS; | |
3424 | } _resultobj = Py_BuildValue("i",_result); | |
3425 | { | |
3426 | if (_obj2) | |
3427 | delete _arg2; | |
3428 | } | |
3429 | return _resultobj; | |
3430 | } | |
3431 | ||
3432 | #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0)) | |
3433 | static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) { | |
3434 | PyObject * _resultobj; | |
3435 | wxNotebookPage * _result; | |
3436 | wxNotebook * _arg0; | |
3437 | int _arg1; | |
3438 | char * _argc0 = 0; | |
3439 | char _ptemp[128]; | |
3440 | ||
3441 | self = self; | |
3442 | if(!PyArg_ParseTuple(args,"si:wxNotebook_GetPage",&_argc0,&_arg1)) | |
3443 | return NULL; | |
3444 | if (_argc0) { | |
3445 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p."); | |
3447 | return NULL; | |
3448 | } | |
3449 | } | |
3450 | { | |
3451 | wxPy_BEGIN_ALLOW_THREADS; | |
3452 | _result = (wxNotebookPage *)wxNotebook_GetPage(_arg0,_arg1); | |
3453 | ||
3454 | wxPy_END_ALLOW_THREADS; | |
3455 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookPage_p"); | |
3456 | _resultobj = Py_BuildValue("s",_ptemp); | |
3457 | return _resultobj; | |
3458 | } | |
3459 | ||
3460 | static void wxNotebook_ResizeChildren(wxNotebook *self) { | |
3461 | wxSizeEvent evt(self->GetClientSize()); | |
3462 | self->OnSize(evt); | |
3463 | } | |
3464 | static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args) { | |
3465 | PyObject * _resultobj; | |
3466 | wxNotebook * _arg0; | |
3467 | char * _argc0 = 0; | |
3468 | ||
3469 | self = self; | |
3470 | if(!PyArg_ParseTuple(args,"s:wxNotebook_ResizeChildren",&_argc0)) | |
3471 | return NULL; | |
3472 | if (_argc0) { | |
3473 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) { | |
3474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p."); | |
3475 | return NULL; | |
3476 | } | |
3477 | } | |
3478 | { | |
3479 | wxPy_BEGIN_ALLOW_THREADS; | |
3480 | wxNotebook_ResizeChildren(_arg0); | |
3481 | ||
3482 | wxPy_END_ALLOW_THREADS; | |
3483 | } Py_INCREF(Py_None); | |
3484 | _resultobj = Py_None; | |
3485 | return _resultobj; | |
3486 | } | |
3487 | ||
3488 | static void *SwigwxSplitterWindowTowxWindow(void *ptr) { | |
3489 | wxSplitterWindow *src; | |
3490 | wxWindow *dest; | |
3491 | src = (wxSplitterWindow *) ptr; | |
3492 | dest = (wxWindow *) src; | |
3493 | return (void *) dest; | |
3494 | } | |
3495 | ||
3496 | static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) { | |
3497 | wxSplitterWindow *src; | |
3498 | wxEvtHandler *dest; | |
3499 | src = (wxSplitterWindow *) ptr; | |
3500 | dest = (wxEvtHandler *) src; | |
3501 | return (void *) dest; | |
3502 | } | |
3503 | ||
3504 | #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3505 | static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args) { | |
3506 | PyObject * _resultobj; | |
3507 | wxSplitterWindow * _result; | |
3508 | wxWindow * _arg0; | |
3509 | wxWindowID _arg1; | |
3510 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
3511 | wxSize * _arg3 = &wxPyDefaultSize; | |
3512 | long _arg4 = (wxSP_3D)|(wxCLIP_CHILDREN); | |
3513 | char * _arg5 = "splitterWindow"; | |
3514 | char * _argc0 = 0; | |
3515 | char * _argc2 = 0; | |
3516 | char * _argc3 = 0; | |
3517 | char _ptemp[128]; | |
3518 | ||
3519 | self = self; | |
3520 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxSplitterWindow",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
3521 | return NULL; | |
3522 | if (_argc0) { | |
3523 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
3524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p."); | |
3525 | return NULL; | |
3526 | } | |
3527 | } | |
3528 | if (_argc2) { | |
3529 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
3530 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSplitterWindow. Expected _wxPoint_p."); | |
3531 | return NULL; | |
3532 | } | |
3533 | } | |
3534 | if (_argc3) { | |
3535 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
3536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSplitterWindow. Expected _wxSize_p."); | |
3537 | return NULL; | |
3538 | } | |
3539 | } | |
3540 | { | |
3541 | wxPy_BEGIN_ALLOW_THREADS; | |
3542 | _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
3543 | ||
3544 | wxPy_END_ALLOW_THREADS; | |
3545 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p"); | |
3546 | _resultobj = Py_BuildValue("s",_ptemp); | |
3547 | return _resultobj; | |
3548 | } | |
3549 | ||
3550 | #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize()) | |
3551 | static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args) { | |
3552 | PyObject * _resultobj; | |
3553 | int _result; | |
3554 | wxSplitterWindow * _arg0; | |
3555 | char * _argc0 = 0; | |
3556 | ||
3557 | self = self; | |
3558 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetBorderSize",&_argc0)) | |
3559 | return NULL; | |
3560 | if (_argc0) { | |
3561 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p."); | |
3563 | return NULL; | |
3564 | } | |
3565 | } | |
3566 | { | |
3567 | wxPy_BEGIN_ALLOW_THREADS; | |
3568 | _result = (int )wxSplitterWindow_GetBorderSize(_arg0); | |
3569 | ||
3570 | wxPy_END_ALLOW_THREADS; | |
3571 | } _resultobj = Py_BuildValue("i",_result); | |
3572 | return _resultobj; | |
3573 | } | |
3574 | ||
3575 | #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize()) | |
3576 | static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args) { | |
3577 | PyObject * _resultobj; | |
3578 | int _result; | |
3579 | wxSplitterWindow * _arg0; | |
3580 | char * _argc0 = 0; | |
3581 | ||
3582 | self = self; | |
3583 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetMinimumPaneSize",&_argc0)) | |
3584 | return NULL; | |
3585 | if (_argc0) { | |
3586 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p."); | |
3588 | return NULL; | |
3589 | } | |
3590 | } | |
3591 | { | |
3592 | wxPy_BEGIN_ALLOW_THREADS; | |
3593 | _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0); | |
3594 | ||
3595 | wxPy_END_ALLOW_THREADS; | |
3596 | } _resultobj = Py_BuildValue("i",_result); | |
3597 | return _resultobj; | |
3598 | } | |
3599 | ||
3600 | #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition()) | |
3601 | static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args) { | |
3602 | PyObject * _resultobj; | |
3603 | int _result; | |
3604 | wxSplitterWindow * _arg0; | |
3605 | char * _argc0 = 0; | |
3606 | ||
3607 | self = self; | |
3608 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashPosition",&_argc0)) | |
3609 | return NULL; | |
3610 | if (_argc0) { | |
3611 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p."); | |
3613 | return NULL; | |
3614 | } | |
3615 | } | |
3616 | { | |
3617 | wxPy_BEGIN_ALLOW_THREADS; | |
3618 | _result = (int )wxSplitterWindow_GetSashPosition(_arg0); | |
3619 | ||
3620 | wxPy_END_ALLOW_THREADS; | |
3621 | } _resultobj = Py_BuildValue("i",_result); | |
3622 | return _resultobj; | |
3623 | } | |
3624 | ||
3625 | #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize()) | |
3626 | static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args) { | |
3627 | PyObject * _resultobj; | |
3628 | int _result; | |
3629 | wxSplitterWindow * _arg0; | |
3630 | char * _argc0 = 0; | |
3631 | ||
3632 | self = self; | |
3633 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashSize",&_argc0)) | |
3634 | return NULL; | |
3635 | if (_argc0) { | |
3636 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p."); | |
3638 | return NULL; | |
3639 | } | |
3640 | } | |
3641 | { | |
3642 | wxPy_BEGIN_ALLOW_THREADS; | |
3643 | _result = (int )wxSplitterWindow_GetSashSize(_arg0); | |
3644 | ||
3645 | wxPy_END_ALLOW_THREADS; | |
3646 | } _resultobj = Py_BuildValue("i",_result); | |
3647 | return _resultobj; | |
3648 | } | |
3649 | ||
3650 | #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode()) | |
3651 | static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args) { | |
3652 | PyObject * _resultobj; | |
3653 | int _result; | |
3654 | wxSplitterWindow * _arg0; | |
3655 | char * _argc0 = 0; | |
3656 | ||
3657 | self = self; | |
3658 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSplitMode",&_argc0)) | |
3659 | return NULL; | |
3660 | if (_argc0) { | |
3661 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p."); | |
3663 | return NULL; | |
3664 | } | |
3665 | } | |
3666 | { | |
3667 | wxPy_BEGIN_ALLOW_THREADS; | |
3668 | _result = (int )wxSplitterWindow_GetSplitMode(_arg0); | |
3669 | ||
3670 | wxPy_END_ALLOW_THREADS; | |
3671 | } _resultobj = Py_BuildValue("i",_result); | |
3672 | return _resultobj; | |
3673 | } | |
3674 | ||
3675 | #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1()) | |
3676 | static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args) { | |
3677 | PyObject * _resultobj; | |
3678 | wxWindow * _result; | |
3679 | wxSplitterWindow * _arg0; | |
3680 | char * _argc0 = 0; | |
3681 | char _ptemp[128]; | |
3682 | ||
3683 | self = self; | |
3684 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow1",&_argc0)) | |
3685 | return NULL; | |
3686 | if (_argc0) { | |
3687 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p."); | |
3689 | return NULL; | |
3690 | } | |
3691 | } | |
3692 | { | |
3693 | wxPy_BEGIN_ALLOW_THREADS; | |
3694 | _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0); | |
3695 | ||
3696 | wxPy_END_ALLOW_THREADS; | |
3697 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
3698 | _resultobj = Py_BuildValue("s",_ptemp); | |
3699 | return _resultobj; | |
3700 | } | |
3701 | ||
3702 | #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2()) | |
3703 | static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args) { | |
3704 | PyObject * _resultobj; | |
3705 | wxWindow * _result; | |
3706 | wxSplitterWindow * _arg0; | |
3707 | char * _argc0 = 0; | |
3708 | char _ptemp[128]; | |
3709 | ||
3710 | self = self; | |
3711 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetWindow2",&_argc0)) | |
3712 | return NULL; | |
3713 | if (_argc0) { | |
3714 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p."); | |
3716 | return NULL; | |
3717 | } | |
3718 | } | |
3719 | { | |
3720 | wxPy_BEGIN_ALLOW_THREADS; | |
3721 | _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0); | |
3722 | ||
3723 | wxPy_END_ALLOW_THREADS; | |
3724 | } SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
3725 | _resultobj = Py_BuildValue("s",_ptemp); | |
3726 | return _resultobj; | |
3727 | } | |
3728 | ||
3729 | #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0)) | |
3730 | static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args) { | |
3731 | PyObject * _resultobj; | |
3732 | wxSplitterWindow * _arg0; | |
3733 | wxWindow * _arg1; | |
3734 | char * _argc0 = 0; | |
3735 | char * _argc1 = 0; | |
3736 | ||
3737 | self = self; | |
3738 | if(!PyArg_ParseTuple(args,"ss:wxSplitterWindow_Initialize",&_argc0,&_argc1)) | |
3739 | return NULL; | |
3740 | if (_argc0) { | |
3741 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p."); | |
3743 | return NULL; | |
3744 | } | |
3745 | } | |
3746 | if (_argc1) { | |
3747 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
3748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p."); | |
3749 | return NULL; | |
3750 | } | |
3751 | } | |
3752 | { | |
3753 | wxPy_BEGIN_ALLOW_THREADS; | |
3754 | wxSplitterWindow_Initialize(_arg0,_arg1); | |
3755 | ||
3756 | wxPy_END_ALLOW_THREADS; | |
3757 | } Py_INCREF(Py_None); | |
3758 | _resultobj = Py_None; | |
3759 | return _resultobj; | |
3760 | } | |
3761 | ||
3762 | #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit()) | |
3763 | static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args) { | |
3764 | PyObject * _resultobj; | |
3765 | bool _result; | |
3766 | wxSplitterWindow * _arg0; | |
3767 | char * _argc0 = 0; | |
3768 | ||
3769 | self = self; | |
3770 | if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_IsSplit",&_argc0)) | |
3771 | return NULL; | |
3772 | if (_argc0) { | |
3773 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p."); | |
3775 | return NULL; | |
3776 | } | |
3777 | } | |
3778 | { | |
3779 | wxPy_BEGIN_ALLOW_THREADS; | |
3780 | _result = (bool )wxSplitterWindow_IsSplit(_arg0); | |
3781 | ||
3782 | wxPy_END_ALLOW_THREADS; | |
3783 | } _resultobj = Py_BuildValue("i",_result); | |
3784 | return _resultobj; | |
3785 | } | |
3786 | ||
3787 | #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0)) | |
3788 | static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args) { | |
3789 | PyObject * _resultobj; | |
3790 | wxSplitterWindow * _arg0; | |
3791 | int _arg1; | |
3792 | char * _argc0 = 0; | |
3793 | ||
3794 | self = self; | |
3795 | if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetBorderSize",&_argc0,&_arg1)) | |
3796 | return NULL; | |
3797 | if (_argc0) { | |
3798 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p."); | |
3800 | return NULL; | |
3801 | } | |
3802 | } | |
3803 | { | |
3804 | wxPy_BEGIN_ALLOW_THREADS; | |
3805 | wxSplitterWindow_SetBorderSize(_arg0,_arg1); | |
3806 | ||
3807 | wxPy_END_ALLOW_THREADS; | |
3808 | } Py_INCREF(Py_None); | |
3809 | _resultobj = Py_None; | |
3810 | return _resultobj; | |
3811 | } | |
3812 | ||
3813 | #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1)) | |
3814 | static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args) { | |
3815 | PyObject * _resultobj; | |
3816 | wxSplitterWindow * _arg0; | |
3817 | int _arg1; | |
3818 | int _arg2 = (1); | |
3819 | char * _argc0 = 0; | |
3820 | ||
3821 | self = self; | |
3822 | if(!PyArg_ParseTuple(args,"si|i:wxSplitterWindow_SetSashPosition",&_argc0,&_arg1,&_arg2)) | |
3823 | return NULL; | |
3824 | if (_argc0) { | |
3825 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p."); | |
3827 | return NULL; | |
3828 | } | |
3829 | } | |
3830 | { | |
3831 | wxPy_BEGIN_ALLOW_THREADS; | |
3832 | wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2); | |
3833 | ||
3834 | wxPy_END_ALLOW_THREADS; | |
3835 | } Py_INCREF(Py_None); | |
3836 | _resultobj = Py_None; | |
3837 | return _resultobj; | |
3838 | } | |
3839 | ||
3840 | #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0)) | |
3841 | static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args) { | |
3842 | PyObject * _resultobj; | |
3843 | wxSplitterWindow * _arg0; | |
3844 | int _arg1; | |
3845 | char * _argc0 = 0; | |
3846 | ||
3847 | self = self; | |
3848 | if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSashSize",&_argc0,&_arg1)) | |
3849 | return NULL; | |
3850 | if (_argc0) { | |
3851 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p."); | |
3853 | return NULL; | |
3854 | } | |
3855 | } | |
3856 | { | |
3857 | wxPy_BEGIN_ALLOW_THREADS; | |
3858 | wxSplitterWindow_SetSashSize(_arg0,_arg1); | |
3859 | ||
3860 | wxPy_END_ALLOW_THREADS; | |
3861 | } Py_INCREF(Py_None); | |
3862 | _resultobj = Py_None; | |
3863 | return _resultobj; | |
3864 | } | |
3865 | ||
3866 | #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0)) | |
3867 | static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args) { | |
3868 | PyObject * _resultobj; | |
3869 | wxSplitterWindow * _arg0; | |
3870 | int _arg1; | |
3871 | char * _argc0 = 0; | |
3872 | ||
3873 | self = self; | |
3874 | if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetMinimumPaneSize",&_argc0,&_arg1)) | |
3875 | return NULL; | |
3876 | if (_argc0) { | |
3877 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p."); | |
3879 | return NULL; | |
3880 | } | |
3881 | } | |
3882 | { | |
3883 | wxPy_BEGIN_ALLOW_THREADS; | |
3884 | wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1); | |
3885 | ||
3886 | wxPy_END_ALLOW_THREADS; | |
3887 | } Py_INCREF(Py_None); | |
3888 | _resultobj = Py_None; | |
3889 | return _resultobj; | |
3890 | } | |
3891 | ||
3892 | #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0)) | |
3893 | static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args) { | |
3894 | PyObject * _resultobj; | |
3895 | wxSplitterWindow * _arg0; | |
3896 | int _arg1; | |
3897 | char * _argc0 = 0; | |
3898 | ||
3899 | self = self; | |
3900 | if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSplitMode",&_argc0,&_arg1)) | |
3901 | return NULL; | |
3902 | if (_argc0) { | |
3903 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p."); | |
3905 | return NULL; | |
3906 | } | |
3907 | } | |
3908 | { | |
3909 | wxPy_BEGIN_ALLOW_THREADS; | |
3910 | wxSplitterWindow_SetSplitMode(_arg0,_arg1); | |
3911 | ||
3912 | wxPy_END_ALLOW_THREADS; | |
3913 | } Py_INCREF(Py_None); | |
3914 | _resultobj = Py_None; | |
3915 | return _resultobj; | |
3916 | } | |
3917 | ||
3918 | #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2)) | |
3919 | static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args) { | |
3920 | PyObject * _resultobj; | |
3921 | bool _result; | |
3922 | wxSplitterWindow * _arg0; | |
3923 | wxWindow * _arg1; | |
3924 | wxWindow * _arg2; | |
3925 | int _arg3 = 0; | |
3926 | char * _argc0 = 0; | |
3927 | char * _argc1 = 0; | |
3928 | char * _argc2 = 0; | |
3929 | ||
3930 | self = self; | |
3931 | if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitHorizontally",&_argc0,&_argc1,&_argc2,&_arg3)) | |
3932 | return NULL; | |
3933 | if (_argc0) { | |
3934 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p."); | |
3936 | return NULL; | |
3937 | } | |
3938 | } | |
3939 | if (_argc1) { | |
3940 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
3941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); | |
3942 | return NULL; | |
3943 | } | |
3944 | } | |
3945 | if (_argc2) { | |
3946 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) { | |
3947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p."); | |
3948 | return NULL; | |
3949 | } | |
3950 | } | |
3951 | { | |
3952 | wxPy_BEGIN_ALLOW_THREADS; | |
3953 | _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3); | |
3954 | ||
3955 | wxPy_END_ALLOW_THREADS; | |
3956 | } _resultobj = Py_BuildValue("i",_result); | |
3957 | return _resultobj; | |
3958 | } | |
3959 | ||
3960 | #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2)) | |
3961 | static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args) { | |
3962 | PyObject * _resultobj; | |
3963 | bool _result; | |
3964 | wxSplitterWindow * _arg0; | |
3965 | wxWindow * _arg1; | |
3966 | wxWindow * _arg2; | |
3967 | int _arg3 = 0; | |
3968 | char * _argc0 = 0; | |
3969 | char * _argc1 = 0; | |
3970 | char * _argc2 = 0; | |
3971 | ||
3972 | self = self; | |
3973 | if(!PyArg_ParseTuple(args,"sss|i:wxSplitterWindow_SplitVertically",&_argc0,&_argc1,&_argc2,&_arg3)) | |
3974 | return NULL; | |
3975 | if (_argc0) { | |
3976 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
3977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p."); | |
3978 | return NULL; | |
3979 | } | |
3980 | } | |
3981 | if (_argc1) { | |
3982 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
3983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); | |
3984 | return NULL; | |
3985 | } | |
3986 | } | |
3987 | if (_argc2) { | |
3988 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) { | |
3989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p."); | |
3990 | return NULL; | |
3991 | } | |
3992 | } | |
3993 | { | |
3994 | wxPy_BEGIN_ALLOW_THREADS; | |
3995 | _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3); | |
3996 | ||
3997 | wxPy_END_ALLOW_THREADS; | |
3998 | } _resultobj = Py_BuildValue("i",_result); | |
3999 | return _resultobj; | |
4000 | } | |
4001 | ||
4002 | #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0)) | |
4003 | static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args) { | |
4004 | PyObject * _resultobj; | |
4005 | bool _result; | |
4006 | wxSplitterWindow * _arg0; | |
4007 | wxWindow * _arg1 = NULL; | |
4008 | char * _argc0 = 0; | |
4009 | char * _argc1 = 0; | |
4010 | ||
4011 | self = self; | |
4012 | if(!PyArg_ParseTuple(args,"s|s:wxSplitterWindow_Unsplit",&_argc0,&_argc1)) | |
4013 | return NULL; | |
4014 | if (_argc0) { | |
4015 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) { | |
4016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p."); | |
4017 | return NULL; | |
4018 | } | |
4019 | } | |
4020 | if (_argc1) { | |
4021 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
4022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p."); | |
4023 | return NULL; | |
4024 | } | |
4025 | } | |
4026 | { | |
4027 | wxPy_BEGIN_ALLOW_THREADS; | |
4028 | _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1); | |
4029 | ||
4030 | wxPy_END_ALLOW_THREADS; | |
4031 | } _resultobj = Py_BuildValue("i",_result); | |
4032 | return _resultobj; | |
4033 | } | |
4034 | ||
4035 | static PyMethodDef windows2cMethods[] = { | |
4036 | { "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit, 1 }, | |
4037 | { "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically, 1 }, | |
4038 | { "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally, 1 }, | |
4039 | { "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode, 1 }, | |
4040 | { "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize, 1 }, | |
4041 | { "wxSplitterWindow_SetSashSize", _wrap_wxSplitterWindow_SetSashSize, 1 }, | |
4042 | { "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition, 1 }, | |
4043 | { "wxSplitterWindow_SetBorderSize", _wrap_wxSplitterWindow_SetBorderSize, 1 }, | |
4044 | { "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit, 1 }, | |
4045 | { "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize, 1 }, | |
4046 | { "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2, 1 }, | |
4047 | { "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1, 1 }, | |
4048 | { "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode, 1 }, | |
4049 | { "wxSplitterWindow_GetSashSize", _wrap_wxSplitterWindow_GetSashSize, 1 }, | |
4050 | { "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition, 1 }, | |
4051 | { "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 }, | |
4052 | { "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize, 1 }, | |
4053 | { "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 }, | |
4054 | { "wxNotebook_ResizeChildren", _wrap_wxNotebook_ResizeChildren, 1 }, | |
4055 | { "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 }, | |
4056 | { "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 }, | |
4057 | { "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages, 1 }, | |
4058 | { "wxNotebook_RemovePage", _wrap_wxNotebook_RemovePage, 1 }, | |
4059 | { "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage, 1 }, | |
4060 | { "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount, 1 }, | |
4061 | { "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage, 1 }, | |
4062 | { "wxNotebook_GetPageImage", _wrap_wxNotebook_GetPageImage, 1 }, | |
4063 | { "wxNotebook_GetImageList", _wrap_wxNotebook_GetImageList, 1 }, | |
4064 | { "wxNotebook_SetImageList", _wrap_wxNotebook_SetImageList, 1 }, | |
4065 | { "wxNotebook_GetPageText", _wrap_wxNotebook_GetPageText, 1 }, | |
4066 | { "wxNotebook_SetPageText", _wrap_wxNotebook_SetPageText, 1 }, | |
4067 | { "wxNotebook_GetSelection", _wrap_wxNotebook_GetSelection, 1 }, | |
4068 | { "wxNotebook_AdvanceSelection", _wrap_wxNotebook_AdvanceSelection, 1 }, | |
4069 | { "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 }, | |
4070 | { "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 }, | |
4071 | { "new_wxNotebook", _wrap_new_wxNotebook, 1 }, | |
4072 | { "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 }, | |
4073 | { "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 }, | |
4074 | { "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get, 1 }, | |
4075 | { "wxGridEvent_m_cell_set", _wrap_wxGridEvent_m_cell_set, 1 }, | |
4076 | { "wxGridEvent_m_shift_get", _wrap_wxGridEvent_m_shift_get, 1 }, | |
4077 | { "wxGridEvent_m_shift_set", _wrap_wxGridEvent_m_shift_set, 1 }, | |
4078 | { "wxGridEvent_m_control_get", _wrap_wxGridEvent_m_control_get, 1 }, | |
4079 | { "wxGridEvent_m_control_set", _wrap_wxGridEvent_m_control_set, 1 }, | |
4080 | { "wxGridEvent_m_y_get", _wrap_wxGridEvent_m_y_get, 1 }, | |
4081 | { "wxGridEvent_m_y_set", _wrap_wxGridEvent_m_y_set, 1 }, | |
4082 | { "wxGridEvent_m_x_get", _wrap_wxGridEvent_m_x_get, 1 }, | |
4083 | { "wxGridEvent_m_x_set", _wrap_wxGridEvent_m_x_set, 1 }, | |
4084 | { "wxGridEvent_m_col_get", _wrap_wxGridEvent_m_col_get, 1 }, | |
4085 | { "wxGridEvent_m_col_set", _wrap_wxGridEvent_m_col_set, 1 }, | |
4086 | { "wxGridEvent_m_row_get", _wrap_wxGridEvent_m_row_get, 1 }, | |
4087 | { "wxGridEvent_m_row_set", _wrap_wxGridEvent_m_row_set, 1 }, | |
4088 | { "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions, 1 }, | |
4089 | { "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight, 1 }, | |
4090 | { "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue, 1 }, | |
4091 | { "wxGrid_SetLabelTextFont", _wrap_wxGrid_SetLabelTextFont, 1 }, | |
4092 | { "wxGrid_SetLabelTextColour", _wrap_wxGrid_SetLabelTextColour, 1 }, | |
4093 | { "wxGrid_SetLabelSize", _wrap_wxGrid_SetLabelSize, 1 }, | |
4094 | { "wxGrid_SetLabelBackgroundColour", _wrap_wxGrid_SetLabelBackgroundColour, 1 }, | |
4095 | { "wxGrid_SetLabelAlignment", _wrap_wxGrid_SetLabelAlignment, 1 }, | |
4096 | { "wxGrid_SetGridCursor", _wrap_wxGrid_SetGridCursor, 1 }, | |
4097 | { "wxGrid_SetEditable", _wrap_wxGrid_SetEditable, 1 }, | |
4098 | { "wxGrid_SetDividerPen", _wrap_wxGrid_SetDividerPen, 1 }, | |
4099 | { "wxGrid_SetColumnWidth", _wrap_wxGrid_SetColumnWidth, 1 }, | |
4100 | { "wxGrid_SetCellValue", _wrap_wxGrid_SetCellValue, 1 }, | |
4101 | { "wxGrid_SetDefCellTextFont", _wrap_wxGrid_SetDefCellTextFont, 1 }, | |
4102 | { "wxGrid_SetCellTextFont", _wrap_wxGrid_SetCellTextFont, 1 }, | |
4103 | { "wxGrid_SetDefCellTextColour", _wrap_wxGrid_SetDefCellTextColour, 1 }, | |
4104 | { "wxGrid_SetCellTextColour", _wrap_wxGrid_SetCellTextColour, 1 }, | |
4105 | { "wxGrid_SetDefCellBackgroundColour", _wrap_wxGrid_SetDefCellBackgroundColour, 1 }, | |
4106 | { "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour, 1 }, | |
4107 | { "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment, 1 }, | |
4108 | { "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment, 1 }, | |
4109 | { "wxGrid_OnActivate", _wrap_wxGrid_OnActivate, 1 }, | |
4110 | { "wxGrid_InsertRows", _wrap_wxGrid_InsertRows, 1 }, | |
4111 | { "wxGrid_InsertCols", _wrap_wxGrid_InsertCols, 1 }, | |
4112 | { "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar, 1 }, | |
4113 | { "wxGrid_GetTextItem", _wrap_wxGrid_GetTextItem, 1 }, | |
4114 | { "wxGrid_GetScrollPosY", _wrap_wxGrid_GetScrollPosY, 1 }, | |
4115 | { "wxGrid_GetScrollPosX", _wrap_wxGrid_GetScrollPosX, 1 }, | |
4116 | { "wxGrid_GetRows", _wrap_wxGrid_GetRows, 1 }, | |
4117 | { "wxGrid_GetRowHeight", _wrap_wxGrid_GetRowHeight, 1 }, | |
4118 | { "wxGrid_GetLabelValue", _wrap_wxGrid_GetLabelValue, 1 }, | |
4119 | { "wxGrid_GetLabelTextFont", _wrap_wxGrid_GetLabelTextFont, 1 }, | |
4120 | { "wxGrid_GetLabelTextColour", _wrap_wxGrid_GetLabelTextColour, 1 }, | |
4121 | { "wxGrid_GetLabelSize", _wrap_wxGrid_GetLabelSize, 1 }, | |
4122 | { "wxGrid_GetLabelBackgroundColour", _wrap_wxGrid_GetLabelBackgroundColour, 1 }, | |
4123 | { "wxGrid_GetLabelAlignment", _wrap_wxGrid_GetLabelAlignment, 1 }, | |
4124 | { "wxGrid_GetHorizScrollBar", _wrap_wxGrid_GetHorizScrollBar, 1 }, | |
4125 | { "wxGrid_GetEditable", _wrap_wxGrid_GetEditable, 1 }, | |
4126 | { "wxGrid_GetCursorRow", _wrap_wxGrid_GetCursorRow, 1 }, | |
4127 | { "wxGrid_GetCursorColumn", _wrap_wxGrid_GetCursorColumn, 1 }, | |
4128 | { "wxGrid_GetCurrentRect", _wrap_wxGrid_GetCurrentRect, 1 }, | |
4129 | { "wxGrid_GetColumnWidth", _wrap_wxGrid_GetColumnWidth, 1 }, | |
4130 | { "wxGrid_GetCols", _wrap_wxGrid_GetCols, 1 }, | |
4131 | { "wxGrid_GetCellValue", _wrap_wxGrid_GetCellValue, 1 }, | |
4132 | { "wxGrid_GetDefCellTextFont", _wrap_wxGrid_GetDefCellTextFont, 1 }, | |
4133 | { "wxGrid_GetCellTextFont", _wrap_wxGrid_GetCellTextFont, 1 }, | |
4134 | { "wxGrid_GetDefCellTextColour", _wrap_wxGrid_GetDefCellTextColour, 1 }, | |
4135 | { "wxGrid_GetCellTextColour", _wrap_wxGrid_GetCellTextColour, 1 }, | |
4136 | { "wxGrid_GetDefCellBackgroundColour", _wrap_wxGrid_GetDefCellBackgroundColour, 1 }, | |
4137 | { "wxGrid_GetCellBackgroundColour", _wrap_wxGrid_GetCellBackgroundColour, 1 }, | |
4138 | { "wxGrid_GetDefCellAlignment", _wrap_wxGrid_GetDefCellAlignment, 1 }, | |
4139 | { "wxGrid_GetCellAlignment", _wrap_wxGrid_GetCellAlignment, 1 }, | |
4140 | { "wxGrid_GetCell", _wrap_wxGrid_GetCell, 1 }, | |
4141 | { "wxGrid_GetBatchCount", _wrap_wxGrid_GetBatchCount, 1 }, | |
4142 | { "wxGrid_EndBatch", _wrap_wxGrid_EndBatch, 1 }, | |
4143 | { "wxGrid_DeleteRows", _wrap_wxGrid_DeleteRows, 1 }, | |
4144 | { "wxGrid_DeleteCols", _wrap_wxGrid_DeleteCols, 1 }, | |
4145 | { "wxGrid_CurrentCellVisible", _wrap_wxGrid_CurrentCellVisible, 1 }, | |
4146 | { "wxGrid_CreateGrid", _wrap_wxGrid_CreateGrid, 1 }, | |
4147 | { "wxGrid_CellHitTest", _wrap_wxGrid_CellHitTest, 1 }, | |
4148 | { "wxGrid_BeginBatch", _wrap_wxGrid_BeginBatch, 1 }, | |
4149 | { "wxGrid_AppendRows", _wrap_wxGrid_AppendRows, 1 }, | |
4150 | { "wxGrid_AppendCols", _wrap_wxGrid_AppendCols, 1 }, | |
4151 | { "wxGrid_AdjustScrollbars", _wrap_wxGrid_AdjustScrollbars, 1 }, | |
4152 | { "new_wxGrid", _wrap_new_wxGrid, 1 }, | |
4153 | { "wxGridCell_SetCellBitmap", _wrap_wxGridCell_SetCellBitmap, 1 }, | |
4154 | { "wxGridCell_GetCellBitmap", _wrap_wxGridCell_GetCellBitmap, 1 }, | |
4155 | { "wxGridCell_SetAlignment", _wrap_wxGridCell_SetAlignment, 1 }, | |
4156 | { "wxGridCell_GetAlignment", _wrap_wxGridCell_GetAlignment, 1 }, | |
4157 | { "wxGridCell_GetBackgroundBrush", _wrap_wxGridCell_GetBackgroundBrush, 1 }, | |
4158 | { "wxGridCell_SetBackgroundColour", _wrap_wxGridCell_SetBackgroundColour, 1 }, | |
4159 | { "wxGridCell_GetBackgroundColour", _wrap_wxGridCell_GetBackgroundColour, 1 }, | |
4160 | { "wxGridCell_SetTextColour", _wrap_wxGridCell_SetTextColour, 1 }, | |
4161 | { "wxGridCell_GetTextColour", _wrap_wxGridCell_GetTextColour, 1 }, | |
4162 | { "wxGridCell_SetFont", _wrap_wxGridCell_SetFont, 1 }, | |
4163 | { "wxGridCell_GetFont", _wrap_wxGridCell_GetFont, 1 }, | |
4164 | { "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue, 1 }, | |
4165 | { "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue, 1 }, | |
4166 | { "delete_wxGridCell", _wrap_delete_wxGridCell, 1 }, | |
4167 | { "new_wxGridCell", _wrap_new_wxGridCell, 1 }, | |
4168 | { NULL, NULL } | |
4169 | }; | |
4170 | static PyObject *SWIG_globals; | |
4171 | #ifdef __cplusplus | |
4172 | extern "C" | |
4173 | #endif | |
4174 | SWIGEXPORT(void,initwindows2c)() { | |
4175 | PyObject *m, *d; | |
4176 | SWIG_globals = SWIG_newvarlink(); | |
4177 | m = Py_InitModule("windows2c", windows2cMethods); | |
4178 | d = PyModule_GetDict(m); | |
4179 | PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL)); | |
4180 | PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL)); | |
4181 | PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL)); | |
4182 | PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL)); | |
4183 | PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL)); | |
4184 | PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS)); | |
4185 | PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL)); | |
4186 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE)); | |
4187 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK)); | |
4188 | PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK)); | |
4189 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK)); | |
4190 | PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK)); | |
4191 | /* | |
4192 | * These are the pointer type-equivalency mappings. | |
4193 | * (Used by the SWIG pointer type-checker). | |
4194 | */ | |
4195 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); | |
4196 | SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent); | |
4197 | SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent); | |
4198 | SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent); | |
4199 | SWIG_RegisterMapping("_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent); | |
4200 | SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0); | |
4201 | SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0); | |
4202 | SWIG_RegisterMapping("_signed_long","_long",0); | |
4203 | SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0); | |
4204 | SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); | |
4205 | SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); | |
4206 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler); | |
4207 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler); | |
4208 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler); | |
4209 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler); | |
4210 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler); | |
4211 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler); | |
4212 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0); | |
4213 | SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0); | |
4214 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); | |
4215 | SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); | |
4216 | SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0); | |
4217 | SWIG_RegisterMapping("_wxMask","_class_wxMask",0); | |
4218 | SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0); | |
4219 | SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0); | |
4220 | SWIG_RegisterMapping("_wxPen","_class_wxPen",0); | |
4221 | SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0); | |
4222 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
4223 | SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0); | |
4224 | SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0); | |
4225 | SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0); | |
4226 | SWIG_RegisterMapping("_wxNotebookEvent","_class_wxNotebookEvent",0); | |
4227 | SWIG_RegisterMapping("_long","_wxDash",0); | |
4228 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
4229 | SWIG_RegisterMapping("_long","_signed_long",0); | |
4230 | SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0); | |
4231 | SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0); | |
4232 | SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0); | |
4233 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); | |
4234 | SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0); | |
4235 | SWIG_RegisterMapping("_wxDC","_class_wxDC",0); | |
4236 | SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0); | |
4237 | SWIG_RegisterMapping("_size_t","_unsigned_int",0); | |
4238 | SWIG_RegisterMapping("_size_t","_int",0); | |
4239 | SWIG_RegisterMapping("_size_t","_wxWindowID",0); | |
4240 | SWIG_RegisterMapping("_size_t","_uint",0); | |
4241 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); | |
4242 | SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); | |
4243 | SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0); | |
4244 | SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0); | |
4245 | SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0); | |
4246 | SWIG_RegisterMapping("_wxPanel","_class_wxGrid",SwigwxGridTowxPanel); | |
4247 | SWIG_RegisterMapping("_wxPanel","_wxGrid",SwigwxGridTowxPanel); | |
4248 | SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0); | |
4249 | SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0); | |
4250 | SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0); | |
4251 | SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0); | |
4252 | SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0); | |
4253 | SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0); | |
4254 | SWIG_RegisterMapping("_class_wxMask","_wxMask",0); | |
4255 | SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0); | |
4256 | SWIG_RegisterMapping("_class_wxGrid","_wxGrid",0); | |
4257 | SWIG_RegisterMapping("_wxColour","_class_wxColour",0); | |
4258 | SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0); | |
4259 | SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0); | |
4260 | SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0); | |
4261 | SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0); | |
4262 | SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0); | |
4263 | SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0); | |
4264 | SWIG_RegisterMapping("_uint","_size_t",0); | |
4265 | SWIG_RegisterMapping("_uint","_unsigned_int",0); | |
4266 | SWIG_RegisterMapping("_uint","_int",0); | |
4267 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
4268 | SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent); | |
4269 | SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent); | |
4270 | SWIG_RegisterMapping("_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent); | |
4271 | SWIG_RegisterMapping("_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent); | |
4272 | SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0); | |
4273 | SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0); | |
4274 | SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0); | |
4275 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
4276 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent); | |
4277 | SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent); | |
4278 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0); | |
4279 | SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0); | |
4280 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
4281 | SWIG_RegisterMapping("_class_wxButton","_wxButton",0); | |
4282 | SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0); | |
4283 | SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); | |
4284 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
4285 | SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0); | |
4286 | SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0); | |
4287 | SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0); | |
4288 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
4289 | SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0); | |
4290 | SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0); | |
4291 | SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0); | |
4292 | SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0); | |
4293 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
4294 | SWIG_RegisterMapping("_EBool","_int",0); | |
4295 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
4296 | SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); | |
4297 | SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0); | |
4298 | SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0); | |
4299 | SWIG_RegisterMapping("_wxFont","_class_wxFont",0); | |
4300 | SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0); | |
4301 | SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0); | |
4302 | SWIG_RegisterMapping("_unsigned_long","_wxDash",0); | |
4303 | SWIG_RegisterMapping("_unsigned_long","_long",0); | |
4304 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
4305 | SWIG_RegisterMapping("_class_wxDC","_wxDC",0); | |
4306 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
4307 | SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0); | |
4308 | SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0); | |
4309 | SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0); | |
4310 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); | |
4311 | SWIG_RegisterMapping("_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel); | |
4312 | SWIG_RegisterMapping("_class_wxPanel","_wxGrid",SwigwxGridTowxPanel); | |
4313 | SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0); | |
4314 | SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0); | |
4315 | SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0); | |
4316 | SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0); | |
4317 | SWIG_RegisterMapping("_signed_int","_EBool",0); | |
4318 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
4319 | SWIG_RegisterMapping("_signed_int","_int",0); | |
4320 | SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0); | |
4321 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
4322 | SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0); | |
4323 | SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0); | |
4324 | SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0); | |
4325 | SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0); | |
4326 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
4327 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
4328 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
4329 | SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0); | |
4330 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
4331 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
4332 | SWIG_RegisterMapping("_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow); | |
4333 | SWIG_RegisterMapping("_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow); | |
4334 | SWIG_RegisterMapping("_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow); | |
4335 | SWIG_RegisterMapping("_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow); | |
4336 | SWIG_RegisterMapping("_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow); | |
4337 | SWIG_RegisterMapping("_class_wxWindow","_wxGrid",SwigwxGridTowxWindow); | |
4338 | SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0); | |
4339 | SWIG_RegisterMapping("_wxSplitterWindow","_class_wxSplitterWindow",0); | |
4340 | SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0); | |
4341 | SWIG_RegisterMapping("_class_wxFont","_wxFont",0); | |
4342 | SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0); | |
4343 | SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0); | |
4344 | SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0); | |
4345 | SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0); | |
4346 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
4347 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
4348 | SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0); | |
4349 | SWIG_RegisterMapping("_wxGridCell","_class_wxGridCell",0); | |
4350 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
4351 | SWIG_RegisterMapping("_signed_short","_short",0); | |
4352 | SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); | |
4353 | SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); | |
4354 | SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0); | |
4355 | SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0); | |
4356 | SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0); | |
4357 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); | |
4358 | SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0); | |
4359 | SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0); | |
4360 | SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0); | |
4361 | SWIG_RegisterMapping("_unsigned_char","_byte",0); | |
4362 | SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0); | |
4363 | SWIG_RegisterMapping("_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl); | |
4364 | SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl); | |
4365 | SWIG_RegisterMapping("_wxControl","_class_wxControl",0); | |
4366 | SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0); | |
4367 | SWIG_RegisterMapping("_unsigned_int","_size_t",0); | |
4368 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
4369 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
4370 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
4371 | SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0); | |
4372 | SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0); | |
4373 | SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0); | |
4374 | SWIG_RegisterMapping("_class_wxPen","_wxPen",0); | |
4375 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
4376 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
4377 | SWIG_RegisterMapping("_short","_signed_short",0); | |
4378 | SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0); | |
4379 | SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0); | |
4380 | SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0); | |
4381 | SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0); | |
4382 | SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0); | |
4383 | SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0); | |
4384 | SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0); | |
4385 | SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0); | |
4386 | SWIG_RegisterMapping("_wxWindowID","_size_t",0); | |
4387 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); | |
4388 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
4389 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
4390 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
4391 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
4392 | SWIG_RegisterMapping("_int","_size_t",0); | |
4393 | SWIG_RegisterMapping("_int","_EBool",0); | |
4394 | SWIG_RegisterMapping("_int","_uint",0); | |
4395 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
4396 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
4397 | SWIG_RegisterMapping("_int","_signed_int",0); | |
4398 | SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0); | |
4399 | SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0); | |
4400 | SWIG_RegisterMapping("_wxButton","_class_wxButton",0); | |
4401 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
4402 | SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); | |
4403 | SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); | |
4404 | SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0); | |
4405 | SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0); | |
4406 | SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0); | |
4407 | SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0); | |
4408 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); | |
4409 | SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0); | |
4410 | SWIG_RegisterMapping("_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl); | |
4411 | SWIG_RegisterMapping("_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl); | |
4412 | SWIG_RegisterMapping("_class_wxControl","_wxControl",0); | |
4413 | SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0); | |
4414 | SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); | |
4415 | SWIG_RegisterMapping("_class_wxColour","_wxColour",0); | |
4416 | SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); | |
4417 | SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0); | |
4418 | SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0); | |
4419 | SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0); | |
4420 | SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0); | |
4421 | SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); | |
4422 | SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0); | |
4423 | SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0); | |
4424 | SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0); | |
4425 | SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0); | |
4426 | SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0); | |
4427 | SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0); | |
4428 | SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent); | |
4429 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent); | |
4430 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0); | |
4431 | SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0); | |
4432 | SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0); | |
4433 | SWIG_RegisterMapping("_class_wxGridCell","_wxGridCell",0); | |
4434 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); | |
4435 | SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0); | |
4436 | SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0); | |
4437 | SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0); | |
4438 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler); | |
4439 | SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler); | |
4440 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler); | |
4441 | SWIG_RegisterMapping("_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler); | |
4442 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler); | |
4443 | SWIG_RegisterMapping("_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler); | |
4444 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0); | |
4445 | SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0); | |
4446 | SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0); | |
4447 | SWIG_RegisterMapping("_wxDash","_unsigned_long",0); | |
4448 | SWIG_RegisterMapping("_wxDash","_long",0); | |
4449 | SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); | |
4450 | SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0); | |
4451 | SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0); | |
4452 | SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0); | |
4453 | SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0); | |
4454 | SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow); | |
4455 | SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow); | |
4456 | SWIG_RegisterMapping("_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow); | |
4457 | SWIG_RegisterMapping("_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow); | |
4458 | SWIG_RegisterMapping("_wxWindow","_class_wxGrid",SwigwxGridTowxWindow); | |
4459 | SWIG_RegisterMapping("_wxWindow","_wxGrid",SwigwxGridTowxWindow); | |
4460 | SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0); | |
4461 | } |