]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows2.cpp
IRIX compilation fixes
[wxWidgets.git] / utils / wxPython / src / gtk / windows2.cpp
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 (Build 810)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
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 char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
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 static char* wxStringErrorMsg = "string type is required for parameter";
112 #ifdef __cplusplus
113 extern "C" {
114 #endif
115 #define new_wxGridCell() (new wxGridCell())
116 static PyObject *_wrap_new_wxGridCell(PyObject *self, PyObject *args, PyObject *kwargs) {
117 PyObject * _resultobj;
118 wxGridCell * _result;
119 char *_kwnames[] = { NULL };
120 char _ptemp[128];
121
122 self = self;
123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGridCell",_kwnames))
124 return NULL;
125 {
126 wxPy_BEGIN_ALLOW_THREADS;
127 _result = (wxGridCell *)new_wxGridCell();
128
129 wxPy_END_ALLOW_THREADS;
130 } if (_result) {
131 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
132 _resultobj = Py_BuildValue("s",_ptemp);
133 } else {
134 Py_INCREF(Py_None);
135 _resultobj = Py_None;
136 }
137 return _resultobj;
138 }
139
140 #define delete_wxGridCell(_swigobj) (delete _swigobj)
141 static PyObject *_wrap_delete_wxGridCell(PyObject *self, PyObject *args, PyObject *kwargs) {
142 PyObject * _resultobj;
143 wxGridCell * _arg0;
144 PyObject * _argo0 = 0;
145 char *_kwnames[] = { "self", NULL };
146
147 self = self;
148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGridCell",_kwnames,&_argo0))
149 return NULL;
150 if (_argo0) {
151 if (_argo0 == Py_None) { _arg0 = NULL; }
152 else if (SWIG_GetPtrObj(_argo0,(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, PyObject *kwargs) {
169 PyObject * _resultobj;
170 wxString * _result;
171 wxGridCell * _arg0;
172 PyObject * _argo0 = 0;
173 char *_kwnames[] = { "self", NULL };
174
175 self = self;
176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetTextValue",_kwnames,&_argo0))
177 return NULL;
178 if (_argo0) {
179 if (_argo0 == Py_None) { _arg0 = NULL; }
180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextValue. Expected _wxGridCell_p.");
182 return NULL;
183 }
184 }
185 {
186 wxPy_BEGIN_ALLOW_THREADS;
187 wxString & _result_ref = wxGridCell_GetTextValue(_arg0);
188 _result = (wxString *) &_result_ref;
189
190 wxPy_END_ALLOW_THREADS;
191 }{
192 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
193 }
194 return _resultobj;
195 }
196
197 #define wxGridCell_SetTextValue(_swigobj,_swigarg0) (_swigobj->SetTextValue(_swigarg0))
198 static PyObject *_wrap_wxGridCell_SetTextValue(PyObject *self, PyObject *args, PyObject *kwargs) {
199 PyObject * _resultobj;
200 wxGridCell * _arg0;
201 wxString * _arg1;
202 PyObject * _argo0 = 0;
203 PyObject * _obj1 = 0;
204 char *_kwnames[] = { "self","str", NULL };
205
206 self = self;
207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetTextValue",_kwnames,&_argo0,&_obj1))
208 return NULL;
209 if (_argo0) {
210 if (_argo0 == Py_None) { _arg0 = NULL; }
211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextValue. Expected _wxGridCell_p.");
213 return NULL;
214 }
215 }
216 {
217 if (!PyString_Check(_obj1)) {
218 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
219 return NULL;
220 }
221 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
222 }
223 {
224 wxPy_BEGIN_ALLOW_THREADS;
225 wxGridCell_SetTextValue(_arg0,*_arg1);
226
227 wxPy_END_ALLOW_THREADS;
228 } Py_INCREF(Py_None);
229 _resultobj = Py_None;
230 {
231 if (_obj1)
232 delete _arg1;
233 }
234 return _resultobj;
235 }
236
237 #define wxGridCell_GetFont(_swigobj) (_swigobj->GetFont())
238 static PyObject *_wrap_wxGridCell_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
239 PyObject * _resultobj;
240 wxFont * _result;
241 wxGridCell * _arg0;
242 PyObject * _argo0 = 0;
243 char *_kwnames[] = { "self", NULL };
244 char _ptemp[128];
245
246 self = self;
247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetFont",_kwnames,&_argo0))
248 return NULL;
249 if (_argo0) {
250 if (_argo0 == Py_None) { _arg0 = NULL; }
251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetFont. Expected _wxGridCell_p.");
253 return NULL;
254 }
255 }
256 {
257 wxPy_BEGIN_ALLOW_THREADS;
258 wxFont & _result_ref = wxGridCell_GetFont(_arg0);
259 _result = (wxFont *) &_result_ref;
260
261 wxPy_END_ALLOW_THREADS;
262 } if (_result) {
263 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
264 _resultobj = Py_BuildValue("s",_ptemp);
265 } else {
266 Py_INCREF(Py_None);
267 _resultobj = Py_None;
268 }
269 return _resultobj;
270 }
271
272 #define wxGridCell_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
273 static PyObject *_wrap_wxGridCell_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
274 PyObject * _resultobj;
275 wxGridCell * _arg0;
276 wxFont * _arg1;
277 PyObject * _argo0 = 0;
278 PyObject * _argo1 = 0;
279 char *_kwnames[] = { "self","f", NULL };
280
281 self = self;
282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetFont",_kwnames,&_argo0,&_argo1))
283 return NULL;
284 if (_argo0) {
285 if (_argo0 == Py_None) { _arg0 = NULL; }
286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetFont. Expected _wxGridCell_p.");
288 return NULL;
289 }
290 }
291 if (_argo1) {
292 if (_argo1 == Py_None) { _arg1 = NULL; }
293 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetFont. Expected _wxFont_p.");
295 return NULL;
296 }
297 }
298 {
299 wxPy_BEGIN_ALLOW_THREADS;
300 wxGridCell_SetFont(_arg0,*_arg1);
301
302 wxPy_END_ALLOW_THREADS;
303 } Py_INCREF(Py_None);
304 _resultobj = Py_None;
305 return _resultobj;
306 }
307
308 #define wxGridCell_GetTextColour(_swigobj) (_swigobj->GetTextColour())
309 static PyObject *_wrap_wxGridCell_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
310 PyObject * _resultobj;
311 wxColour * _result;
312 wxGridCell * _arg0;
313 PyObject * _argo0 = 0;
314 char *_kwnames[] = { "self", NULL };
315 char _ptemp[128];
316
317 self = self;
318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetTextColour",_kwnames,&_argo0))
319 return NULL;
320 if (_argo0) {
321 if (_argo0 == Py_None) { _arg0 = NULL; }
322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetTextColour. Expected _wxGridCell_p.");
324 return NULL;
325 }
326 }
327 {
328 wxPy_BEGIN_ALLOW_THREADS;
329 wxColour & _result_ref = wxGridCell_GetTextColour(_arg0);
330 _result = (wxColour *) &_result_ref;
331
332 wxPy_END_ALLOW_THREADS;
333 } if (_result) {
334 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
335 _resultobj = Py_BuildValue("s",_ptemp);
336 } else {
337 Py_INCREF(Py_None);
338 _resultobj = Py_None;
339 }
340 return _resultobj;
341 }
342
343 #define wxGridCell_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
344 static PyObject *_wrap_wxGridCell_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
345 PyObject * _resultobj;
346 wxGridCell * _arg0;
347 wxColour * _arg1;
348 PyObject * _argo0 = 0;
349 PyObject * _argo1 = 0;
350 char *_kwnames[] = { "self","colour", NULL };
351
352 self = self;
353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetTextColour",_kwnames,&_argo0,&_argo1))
354 return NULL;
355 if (_argo0) {
356 if (_argo0 == Py_None) { _arg0 = NULL; }
357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetTextColour. Expected _wxGridCell_p.");
359 return NULL;
360 }
361 }
362 if (_argo1) {
363 if (_argo1 == Py_None) { _arg1 = NULL; }
364 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
365 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetTextColour. Expected _wxColour_p.");
366 return NULL;
367 }
368 }
369 {
370 wxPy_BEGIN_ALLOW_THREADS;
371 wxGridCell_SetTextColour(_arg0,*_arg1);
372
373 wxPy_END_ALLOW_THREADS;
374 } Py_INCREF(Py_None);
375 _resultobj = Py_None;
376 return _resultobj;
377 }
378
379 #define wxGridCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
380 static PyObject *_wrap_wxGridCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
381 PyObject * _resultobj;
382 wxColour * _result;
383 wxGridCell * _arg0;
384 PyObject * _argo0 = 0;
385 char *_kwnames[] = { "self", NULL };
386 char _ptemp[128];
387
388 self = self;
389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetBackgroundColour",_kwnames,&_argo0))
390 return NULL;
391 if (_argo0) {
392 if (_argo0 == Py_None) { _arg0 = NULL; }
393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundColour. Expected _wxGridCell_p.");
395 return NULL;
396 }
397 }
398 {
399 wxPy_BEGIN_ALLOW_THREADS;
400 wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0);
401 _result = (wxColour *) &_result_ref;
402
403 wxPy_END_ALLOW_THREADS;
404 } if (_result) {
405 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
406 _resultobj = Py_BuildValue("s",_ptemp);
407 } else {
408 Py_INCREF(Py_None);
409 _resultobj = Py_None;
410 }
411 return _resultobj;
412 }
413
414 #define wxGridCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
415 static PyObject *_wrap_wxGridCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
416 PyObject * _resultobj;
417 wxGridCell * _arg0;
418 wxColour * _arg1;
419 PyObject * _argo0 = 0;
420 PyObject * _argo1 = 0;
421 char *_kwnames[] = { "self","colour", NULL };
422
423 self = self;
424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
425 return NULL;
426 if (_argo0) {
427 if (_argo0 == Py_None) { _arg0 = NULL; }
428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetBackgroundColour. Expected _wxGridCell_p.");
430 return NULL;
431 }
432 }
433 if (_argo1) {
434 if (_argo1 == Py_None) { _arg1 = NULL; }
435 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
436 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetBackgroundColour. Expected _wxColour_p.");
437 return NULL;
438 }
439 }
440 {
441 wxPy_BEGIN_ALLOW_THREADS;
442 wxGridCell_SetBackgroundColour(_arg0,*_arg1);
443
444 wxPy_END_ALLOW_THREADS;
445 } Py_INCREF(Py_None);
446 _resultobj = Py_None;
447 return _resultobj;
448 }
449
450 #define wxGridCell_GetBackgroundBrush(_swigobj) (_swigobj->GetBackgroundBrush())
451 static PyObject *_wrap_wxGridCell_GetBackgroundBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
452 PyObject * _resultobj;
453 wxBrush * _result;
454 wxGridCell * _arg0;
455 PyObject * _argo0 = 0;
456 char *_kwnames[] = { "self", NULL };
457 char _ptemp[128];
458
459 self = self;
460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetBackgroundBrush",_kwnames,&_argo0))
461 return NULL;
462 if (_argo0) {
463 if (_argo0 == Py_None) { _arg0 = NULL; }
464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetBackgroundBrush. Expected _wxGridCell_p.");
466 return NULL;
467 }
468 }
469 {
470 wxPy_BEGIN_ALLOW_THREADS;
471 wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0);
472 _result = (wxBrush *) &_result_ref;
473
474 wxPy_END_ALLOW_THREADS;
475 } if (_result) {
476 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
477 _resultobj = Py_BuildValue("s",_ptemp);
478 } else {
479 Py_INCREF(Py_None);
480 _resultobj = Py_None;
481 }
482 return _resultobj;
483 }
484
485 #define wxGridCell_GetAlignment(_swigobj) (_swigobj->GetAlignment())
486 static PyObject *_wrap_wxGridCell_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
487 PyObject * _resultobj;
488 int _result;
489 wxGridCell * _arg0;
490 PyObject * _argo0 = 0;
491 char *_kwnames[] = { "self", NULL };
492
493 self = self;
494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetAlignment",_kwnames,&_argo0))
495 return NULL;
496 if (_argo0) {
497 if (_argo0 == Py_None) { _arg0 = NULL; }
498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetAlignment. Expected _wxGridCell_p.");
500 return NULL;
501 }
502 }
503 {
504 wxPy_BEGIN_ALLOW_THREADS;
505 _result = (int )wxGridCell_GetAlignment(_arg0);
506
507 wxPy_END_ALLOW_THREADS;
508 } _resultobj = Py_BuildValue("i",_result);
509 return _resultobj;
510 }
511
512 #define wxGridCell_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
513 static PyObject *_wrap_wxGridCell_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
514 PyObject * _resultobj;
515 wxGridCell * _arg0;
516 int _arg1;
517 PyObject * _argo0 = 0;
518 char *_kwnames[] = { "self","align", NULL };
519
520 self = self;
521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridCell_SetAlignment",_kwnames,&_argo0,&_arg1))
522 return NULL;
523 if (_argo0) {
524 if (_argo0 == Py_None) { _arg0 = NULL; }
525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetAlignment. Expected _wxGridCell_p.");
527 return NULL;
528 }
529 }
530 {
531 wxPy_BEGIN_ALLOW_THREADS;
532 wxGridCell_SetAlignment(_arg0,_arg1);
533
534 wxPy_END_ALLOW_THREADS;
535 } Py_INCREF(Py_None);
536 _resultobj = Py_None;
537 return _resultobj;
538 }
539
540 #define wxGridCell_GetCellBitmap(_swigobj) (_swigobj->GetCellBitmap())
541 static PyObject *_wrap_wxGridCell_GetCellBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
542 PyObject * _resultobj;
543 wxBitmap * _result;
544 wxGridCell * _arg0;
545 PyObject * _argo0 = 0;
546 char *_kwnames[] = { "self", NULL };
547 char _ptemp[128];
548
549 self = self;
550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridCell_GetCellBitmap",_kwnames,&_argo0))
551 return NULL;
552 if (_argo0) {
553 if (_argo0 == Py_None) { _arg0 = NULL; }
554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_GetCellBitmap. Expected _wxGridCell_p.");
556 return NULL;
557 }
558 }
559 {
560 wxPy_BEGIN_ALLOW_THREADS;
561 _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0);
562
563 wxPy_END_ALLOW_THREADS;
564 } if (_result) {
565 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
566 _resultobj = Py_BuildValue("s",_ptemp);
567 } else {
568 Py_INCREF(Py_None);
569 _resultobj = Py_None;
570 }
571 return _resultobj;
572 }
573
574 #define wxGridCell_SetCellBitmap(_swigobj,_swigarg0) (_swigobj->SetCellBitmap(_swigarg0))
575 static PyObject *_wrap_wxGridCell_SetCellBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
576 PyObject * _resultobj;
577 wxGridCell * _arg0;
578 wxBitmap * _arg1;
579 PyObject * _argo0 = 0;
580 PyObject * _argo1 = 0;
581 char *_kwnames[] = { "self","bitmap", NULL };
582
583 self = self;
584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridCell_SetCellBitmap",_kwnames,&_argo0,&_argo1))
585 return NULL;
586 if (_argo0) {
587 if (_argo0 == Py_None) { _arg0 = NULL; }
588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridCell_p")) {
589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridCell_SetCellBitmap. Expected _wxGridCell_p.");
590 return NULL;
591 }
592 }
593 if (_argo1) {
594 if (_argo1 == Py_None) { _arg1 = NULL; }
595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridCell_SetCellBitmap. Expected _wxBitmap_p.");
597 return NULL;
598 }
599 }
600 {
601 wxPy_BEGIN_ALLOW_THREADS;
602 wxGridCell_SetCellBitmap(_arg0,_arg1);
603
604 wxPy_END_ALLOW_THREADS;
605 } Py_INCREF(Py_None);
606 _resultobj = Py_None;
607 return _resultobj;
608 }
609
610 static void *SwigwxGridTowxPanel(void *ptr) {
611 wxGrid *src;
612 wxPanel *dest;
613 src = (wxGrid *) ptr;
614 dest = (wxPanel *) src;
615 return (void *) dest;
616 }
617
618 static void *SwigwxGridTowxWindow(void *ptr) {
619 wxGrid *src;
620 wxWindow *dest;
621 src = (wxGrid *) ptr;
622 dest = (wxWindow *) src;
623 return (void *) dest;
624 }
625
626 static void *SwigwxGridTowxEvtHandler(void *ptr) {
627 wxGrid *src;
628 wxEvtHandler *dest;
629 src = (wxGrid *) ptr;
630 dest = (wxEvtHandler *) src;
631 return (void *) dest;
632 }
633
634 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
635 static PyObject *_wrap_new_wxGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
636 PyObject * _resultobj;
637 wxGrid * _result;
638 wxWindow * _arg0;
639 wxWindowID _arg1;
640 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
641 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
642 long _arg4 = (long ) 0;
643 char * _arg5 = (char *) "grid";
644 PyObject * _argo0 = 0;
645 wxPoint temp;
646 PyObject * _obj2 = 0;
647 wxSize temp0;
648 PyObject * _obj3 = 0;
649 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
650 char _ptemp[128];
651
652 self = self;
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxGrid",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
654 return NULL;
655 if (_argo0) {
656 if (_argo0 == Py_None) { _arg0 = NULL; }
657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
659 return NULL;
660 }
661 }
662 if (_obj2)
663 {
664 _arg2 = &temp;
665 if (! wxPoint_helper(_obj2, &_arg2))
666 return NULL;
667 }
668 if (_obj3)
669 {
670 _arg3 = &temp0;
671 if (! wxSize_helper(_obj3, &_arg3))
672 return NULL;
673 }
674 {
675 wxPy_BEGIN_ALLOW_THREADS;
676 _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
677
678 wxPy_END_ALLOW_THREADS;
679 } if (_result) {
680 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
681 _resultobj = Py_BuildValue("s",_ptemp);
682 } else {
683 Py_INCREF(Py_None);
684 _resultobj = Py_None;
685 }
686 return _resultobj;
687 }
688
689 #define wxGrid_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
690 static PyObject *_wrap_wxGrid_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
691 PyObject * _resultobj;
692 wxGrid * _arg0;
693 PyObject * _argo0 = 0;
694 char *_kwnames[] = { "self", NULL };
695
696 self = self;
697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_AdjustScrollbars",_kwnames,&_argo0))
698 return NULL;
699 if (_argo0) {
700 if (_argo0 == Py_None) { _arg0 = NULL; }
701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AdjustScrollbars. Expected _wxGrid_p.");
703 return NULL;
704 }
705 }
706 {
707 wxPy_BEGIN_ALLOW_THREADS;
708 wxGrid_AdjustScrollbars(_arg0);
709
710 wxPy_END_ALLOW_THREADS;
711 } Py_INCREF(Py_None);
712 _resultobj = Py_None;
713 return _resultobj;
714 }
715
716 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
717 static PyObject *_wrap_wxGrid_AppendCols(PyObject *self, PyObject *args, PyObject *kwargs) {
718 PyObject * _resultobj;
719 bool _result;
720 wxGrid * _arg0;
721 int _arg1 = (int ) 1;
722 bool _arg2 = (bool ) TRUE;
723 PyObject * _argo0 = 0;
724 int tempbool2 = (int) TRUE;
725 char *_kwnames[] = { "self","n","updateLabels", NULL };
726
727 self = self;
728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendCols",_kwnames,&_argo0,&_arg1,&tempbool2))
729 return NULL;
730 if (_argo0) {
731 if (_argo0 == Py_None) { _arg0 = NULL; }
732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
734 return NULL;
735 }
736 }
737 _arg2 = (bool ) tempbool2;
738 {
739 wxPy_BEGIN_ALLOW_THREADS;
740 _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
741
742 wxPy_END_ALLOW_THREADS;
743 } _resultobj = Py_BuildValue("i",_result);
744 return _resultobj;
745 }
746
747 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
748 static PyObject *_wrap_wxGrid_AppendRows(PyObject *self, PyObject *args, PyObject *kwargs) {
749 PyObject * _resultobj;
750 bool _result;
751 wxGrid * _arg0;
752 int _arg1 = (int ) 1;
753 bool _arg2 = (bool ) TRUE;
754 PyObject * _argo0 = 0;
755 int tempbool2 = (int) TRUE;
756 char *_kwnames[] = { "self","n","updateLabels", NULL };
757
758 self = self;
759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxGrid_AppendRows",_kwnames,&_argo0,&_arg1,&tempbool2))
760 return NULL;
761 if (_argo0) {
762 if (_argo0 == Py_None) { _arg0 = NULL; }
763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
765 return NULL;
766 }
767 }
768 _arg2 = (bool ) tempbool2;
769 {
770 wxPy_BEGIN_ALLOW_THREADS;
771 _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
772
773 wxPy_END_ALLOW_THREADS;
774 } _resultobj = Py_BuildValue("i",_result);
775 return _resultobj;
776 }
777
778 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
779 static PyObject *_wrap_wxGrid_BeginBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
780 PyObject * _resultobj;
781 wxGrid * _arg0;
782 PyObject * _argo0 = 0;
783 char *_kwnames[] = { "self", NULL };
784
785 self = self;
786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_BeginBatch",_kwnames,&_argo0))
787 return NULL;
788 if (_argo0) {
789 if (_argo0 == Py_None) { _arg0 = NULL; }
790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
792 return NULL;
793 }
794 }
795 {
796 wxPy_BEGIN_ALLOW_THREADS;
797 wxGrid_BeginBatch(_arg0);
798
799 wxPy_END_ALLOW_THREADS;
800 } Py_INCREF(Py_None);
801 _resultobj = Py_None;
802 return _resultobj;
803 }
804
805 #define wxGrid_CellHitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CellHitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
806 static PyObject *_wrap_wxGrid_CellHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
807 PyObject * _resultobj;
808 bool _result;
809 wxGrid * _arg0;
810 int _arg1;
811 int _arg2;
812 int * _arg3;
813 int temp;
814 int * _arg4;
815 int temp0;
816 PyObject * _argo0 = 0;
817 char *_kwnames[] = { "self","x","y", NULL };
818
819 self = self;
820 {
821 _arg3 = &temp;
822 }
823 {
824 _arg4 = &temp0;
825 }
826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_CellHitTest",_kwnames,&_argo0,&_arg1,&_arg2))
827 return NULL;
828 if (_argo0) {
829 if (_argo0 == Py_None) { _arg0 = NULL; }
830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CellHitTest. Expected _wxGrid_p.");
832 return NULL;
833 }
834 }
835 {
836 wxPy_BEGIN_ALLOW_THREADS;
837 _result = (bool )wxGrid_CellHitTest(_arg0,_arg1,_arg2,_arg3,_arg4);
838
839 wxPy_END_ALLOW_THREADS;
840 } _resultobj = Py_BuildValue("i",_result);
841 {
842 PyObject *o;
843 o = PyInt_FromLong((long) (*_arg3));
844 _resultobj = t_output_helper(_resultobj, o);
845 }
846 {
847 PyObject *o;
848 o = PyInt_FromLong((long) (*_arg4));
849 _resultobj = t_output_helper(_resultobj, o);
850 }
851 return _resultobj;
852 }
853
854 static bool wxGrid_CreateGrid(wxGrid *self,int rows,int cols,short defaultWidth,short defaultHeight) {
855 return self->CreateGrid(rows, cols, NULL, NULL,
856 defaultWidth, defaultHeight);
857 }
858 static PyObject *_wrap_wxGrid_CreateGrid(PyObject *self, PyObject *args, PyObject *kwargs) {
859 PyObject * _resultobj;
860 bool _result;
861 wxGrid * _arg0;
862 int _arg1;
863 int _arg2;
864 short _arg3 = (short ) wxGRID_DEFAULT_CELL_WIDTH;
865 short _arg4 = (short ) wxGRID_DEFAULT_CELL_HEIGHT;
866 PyObject * _argo0 = 0;
867 char *_kwnames[] = { "self","rows","cols","defaultWidth","defaultHeight", NULL };
868
869 self = self;
870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|hh:wxGrid_CreateGrid",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
871 return NULL;
872 if (_argo0) {
873 if (_argo0 == Py_None) { _arg0 = NULL; }
874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
876 return NULL;
877 }
878 }
879 {
880 wxPy_BEGIN_ALLOW_THREADS;
881 _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3,_arg4);
882
883 wxPy_END_ALLOW_THREADS;
884 } _resultobj = Py_BuildValue("i",_result);
885 return _resultobj;
886 }
887
888 #define wxGrid_CurrentCellVisible(_swigobj) (_swigobj->CurrentCellVisible())
889 static PyObject *_wrap_wxGrid_CurrentCellVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
890 PyObject * _resultobj;
891 bool _result;
892 wxGrid * _arg0;
893 PyObject * _argo0 = 0;
894 char *_kwnames[] = { "self", NULL };
895
896 self = self;
897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_CurrentCellVisible",_kwnames,&_argo0))
898 return NULL;
899 if (_argo0) {
900 if (_argo0 == Py_None) { _arg0 = NULL; }
901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_CurrentCellVisible. Expected _wxGrid_p.");
903 return NULL;
904 }
905 }
906 {
907 wxPy_BEGIN_ALLOW_THREADS;
908 _result = (bool )wxGrid_CurrentCellVisible(_arg0);
909
910 wxPy_END_ALLOW_THREADS;
911 } _resultobj = Py_BuildValue("i",_result);
912 return _resultobj;
913 }
914
915 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
916 static PyObject *_wrap_wxGrid_DeleteCols(PyObject *self, PyObject *args, PyObject *kwargs) {
917 PyObject * _resultobj;
918 bool _result;
919 wxGrid * _arg0;
920 int _arg1 = (int ) 0;
921 int _arg2 = (int ) 1;
922 bool _arg3 = (bool ) TRUE;
923 PyObject * _argo0 = 0;
924 int tempbool3 = (int) TRUE;
925 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
926
927 self = self;
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
929 return NULL;
930 if (_argo0) {
931 if (_argo0 == Py_None) { _arg0 = NULL; }
932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
934 return NULL;
935 }
936 }
937 _arg3 = (bool ) tempbool3;
938 {
939 wxPy_BEGIN_ALLOW_THREADS;
940 _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
941
942 wxPy_END_ALLOW_THREADS;
943 } _resultobj = Py_BuildValue("i",_result);
944 return _resultobj;
945 }
946
947 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
948 static PyObject *_wrap_wxGrid_DeleteRows(PyObject *self, PyObject *args, PyObject *kwargs) {
949 PyObject * _resultobj;
950 bool _result;
951 wxGrid * _arg0;
952 int _arg1 = (int ) 0;
953 int _arg2 = (int ) 1;
954 bool _arg3 = (bool ) TRUE;
955 PyObject * _argo0 = 0;
956 int tempbool3 = (int) TRUE;
957 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
958
959 self = self;
960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_DeleteRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
961 return NULL;
962 if (_argo0) {
963 if (_argo0 == Py_None) { _arg0 = NULL; }
964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
966 return NULL;
967 }
968 }
969 _arg3 = (bool ) tempbool3;
970 {
971 wxPy_BEGIN_ALLOW_THREADS;
972 _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
973
974 wxPy_END_ALLOW_THREADS;
975 } _resultobj = Py_BuildValue("i",_result);
976 return _resultobj;
977 }
978
979 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
980 static PyObject *_wrap_wxGrid_EndBatch(PyObject *self, PyObject *args, PyObject *kwargs) {
981 PyObject * _resultobj;
982 wxGrid * _arg0;
983 PyObject * _argo0 = 0;
984 char *_kwnames[] = { "self", NULL };
985
986 self = self;
987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_EndBatch",_kwnames,&_argo0))
988 return NULL;
989 if (_argo0) {
990 if (_argo0 == Py_None) { _arg0 = NULL; }
991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
993 return NULL;
994 }
995 }
996 {
997 wxPy_BEGIN_ALLOW_THREADS;
998 wxGrid_EndBatch(_arg0);
999
1000 wxPy_END_ALLOW_THREADS;
1001 } Py_INCREF(Py_None);
1002 _resultobj = Py_None;
1003 return _resultobj;
1004 }
1005
1006 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
1007 static PyObject *_wrap_wxGrid_GetBatchCount(PyObject *self, PyObject *args, PyObject *kwargs) {
1008 PyObject * _resultobj;
1009 int _result;
1010 wxGrid * _arg0;
1011 PyObject * _argo0 = 0;
1012 char *_kwnames[] = { "self", NULL };
1013
1014 self = self;
1015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetBatchCount",_kwnames,&_argo0))
1016 return NULL;
1017 if (_argo0) {
1018 if (_argo0 == Py_None) { _arg0 = NULL; }
1019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
1021 return NULL;
1022 }
1023 }
1024 {
1025 wxPy_BEGIN_ALLOW_THREADS;
1026 _result = (int )wxGrid_GetBatchCount(_arg0);
1027
1028 wxPy_END_ALLOW_THREADS;
1029 } _resultobj = Py_BuildValue("i",_result);
1030 return _resultobj;
1031 }
1032
1033 #define wxGrid_GetCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCell(_swigarg0,_swigarg1))
1034 static PyObject *_wrap_wxGrid_GetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
1035 PyObject * _resultobj;
1036 wxGridCell * _result;
1037 wxGrid * _arg0;
1038 int _arg1;
1039 int _arg2;
1040 PyObject * _argo0 = 0;
1041 char *_kwnames[] = { "self","row","col", NULL };
1042 char _ptemp[128];
1043
1044 self = self;
1045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCell",_kwnames,&_argo0,&_arg1,&_arg2))
1046 return NULL;
1047 if (_argo0) {
1048 if (_argo0 == Py_None) { _arg0 = NULL; }
1049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCell. Expected _wxGrid_p.");
1051 return NULL;
1052 }
1053 }
1054 {
1055 wxPy_BEGIN_ALLOW_THREADS;
1056 _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2);
1057
1058 wxPy_END_ALLOW_THREADS;
1059 } if (_result) {
1060 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
1061 _resultobj = Py_BuildValue("s",_ptemp);
1062 } else {
1063 Py_INCREF(Py_None);
1064 _resultobj = Py_None;
1065 }
1066 return _resultobj;
1067 }
1068
1069 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1))
1070 static PyObject *_wrap_wxGrid_GetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1071 PyObject * _resultobj;
1072 int _result;
1073 wxGrid * _arg0;
1074 int _arg1;
1075 int _arg2;
1076 PyObject * _argo0 = 0;
1077 char *_kwnames[] = { "self","row","col", NULL };
1078
1079 self = self;
1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
1081 return NULL;
1082 if (_argo0) {
1083 if (_argo0 == Py_None) { _arg0 = NULL; }
1084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
1086 return NULL;
1087 }
1088 }
1089 {
1090 wxPy_BEGIN_ALLOW_THREADS;
1091 _result = (int )wxGrid_GetCellAlignment(_arg0,_arg1,_arg2);
1092
1093 wxPy_END_ALLOW_THREADS;
1094 } _resultobj = Py_BuildValue("i",_result);
1095 return _resultobj;
1096 }
1097
1098 #define wxGrid_GetDefCellAlignment(_swigobj) (_swigobj->GetCellAlignment())
1099 static PyObject *_wrap_wxGrid_GetDefCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1100 PyObject * _resultobj;
1101 int _result;
1102 wxGrid * _arg0;
1103 PyObject * _argo0 = 0;
1104 char *_kwnames[] = { "self", NULL };
1105
1106 self = self;
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellAlignment",_kwnames,&_argo0))
1108 return NULL;
1109 if (_argo0) {
1110 if (_argo0 == Py_None) { _arg0 = NULL; }
1111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellAlignment. Expected _wxGrid_p.");
1113 return NULL;
1114 }
1115 }
1116 {
1117 wxPy_BEGIN_ALLOW_THREADS;
1118 _result = (int )wxGrid_GetDefCellAlignment(_arg0);
1119
1120 wxPy_END_ALLOW_THREADS;
1121 } _resultobj = Py_BuildValue("i",_result);
1122 return _resultobj;
1123 }
1124
1125 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
1126 static PyObject *_wrap_wxGrid_GetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject * _resultobj;
1128 wxColour * _result;
1129 wxGrid * _arg0;
1130 int _arg1;
1131 int _arg2;
1132 PyObject * _argo0 = 0;
1133 char *_kwnames[] = { "self","row","col", NULL };
1134 char _ptemp[128];
1135
1136 self = self;
1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellBackgroundColour",_kwnames,&_argo0,&_arg1,&_arg2))
1138 return NULL;
1139 if (_argo0) {
1140 if (_argo0 == Py_None) { _arg0 = NULL; }
1141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
1143 return NULL;
1144 }
1145 }
1146 {
1147 wxPy_BEGIN_ALLOW_THREADS;
1148 wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2);
1149 _result = (wxColour *) &_result_ref;
1150
1151 wxPy_END_ALLOW_THREADS;
1152 } if (_result) {
1153 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1154 _resultobj = Py_BuildValue("s",_ptemp);
1155 } else {
1156 Py_INCREF(Py_None);
1157 _resultobj = Py_None;
1158 }
1159 return _resultobj;
1160 }
1161
1162 #define wxGrid_GetDefCellBackgroundColour(_swigobj) (_swigobj->GetCellBackgroundColour())
1163 static PyObject *_wrap_wxGrid_GetDefCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject * _resultobj;
1165 wxColour * _result;
1166 wxGrid * _arg0;
1167 PyObject * _argo0 = 0;
1168 char *_kwnames[] = { "self", NULL };
1169 char _ptemp[128];
1170
1171 self = self;
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellBackgroundColour",_kwnames,&_argo0))
1173 return NULL;
1174 if (_argo0) {
1175 if (_argo0 == Py_None) { _arg0 = NULL; }
1176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellBackgroundColour. Expected _wxGrid_p.");
1178 return NULL;
1179 }
1180 }
1181 {
1182 wxPy_BEGIN_ALLOW_THREADS;
1183 wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0);
1184 _result = (wxColour *) &_result_ref;
1185
1186 wxPy_END_ALLOW_THREADS;
1187 } if (_result) {
1188 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1189 _resultobj = Py_BuildValue("s",_ptemp);
1190 } else {
1191 Py_INCREF(Py_None);
1192 _resultobj = Py_None;
1193 }
1194 return _resultobj;
1195 }
1196
1197 static PyObject * wxGrid_GetCells(wxGrid *self) {
1198 int row, col;
1199 PyObject* rows = PyList_New(0);
1200 for (row=0; row < self->GetRows(); row++) {
1201 PyObject* rowList = PyList_New(0);
1202 for (col=0; col < self->GetCols(); col++) {
1203 wxGridCell* cell = self->GetCell(row, col);
1204
1205 bool doSave = wxPyRestoreThread();
1206 PyObject* pyCell = wxPyConstructObject(cell, "wxGridCell");
1207 wxPySaveThread(doSave);
1208
1209 if (PyList_Append(rowList, pyCell) == -1)
1210 return NULL;
1211 }
1212 if (PyList_Append(rows, rowList) == -1)
1213 return NULL;
1214 }
1215 return rows;
1216 }
1217 static PyObject *_wrap_wxGrid_GetCells(PyObject *self, PyObject *args, PyObject *kwargs) {
1218 PyObject * _resultobj;
1219 PyObject * _result;
1220 wxGrid * _arg0;
1221 PyObject * _argo0 = 0;
1222 char *_kwnames[] = { "self", NULL };
1223
1224 self = self;
1225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCells",_kwnames,&_argo0))
1226 return NULL;
1227 if (_argo0) {
1228 if (_argo0 == Py_None) { _arg0 = NULL; }
1229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCells. Expected _wxGrid_p.");
1231 return NULL;
1232 }
1233 }
1234 {
1235 wxPy_BEGIN_ALLOW_THREADS;
1236 _result = (PyObject *)wxGrid_GetCells(_arg0);
1237
1238 wxPy_END_ALLOW_THREADS;
1239 }{
1240 _resultobj = _result;
1241 }
1242 return _resultobj;
1243 }
1244
1245 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
1246 static PyObject *_wrap_wxGrid_GetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1247 PyObject * _resultobj;
1248 wxColour * _result;
1249 wxGrid * _arg0;
1250 int _arg1;
1251 int _arg2;
1252 PyObject * _argo0 = 0;
1253 char *_kwnames[] = { "self","row","col", NULL };
1254 char _ptemp[128];
1255
1256 self = self;
1257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextColour",_kwnames,&_argo0,&_arg1,&_arg2))
1258 return NULL;
1259 if (_argo0) {
1260 if (_argo0 == Py_None) { _arg0 = NULL; }
1261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
1263 return NULL;
1264 }
1265 }
1266 {
1267 wxPy_BEGIN_ALLOW_THREADS;
1268 wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2);
1269 _result = (wxColour *) &_result_ref;
1270
1271 wxPy_END_ALLOW_THREADS;
1272 } if (_result) {
1273 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1274 _resultobj = Py_BuildValue("s",_ptemp);
1275 } else {
1276 Py_INCREF(Py_None);
1277 _resultobj = Py_None;
1278 }
1279 return _resultobj;
1280 }
1281
1282 #define wxGrid_GetDefCellTextColour(_swigobj) (_swigobj->GetCellTextColour())
1283 static PyObject *_wrap_wxGrid_GetDefCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1284 PyObject * _resultobj;
1285 wxColour * _result;
1286 wxGrid * _arg0;
1287 PyObject * _argo0 = 0;
1288 char *_kwnames[] = { "self", NULL };
1289 char _ptemp[128];
1290
1291 self = self;
1292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellTextColour",_kwnames,&_argo0))
1293 return NULL;
1294 if (_argo0) {
1295 if (_argo0 == Py_None) { _arg0 = NULL; }
1296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextColour. Expected _wxGrid_p.");
1298 return NULL;
1299 }
1300 }
1301 {
1302 wxPy_BEGIN_ALLOW_THREADS;
1303 wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0);
1304 _result = (wxColour *) &_result_ref;
1305
1306 wxPy_END_ALLOW_THREADS;
1307 } if (_result) {
1308 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1309 _resultobj = Py_BuildValue("s",_ptemp);
1310 } else {
1311 Py_INCREF(Py_None);
1312 _resultobj = Py_None;
1313 }
1314 return _resultobj;
1315 }
1316
1317 #define wxGrid_GetCellTextFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextFont(_swigarg0,_swigarg1))
1318 static PyObject *_wrap_wxGrid_GetCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject * _resultobj;
1320 wxFont * _result;
1321 wxGrid * _arg0;
1322 int _arg1;
1323 int _arg2;
1324 PyObject * _argo0 = 0;
1325 char *_kwnames[] = { "self","row","col", NULL };
1326 char _ptemp[128];
1327
1328 self = self;
1329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellTextFont",_kwnames,&_argo0,&_arg1,&_arg2))
1330 return NULL;
1331 if (_argo0) {
1332 if (_argo0 == Py_None) { _arg0 = NULL; }
1333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellTextFont. Expected _wxGrid_p.");
1335 return NULL;
1336 }
1337 }
1338 {
1339 wxPy_BEGIN_ALLOW_THREADS;
1340 wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
1341 _result = (wxFont *) &_result_ref;
1342
1343 wxPy_END_ALLOW_THREADS;
1344 } if (_result) {
1345 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1346 _resultobj = Py_BuildValue("s",_ptemp);
1347 } else {
1348 Py_INCREF(Py_None);
1349 _resultobj = Py_None;
1350 }
1351 return _resultobj;
1352 }
1353
1354 #define wxGrid_GetDefCellTextFont(_swigobj) (_swigobj->GetCellTextFont())
1355 static PyObject *_wrap_wxGrid_GetDefCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject * _resultobj;
1357 wxFont * _result;
1358 wxGrid * _arg0;
1359 PyObject * _argo0 = 0;
1360 char *_kwnames[] = { "self", NULL };
1361 char _ptemp[128];
1362
1363 self = self;
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetDefCellTextFont",_kwnames,&_argo0))
1365 return NULL;
1366 if (_argo0) {
1367 if (_argo0 == Py_None) { _arg0 = NULL; }
1368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetDefCellTextFont. Expected _wxGrid_p.");
1370 return NULL;
1371 }
1372 }
1373 {
1374 wxPy_BEGIN_ALLOW_THREADS;
1375 wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
1376 _result = (wxFont *) &_result_ref;
1377
1378 wxPy_END_ALLOW_THREADS;
1379 } if (_result) {
1380 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1381 _resultobj = Py_BuildValue("s",_ptemp);
1382 } else {
1383 Py_INCREF(Py_None);
1384 _resultobj = Py_None;
1385 }
1386 return _resultobj;
1387 }
1388
1389 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
1390 static PyObject *_wrap_wxGrid_GetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject * _resultobj;
1392 wxString * _result;
1393 wxGrid * _arg0;
1394 int _arg1;
1395 int _arg2;
1396 PyObject * _argo0 = 0;
1397 char *_kwnames[] = { "self","row","col", NULL };
1398
1399 self = self;
1400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetCellValue",_kwnames,&_argo0,&_arg1,&_arg2))
1401 return NULL;
1402 if (_argo0) {
1403 if (_argo0 == Py_None) { _arg0 = NULL; }
1404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
1406 return NULL;
1407 }
1408 }
1409 {
1410 wxPy_BEGIN_ALLOW_THREADS;
1411 wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2);
1412 _result = (wxString *) &_result_ref;
1413
1414 wxPy_END_ALLOW_THREADS;
1415 }{
1416 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1417 }
1418 return _resultobj;
1419 }
1420
1421 #define wxGrid_GetCols(_swigobj) (_swigobj->GetCols())
1422 static PyObject *_wrap_wxGrid_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject * _resultobj;
1424 int _result;
1425 wxGrid * _arg0;
1426 PyObject * _argo0 = 0;
1427 char *_kwnames[] = { "self", NULL };
1428
1429 self = self;
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCols",_kwnames,&_argo0))
1431 return NULL;
1432 if (_argo0) {
1433 if (_argo0 == Py_None) { _arg0 = NULL; }
1434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCols. Expected _wxGrid_p.");
1436 return NULL;
1437 }
1438 }
1439 {
1440 wxPy_BEGIN_ALLOW_THREADS;
1441 _result = (int )wxGrid_GetCols(_arg0);
1442
1443 wxPy_END_ALLOW_THREADS;
1444 } _resultobj = Py_BuildValue("i",_result);
1445 return _resultobj;
1446 }
1447
1448 #define wxGrid_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1449 static PyObject *_wrap_wxGrid_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject * _resultobj;
1451 int _result;
1452 wxGrid * _arg0;
1453 int _arg1;
1454 PyObject * _argo0 = 0;
1455 char *_kwnames[] = { "self","col", NULL };
1456
1457 self = self;
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetColumnWidth",_kwnames,&_argo0,&_arg1))
1459 return NULL;
1460 if (_argo0) {
1461 if (_argo0 == Py_None) { _arg0 = NULL; }
1462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetColumnWidth. Expected _wxGrid_p.");
1464 return NULL;
1465 }
1466 }
1467 {
1468 wxPy_BEGIN_ALLOW_THREADS;
1469 _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1);
1470
1471 wxPy_END_ALLOW_THREADS;
1472 } _resultobj = Py_BuildValue("i",_result);
1473 return _resultobj;
1474 }
1475
1476 #define wxGrid_GetCurrentRect(_swigobj) (_swigobj->GetCurrentRect())
1477 static PyObject *_wrap_wxGrid_GetCurrentRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject * _resultobj;
1479 wxRect * _result;
1480 wxGrid * _arg0;
1481 PyObject * _argo0 = 0;
1482 char *_kwnames[] = { "self", NULL };
1483 char _ptemp[128];
1484
1485 self = self;
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCurrentRect",_kwnames,&_argo0))
1487 return NULL;
1488 if (_argo0) {
1489 if (_argo0 == Py_None) { _arg0 = NULL; }
1490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCurrentRect. Expected _wxGrid_p.");
1492 return NULL;
1493 }
1494 }
1495 {
1496 wxPy_BEGIN_ALLOW_THREADS;
1497 _result = new wxRect (wxGrid_GetCurrentRect(_arg0));
1498
1499 wxPy_END_ALLOW_THREADS;
1500 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
1501 _resultobj = Py_BuildValue("s",_ptemp);
1502 return _resultobj;
1503 }
1504
1505 #define wxGrid_GetCursorColumn(_swigobj) (_swigobj->GetCursorColumn())
1506 static PyObject *_wrap_wxGrid_GetCursorColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
1507 PyObject * _resultobj;
1508 int _result;
1509 wxGrid * _arg0;
1510 PyObject * _argo0 = 0;
1511 char *_kwnames[] = { "self", NULL };
1512
1513 self = self;
1514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCursorColumn",_kwnames,&_argo0))
1515 return NULL;
1516 if (_argo0) {
1517 if (_argo0 == Py_None) { _arg0 = NULL; }
1518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorColumn. Expected _wxGrid_p.");
1520 return NULL;
1521 }
1522 }
1523 {
1524 wxPy_BEGIN_ALLOW_THREADS;
1525 _result = (int )wxGrid_GetCursorColumn(_arg0);
1526
1527 wxPy_END_ALLOW_THREADS;
1528 } _resultobj = Py_BuildValue("i",_result);
1529 return _resultobj;
1530 }
1531
1532 #define wxGrid_GetCursorRow(_swigobj) (_swigobj->GetCursorRow())
1533 static PyObject *_wrap_wxGrid_GetCursorRow(PyObject *self, PyObject *args, PyObject *kwargs) {
1534 PyObject * _resultobj;
1535 int _result;
1536 wxGrid * _arg0;
1537 PyObject * _argo0 = 0;
1538 char *_kwnames[] = { "self", NULL };
1539
1540 self = self;
1541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetCursorRow",_kwnames,&_argo0))
1542 return NULL;
1543 if (_argo0) {
1544 if (_argo0 == Py_None) { _arg0 = NULL; }
1545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetCursorRow. Expected _wxGrid_p.");
1547 return NULL;
1548 }
1549 }
1550 {
1551 wxPy_BEGIN_ALLOW_THREADS;
1552 _result = (int )wxGrid_GetCursorRow(_arg0);
1553
1554 wxPy_END_ALLOW_THREADS;
1555 } _resultobj = Py_BuildValue("i",_result);
1556 return _resultobj;
1557 }
1558
1559 #define wxGrid_GetEditable(_swigobj) (_swigobj->GetEditable())
1560 static PyObject *_wrap_wxGrid_GetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject * _resultobj;
1562 bool _result;
1563 wxGrid * _arg0;
1564 PyObject * _argo0 = 0;
1565 char *_kwnames[] = { "self", NULL };
1566
1567 self = self;
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetEditable",_kwnames,&_argo0))
1569 return NULL;
1570 if (_argo0) {
1571 if (_argo0 == Py_None) { _arg0 = NULL; }
1572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditable. Expected _wxGrid_p.");
1574 return NULL;
1575 }
1576 }
1577 {
1578 wxPy_BEGIN_ALLOW_THREADS;
1579 _result = (bool )wxGrid_GetEditable(_arg0);
1580
1581 wxPy_END_ALLOW_THREADS;
1582 } _resultobj = Py_BuildValue("i",_result);
1583 return _resultobj;
1584 }
1585
1586 #define wxGrid_GetHorizScrollBar(_swigobj) (_swigobj->GetHorizScrollBar())
1587 static PyObject *_wrap_wxGrid_GetHorizScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject * _resultobj;
1589 wxScrollBar * _result;
1590 wxGrid * _arg0;
1591 PyObject * _argo0 = 0;
1592 char *_kwnames[] = { "self", NULL };
1593 char _ptemp[128];
1594
1595 self = self;
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetHorizScrollBar",_kwnames,&_argo0))
1597 return NULL;
1598 if (_argo0) {
1599 if (_argo0 == Py_None) { _arg0 = NULL; }
1600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetHorizScrollBar. Expected _wxGrid_p.");
1602 return NULL;
1603 }
1604 }
1605 {
1606 wxPy_BEGIN_ALLOW_THREADS;
1607 _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0);
1608
1609 wxPy_END_ALLOW_THREADS;
1610 } if (_result) {
1611 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
1612 _resultobj = Py_BuildValue("s",_ptemp);
1613 } else {
1614 Py_INCREF(Py_None);
1615 _resultobj = Py_None;
1616 }
1617 return _resultobj;
1618 }
1619
1620 #define wxGrid_GetLabelAlignment(_swigobj,_swigarg0) (_swigobj->GetLabelAlignment(_swigarg0))
1621 static PyObject *_wrap_wxGrid_GetLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1622 PyObject * _resultobj;
1623 int _result;
1624 wxGrid * _arg0;
1625 int _arg1;
1626 PyObject * _argo0 = 0;
1627 char *_kwnames[] = { "self","orientation", NULL };
1628
1629 self = self;
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetLabelAlignment",_kwnames,&_argo0,&_arg1))
1631 return NULL;
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelAlignment. Expected _wxGrid_p.");
1636 return NULL;
1637 }
1638 }
1639 {
1640 wxPy_BEGIN_ALLOW_THREADS;
1641 _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1);
1642
1643 wxPy_END_ALLOW_THREADS;
1644 } _resultobj = Py_BuildValue("i",_result);
1645 return _resultobj;
1646 }
1647
1648 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
1649 static PyObject *_wrap_wxGrid_GetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject * _resultobj;
1651 wxColour * _result;
1652 wxGrid * _arg0;
1653 PyObject * _argo0 = 0;
1654 char *_kwnames[] = { "self", NULL };
1655 char _ptemp[128];
1656
1657 self = self;
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelBackgroundColour",_kwnames,&_argo0))
1659 return NULL;
1660 if (_argo0) {
1661 if (_argo0 == Py_None) { _arg0 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
1664 return NULL;
1665 }
1666 }
1667 {
1668 wxPy_BEGIN_ALLOW_THREADS;
1669 wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0);
1670 _result = (wxColour *) &_result_ref;
1671
1672 wxPy_END_ALLOW_THREADS;
1673 } if (_result) {
1674 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1675 _resultobj = Py_BuildValue("s",_ptemp);
1676 } else {
1677 Py_INCREF(Py_None);
1678 _resultobj = Py_None;
1679 }
1680 return _resultobj;
1681 }
1682
1683 #define wxGrid_GetLabelSize(_swigobj,_swigarg0) (_swigobj->GetLabelSize(_swigarg0))
1684 static PyObject *_wrap_wxGrid_GetLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject * _resultobj;
1686 int _result;
1687 wxGrid * _arg0;
1688 int _arg1;
1689 PyObject * _argo0 = 0;
1690 char *_kwnames[] = { "self","orientation", NULL };
1691
1692 self = self;
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetLabelSize",_kwnames,&_argo0,&_arg1))
1694 return NULL;
1695 if (_argo0) {
1696 if (_argo0 == Py_None) { _arg0 = NULL; }
1697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelSize. Expected _wxGrid_p.");
1699 return NULL;
1700 }
1701 }
1702 {
1703 wxPy_BEGIN_ALLOW_THREADS;
1704 _result = (int )wxGrid_GetLabelSize(_arg0,_arg1);
1705
1706 wxPy_END_ALLOW_THREADS;
1707 } _resultobj = Py_BuildValue("i",_result);
1708 return _resultobj;
1709 }
1710
1711 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
1712 static PyObject *_wrap_wxGrid_GetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject * _resultobj;
1714 wxColour * _result;
1715 wxGrid * _arg0;
1716 PyObject * _argo0 = 0;
1717 char *_kwnames[] = { "self", NULL };
1718 char _ptemp[128];
1719
1720 self = self;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextColour",_kwnames,&_argo0))
1722 return NULL;
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
1727 return NULL;
1728 }
1729 }
1730 {
1731 wxPy_BEGIN_ALLOW_THREADS;
1732 wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0);
1733 _result = (wxColour *) &_result_ref;
1734
1735 wxPy_END_ALLOW_THREADS;
1736 } if (_result) {
1737 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1738 _resultobj = Py_BuildValue("s",_ptemp);
1739 } else {
1740 Py_INCREF(Py_None);
1741 _resultobj = Py_None;
1742 }
1743 return _resultobj;
1744 }
1745
1746 #define wxGrid_GetLabelTextFont(_swigobj) (_swigobj->GetLabelTextFont())
1747 static PyObject *_wrap_wxGrid_GetLabelTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject * _resultobj;
1749 wxFont * _result;
1750 wxGrid * _arg0;
1751 PyObject * _argo0 = 0;
1752 char *_kwnames[] = { "self", NULL };
1753 char _ptemp[128];
1754
1755 self = self;
1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetLabelTextFont",_kwnames,&_argo0))
1757 return NULL;
1758 if (_argo0) {
1759 if (_argo0 == Py_None) { _arg0 = NULL; }
1760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelTextFont. Expected _wxGrid_p.");
1762 return NULL;
1763 }
1764 }
1765 {
1766 wxPy_BEGIN_ALLOW_THREADS;
1767 wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
1768 _result = (wxFont *) &_result_ref;
1769
1770 wxPy_END_ALLOW_THREADS;
1771 } if (_result) {
1772 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1773 _resultobj = Py_BuildValue("s",_ptemp);
1774 } else {
1775 Py_INCREF(Py_None);
1776 _resultobj = Py_None;
1777 }
1778 return _resultobj;
1779 }
1780
1781 #define wxGrid_GetLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLabelValue(_swigarg0,_swigarg1))
1782 static PyObject *_wrap_wxGrid_GetLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject * _resultobj;
1784 wxString * _result;
1785 wxGrid * _arg0;
1786 int _arg1;
1787 int _arg2;
1788 PyObject * _argo0 = 0;
1789 char *_kwnames[] = { "self","orientation","pos", NULL };
1790
1791 self = self;
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_GetLabelValue",_kwnames,&_argo0,&_arg1,&_arg2))
1793 return NULL;
1794 if (_argo0) {
1795 if (_argo0 == Py_None) { _arg0 = NULL; }
1796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetLabelValue. Expected _wxGrid_p.");
1798 return NULL;
1799 }
1800 }
1801 {
1802 wxPy_BEGIN_ALLOW_THREADS;
1803 wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2);
1804 _result = (wxString *) &_result_ref;
1805
1806 wxPy_END_ALLOW_THREADS;
1807 }{
1808 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1809 }
1810 return _resultobj;
1811 }
1812
1813 #define wxGrid_GetRowHeight(_swigobj,_swigarg0) (_swigobj->GetRowHeight(_swigarg0))
1814 static PyObject *_wrap_wxGrid_GetRowHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject * _resultobj;
1816 int _result;
1817 wxGrid * _arg0;
1818 int _arg1;
1819 PyObject * _argo0 = 0;
1820 char *_kwnames[] = { "self","row", NULL };
1821
1822 self = self;
1823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_GetRowHeight",_kwnames,&_argo0,&_arg1))
1824 return NULL;
1825 if (_argo0) {
1826 if (_argo0 == Py_None) { _arg0 = NULL; }
1827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRowHeight. Expected _wxGrid_p.");
1829 return NULL;
1830 }
1831 }
1832 {
1833 wxPy_BEGIN_ALLOW_THREADS;
1834 _result = (int )wxGrid_GetRowHeight(_arg0,_arg1);
1835
1836 wxPy_END_ALLOW_THREADS;
1837 } _resultobj = Py_BuildValue("i",_result);
1838 return _resultobj;
1839 }
1840
1841 #define wxGrid_GetRows(_swigobj) (_swigobj->GetRows())
1842 static PyObject *_wrap_wxGrid_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject * _resultobj;
1844 int _result;
1845 wxGrid * _arg0;
1846 PyObject * _argo0 = 0;
1847 char *_kwnames[] = { "self", NULL };
1848
1849 self = self;
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetRows",_kwnames,&_argo0))
1851 return NULL;
1852 if (_argo0) {
1853 if (_argo0 == Py_None) { _arg0 = NULL; }
1854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetRows. Expected _wxGrid_p.");
1856 return NULL;
1857 }
1858 }
1859 {
1860 wxPy_BEGIN_ALLOW_THREADS;
1861 _result = (int )wxGrid_GetRows(_arg0);
1862
1863 wxPy_END_ALLOW_THREADS;
1864 } _resultobj = Py_BuildValue("i",_result);
1865 return _resultobj;
1866 }
1867
1868 #define wxGrid_GetScrollPosX(_swigobj) (_swigobj->GetScrollPosX())
1869 static PyObject *_wrap_wxGrid_GetScrollPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject * _resultobj;
1871 int _result;
1872 wxGrid * _arg0;
1873 PyObject * _argo0 = 0;
1874 char *_kwnames[] = { "self", NULL };
1875
1876 self = self;
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetScrollPosX",_kwnames,&_argo0))
1878 return NULL;
1879 if (_argo0) {
1880 if (_argo0 == Py_None) { _arg0 = NULL; }
1881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosX. Expected _wxGrid_p.");
1883 return NULL;
1884 }
1885 }
1886 {
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 _result = (int )wxGrid_GetScrollPosX(_arg0);
1889
1890 wxPy_END_ALLOW_THREADS;
1891 } _resultobj = Py_BuildValue("i",_result);
1892 return _resultobj;
1893 }
1894
1895 #define wxGrid_GetScrollPosY(_swigobj) (_swigobj->GetScrollPosY())
1896 static PyObject *_wrap_wxGrid_GetScrollPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
1897 PyObject * _resultobj;
1898 int _result;
1899 wxGrid * _arg0;
1900 PyObject * _argo0 = 0;
1901 char *_kwnames[] = { "self", NULL };
1902
1903 self = self;
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetScrollPosY",_kwnames,&_argo0))
1905 return NULL;
1906 if (_argo0) {
1907 if (_argo0 == Py_None) { _arg0 = NULL; }
1908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetScrollPosY. Expected _wxGrid_p.");
1910 return NULL;
1911 }
1912 }
1913 {
1914 wxPy_BEGIN_ALLOW_THREADS;
1915 _result = (int )wxGrid_GetScrollPosY(_arg0);
1916
1917 wxPy_END_ALLOW_THREADS;
1918 } _resultobj = Py_BuildValue("i",_result);
1919 return _resultobj;
1920 }
1921
1922 #define wxGrid_GetTextItem(_swigobj) (_swigobj->GetTextItem())
1923 static PyObject *_wrap_wxGrid_GetTextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject * _resultobj;
1925 wxTextCtrl * _result;
1926 wxGrid * _arg0;
1927 PyObject * _argo0 = 0;
1928 char *_kwnames[] = { "self", NULL };
1929 char _ptemp[128];
1930
1931 self = self;
1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetTextItem",_kwnames,&_argo0))
1933 return NULL;
1934 if (_argo0) {
1935 if (_argo0 == Py_None) { _arg0 = NULL; }
1936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetTextItem. Expected _wxGrid_p.");
1938 return NULL;
1939 }
1940 }
1941 {
1942 wxPy_BEGIN_ALLOW_THREADS;
1943 _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0);
1944
1945 wxPy_END_ALLOW_THREADS;
1946 } if (_result) {
1947 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
1948 _resultobj = Py_BuildValue("s",_ptemp);
1949 } else {
1950 Py_INCREF(Py_None);
1951 _resultobj = Py_None;
1952 }
1953 return _resultobj;
1954 }
1955
1956 #define wxGrid_GetVertScrollBar(_swigobj) (_swigobj->GetVertScrollBar())
1957 static PyObject *_wrap_wxGrid_GetVertScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1958 PyObject * _resultobj;
1959 wxScrollBar * _result;
1960 wxGrid * _arg0;
1961 PyObject * _argo0 = 0;
1962 char *_kwnames[] = { "self", NULL };
1963 char _ptemp[128];
1964
1965 self = self;
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetVertScrollBar",_kwnames,&_argo0))
1967 return NULL;
1968 if (_argo0) {
1969 if (_argo0 == Py_None) { _arg0 = NULL; }
1970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
1971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetVertScrollBar. Expected _wxGrid_p.");
1972 return NULL;
1973 }
1974 }
1975 {
1976 wxPy_BEGIN_ALLOW_THREADS;
1977 _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0);
1978
1979 wxPy_END_ALLOW_THREADS;
1980 } if (_result) {
1981 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
1982 _resultobj = Py_BuildValue("s",_ptemp);
1983 } else {
1984 Py_INCREF(Py_None);
1985 _resultobj = Py_None;
1986 }
1987 return _resultobj;
1988 }
1989
1990 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
1991 static PyObject *_wrap_wxGrid_InsertCols(PyObject *self, PyObject *args, PyObject *kwargs) {
1992 PyObject * _resultobj;
1993 bool _result;
1994 wxGrid * _arg0;
1995 int _arg1 = (int ) 0;
1996 int _arg2 = (int ) 1;
1997 bool _arg3 = (bool ) TRUE;
1998 PyObject * _argo0 = 0;
1999 int tempbool3 = (int) TRUE;
2000 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
2001
2002 self = self;
2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertCols",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
2004 return NULL;
2005 if (_argo0) {
2006 if (_argo0 == Py_None) { _arg0 = NULL; }
2007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
2009 return NULL;
2010 }
2011 }
2012 _arg3 = (bool ) tempbool3;
2013 {
2014 wxPy_BEGIN_ALLOW_THREADS;
2015 _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
2016
2017 wxPy_END_ALLOW_THREADS;
2018 } _resultobj = Py_BuildValue("i",_result);
2019 return _resultobj;
2020 }
2021
2022 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
2023 static PyObject *_wrap_wxGrid_InsertRows(PyObject *self, PyObject *args, PyObject *kwargs) {
2024 PyObject * _resultobj;
2025 bool _result;
2026 wxGrid * _arg0;
2027 int _arg1 = (int ) 0;
2028 int _arg2 = (int ) 1;
2029 bool _arg3 = (bool ) TRUE;
2030 PyObject * _argo0 = 0;
2031 int tempbool3 = (int) TRUE;
2032 char *_kwnames[] = { "self","pos","n","updateLabels", NULL };
2033
2034 self = self;
2035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iii:wxGrid_InsertRows",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
2036 return NULL;
2037 if (_argo0) {
2038 if (_argo0 == Py_None) { _arg0 = NULL; }
2039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
2041 return NULL;
2042 }
2043 }
2044 _arg3 = (bool ) tempbool3;
2045 {
2046 wxPy_BEGIN_ALLOW_THREADS;
2047 _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
2048
2049 wxPy_END_ALLOW_THREADS;
2050 } _resultobj = Py_BuildValue("i",_result);
2051 return _resultobj;
2052 }
2053
2054 #define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
2055 static PyObject *_wrap_wxGrid_OnActivate(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject * _resultobj;
2057 wxGrid * _arg0;
2058 bool _arg1;
2059 PyObject * _argo0 = 0;
2060 int tempbool1;
2061 char *_kwnames[] = { "self","active", NULL };
2062
2063 self = self;
2064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_OnActivate",_kwnames,&_argo0,&tempbool1))
2065 return NULL;
2066 if (_argo0) {
2067 if (_argo0 == Py_None) { _arg0 = NULL; }
2068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
2070 return NULL;
2071 }
2072 }
2073 _arg1 = (bool ) tempbool1;
2074 {
2075 wxPy_BEGIN_ALLOW_THREADS;
2076 wxGrid_OnActivate(_arg0,_arg1);
2077
2078 wxPy_END_ALLOW_THREADS;
2079 } Py_INCREF(Py_None);
2080 _resultobj = Py_None;
2081 return _resultobj;
2082 }
2083
2084 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
2085 static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
2086 PyObject * _resultobj;
2087 wxGrid * _arg0;
2088 int _arg1;
2089 int _arg2;
2090 int _arg3;
2091 PyObject * _argo0 = 0;
2092 char *_kwnames[] = { "self","alignment","row","col", NULL };
2093
2094 self = self;
2095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxGrid_SetCellAlignment",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2096 return NULL;
2097 if (_argo0) {
2098 if (_argo0 == Py_None) { _arg0 = NULL; }
2099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
2101 return NULL;
2102 }
2103 }
2104 {
2105 wxPy_BEGIN_ALLOW_THREADS;
2106 wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3);
2107
2108 wxPy_END_ALLOW_THREADS;
2109 } Py_INCREF(Py_None);
2110 _resultobj = Py_None;
2111 return _resultobj;
2112 }
2113
2114 #define wxGrid_SetDefCellAlignment(_swigobj,_swigarg0) (_swigobj->SetCellAlignment(_swigarg0))
2115 static PyObject *_wrap_wxGrid_SetDefCellAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
2116 PyObject * _resultobj;
2117 wxGrid * _arg0;
2118 int _arg1;
2119 PyObject * _argo0 = 0;
2120 char *_kwnames[] = { "self","alignment", NULL };
2121
2122 self = self;
2123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetDefCellAlignment",_kwnames,&_argo0,&_arg1))
2124 return NULL;
2125 if (_argo0) {
2126 if (_argo0 == Py_None) { _arg0 = NULL; }
2127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellAlignment. Expected _wxGrid_p.");
2129 return NULL;
2130 }
2131 }
2132 {
2133 wxPy_BEGIN_ALLOW_THREADS;
2134 wxGrid_SetDefCellAlignment(_arg0,_arg1);
2135
2136 wxPy_END_ALLOW_THREADS;
2137 } Py_INCREF(Py_None);
2138 _resultobj = Py_None;
2139 return _resultobj;
2140 }
2141
2142 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
2143 static PyObject *_wrap_wxGrid_SetCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2144 PyObject * _resultobj;
2145 wxGrid * _arg0;
2146 wxColour * _arg1;
2147 int _arg2;
2148 int _arg3;
2149 PyObject * _argo0 = 0;
2150 PyObject * _argo1 = 0;
2151 char *_kwnames[] = { "self","colour","row","col", NULL };
2152
2153 self = self;
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellBackgroundColour",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2155 return NULL;
2156 if (_argo0) {
2157 if (_argo0 == Py_None) { _arg0 = NULL; }
2158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
2160 return NULL;
2161 }
2162 }
2163 if (_argo1) {
2164 if (_argo1 == Py_None) { _arg1 = NULL; }
2165 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2166 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellBackgroundColour. Expected _wxColour_p.");
2167 return NULL;
2168 }
2169 }
2170 {
2171 wxPy_BEGIN_ALLOW_THREADS;
2172 wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3);
2173
2174 wxPy_END_ALLOW_THREADS;
2175 } Py_INCREF(Py_None);
2176 _resultobj = Py_None;
2177 return _resultobj;
2178 }
2179
2180 #define wxGrid_SetDefCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetCellBackgroundColour(_swigarg0))
2181 static PyObject *_wrap_wxGrid_SetDefCellBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2182 PyObject * _resultobj;
2183 wxGrid * _arg0;
2184 wxColour * _arg1;
2185 PyObject * _argo0 = 0;
2186 PyObject * _argo1 = 0;
2187 char *_kwnames[] = { "self","colour", NULL };
2188
2189 self = self;
2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellBackgroundColour",_kwnames,&_argo0,&_argo1))
2191 return NULL;
2192 if (_argo0) {
2193 if (_argo0 == Py_None) { _arg0 = NULL; }
2194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellBackgroundColour. Expected _wxGrid_p.");
2196 return NULL;
2197 }
2198 }
2199 if (_argo1) {
2200 if (_argo1 == Py_None) { _arg1 = NULL; }
2201 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2202 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellBackgroundColour. Expected _wxColour_p.");
2203 return NULL;
2204 }
2205 }
2206 {
2207 wxPy_BEGIN_ALLOW_THREADS;
2208 wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1);
2209
2210 wxPy_END_ALLOW_THREADS;
2211 } Py_INCREF(Py_None);
2212 _resultobj = Py_None;
2213 return _resultobj;
2214 }
2215
2216 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
2217 static PyObject *_wrap_wxGrid_SetCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2218 PyObject * _resultobj;
2219 wxGrid * _arg0;
2220 wxColour * _arg1;
2221 int _arg2;
2222 int _arg3;
2223 PyObject * _argo0 = 0;
2224 PyObject * _argo1 = 0;
2225 char *_kwnames[] = { "self","colour","row","col", NULL };
2226
2227 self = self;
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellTextColour",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2229 return NULL;
2230 if (_argo0) {
2231 if (_argo0 == Py_None) { _arg0 = NULL; }
2232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
2234 return NULL;
2235 }
2236 }
2237 if (_argo1) {
2238 if (_argo1 == Py_None) { _arg1 = NULL; }
2239 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2240 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextColour. Expected _wxColour_p.");
2241 return NULL;
2242 }
2243 }
2244 {
2245 wxPy_BEGIN_ALLOW_THREADS;
2246 wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3);
2247
2248 wxPy_END_ALLOW_THREADS;
2249 } Py_INCREF(Py_None);
2250 _resultobj = Py_None;
2251 return _resultobj;
2252 }
2253
2254 #define wxGrid_SetDefCellTextColour(_swigobj,_swigarg0) (_swigobj->SetCellTextColour(_swigarg0))
2255 static PyObject *_wrap_wxGrid_SetDefCellTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2256 PyObject * _resultobj;
2257 wxGrid * _arg0;
2258 wxColour * _arg1;
2259 PyObject * _argo0 = 0;
2260 PyObject * _argo1 = 0;
2261 char *_kwnames[] = { "self","colour", NULL };
2262
2263 self = self;
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellTextColour",_kwnames,&_argo0,&_argo1))
2265 return NULL;
2266 if (_argo0) {
2267 if (_argo0 == Py_None) { _arg0 = NULL; }
2268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextColour. Expected _wxGrid_p.");
2270 return NULL;
2271 }
2272 }
2273 if (_argo1) {
2274 if (_argo1 == Py_None) { _arg1 = NULL; }
2275 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2276 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextColour. Expected _wxColour_p.");
2277 return NULL;
2278 }
2279 }
2280 {
2281 wxPy_BEGIN_ALLOW_THREADS;
2282 wxGrid_SetDefCellTextColour(_arg0,*_arg1);
2283
2284 wxPy_END_ALLOW_THREADS;
2285 } Py_INCREF(Py_None);
2286 _resultobj = Py_None;
2287 return _resultobj;
2288 }
2289
2290 #define wxGrid_SetCellTextFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextFont(_swigarg0,_swigarg1,_swigarg2))
2291 static PyObject *_wrap_wxGrid_SetCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2292 PyObject * _resultobj;
2293 wxGrid * _arg0;
2294 wxFont * _arg1;
2295 int _arg2;
2296 int _arg3;
2297 PyObject * _argo0 = 0;
2298 PyObject * _argo1 = 0;
2299 char *_kwnames[] = { "self","font","row","col", NULL };
2300
2301 self = self;
2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellTextFont",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2303 return NULL;
2304 if (_argo0) {
2305 if (_argo0 == Py_None) { _arg0 = NULL; }
2306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellTextFont. Expected _wxGrid_p.");
2308 return NULL;
2309 }
2310 }
2311 if (_argo1) {
2312 if (_argo1 == Py_None) { _arg1 = NULL; }
2313 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2314 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetCellTextFont. Expected _wxFont_p.");
2315 return NULL;
2316 }
2317 }
2318 {
2319 wxPy_BEGIN_ALLOW_THREADS;
2320 wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3);
2321
2322 wxPy_END_ALLOW_THREADS;
2323 } Py_INCREF(Py_None);
2324 _resultobj = Py_None;
2325 return _resultobj;
2326 }
2327
2328 #define wxGrid_SetDefCellTextFont(_swigobj,_swigarg0) (_swigobj->SetCellTextFont(_swigarg0))
2329 static PyObject *_wrap_wxGrid_SetDefCellTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2330 PyObject * _resultobj;
2331 wxGrid * _arg0;
2332 wxFont * _arg1;
2333 PyObject * _argo0 = 0;
2334 PyObject * _argo1 = 0;
2335 char *_kwnames[] = { "self","font", NULL };
2336
2337 self = self;
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDefCellTextFont",_kwnames,&_argo0,&_argo1))
2339 return NULL;
2340 if (_argo0) {
2341 if (_argo0 == Py_None) { _arg0 = NULL; }
2342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDefCellTextFont. Expected _wxGrid_p.");
2344 return NULL;
2345 }
2346 }
2347 if (_argo1) {
2348 if (_argo1 == Py_None) { _arg1 = NULL; }
2349 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2350 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDefCellTextFont. Expected _wxFont_p.");
2351 return NULL;
2352 }
2353 }
2354 {
2355 wxPy_BEGIN_ALLOW_THREADS;
2356 wxGrid_SetDefCellTextFont(_arg0,*_arg1);
2357
2358 wxPy_END_ALLOW_THREADS;
2359 } Py_INCREF(Py_None);
2360 _resultobj = Py_None;
2361 return _resultobj;
2362 }
2363
2364 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
2365 static PyObject *_wrap_wxGrid_SetCellValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject * _resultobj;
2367 wxGrid * _arg0;
2368 wxString * _arg1;
2369 int _arg2;
2370 int _arg3;
2371 PyObject * _argo0 = 0;
2372 PyObject * _obj1 = 0;
2373 char *_kwnames[] = { "self","val","row","col", NULL };
2374
2375 self = self;
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxGrid_SetCellValue",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
2377 return NULL;
2378 if (_argo0) {
2379 if (_argo0 == Py_None) { _arg0 = NULL; }
2380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
2382 return NULL;
2383 }
2384 }
2385 {
2386 if (!PyString_Check(_obj1)) {
2387 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2388 return NULL;
2389 }
2390 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2391 }
2392 {
2393 wxPy_BEGIN_ALLOW_THREADS;
2394 wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3);
2395
2396 wxPy_END_ALLOW_THREADS;
2397 } Py_INCREF(Py_None);
2398 _resultobj = Py_None;
2399 {
2400 if (_obj1)
2401 delete _arg1;
2402 }
2403 return _resultobj;
2404 }
2405
2406 #define wxGrid_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2407 static PyObject *_wrap_wxGrid_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2408 PyObject * _resultobj;
2409 wxGrid * _arg0;
2410 int _arg1;
2411 int _arg2;
2412 PyObject * _argo0 = 0;
2413 char *_kwnames[] = { "self","col","width", NULL };
2414
2415 self = self;
2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
2417 return NULL;
2418 if (_argo0) {
2419 if (_argo0 == Py_None) { _arg0 = NULL; }
2420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetColumnWidth. Expected _wxGrid_p.");
2422 return NULL;
2423 }
2424 }
2425 {
2426 wxPy_BEGIN_ALLOW_THREADS;
2427 wxGrid_SetColumnWidth(_arg0,_arg1,_arg2);
2428
2429 wxPy_END_ALLOW_THREADS;
2430 } Py_INCREF(Py_None);
2431 _resultobj = Py_None;
2432 return _resultobj;
2433 }
2434
2435 #define wxGrid_SetDividerPen(_swigobj,_swigarg0) (_swigobj->SetDividerPen(_swigarg0))
2436 static PyObject *_wrap_wxGrid_SetDividerPen(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject * _resultobj;
2438 wxGrid * _arg0;
2439 wxPen * _arg1;
2440 PyObject * _argo0 = 0;
2441 PyObject * _argo1 = 0;
2442 char *_kwnames[] = { "self","pen", NULL };
2443
2444 self = self;
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetDividerPen",_kwnames,&_argo0,&_argo1))
2446 return NULL;
2447 if (_argo0) {
2448 if (_argo0 == Py_None) { _arg0 = NULL; }
2449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetDividerPen. Expected _wxGrid_p.");
2451 return NULL;
2452 }
2453 }
2454 if (_argo1) {
2455 if (_argo1 == Py_None) { _arg1 = NULL; }
2456 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
2457 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetDividerPen. Expected _wxPen_p.");
2458 return NULL;
2459 }
2460 }
2461 {
2462 wxPy_BEGIN_ALLOW_THREADS;
2463 wxGrid_SetDividerPen(_arg0,*_arg1);
2464
2465 wxPy_END_ALLOW_THREADS;
2466 } Py_INCREF(Py_None);
2467 _resultobj = Py_None;
2468 return _resultobj;
2469 }
2470
2471 #define wxGrid_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2472 static PyObject *_wrap_wxGrid_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2473 PyObject * _resultobj;
2474 wxGrid * _arg0;
2475 bool _arg1;
2476 PyObject * _argo0 = 0;
2477 int tempbool1;
2478 char *_kwnames[] = { "self","editable", NULL };
2479
2480 self = self;
2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGrid_SetEditable",_kwnames,&_argo0,&tempbool1))
2482 return NULL;
2483 if (_argo0) {
2484 if (_argo0 == Py_None) { _arg0 = NULL; }
2485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditable. Expected _wxGrid_p.");
2487 return NULL;
2488 }
2489 }
2490 _arg1 = (bool ) tempbool1;
2491 {
2492 wxPy_BEGIN_ALLOW_THREADS;
2493 wxGrid_SetEditable(_arg0,_arg1);
2494
2495 wxPy_END_ALLOW_THREADS;
2496 } Py_INCREF(Py_None);
2497 _resultobj = Py_None;
2498 return _resultobj;
2499 }
2500
2501 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
2502 static PyObject *_wrap_wxGrid_SetGridCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2503 PyObject * _resultobj;
2504 wxGrid * _arg0;
2505 int _arg1;
2506 int _arg2;
2507 PyObject * _argo0 = 0;
2508 char *_kwnames[] = { "self","row","col", NULL };
2509
2510 self = self;
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetGridCursor",_kwnames,&_argo0,&_arg1,&_arg2))
2512 return NULL;
2513 if (_argo0) {
2514 if (_argo0 == Py_None) { _arg0 = NULL; }
2515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
2517 return NULL;
2518 }
2519 }
2520 {
2521 wxPy_BEGIN_ALLOW_THREADS;
2522 wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
2523
2524 wxPy_END_ALLOW_THREADS;
2525 } Py_INCREF(Py_None);
2526 _resultobj = Py_None;
2527 return _resultobj;
2528 }
2529
2530 #define wxGrid_SetLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelAlignment(_swigarg0,_swigarg1))
2531 static PyObject *_wrap_wxGrid_SetLabelAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject * _resultobj;
2533 wxGrid * _arg0;
2534 int _arg1;
2535 int _arg2;
2536 PyObject * _argo0 = 0;
2537 char *_kwnames[] = { "self","orientation","alignment", NULL };
2538
2539 self = self;
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetLabelAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
2541 return NULL;
2542 if (_argo0) {
2543 if (_argo0 == Py_None) { _arg0 = NULL; }
2544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelAlignment. Expected _wxGrid_p.");
2546 return NULL;
2547 }
2548 }
2549 {
2550 wxPy_BEGIN_ALLOW_THREADS;
2551 wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2);
2552
2553 wxPy_END_ALLOW_THREADS;
2554 } Py_INCREF(Py_None);
2555 _resultobj = Py_None;
2556 return _resultobj;
2557 }
2558
2559 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
2560 static PyObject *_wrap_wxGrid_SetLabelBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2561 PyObject * _resultobj;
2562 wxGrid * _arg0;
2563 wxColour * _arg1;
2564 PyObject * _argo0 = 0;
2565 PyObject * _argo1 = 0;
2566 char *_kwnames[] = { "self","value", NULL };
2567
2568 self = self;
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelBackgroundColour",_kwnames,&_argo0,&_argo1))
2570 return NULL;
2571 if (_argo0) {
2572 if (_argo0 == Py_None) { _arg0 = NULL; }
2573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
2575 return NULL;
2576 }
2577 }
2578 if (_argo1) {
2579 if (_argo1 == Py_None) { _arg1 = NULL; }
2580 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2581 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelBackgroundColour. Expected _wxColour_p.");
2582 return NULL;
2583 }
2584 }
2585 {
2586 wxPy_BEGIN_ALLOW_THREADS;
2587 wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
2588
2589 wxPy_END_ALLOW_THREADS;
2590 } Py_INCREF(Py_None);
2591 _resultobj = Py_None;
2592 return _resultobj;
2593 }
2594
2595 #define wxGrid_SetLabelSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelSize(_swigarg0,_swigarg1))
2596 static PyObject *_wrap_wxGrid_SetLabelSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2597 PyObject * _resultobj;
2598 wxGrid * _arg0;
2599 int _arg1;
2600 int _arg2;
2601 PyObject * _argo0 = 0;
2602 char *_kwnames[] = { "self","orientation","size", NULL };
2603
2604 self = self;
2605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetLabelSize",_kwnames,&_argo0,&_arg1,&_arg2))
2606 return NULL;
2607 if (_argo0) {
2608 if (_argo0 == Py_None) { _arg0 = NULL; }
2609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelSize. Expected _wxGrid_p.");
2611 return NULL;
2612 }
2613 }
2614 {
2615 wxPy_BEGIN_ALLOW_THREADS;
2616 wxGrid_SetLabelSize(_arg0,_arg1,_arg2);
2617
2618 wxPy_END_ALLOW_THREADS;
2619 } Py_INCREF(Py_None);
2620 _resultobj = Py_None;
2621 return _resultobj;
2622 }
2623
2624 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
2625 static PyObject *_wrap_wxGrid_SetLabelTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
2626 PyObject * _resultobj;
2627 wxGrid * _arg0;
2628 wxColour * _arg1;
2629 PyObject * _argo0 = 0;
2630 PyObject * _argo1 = 0;
2631 char *_kwnames[] = { "self","value", NULL };
2632
2633 self = self;
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextColour",_kwnames,&_argo0,&_argo1))
2635 return NULL;
2636 if (_argo0) {
2637 if (_argo0 == Py_None) { _arg0 = NULL; }
2638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
2640 return NULL;
2641 }
2642 }
2643 if (_argo1) {
2644 if (_argo1 == Py_None) { _arg1 = NULL; }
2645 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
2646 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextColour. Expected _wxColour_p.");
2647 return NULL;
2648 }
2649 }
2650 {
2651 wxPy_BEGIN_ALLOW_THREADS;
2652 wxGrid_SetLabelTextColour(_arg0,*_arg1);
2653
2654 wxPy_END_ALLOW_THREADS;
2655 } Py_INCREF(Py_None);
2656 _resultobj = Py_None;
2657 return _resultobj;
2658 }
2659
2660 #define wxGrid_SetLabelTextFont(_swigobj,_swigarg0) (_swigobj->SetLabelTextFont(_swigarg0))
2661 static PyObject *_wrap_wxGrid_SetLabelTextFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject * _resultobj;
2663 wxGrid * _arg0;
2664 wxFont * _arg1;
2665 PyObject * _argo0 = 0;
2666 PyObject * _argo1 = 0;
2667 char *_kwnames[] = { "self","font", NULL };
2668
2669 self = self;
2670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGrid_SetLabelTextFont",_kwnames,&_argo0,&_argo1))
2671 return NULL;
2672 if (_argo0) {
2673 if (_argo0 == Py_None) { _arg0 = NULL; }
2674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelTextFont. Expected _wxGrid_p.");
2676 return NULL;
2677 }
2678 }
2679 if (_argo1) {
2680 if (_argo1 == Py_None) { _arg1 = NULL; }
2681 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
2682 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGrid_SetLabelTextFont. Expected _wxFont_p.");
2683 return NULL;
2684 }
2685 }
2686 {
2687 wxPy_BEGIN_ALLOW_THREADS;
2688 wxGrid_SetLabelTextFont(_arg0,*_arg1);
2689
2690 wxPy_END_ALLOW_THREADS;
2691 } Py_INCREF(Py_None);
2692 _resultobj = Py_None;
2693 return _resultobj;
2694 }
2695
2696 #define wxGrid_SetLabelValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetLabelValue(_swigarg0,_swigarg1,_swigarg2))
2697 static PyObject *_wrap_wxGrid_SetLabelValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2698 PyObject * _resultobj;
2699 wxGrid * _arg0;
2700 int _arg1;
2701 wxString * _arg2;
2702 int _arg3;
2703 PyObject * _argo0 = 0;
2704 PyObject * _obj2 = 0;
2705 char *_kwnames[] = { "self","orientation","value","pos", NULL };
2706
2707 self = self;
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOi:wxGrid_SetLabelValue",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3))
2709 return NULL;
2710 if (_argo0) {
2711 if (_argo0 == Py_None) { _arg0 = NULL; }
2712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetLabelValue. Expected _wxGrid_p.");
2714 return NULL;
2715 }
2716 }
2717 {
2718 if (!PyString_Check(_obj2)) {
2719 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2720 return NULL;
2721 }
2722 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2723 }
2724 {
2725 wxPy_BEGIN_ALLOW_THREADS;
2726 wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3);
2727
2728 wxPy_END_ALLOW_THREADS;
2729 } Py_INCREF(Py_None);
2730 _resultobj = Py_None;
2731 {
2732 if (_obj2)
2733 delete _arg2;
2734 }
2735 return _resultobj;
2736 }
2737
2738 #define wxGrid_SetRowHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowHeight(_swigarg0,_swigarg1))
2739 static PyObject *_wrap_wxGrid_SetRowHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2740 PyObject * _resultobj;
2741 wxGrid * _arg0;
2742 int _arg1;
2743 int _arg2;
2744 PyObject * _argo0 = 0;
2745 char *_kwnames[] = { "self","row","height", NULL };
2746
2747 self = self;
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxGrid_SetRowHeight",_kwnames,&_argo0,&_arg1,&_arg2))
2749 return NULL;
2750 if (_argo0) {
2751 if (_argo0 == Py_None) { _arg0 = NULL; }
2752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetRowHeight. Expected _wxGrid_p.");
2754 return NULL;
2755 }
2756 }
2757 {
2758 wxPy_BEGIN_ALLOW_THREADS;
2759 wxGrid_SetRowHeight(_arg0,_arg1,_arg2);
2760
2761 wxPy_END_ALLOW_THREADS;
2762 } Py_INCREF(Py_None);
2763 _resultobj = Py_None;
2764 return _resultobj;
2765 }
2766
2767 #define wxGrid_UpdateDimensions(_swigobj) (_swigobj->UpdateDimensions())
2768 static PyObject *_wrap_wxGrid_UpdateDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
2769 PyObject * _resultobj;
2770 wxGrid * _arg0;
2771 PyObject * _argo0 = 0;
2772 char *_kwnames[] = { "self", NULL };
2773
2774 self = self;
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_UpdateDimensions",_kwnames,&_argo0))
2776 return NULL;
2777 if (_argo0) {
2778 if (_argo0 == Py_None) { _arg0 = NULL; }
2779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_UpdateDimensions. Expected _wxGrid_p.");
2781 return NULL;
2782 }
2783 }
2784 {
2785 wxPy_BEGIN_ALLOW_THREADS;
2786 wxGrid_UpdateDimensions(_arg0);
2787
2788 wxPy_END_ALLOW_THREADS;
2789 } Py_INCREF(Py_None);
2790 _resultobj = Py_None;
2791 return _resultobj;
2792 }
2793
2794 #define wxGrid_GetEditInPlace(_swigobj) (_swigobj->GetEditInPlace())
2795 static PyObject *_wrap_wxGrid_GetEditInPlace(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject * _resultobj;
2797 bool _result;
2798 wxGrid * _arg0;
2799 PyObject * _argo0 = 0;
2800 char *_kwnames[] = { "self", NULL };
2801
2802 self = self;
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGrid_GetEditInPlace",_kwnames,&_argo0))
2804 return NULL;
2805 if (_argo0) {
2806 if (_argo0 == Py_None) { _arg0 = NULL; }
2807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_GetEditInPlace. Expected _wxGrid_p.");
2809 return NULL;
2810 }
2811 }
2812 {
2813 wxPy_BEGIN_ALLOW_THREADS;
2814 _result = (bool )wxGrid_GetEditInPlace(_arg0);
2815
2816 wxPy_END_ALLOW_THREADS;
2817 } _resultobj = Py_BuildValue("i",_result);
2818 return _resultobj;
2819 }
2820
2821 #define wxGrid_SetEditInPlace(_swigobj,_swigarg0) (_swigobj->SetEditInPlace(_swigarg0))
2822 static PyObject *_wrap_wxGrid_SetEditInPlace(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject * _resultobj;
2824 wxGrid * _arg0;
2825 int _arg1 = (int ) TRUE;
2826 PyObject * _argo0 = 0;
2827 char *_kwnames[] = { "self","edit", NULL };
2828
2829 self = self;
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxGrid_SetEditInPlace",_kwnames,&_argo0,&_arg1))
2831 return NULL;
2832 if (_argo0) {
2833 if (_argo0 == Py_None) { _arg0 = NULL; }
2834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGrid_p")) {
2835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_SetEditInPlace. Expected _wxGrid_p.");
2836 return NULL;
2837 }
2838 }
2839 {
2840 wxPy_BEGIN_ALLOW_THREADS;
2841 wxGrid_SetEditInPlace(_arg0,_arg1);
2842
2843 wxPy_END_ALLOW_THREADS;
2844 } Py_INCREF(Py_None);
2845 _resultobj = Py_None;
2846 return _resultobj;
2847 }
2848
2849 static void *SwigwxGridEventTowxEvent(void *ptr) {
2850 wxGridEvent *src;
2851 wxEvent *dest;
2852 src = (wxGridEvent *) ptr;
2853 dest = (wxEvent *) src;
2854 return (void *) dest;
2855 }
2856
2857 #define wxGridEvent_m_row_set(_swigobj,_swigval) (_swigobj->m_row = _swigval,_swigval)
2858 static PyObject *_wrap_wxGridEvent_m_row_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2859 PyObject * _resultobj;
2860 int _result;
2861 wxGridEvent * _arg0;
2862 int _arg1;
2863 PyObject * _argo0 = 0;
2864 char *_kwnames[] = { "self","m_row", NULL };
2865
2866 self = self;
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_row_set",_kwnames,&_argo0,&_arg1))
2868 return NULL;
2869 if (_argo0) {
2870 if (_argo0 == Py_None) { _arg0 = NULL; }
2871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
2872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_set. Expected _wxGridEvent_p.");
2873 return NULL;
2874 }
2875 }
2876 {
2877 wxPy_BEGIN_ALLOW_THREADS;
2878 _result = (int )wxGridEvent_m_row_set(_arg0,_arg1);
2879
2880 wxPy_END_ALLOW_THREADS;
2881 } _resultobj = Py_BuildValue("i",_result);
2882 return _resultobj;
2883 }
2884
2885 #define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
2886 static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2887 PyObject * _resultobj;
2888 int _result;
2889 wxGridEvent * _arg0;
2890 PyObject * _argo0 = 0;
2891 char *_kwnames[] = { "self", NULL };
2892
2893 self = self;
2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_row_get",_kwnames,&_argo0))
2895 return NULL;
2896 if (_argo0) {
2897 if (_argo0 == Py_None) { _arg0 = NULL; }
2898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
2899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
2900 return NULL;
2901 }
2902 }
2903 {
2904 wxPy_BEGIN_ALLOW_THREADS;
2905 _result = (int )wxGridEvent_m_row_get(_arg0);
2906
2907 wxPy_END_ALLOW_THREADS;
2908 } _resultobj = Py_BuildValue("i",_result);
2909 return _resultobj;
2910 }
2911
2912 #define wxGridEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2913 static PyObject *_wrap_wxGridEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2914 PyObject * _resultobj;
2915 int _result;
2916 wxGridEvent * _arg0;
2917 int _arg1;
2918 PyObject * _argo0 = 0;
2919 char *_kwnames[] = { "self","m_col", NULL };
2920
2921 self = self;
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_col_set",_kwnames,&_argo0,&_arg1))
2923 return NULL;
2924 if (_argo0) {
2925 if (_argo0 == Py_None) { _arg0 = NULL; }
2926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
2927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_set. Expected _wxGridEvent_p.");
2928 return NULL;
2929 }
2930 }
2931 {
2932 wxPy_BEGIN_ALLOW_THREADS;
2933 _result = (int )wxGridEvent_m_col_set(_arg0,_arg1);
2934
2935 wxPy_END_ALLOW_THREADS;
2936 } _resultobj = Py_BuildValue("i",_result);
2937 return _resultobj;
2938 }
2939
2940 #define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2941 static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject * _resultobj;
2943 int _result;
2944 wxGridEvent * _arg0;
2945 PyObject * _argo0 = 0;
2946 char *_kwnames[] = { "self", NULL };
2947
2948 self = self;
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_col_get",_kwnames,&_argo0))
2950 return NULL;
2951 if (_argo0) {
2952 if (_argo0 == Py_None) { _arg0 = NULL; }
2953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
2954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
2955 return NULL;
2956 }
2957 }
2958 {
2959 wxPy_BEGIN_ALLOW_THREADS;
2960 _result = (int )wxGridEvent_m_col_get(_arg0);
2961
2962 wxPy_END_ALLOW_THREADS;
2963 } _resultobj = Py_BuildValue("i",_result);
2964 return _resultobj;
2965 }
2966
2967 #define wxGridEvent_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
2968 static PyObject *_wrap_wxGridEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject * _resultobj;
2970 int _result;
2971 wxGridEvent * _arg0;
2972 int _arg1;
2973 PyObject * _argo0 = 0;
2974 char *_kwnames[] = { "self","m_x", NULL };
2975
2976 self = self;
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_x_set",_kwnames,&_argo0,&_arg1))
2978 return NULL;
2979 if (_argo0) {
2980 if (_argo0 == Py_None) { _arg0 = NULL; }
2981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
2982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_set. Expected _wxGridEvent_p.");
2983 return NULL;
2984 }
2985 }
2986 {
2987 wxPy_BEGIN_ALLOW_THREADS;
2988 _result = (int )wxGridEvent_m_x_set(_arg0,_arg1);
2989
2990 wxPy_END_ALLOW_THREADS;
2991 } _resultobj = Py_BuildValue("i",_result);
2992 return _resultobj;
2993 }
2994
2995 #define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
2996 static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject * _resultobj;
2998 int _result;
2999 wxGridEvent * _arg0;
3000 PyObject * _argo0 = 0;
3001 char *_kwnames[] = { "self", NULL };
3002
3003 self = self;
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_x_get",_kwnames,&_argo0))
3005 return NULL;
3006 if (_argo0) {
3007 if (_argo0 == Py_None) { _arg0 = NULL; }
3008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
3010 return NULL;
3011 }
3012 }
3013 {
3014 wxPy_BEGIN_ALLOW_THREADS;
3015 _result = (int )wxGridEvent_m_x_get(_arg0);
3016
3017 wxPy_END_ALLOW_THREADS;
3018 } _resultobj = Py_BuildValue("i",_result);
3019 return _resultobj;
3020 }
3021
3022 #define wxGridEvent_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3023 static PyObject *_wrap_wxGridEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3024 PyObject * _resultobj;
3025 int _result;
3026 wxGridEvent * _arg0;
3027 int _arg1;
3028 PyObject * _argo0 = 0;
3029 char *_kwnames[] = { "self","m_y", NULL };
3030
3031 self = self;
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_y_set",_kwnames,&_argo0,&_arg1))
3033 return NULL;
3034 if (_argo0) {
3035 if (_argo0 == Py_None) { _arg0 = NULL; }
3036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_set. Expected _wxGridEvent_p.");
3038 return NULL;
3039 }
3040 }
3041 {
3042 wxPy_BEGIN_ALLOW_THREADS;
3043 _result = (int )wxGridEvent_m_y_set(_arg0,_arg1);
3044
3045 wxPy_END_ALLOW_THREADS;
3046 } _resultobj = Py_BuildValue("i",_result);
3047 return _resultobj;
3048 }
3049
3050 #define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
3051 static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject * _resultobj;
3053 int _result;
3054 wxGridEvent * _arg0;
3055 PyObject * _argo0 = 0;
3056 char *_kwnames[] = { "self", NULL };
3057
3058 self = self;
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_y_get",_kwnames,&_argo0))
3060 return NULL;
3061 if (_argo0) {
3062 if (_argo0 == Py_None) { _arg0 = NULL; }
3063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
3065 return NULL;
3066 }
3067 }
3068 {
3069 wxPy_BEGIN_ALLOW_THREADS;
3070 _result = (int )wxGridEvent_m_y_get(_arg0);
3071
3072 wxPy_END_ALLOW_THREADS;
3073 } _resultobj = Py_BuildValue("i",_result);
3074 return _resultobj;
3075 }
3076
3077 #define wxGridEvent_m_control_set(_swigobj,_swigval) (_swigobj->m_control = _swigval,_swigval)
3078 static PyObject *_wrap_wxGridEvent_m_control_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3079 PyObject * _resultobj;
3080 bool _result;
3081 wxGridEvent * _arg0;
3082 bool _arg1;
3083 PyObject * _argo0 = 0;
3084 int tempbool1;
3085 char *_kwnames[] = { "self","m_control", NULL };
3086
3087 self = self;
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_control_set",_kwnames,&_argo0,&tempbool1))
3089 return NULL;
3090 if (_argo0) {
3091 if (_argo0 == Py_None) { _arg0 = NULL; }
3092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_set. Expected _wxGridEvent_p.");
3094 return NULL;
3095 }
3096 }
3097 _arg1 = (bool ) tempbool1;
3098 {
3099 wxPy_BEGIN_ALLOW_THREADS;
3100 _result = (bool )wxGridEvent_m_control_set(_arg0,_arg1);
3101
3102 wxPy_END_ALLOW_THREADS;
3103 } _resultobj = Py_BuildValue("i",_result);
3104 return _resultobj;
3105 }
3106
3107 #define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
3108 static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3109 PyObject * _resultobj;
3110 bool _result;
3111 wxGridEvent * _arg0;
3112 PyObject * _argo0 = 0;
3113 char *_kwnames[] = { "self", NULL };
3114
3115 self = self;
3116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_control_get",_kwnames,&_argo0))
3117 return NULL;
3118 if (_argo0) {
3119 if (_argo0 == Py_None) { _arg0 = NULL; }
3120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
3122 return NULL;
3123 }
3124 }
3125 {
3126 wxPy_BEGIN_ALLOW_THREADS;
3127 _result = (bool )wxGridEvent_m_control_get(_arg0);
3128
3129 wxPy_END_ALLOW_THREADS;
3130 } _resultobj = Py_BuildValue("i",_result);
3131 return _resultobj;
3132 }
3133
3134 #define wxGridEvent_m_shift_set(_swigobj,_swigval) (_swigobj->m_shift = _swigval,_swigval)
3135 static PyObject *_wrap_wxGridEvent_m_shift_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3136 PyObject * _resultobj;
3137 bool _result;
3138 wxGridEvent * _arg0;
3139 bool _arg1;
3140 PyObject * _argo0 = 0;
3141 int tempbool1;
3142 char *_kwnames[] = { "self","m_shift", NULL };
3143
3144 self = self;
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridEvent_m_shift_set",_kwnames,&_argo0,&tempbool1))
3146 return NULL;
3147 if (_argo0) {
3148 if (_argo0 == Py_None) { _arg0 = NULL; }
3149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_set. Expected _wxGridEvent_p.");
3151 return NULL;
3152 }
3153 }
3154 _arg1 = (bool ) tempbool1;
3155 {
3156 wxPy_BEGIN_ALLOW_THREADS;
3157 _result = (bool )wxGridEvent_m_shift_set(_arg0,_arg1);
3158
3159 wxPy_END_ALLOW_THREADS;
3160 } _resultobj = Py_BuildValue("i",_result);
3161 return _resultobj;
3162 }
3163
3164 #define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
3165 static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject * _resultobj;
3167 bool _result;
3168 wxGridEvent * _arg0;
3169 PyObject * _argo0 = 0;
3170 char *_kwnames[] = { "self", NULL };
3171
3172 self = self;
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_shift_get",_kwnames,&_argo0))
3174 return NULL;
3175 if (_argo0) {
3176 if (_argo0 == Py_None) { _arg0 = NULL; }
3177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
3179 return NULL;
3180 }
3181 }
3182 {
3183 wxPy_BEGIN_ALLOW_THREADS;
3184 _result = (bool )wxGridEvent_m_shift_get(_arg0);
3185
3186 wxPy_END_ALLOW_THREADS;
3187 } _resultobj = Py_BuildValue("i",_result);
3188 return _resultobj;
3189 }
3190
3191 #define wxGridEvent_m_cell_set(_swigobj,_swigval) (_swigobj->m_cell = _swigval,_swigval)
3192 static PyObject *_wrap_wxGridEvent_m_cell_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject * _resultobj;
3194 wxGridCell * _result;
3195 wxGridEvent * _arg0;
3196 wxGridCell * _arg1;
3197 PyObject * _argo0 = 0;
3198 PyObject * _argo1 = 0;
3199 char *_kwnames[] = { "self","m_cell", NULL };
3200 char _ptemp[128];
3201
3202 self = self;
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxGridEvent_m_cell_set",_kwnames,&_argo0,&_argo1))
3204 return NULL;
3205 if (_argo0) {
3206 if (_argo0 == Py_None) { _arg0 = NULL; }
3207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_set. Expected _wxGridEvent_p.");
3209 return NULL;
3210 }
3211 }
3212 if (_argo1) {
3213 if (_argo1 == Py_None) { _arg1 = NULL; }
3214 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGridCell_p")) {
3215 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGridEvent_m_cell_set. Expected _wxGridCell_p.");
3216 return NULL;
3217 }
3218 }
3219 {
3220 wxPy_BEGIN_ALLOW_THREADS;
3221 _result = (wxGridCell *)wxGridEvent_m_cell_set(_arg0,_arg1);
3222
3223 wxPy_END_ALLOW_THREADS;
3224 } if (_result) {
3225 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
3226 _resultobj = Py_BuildValue("s",_ptemp);
3227 } else {
3228 Py_INCREF(Py_None);
3229 _resultobj = Py_None;
3230 }
3231 return _resultobj;
3232 }
3233
3234 #define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
3235 static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject * _resultobj;
3237 wxGridCell * _result;
3238 wxGridEvent * _arg0;
3239 PyObject * _argo0 = 0;
3240 char *_kwnames[] = { "self", NULL };
3241 char _ptemp[128];
3242
3243 self = self;
3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_m_cell_get",_kwnames,&_argo0))
3245 return NULL;
3246 if (_argo0) {
3247 if (_argo0 == Py_None) { _arg0 = NULL; }
3248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
3250 return NULL;
3251 }
3252 }
3253 {
3254 wxPy_BEGIN_ALLOW_THREADS;
3255 _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
3256
3257 wxPy_END_ALLOW_THREADS;
3258 } if (_result) {
3259 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
3260 _resultobj = Py_BuildValue("s",_ptemp);
3261 } else {
3262 Py_INCREF(Py_None);
3263 _resultobj = Py_None;
3264 }
3265 return _resultobj;
3266 }
3267
3268 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
3269 static PyObject *_wrap_wxGridEvent_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
3270 PyObject * _resultobj;
3271 int _result;
3272 wxGridEvent * _arg0;
3273 PyObject * _argo0 = 0;
3274 char *_kwnames[] = { "self", NULL };
3275
3276 self = self;
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetRow",_kwnames,&_argo0))
3278 return NULL;
3279 if (_argo0) {
3280 if (_argo0 == Py_None) { _arg0 = NULL; }
3281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
3283 return NULL;
3284 }
3285 }
3286 {
3287 wxPy_BEGIN_ALLOW_THREADS;
3288 _result = (int )wxGridEvent_GetRow(_arg0);
3289
3290 wxPy_END_ALLOW_THREADS;
3291 } _resultobj = Py_BuildValue("i",_result);
3292 return _resultobj;
3293 }
3294
3295 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
3296 static PyObject *_wrap_wxGridEvent_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
3297 PyObject * _resultobj;
3298 int _result;
3299 wxGridEvent * _arg0;
3300 PyObject * _argo0 = 0;
3301 char *_kwnames[] = { "self", NULL };
3302
3303 self = self;
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCol",_kwnames,&_argo0))
3305 return NULL;
3306 if (_argo0) {
3307 if (_argo0 == Py_None) { _arg0 = NULL; }
3308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
3310 return NULL;
3311 }
3312 }
3313 {
3314 wxPy_BEGIN_ALLOW_THREADS;
3315 _result = (int )wxGridEvent_GetCol(_arg0);
3316
3317 wxPy_END_ALLOW_THREADS;
3318 } _resultobj = Py_BuildValue("i",_result);
3319 return _resultobj;
3320 }
3321
3322 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
3323 static PyObject *_wrap_wxGridEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject * _resultobj;
3325 wxPoint * _result;
3326 wxGridEvent * _arg0;
3327 PyObject * _argo0 = 0;
3328 char *_kwnames[] = { "self", NULL };
3329 char _ptemp[128];
3330
3331 self = self;
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetPosition",_kwnames,&_argo0))
3333 return NULL;
3334 if (_argo0) {
3335 if (_argo0 == Py_None) { _arg0 = NULL; }
3336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
3338 return NULL;
3339 }
3340 }
3341 {
3342 wxPy_BEGIN_ALLOW_THREADS;
3343 _result = new wxPoint (wxGridEvent_GetPosition(_arg0));
3344
3345 wxPy_END_ALLOW_THREADS;
3346 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
3347 _resultobj = Py_BuildValue("s",_ptemp);
3348 return _resultobj;
3349 }
3350
3351 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
3352 static PyObject *_wrap_wxGridEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject * _resultobj;
3354 bool _result;
3355 wxGridEvent * _arg0;
3356 PyObject * _argo0 = 0;
3357 char *_kwnames[] = { "self", NULL };
3358
3359 self = self;
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ControlDown",_kwnames,&_argo0))
3361 return NULL;
3362 if (_argo0) {
3363 if (_argo0 == Py_None) { _arg0 = NULL; }
3364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
3366 return NULL;
3367 }
3368 }
3369 {
3370 wxPy_BEGIN_ALLOW_THREADS;
3371 _result = (bool )wxGridEvent_ControlDown(_arg0);
3372
3373 wxPy_END_ALLOW_THREADS;
3374 } _resultobj = Py_BuildValue("i",_result);
3375 return _resultobj;
3376 }
3377
3378 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
3379 static PyObject *_wrap_wxGridEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
3380 PyObject * _resultobj;
3381 bool _result;
3382 wxGridEvent * _arg0;
3383 PyObject * _argo0 = 0;
3384 char *_kwnames[] = { "self", NULL };
3385
3386 self = self;
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_ShiftDown",_kwnames,&_argo0))
3388 return NULL;
3389 if (_argo0) {
3390 if (_argo0 == Py_None) { _arg0 = NULL; }
3391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
3393 return NULL;
3394 }
3395 }
3396 {
3397 wxPy_BEGIN_ALLOW_THREADS;
3398 _result = (bool )wxGridEvent_ShiftDown(_arg0);
3399
3400 wxPy_END_ALLOW_THREADS;
3401 } _resultobj = Py_BuildValue("i",_result);
3402 return _resultobj;
3403 }
3404
3405 #define wxGridEvent_GetCell(_swigobj) (_swigobj->GetCell())
3406 static PyObject *_wrap_wxGridEvent_GetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject * _resultobj;
3408 wxGridCell * _result;
3409 wxGridEvent * _arg0;
3410 PyObject * _argo0 = 0;
3411 char *_kwnames[] = { "self", NULL };
3412 char _ptemp[128];
3413
3414 self = self;
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridEvent_GetCell",_kwnames,&_argo0))
3416 return NULL;
3417 if (_argo0) {
3418 if (_argo0 == Py_None) { _arg0 = NULL; }
3419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridEvent_p")) {
3420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_GetCell. Expected _wxGridEvent_p.");
3421 return NULL;
3422 }
3423 }
3424 {
3425 wxPy_BEGIN_ALLOW_THREADS;
3426 _result = (wxGridCell *)wxGridEvent_GetCell(_arg0);
3427
3428 wxPy_END_ALLOW_THREADS;
3429 } if (_result) {
3430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
3431 _resultobj = Py_BuildValue("s",_ptemp);
3432 } else {
3433 Py_INCREF(Py_None);
3434 _resultobj = Py_None;
3435 }
3436 return _resultobj;
3437 }
3438
3439 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
3440 wxNotebookEvent *src;
3441 wxNotifyEvent *dest;
3442 src = (wxNotebookEvent *) ptr;
3443 dest = (wxNotifyEvent *) src;
3444 return (void *) dest;
3445 }
3446
3447 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
3448 wxNotebookEvent *src;
3449 wxCommandEvent *dest;
3450 src = (wxNotebookEvent *) ptr;
3451 dest = (wxCommandEvent *) src;
3452 return (void *) dest;
3453 }
3454
3455 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
3456 wxNotebookEvent *src;
3457 wxEvent *dest;
3458 src = (wxNotebookEvent *) ptr;
3459 dest = (wxEvent *) src;
3460 return (void *) dest;
3461 }
3462
3463 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
3464 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3465 PyObject * _resultobj;
3466 int _result;
3467 wxNotebookEvent * _arg0;
3468 PyObject * _argo0 = 0;
3469 char *_kwnames[] = { "self", NULL };
3470
3471 self = self;
3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
3473 return NULL;
3474 if (_argo0) {
3475 if (_argo0 == Py_None) { _arg0 = NULL; }
3476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
3478 return NULL;
3479 }
3480 }
3481 {
3482 wxPy_BEGIN_ALLOW_THREADS;
3483 _result = (int )wxNotebookEvent_GetSelection(_arg0);
3484
3485 wxPy_END_ALLOW_THREADS;
3486 } _resultobj = Py_BuildValue("i",_result);
3487 return _resultobj;
3488 }
3489
3490 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
3491 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3492 PyObject * _resultobj;
3493 int _result;
3494 wxNotebookEvent * _arg0;
3495 PyObject * _argo0 = 0;
3496 char *_kwnames[] = { "self", NULL };
3497
3498 self = self;
3499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
3500 return NULL;
3501 if (_argo0) {
3502 if (_argo0 == Py_None) { _arg0 = NULL; }
3503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
3505 return NULL;
3506 }
3507 }
3508 {
3509 wxPy_BEGIN_ALLOW_THREADS;
3510 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
3511
3512 wxPy_END_ALLOW_THREADS;
3513 } _resultobj = Py_BuildValue("i",_result);
3514 return _resultobj;
3515 }
3516
3517 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
3518 static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3519 PyObject * _resultobj;
3520 wxNotebookEvent * _arg0;
3521 int _arg1;
3522 PyObject * _argo0 = 0;
3523 char *_kwnames[] = { "self","page", NULL };
3524
3525 self = self;
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
3527 return NULL;
3528 if (_argo0) {
3529 if (_argo0 == Py_None) { _arg0 = NULL; }
3530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
3532 return NULL;
3533 }
3534 }
3535 {
3536 wxPy_BEGIN_ALLOW_THREADS;
3537 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
3538
3539 wxPy_END_ALLOW_THREADS;
3540 } Py_INCREF(Py_None);
3541 _resultobj = Py_None;
3542 return _resultobj;
3543 }
3544
3545 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3546 static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3547 PyObject * _resultobj;
3548 wxNotebookEvent * _arg0;
3549 int _arg1;
3550 PyObject * _argo0 = 0;
3551 char *_kwnames[] = { "self","page", NULL };
3552
3553 self = self;
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
3555 return NULL;
3556 if (_argo0) {
3557 if (_argo0 == Py_None) { _arg0 = NULL; }
3558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
3559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
3560 return NULL;
3561 }
3562 }
3563 {
3564 wxPy_BEGIN_ALLOW_THREADS;
3565 wxNotebookEvent_SetSelection(_arg0,_arg1);
3566
3567 wxPy_END_ALLOW_THREADS;
3568 } Py_INCREF(Py_None);
3569 _resultobj = Py_None;
3570 return _resultobj;
3571 }
3572
3573 static void *SwigwxNotebookTowxControl(void *ptr) {
3574 wxNotebook *src;
3575 wxControl *dest;
3576 src = (wxNotebook *) ptr;
3577 dest = (wxControl *) src;
3578 return (void *) dest;
3579 }
3580
3581 static void *SwigwxNotebookTowxWindow(void *ptr) {
3582 wxNotebook *src;
3583 wxWindow *dest;
3584 src = (wxNotebook *) ptr;
3585 dest = (wxWindow *) src;
3586 return (void *) dest;
3587 }
3588
3589 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
3590 wxNotebook *src;
3591 wxEvtHandler *dest;
3592 src = (wxNotebook *) ptr;
3593 dest = (wxEvtHandler *) src;
3594 return (void *) dest;
3595 }
3596
3597 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3598 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
3599 PyObject * _resultobj;
3600 wxNotebook * _result;
3601 wxWindow * _arg0;
3602 wxWindowID _arg1;
3603 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
3604 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
3605 long _arg4 = (long ) 0;
3606 char * _arg5 = (char *) "notebook";
3607 PyObject * _argo0 = 0;
3608 wxPoint temp;
3609 PyObject * _obj2 = 0;
3610 wxSize temp0;
3611 PyObject * _obj3 = 0;
3612 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
3613 char _ptemp[128];
3614
3615 self = self;
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
3617 return NULL;
3618 if (_argo0) {
3619 if (_argo0 == Py_None) { _arg0 = NULL; }
3620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
3622 return NULL;
3623 }
3624 }
3625 if (_obj2)
3626 {
3627 _arg2 = &temp;
3628 if (! wxPoint_helper(_obj2, &_arg2))
3629 return NULL;
3630 }
3631 if (_obj3)
3632 {
3633 _arg3 = &temp0;
3634 if (! wxSize_helper(_obj3, &_arg3))
3635 return NULL;
3636 }
3637 {
3638 wxPy_BEGIN_ALLOW_THREADS;
3639 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3640
3641 wxPy_END_ALLOW_THREADS;
3642 } if (_result) {
3643 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
3644 _resultobj = Py_BuildValue("s",_ptemp);
3645 } else {
3646 Py_INCREF(Py_None);
3647 _resultobj = Py_None;
3648 }
3649 return _resultobj;
3650 }
3651
3652 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
3653 static PyObject *_wrap_wxNotebook_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject * _resultobj;
3655 int _result;
3656 wxNotebook * _arg0;
3657 PyObject * _argo0 = 0;
3658 char *_kwnames[] = { "self", NULL };
3659
3660 self = self;
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetPageCount",_kwnames,&_argo0))
3662 return NULL;
3663 if (_argo0) {
3664 if (_argo0 == Py_None) { _arg0 = NULL; }
3665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
3667 return NULL;
3668 }
3669 }
3670 {
3671 wxPy_BEGIN_ALLOW_THREADS;
3672 _result = (int )wxNotebook_GetPageCount(_arg0);
3673
3674 wxPy_END_ALLOW_THREADS;
3675 } _resultobj = Py_BuildValue("i",_result);
3676 return _resultobj;
3677 }
3678
3679 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3680 static PyObject *_wrap_wxNotebook_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject * _resultobj;
3682 int _result;
3683 wxNotebook * _arg0;
3684 int _arg1;
3685 PyObject * _argo0 = 0;
3686 char *_kwnames[] = { "self","nPage", NULL };
3687
3688 self = self;
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_SetSelection",_kwnames,&_argo0,&_arg1))
3690 return NULL;
3691 if (_argo0) {
3692 if (_argo0 == Py_None) { _arg0 = NULL; }
3693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
3695 return NULL;
3696 }
3697 }
3698 {
3699 wxPy_BEGIN_ALLOW_THREADS;
3700 _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
3701
3702 wxPy_END_ALLOW_THREADS;
3703 } _resultobj = Py_BuildValue("i",_result);
3704 return _resultobj;
3705 }
3706
3707 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
3708 static PyObject *_wrap_wxNotebook_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject * _resultobj;
3710 wxNotebook * _arg0;
3711 bool _arg1 = (bool ) TRUE;
3712 PyObject * _argo0 = 0;
3713 int tempbool1 = (int) TRUE;
3714 char *_kwnames[] = { "self","bForward", NULL };
3715
3716 self = self;
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxNotebook_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
3718 return NULL;
3719 if (_argo0) {
3720 if (_argo0 == Py_None) { _arg0 = NULL; }
3721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
3723 return NULL;
3724 }
3725 }
3726 _arg1 = (bool ) tempbool1;
3727 {
3728 wxPy_BEGIN_ALLOW_THREADS;
3729 wxNotebook_AdvanceSelection(_arg0,_arg1);
3730
3731 wxPy_END_ALLOW_THREADS;
3732 } Py_INCREF(Py_None);
3733 _resultobj = Py_None;
3734 return _resultobj;
3735 }
3736
3737 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
3738 static PyObject *_wrap_wxNotebook_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3739 PyObject * _resultobj;
3740 int _result;
3741 wxNotebook * _arg0;
3742 PyObject * _argo0 = 0;
3743 char *_kwnames[] = { "self", NULL };
3744
3745 self = self;
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetSelection",_kwnames,&_argo0))
3747 return NULL;
3748 if (_argo0) {
3749 if (_argo0 == Py_None) { _arg0 = NULL; }
3750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
3752 return NULL;
3753 }
3754 }
3755 {
3756 wxPy_BEGIN_ALLOW_THREADS;
3757 _result = (int )wxNotebook_GetSelection(_arg0);
3758
3759 wxPy_END_ALLOW_THREADS;
3760 } _resultobj = Py_BuildValue("i",_result);
3761 return _resultobj;
3762 }
3763
3764 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
3765 static PyObject *_wrap_wxNotebook_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
3766 PyObject * _resultobj;
3767 bool _result;
3768 wxNotebook * _arg0;
3769 int _arg1;
3770 wxString * _arg2;
3771 PyObject * _argo0 = 0;
3772 PyObject * _obj2 = 0;
3773 char *_kwnames[] = { "self","nPage","strText", NULL };
3774
3775 self = self;
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxNotebook_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
3777 return NULL;
3778 if (_argo0) {
3779 if (_argo0 == Py_None) { _arg0 = NULL; }
3780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
3782 return NULL;
3783 }
3784 }
3785 {
3786 if (!PyString_Check(_obj2)) {
3787 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3788 return NULL;
3789 }
3790 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3791 }
3792 {
3793 wxPy_BEGIN_ALLOW_THREADS;
3794 _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
3795
3796 wxPy_END_ALLOW_THREADS;
3797 } _resultobj = Py_BuildValue("i",_result);
3798 {
3799 if (_obj2)
3800 delete _arg2;
3801 }
3802 return _resultobj;
3803 }
3804
3805 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
3806 static PyObject *_wrap_wxNotebook_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
3807 PyObject * _resultobj;
3808 wxString * _result;
3809 wxNotebook * _arg0;
3810 int _arg1;
3811 PyObject * _argo0 = 0;
3812 char *_kwnames[] = { "self","nPage", NULL };
3813
3814 self = self;
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageText",_kwnames,&_argo0,&_arg1))
3816 return NULL;
3817 if (_argo0) {
3818 if (_argo0 == Py_None) { _arg0 = NULL; }
3819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
3821 return NULL;
3822 }
3823 }
3824 {
3825 wxPy_BEGIN_ALLOW_THREADS;
3826 _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
3827
3828 wxPy_END_ALLOW_THREADS;
3829 }{
3830 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3831 }
3832 {
3833 delete _result;
3834 }
3835 return _resultobj;
3836 }
3837
3838 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3839 static PyObject *_wrap_wxNotebook_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3840 PyObject * _resultobj;
3841 wxNotebook * _arg0;
3842 wxImageList * _arg1;
3843 PyObject * _argo0 = 0;
3844 PyObject * _argo1 = 0;
3845 char *_kwnames[] = { "self","imageList", NULL };
3846
3847 self = self;
3848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetImageList",_kwnames,&_argo0,&_argo1))
3849 return NULL;
3850 if (_argo0) {
3851 if (_argo0 == Py_None) { _arg0 = NULL; }
3852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
3854 return NULL;
3855 }
3856 }
3857 if (_argo1) {
3858 if (_argo1 == Py_None) { _arg1 = NULL; }
3859 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
3860 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
3861 return NULL;
3862 }
3863 }
3864 {
3865 wxPy_BEGIN_ALLOW_THREADS;
3866 wxNotebook_SetImageList(_arg0,_arg1);
3867
3868 wxPy_END_ALLOW_THREADS;
3869 } Py_INCREF(Py_None);
3870 _resultobj = Py_None;
3871 return _resultobj;
3872 }
3873
3874 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
3875 static PyObject *_wrap_wxNotebook_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
3876 PyObject * _resultobj;
3877 wxImageList * _result;
3878 wxNotebook * _arg0;
3879 PyObject * _argo0 = 0;
3880 char *_kwnames[] = { "self", NULL };
3881 char _ptemp[128];
3882
3883 self = self;
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetImageList",_kwnames,&_argo0))
3885 return NULL;
3886 if (_argo0) {
3887 if (_argo0 == Py_None) { _arg0 = NULL; }
3888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
3890 return NULL;
3891 }
3892 }
3893 {
3894 wxPy_BEGIN_ALLOW_THREADS;
3895 _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
3896
3897 wxPy_END_ALLOW_THREADS;
3898 } if (_result) {
3899 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
3900 _resultobj = Py_BuildValue("s",_ptemp);
3901 } else {
3902 Py_INCREF(Py_None);
3903 _resultobj = Py_None;
3904 }
3905 return _resultobj;
3906 }
3907
3908 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
3909 static PyObject *_wrap_wxNotebook_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3910 PyObject * _resultobj;
3911 int _result;
3912 wxNotebook * _arg0;
3913 int _arg1;
3914 PyObject * _argo0 = 0;
3915 char *_kwnames[] = { "self","nPage", NULL };
3916
3917 self = self;
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPageImage",_kwnames,&_argo0,&_arg1))
3919 return NULL;
3920 if (_argo0) {
3921 if (_argo0 == Py_None) { _arg0 = NULL; }
3922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
3924 return NULL;
3925 }
3926 }
3927 {
3928 wxPy_BEGIN_ALLOW_THREADS;
3929 _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
3930
3931 wxPy_END_ALLOW_THREADS;
3932 } _resultobj = Py_BuildValue("i",_result);
3933 return _resultobj;
3934 }
3935
3936 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
3937 static PyObject *_wrap_wxNotebook_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3938 PyObject * _resultobj;
3939 bool _result;
3940 wxNotebook * _arg0;
3941 int _arg1;
3942 int _arg2;
3943 PyObject * _argo0 = 0;
3944 char *_kwnames[] = { "self","nPage","nImage", NULL };
3945
3946 self = self;
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxNotebook_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
3948 return NULL;
3949 if (_argo0) {
3950 if (_argo0 == Py_None) { _arg0 = NULL; }
3951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
3953 return NULL;
3954 }
3955 }
3956 {
3957 wxPy_BEGIN_ALLOW_THREADS;
3958 _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
3959
3960 wxPy_END_ALLOW_THREADS;
3961 } _resultobj = Py_BuildValue("i",_result);
3962 return _resultobj;
3963 }
3964
3965 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
3966 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject * _resultobj;
3968 int _result;
3969 wxNotebook * _arg0;
3970 PyObject * _argo0 = 0;
3971 char *_kwnames[] = { "self", NULL };
3972
3973 self = self;
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
3975 return NULL;
3976 if (_argo0) {
3977 if (_argo0 == Py_None) { _arg0 = NULL; }
3978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
3979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
3980 return NULL;
3981 }
3982 }
3983 {
3984 wxPy_BEGIN_ALLOW_THREADS;
3985 _result = (int )wxNotebook_GetRowCount(_arg0);
3986
3987 wxPy_END_ALLOW_THREADS;
3988 } _resultobj = Py_BuildValue("i",_result);
3989 return _resultobj;
3990 }
3991
3992 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
3993 static PyObject *_wrap_wxNotebook_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject * _resultobj;
3995 bool _result;
3996 wxNotebook * _arg0;
3997 int _arg1;
3998 PyObject * _argo0 = 0;
3999 char *_kwnames[] = { "self","nPage", NULL };
4000
4001 self = self;
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_DeletePage",_kwnames,&_argo0,&_arg1))
4003 return NULL;
4004 if (_argo0) {
4005 if (_argo0 == Py_None) { _arg0 = NULL; }
4006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
4007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
4008 return NULL;
4009 }
4010 }
4011 {
4012 wxPy_BEGIN_ALLOW_THREADS;
4013 _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
4014
4015 wxPy_END_ALLOW_THREADS;
4016 } _resultobj = Py_BuildValue("i",_result);
4017 return _resultobj;
4018 }
4019
4020 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
4021 static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject * _resultobj;
4023 bool _result;
4024 wxNotebook * _arg0;
4025 int _arg1;
4026 PyObject * _argo0 = 0;
4027 char *_kwnames[] = { "self","nPage", NULL };
4028
4029 self = self;
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_RemovePage",_kwnames,&_argo0,&_arg1))
4031 return NULL;
4032 if (_argo0) {
4033 if (_argo0 == Py_None) { _arg0 = NULL; }
4034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
4035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
4036 return NULL;
4037 }
4038 }
4039 {
4040 wxPy_BEGIN_ALLOW_THREADS;
4041 _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
4042
4043 wxPy_END_ALLOW_THREADS;
4044 } _resultobj = Py_BuildValue("i",_result);
4045 return _resultobj;
4046 }
4047
4048 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
4049 static PyObject *_wrap_wxNotebook_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject * _resultobj;
4051 bool _result;
4052 wxNotebook * _arg0;
4053 PyObject * _argo0 = 0;
4054 char *_kwnames[] = { "self", NULL };
4055
4056 self = self;
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_DeleteAllPages",_kwnames,&_argo0))
4058 return NULL;
4059 if (_argo0) {
4060 if (_argo0 == Py_None) { _arg0 = NULL; }
4061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
4062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
4063 return NULL;
4064 }
4065 }
4066 {
4067 wxPy_BEGIN_ALLOW_THREADS;
4068 _result = (bool )wxNotebook_DeleteAllPages(_arg0);
4069
4070 wxPy_END_ALLOW_THREADS;
4071 } _resultobj = Py_BuildValue("i",_result);
4072 return _resultobj;
4073 }
4074
4075 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4076 static PyObject *_wrap_wxNotebook_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject * _resultobj;
4078 bool _result;
4079 wxNotebook * _arg0;
4080 wxWindow * _arg1;
4081 wxString * _arg2;
4082 int _arg3 = (int ) FALSE;
4083 int _arg4 = (int ) -1;
4084 PyObject * _argo0 = 0;
4085 PyObject * _argo1 = 0;
4086 PyObject * _obj2 = 0;
4087 char *_kwnames[] = { "self","pPage","strText","bSelect","imageId", NULL };
4088
4089 self = self;
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxNotebook_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4))
4091 return NULL;
4092 if (_argo0) {
4093 if (_argo0 == Py_None) { _arg0 = NULL; }
4094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
4095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
4096 return NULL;
4097 }
4098 }
4099 if (_argo1) {
4100 if (_argo1 == Py_None) { _arg1 = NULL; }
4101 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4102 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
4103 return NULL;
4104 }
4105 }
4106 {
4107 if (!PyString_Check(_obj2)) {
4108 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4109 return NULL;
4110 }
4111 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
4112 }
4113 {
4114 wxPy_BEGIN_ALLOW_THREADS;
4115 _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
4116
4117 wxPy_END_ALLOW_THREADS;
4118 } _resultobj = Py_BuildValue("i",_result);
4119 {
4120 if (_obj2)
4121 delete _arg2;
4122 }
4123 return _resultobj;
4124 }
4125
4126 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
4127 static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4128 PyObject * _resultobj;
4129 wxWindow * _result;
4130 wxNotebook * _arg0;
4131 int _arg1;
4132 PyObject * _argo0 = 0;
4133 char *_kwnames[] = { "self","nPage", NULL };
4134 char _ptemp[128];
4135
4136 self = self;
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebook_GetPage",_kwnames,&_argo0,&_arg1))
4138 return NULL;
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
4143 return NULL;
4144 }
4145 }
4146 {
4147 wxPy_BEGIN_ALLOW_THREADS;
4148 _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
4149
4150 wxPy_END_ALLOW_THREADS;
4151 } if (_result) {
4152 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4153 _resultobj = Py_BuildValue("s",_ptemp);
4154 } else {
4155 Py_INCREF(Py_None);
4156 _resultobj = Py_None;
4157 }
4158 return _resultobj;
4159 }
4160
4161 static void wxNotebook_ResizeChildren(wxNotebook *self) {
4162 wxSizeEvent evt(self->GetClientSize());
4163 self->GetEventHandler()->ProcessEvent(evt);
4164 }
4165 static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
4166 PyObject * _resultobj;
4167 wxNotebook * _arg0;
4168 PyObject * _argo0 = 0;
4169 char *_kwnames[] = { "self", NULL };
4170
4171 self = self;
4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_ResizeChildren",_kwnames,&_argo0))
4173 return NULL;
4174 if (_argo0) {
4175 if (_argo0 == Py_None) { _arg0 = NULL; }
4176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
4177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
4178 return NULL;
4179 }
4180 }
4181 {
4182 wxPy_BEGIN_ALLOW_THREADS;
4183 wxNotebook_ResizeChildren(_arg0);
4184
4185 wxPy_END_ALLOW_THREADS;
4186 } Py_INCREF(Py_None);
4187 _resultobj = Py_None;
4188 return _resultobj;
4189 }
4190
4191 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
4192 wxSplitterEvent *src;
4193 wxCommandEvent *dest;
4194 src = (wxSplitterEvent *) ptr;
4195 dest = (wxCommandEvent *) src;
4196 return (void *) dest;
4197 }
4198
4199 static void *SwigwxSplitterEventTowxEvent(void *ptr) {
4200 wxSplitterEvent *src;
4201 wxEvent *dest;
4202 src = (wxSplitterEvent *) ptr;
4203 dest = (wxEvent *) src;
4204 return (void *) dest;
4205 }
4206
4207 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4208 static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4209 PyObject * _resultobj;
4210 int _result;
4211 wxSplitterEvent * _arg0;
4212 PyObject * _argo0 = 0;
4213 char *_kwnames[] = { "self", NULL };
4214
4215 self = self;
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
4217 return NULL;
4218 if (_argo0) {
4219 if (_argo0 == Py_None) { _arg0 = NULL; }
4220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
4221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
4222 return NULL;
4223 }
4224 }
4225 {
4226 wxPy_BEGIN_ALLOW_THREADS;
4227 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
4228
4229 wxPy_END_ALLOW_THREADS;
4230 } _resultobj = Py_BuildValue("i",_result);
4231 return _resultobj;
4232 }
4233
4234 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
4235 static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject * _resultobj;
4237 int _result;
4238 wxSplitterEvent * _arg0;
4239 PyObject * _argo0 = 0;
4240 char *_kwnames[] = { "self", NULL };
4241
4242 self = self;
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
4244 return NULL;
4245 if (_argo0) {
4246 if (_argo0 == Py_None) { _arg0 = NULL; }
4247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
4248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
4249 return NULL;
4250 }
4251 }
4252 {
4253 wxPy_BEGIN_ALLOW_THREADS;
4254 _result = (int )wxSplitterEvent_GetX(_arg0);
4255
4256 wxPy_END_ALLOW_THREADS;
4257 } _resultobj = Py_BuildValue("i",_result);
4258 return _resultobj;
4259 }
4260
4261 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
4262 static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject * _resultobj;
4264 int _result;
4265 wxSplitterEvent * _arg0;
4266 PyObject * _argo0 = 0;
4267 char *_kwnames[] = { "self", NULL };
4268
4269 self = self;
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
4271 return NULL;
4272 if (_argo0) {
4273 if (_argo0 == Py_None) { _arg0 = NULL; }
4274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
4275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
4276 return NULL;
4277 }
4278 }
4279 {
4280 wxPy_BEGIN_ALLOW_THREADS;
4281 _result = (int )wxSplitterEvent_GetY(_arg0);
4282
4283 wxPy_END_ALLOW_THREADS;
4284 } _resultobj = Py_BuildValue("i",_result);
4285 return _resultobj;
4286 }
4287
4288 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
4289 static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject * _resultobj;
4291 wxWindow * _result;
4292 wxSplitterEvent * _arg0;
4293 PyObject * _argo0 = 0;
4294 char *_kwnames[] = { "self", NULL };
4295 char _ptemp[128];
4296
4297 self = self;
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
4299 return NULL;
4300 if (_argo0) {
4301 if (_argo0 == Py_None) { _arg0 = NULL; }
4302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
4303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
4304 return NULL;
4305 }
4306 }
4307 {
4308 wxPy_BEGIN_ALLOW_THREADS;
4309 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
4310
4311 wxPy_END_ALLOW_THREADS;
4312 } if (_result) {
4313 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4314 _resultobj = Py_BuildValue("s",_ptemp);
4315 } else {
4316 Py_INCREF(Py_None);
4317 _resultobj = Py_None;
4318 }
4319 return _resultobj;
4320 }
4321
4322 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
4323 static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4324 PyObject * _resultobj;
4325 wxSplitterEvent * _arg0;
4326 int _arg1;
4327 PyObject * _argo0 = 0;
4328 char *_kwnames[] = { "self","pos", NULL };
4329
4330 self = self;
4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
4332 return NULL;
4333 if (_argo0) {
4334 if (_argo0 == Py_None) { _arg0 = NULL; }
4335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
4336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
4337 return NULL;
4338 }
4339 }
4340 {
4341 wxPy_BEGIN_ALLOW_THREADS;
4342 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
4343
4344 wxPy_END_ALLOW_THREADS;
4345 } Py_INCREF(Py_None);
4346 _resultobj = Py_None;
4347 return _resultobj;
4348 }
4349
4350 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
4351 wxSplitterWindow *src;
4352 wxWindow *dest;
4353 src = (wxSplitterWindow *) ptr;
4354 dest = (wxWindow *) src;
4355 return (void *) dest;
4356 }
4357
4358 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
4359 wxSplitterWindow *src;
4360 wxEvtHandler *dest;
4361 src = (wxSplitterWindow *) ptr;
4362 dest = (wxEvtHandler *) src;
4363 return (void *) dest;
4364 }
4365
4366 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4367 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject * _resultobj;
4369 wxSplitterWindow * _result;
4370 wxWindow * _arg0;
4371 wxWindowID _arg1;
4372 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4373 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4374 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
4375 char * _arg5 = (char *) "splitterWindow";
4376 PyObject * _argo0 = 0;
4377 wxPoint temp;
4378 PyObject * _obj2 = 0;
4379 wxSize temp0;
4380 PyObject * _obj3 = 0;
4381 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
4382 char _ptemp[128];
4383
4384 self = self;
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
4386 return NULL;
4387 if (_argo0) {
4388 if (_argo0 == Py_None) { _arg0 = NULL; }
4389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
4391 return NULL;
4392 }
4393 }
4394 if (_obj2)
4395 {
4396 _arg2 = &temp;
4397 if (! wxPoint_helper(_obj2, &_arg2))
4398 return NULL;
4399 }
4400 if (_obj3)
4401 {
4402 _arg3 = &temp0;
4403 if (! wxSize_helper(_obj3, &_arg3))
4404 return NULL;
4405 }
4406 {
4407 wxPy_BEGIN_ALLOW_THREADS;
4408 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4409
4410 wxPy_END_ALLOW_THREADS;
4411 } if (_result) {
4412 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
4413 _resultobj = Py_BuildValue("s",_ptemp);
4414 } else {
4415 Py_INCREF(Py_None);
4416 _resultobj = Py_None;
4417 }
4418 return _resultobj;
4419 }
4420
4421 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
4422 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject * _resultobj;
4424 int _result;
4425 wxSplitterWindow * _arg0;
4426 PyObject * _argo0 = 0;
4427 char *_kwnames[] = { "self", NULL };
4428
4429 self = self;
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
4431 return NULL;
4432 if (_argo0) {
4433 if (_argo0 == Py_None) { _arg0 = NULL; }
4434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
4436 return NULL;
4437 }
4438 }
4439 {
4440 wxPy_BEGIN_ALLOW_THREADS;
4441 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
4442
4443 wxPy_END_ALLOW_THREADS;
4444 } _resultobj = Py_BuildValue("i",_result);
4445 return _resultobj;
4446 }
4447
4448 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
4449 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject * _resultobj;
4451 int _result;
4452 wxSplitterWindow * _arg0;
4453 PyObject * _argo0 = 0;
4454 char *_kwnames[] = { "self", NULL };
4455
4456 self = self;
4457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
4458 return NULL;
4459 if (_argo0) {
4460 if (_argo0 == Py_None) { _arg0 = NULL; }
4461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4463 return NULL;
4464 }
4465 }
4466 {
4467 wxPy_BEGIN_ALLOW_THREADS;
4468 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
4469
4470 wxPy_END_ALLOW_THREADS;
4471 } _resultobj = Py_BuildValue("i",_result);
4472 return _resultobj;
4473 }
4474
4475 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
4476 static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject * _resultobj;
4478 int _result;
4479 wxSplitterWindow * _arg0;
4480 PyObject * _argo0 = 0;
4481 char *_kwnames[] = { "self", NULL };
4482
4483 self = self;
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0))
4485 return NULL;
4486 if (_argo0) {
4487 if (_argo0 == Py_None) { _arg0 = NULL; }
4488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
4490 return NULL;
4491 }
4492 }
4493 {
4494 wxPy_BEGIN_ALLOW_THREADS;
4495 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
4496
4497 wxPy_END_ALLOW_THREADS;
4498 } _resultobj = Py_BuildValue("i",_result);
4499 return _resultobj;
4500 }
4501
4502 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
4503 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject * _resultobj;
4505 int _result;
4506 wxSplitterWindow * _arg0;
4507 PyObject * _argo0 = 0;
4508 char *_kwnames[] = { "self", NULL };
4509
4510 self = self;
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
4512 return NULL;
4513 if (_argo0) {
4514 if (_argo0 == Py_None) { _arg0 = NULL; }
4515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
4517 return NULL;
4518 }
4519 }
4520 {
4521 wxPy_BEGIN_ALLOW_THREADS;
4522 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
4523
4524 wxPy_END_ALLOW_THREADS;
4525 } _resultobj = Py_BuildValue("i",_result);
4526 return _resultobj;
4527 }
4528
4529 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
4530 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject * _resultobj;
4532 int _result;
4533 wxSplitterWindow * _arg0;
4534 PyObject * _argo0 = 0;
4535 char *_kwnames[] = { "self", NULL };
4536
4537 self = self;
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
4539 return NULL;
4540 if (_argo0) {
4541 if (_argo0 == Py_None) { _arg0 = NULL; }
4542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
4544 return NULL;
4545 }
4546 }
4547 {
4548 wxPy_BEGIN_ALLOW_THREADS;
4549 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
4550
4551 wxPy_END_ALLOW_THREADS;
4552 } _resultobj = Py_BuildValue("i",_result);
4553 return _resultobj;
4554 }
4555
4556 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
4557 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4558 PyObject * _resultobj;
4559 wxWindow * _result;
4560 wxSplitterWindow * _arg0;
4561 PyObject * _argo0 = 0;
4562 char *_kwnames[] = { "self", NULL };
4563 char _ptemp[128];
4564
4565 self = self;
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
4567 return NULL;
4568 if (_argo0) {
4569 if (_argo0 == Py_None) { _arg0 = NULL; }
4570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
4572 return NULL;
4573 }
4574 }
4575 {
4576 wxPy_BEGIN_ALLOW_THREADS;
4577 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
4578
4579 wxPy_END_ALLOW_THREADS;
4580 } if (_result) {
4581 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4582 _resultobj = Py_BuildValue("s",_ptemp);
4583 } else {
4584 Py_INCREF(Py_None);
4585 _resultobj = Py_None;
4586 }
4587 return _resultobj;
4588 }
4589
4590 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
4591 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4592 PyObject * _resultobj;
4593 wxWindow * _result;
4594 wxSplitterWindow * _arg0;
4595 PyObject * _argo0 = 0;
4596 char *_kwnames[] = { "self", NULL };
4597 char _ptemp[128];
4598
4599 self = self;
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
4601 return NULL;
4602 if (_argo0) {
4603 if (_argo0 == Py_None) { _arg0 = NULL; }
4604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
4606 return NULL;
4607 }
4608 }
4609 {
4610 wxPy_BEGIN_ALLOW_THREADS;
4611 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
4612
4613 wxPy_END_ALLOW_THREADS;
4614 } if (_result) {
4615 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
4616 _resultobj = Py_BuildValue("s",_ptemp);
4617 } else {
4618 Py_INCREF(Py_None);
4619 _resultobj = Py_None;
4620 }
4621 return _resultobj;
4622 }
4623
4624 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
4625 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4626 PyObject * _resultobj;
4627 wxSplitterWindow * _arg0;
4628 wxWindow * _arg1;
4629 PyObject * _argo0 = 0;
4630 PyObject * _argo1 = 0;
4631 char *_kwnames[] = { "self","window", NULL };
4632
4633 self = self;
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
4635 return NULL;
4636 if (_argo0) {
4637 if (_argo0 == Py_None) { _arg0 = NULL; }
4638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
4640 return NULL;
4641 }
4642 }
4643 if (_argo1) {
4644 if (_argo1 == Py_None) { _arg1 = NULL; }
4645 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4646 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
4647 return NULL;
4648 }
4649 }
4650 {
4651 wxPy_BEGIN_ALLOW_THREADS;
4652 wxSplitterWindow_Initialize(_arg0,_arg1);
4653
4654 wxPy_END_ALLOW_THREADS;
4655 } Py_INCREF(Py_None);
4656 _resultobj = Py_None;
4657 return _resultobj;
4658 }
4659
4660 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
4661 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject * _resultobj;
4663 bool _result;
4664 wxSplitterWindow * _arg0;
4665 PyObject * _argo0 = 0;
4666 char *_kwnames[] = { "self", NULL };
4667
4668 self = self;
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
4670 return NULL;
4671 if (_argo0) {
4672 if (_argo0 == Py_None) { _arg0 = NULL; }
4673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
4675 return NULL;
4676 }
4677 }
4678 {
4679 wxPy_BEGIN_ALLOW_THREADS;
4680 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
4681
4682 wxPy_END_ALLOW_THREADS;
4683 } _resultobj = Py_BuildValue("i",_result);
4684 return _resultobj;
4685 }
4686
4687 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
4688 static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4689 PyObject * _resultobj;
4690 bool _result;
4691 wxSplitterWindow * _arg0;
4692 wxWindow * _arg1;
4693 wxWindow * _arg2;
4694 PyObject * _argo0 = 0;
4695 PyObject * _argo1 = 0;
4696 PyObject * _argo2 = 0;
4697 char *_kwnames[] = { "self","winOld","winNew", NULL };
4698
4699 self = self;
4700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2))
4701 return NULL;
4702 if (_argo0) {
4703 if (_argo0 == Py_None) { _arg0 = NULL; }
4704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
4706 return NULL;
4707 }
4708 }
4709 if (_argo1) {
4710 if (_argo1 == Py_None) { _arg1 = NULL; }
4711 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4712 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
4713 return NULL;
4714 }
4715 }
4716 if (_argo2) {
4717 if (_argo2 == Py_None) { _arg2 = NULL; }
4718 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
4719 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
4720 return NULL;
4721 }
4722 }
4723 {
4724 wxPy_BEGIN_ALLOW_THREADS;
4725 _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2);
4726
4727 wxPy_END_ALLOW_THREADS;
4728 } _resultobj = Py_BuildValue("i",_result);
4729 return _resultobj;
4730 }
4731
4732 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
4733 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4734 PyObject * _resultobj;
4735 wxSplitterWindow * _arg0;
4736 int _arg1;
4737 PyObject * _argo0 = 0;
4738 char *_kwnames[] = { "self","width", NULL };
4739
4740 self = self;
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
4742 return NULL;
4743 if (_argo0) {
4744 if (_argo0 == Py_None) { _arg0 = NULL; }
4745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
4747 return NULL;
4748 }
4749 }
4750 {
4751 wxPy_BEGIN_ALLOW_THREADS;
4752 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
4753
4754 wxPy_END_ALLOW_THREADS;
4755 } Py_INCREF(Py_None);
4756 _resultobj = Py_None;
4757 return _resultobj;
4758 }
4759
4760 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
4761 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4762 PyObject * _resultobj;
4763 wxSplitterWindow * _arg0;
4764 int _arg1;
4765 int _arg2 = (int ) TRUE;
4766 PyObject * _argo0 = 0;
4767 char *_kwnames[] = { "self","position","redraw", NULL };
4768
4769 self = self;
4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&_arg2))
4771 return NULL;
4772 if (_argo0) {
4773 if (_argo0 == Py_None) { _arg0 = NULL; }
4774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
4776 return NULL;
4777 }
4778 }
4779 {
4780 wxPy_BEGIN_ALLOW_THREADS;
4781 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
4782
4783 wxPy_END_ALLOW_THREADS;
4784 } Py_INCREF(Py_None);
4785 _resultobj = Py_None;
4786 return _resultobj;
4787 }
4788
4789 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
4790 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4791 PyObject * _resultobj;
4792 wxSplitterWindow * _arg0;
4793 int _arg1;
4794 PyObject * _argo0 = 0;
4795 char *_kwnames[] = { "self","width", NULL };
4796
4797 self = self;
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
4799 return NULL;
4800 if (_argo0) {
4801 if (_argo0 == Py_None) { _arg0 = NULL; }
4802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
4804 return NULL;
4805 }
4806 }
4807 {
4808 wxPy_BEGIN_ALLOW_THREADS;
4809 wxSplitterWindow_SetSashSize(_arg0,_arg1);
4810
4811 wxPy_END_ALLOW_THREADS;
4812 } Py_INCREF(Py_None);
4813 _resultobj = Py_None;
4814 return _resultobj;
4815 }
4816
4817 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
4818 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4819 PyObject * _resultobj;
4820 wxSplitterWindow * _arg0;
4821 int _arg1;
4822 PyObject * _argo0 = 0;
4823 char *_kwnames[] = { "self","paneSize", NULL };
4824
4825 self = self;
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
4827 return NULL;
4828 if (_argo0) {
4829 if (_argo0 == Py_None) { _arg0 = NULL; }
4830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
4832 return NULL;
4833 }
4834 }
4835 {
4836 wxPy_BEGIN_ALLOW_THREADS;
4837 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
4838
4839 wxPy_END_ALLOW_THREADS;
4840 } Py_INCREF(Py_None);
4841 _resultobj = Py_None;
4842 return _resultobj;
4843 }
4844
4845 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
4846 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4847 PyObject * _resultobj;
4848 wxSplitterWindow * _arg0;
4849 int _arg1;
4850 PyObject * _argo0 = 0;
4851 char *_kwnames[] = { "self","mode", NULL };
4852
4853 self = self;
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
4855 return NULL;
4856 if (_argo0) {
4857 if (_argo0 == Py_None) { _arg0 = NULL; }
4858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
4860 return NULL;
4861 }
4862 }
4863 {
4864 wxPy_BEGIN_ALLOW_THREADS;
4865 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
4866
4867 wxPy_END_ALLOW_THREADS;
4868 } Py_INCREF(Py_None);
4869 _resultobj = Py_None;
4870 return _resultobj;
4871 }
4872
4873 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
4874 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject * _resultobj;
4876 bool _result;
4877 wxSplitterWindow * _arg0;
4878 wxWindow * _arg1;
4879 wxWindow * _arg2;
4880 int _arg3 = (int ) 0;
4881 PyObject * _argo0 = 0;
4882 PyObject * _argo1 = 0;
4883 PyObject * _argo2 = 0;
4884 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
4885
4886 self = self;
4887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
4888 return NULL;
4889 if (_argo0) {
4890 if (_argo0 == Py_None) { _arg0 = NULL; }
4891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
4893 return NULL;
4894 }
4895 }
4896 if (_argo1) {
4897 if (_argo1 == Py_None) { _arg1 = NULL; }
4898 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4900 return NULL;
4901 }
4902 }
4903 if (_argo2) {
4904 if (_argo2 == Py_None) { _arg2 = NULL; }
4905 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
4906 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
4907 return NULL;
4908 }
4909 }
4910 {
4911 wxPy_BEGIN_ALLOW_THREADS;
4912 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
4913
4914 wxPy_END_ALLOW_THREADS;
4915 } _resultobj = Py_BuildValue("i",_result);
4916 return _resultobj;
4917 }
4918
4919 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
4920 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4921 PyObject * _resultobj;
4922 bool _result;
4923 wxSplitterWindow * _arg0;
4924 wxWindow * _arg1;
4925 wxWindow * _arg2;
4926 int _arg3 = (int ) 0;
4927 PyObject * _argo0 = 0;
4928 PyObject * _argo1 = 0;
4929 PyObject * _argo2 = 0;
4930 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
4931
4932 self = self;
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
4934 return NULL;
4935 if (_argo0) {
4936 if (_argo0 == Py_None) { _arg0 = NULL; }
4937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
4939 return NULL;
4940 }
4941 }
4942 if (_argo1) {
4943 if (_argo1 == Py_None) { _arg1 = NULL; }
4944 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4945 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4946 return NULL;
4947 }
4948 }
4949 if (_argo2) {
4950 if (_argo2 == Py_None) { _arg2 = NULL; }
4951 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
4952 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
4953 return NULL;
4954 }
4955 }
4956 {
4957 wxPy_BEGIN_ALLOW_THREADS;
4958 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
4959
4960 wxPy_END_ALLOW_THREADS;
4961 } _resultobj = Py_BuildValue("i",_result);
4962 return _resultobj;
4963 }
4964
4965 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
4966 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject * _resultobj;
4968 bool _result;
4969 wxSplitterWindow * _arg0;
4970 wxWindow * _arg1 = (wxWindow *) NULL;
4971 PyObject * _argo0 = 0;
4972 PyObject * _argo1 = 0;
4973 char *_kwnames[] = { "self","toRemove", NULL };
4974
4975 self = self;
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
4977 return NULL;
4978 if (_argo0) {
4979 if (_argo0 == Py_None) { _arg0 = NULL; }
4980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
4981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
4982 return NULL;
4983 }
4984 }
4985 if (_argo1) {
4986 if (_argo1 == Py_None) { _arg1 = NULL; }
4987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
4989 return NULL;
4990 }
4991 }
4992 {
4993 wxPy_BEGIN_ALLOW_THREADS;
4994 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
4995
4996 wxPy_END_ALLOW_THREADS;
4997 } _resultobj = Py_BuildValue("i",_result);
4998 return _resultobj;
4999 }
5000
5001 static PyMethodDef windows2cMethods[] = {
5002 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
5003 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
5004 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
5005 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
5006 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
5007 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
5008 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
5009 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
5010 { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
5011 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
5012 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
5013 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
5014 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
5015 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
5016 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
5017 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5018 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
5019 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
5020 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
5021 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
5022 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
5023 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
5024 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
5025 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5026 { "wxNotebook_ResizeChildren", (PyCFunction) _wrap_wxNotebook_ResizeChildren, METH_VARARGS | METH_KEYWORDS },
5027 { "wxNotebook_GetPage", (PyCFunction) _wrap_wxNotebook_GetPage, METH_VARARGS | METH_KEYWORDS },
5028 { "wxNotebook_AddPage", (PyCFunction) _wrap_wxNotebook_AddPage, METH_VARARGS | METH_KEYWORDS },
5029 { "wxNotebook_DeleteAllPages", (PyCFunction) _wrap_wxNotebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
5030 { "wxNotebook_RemovePage", (PyCFunction) _wrap_wxNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS },
5031 { "wxNotebook_DeletePage", (PyCFunction) _wrap_wxNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS },
5032 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
5033 { "wxNotebook_SetPageImage", (PyCFunction) _wrap_wxNotebook_SetPageImage, METH_VARARGS | METH_KEYWORDS },
5034 { "wxNotebook_GetPageImage", (PyCFunction) _wrap_wxNotebook_GetPageImage, METH_VARARGS | METH_KEYWORDS },
5035 { "wxNotebook_GetImageList", (PyCFunction) _wrap_wxNotebook_GetImageList, METH_VARARGS | METH_KEYWORDS },
5036 { "wxNotebook_SetImageList", (PyCFunction) _wrap_wxNotebook_SetImageList, METH_VARARGS | METH_KEYWORDS },
5037 { "wxNotebook_GetPageText", (PyCFunction) _wrap_wxNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS },
5038 { "wxNotebook_SetPageText", (PyCFunction) _wrap_wxNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS },
5039 { "wxNotebook_GetSelection", (PyCFunction) _wrap_wxNotebook_GetSelection, METH_VARARGS | METH_KEYWORDS },
5040 { "wxNotebook_AdvanceSelection", (PyCFunction) _wrap_wxNotebook_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
5041 { "wxNotebook_SetSelection", (PyCFunction) _wrap_wxNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS },
5042 { "wxNotebook_GetPageCount", (PyCFunction) _wrap_wxNotebook_GetPageCount, METH_VARARGS | METH_KEYWORDS },
5043 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
5044 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
5045 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
5046 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
5047 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
5048 { "wxGridEvent_GetCell", (PyCFunction) _wrap_wxGridEvent_GetCell, METH_VARARGS | METH_KEYWORDS },
5049 { "wxGridEvent_ShiftDown", (PyCFunction) _wrap_wxGridEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
5050 { "wxGridEvent_ControlDown", (PyCFunction) _wrap_wxGridEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
5051 { "wxGridEvent_GetPosition", (PyCFunction) _wrap_wxGridEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
5052 { "wxGridEvent_GetCol", (PyCFunction) _wrap_wxGridEvent_GetCol, METH_VARARGS | METH_KEYWORDS },
5053 { "wxGridEvent_GetRow", (PyCFunction) _wrap_wxGridEvent_GetRow, METH_VARARGS | METH_KEYWORDS },
5054 { "wxGridEvent_m_cell_get", (PyCFunction) _wrap_wxGridEvent_m_cell_get, METH_VARARGS | METH_KEYWORDS },
5055 { "wxGridEvent_m_cell_set", (PyCFunction) _wrap_wxGridEvent_m_cell_set, METH_VARARGS | METH_KEYWORDS },
5056 { "wxGridEvent_m_shift_get", (PyCFunction) _wrap_wxGridEvent_m_shift_get, METH_VARARGS | METH_KEYWORDS },
5057 { "wxGridEvent_m_shift_set", (PyCFunction) _wrap_wxGridEvent_m_shift_set, METH_VARARGS | METH_KEYWORDS },
5058 { "wxGridEvent_m_control_get", (PyCFunction) _wrap_wxGridEvent_m_control_get, METH_VARARGS | METH_KEYWORDS },
5059 { "wxGridEvent_m_control_set", (PyCFunction) _wrap_wxGridEvent_m_control_set, METH_VARARGS | METH_KEYWORDS },
5060 { "wxGridEvent_m_y_get", (PyCFunction) _wrap_wxGridEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
5061 { "wxGridEvent_m_y_set", (PyCFunction) _wrap_wxGridEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
5062 { "wxGridEvent_m_x_get", (PyCFunction) _wrap_wxGridEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
5063 { "wxGridEvent_m_x_set", (PyCFunction) _wrap_wxGridEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
5064 { "wxGridEvent_m_col_get", (PyCFunction) _wrap_wxGridEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
5065 { "wxGridEvent_m_col_set", (PyCFunction) _wrap_wxGridEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
5066 { "wxGridEvent_m_row_get", (PyCFunction) _wrap_wxGridEvent_m_row_get, METH_VARARGS | METH_KEYWORDS },
5067 { "wxGridEvent_m_row_set", (PyCFunction) _wrap_wxGridEvent_m_row_set, METH_VARARGS | METH_KEYWORDS },
5068 { "wxGrid_SetEditInPlace", (PyCFunction) _wrap_wxGrid_SetEditInPlace, METH_VARARGS | METH_KEYWORDS },
5069 { "wxGrid_GetEditInPlace", (PyCFunction) _wrap_wxGrid_GetEditInPlace, METH_VARARGS | METH_KEYWORDS },
5070 { "wxGrid_UpdateDimensions", (PyCFunction) _wrap_wxGrid_UpdateDimensions, METH_VARARGS | METH_KEYWORDS },
5071 { "wxGrid_SetRowHeight", (PyCFunction) _wrap_wxGrid_SetRowHeight, METH_VARARGS | METH_KEYWORDS },
5072 { "wxGrid_SetLabelValue", (PyCFunction) _wrap_wxGrid_SetLabelValue, METH_VARARGS | METH_KEYWORDS },
5073 { "wxGrid_SetLabelTextFont", (PyCFunction) _wrap_wxGrid_SetLabelTextFont, METH_VARARGS | METH_KEYWORDS },
5074 { "wxGrid_SetLabelTextColour", (PyCFunction) _wrap_wxGrid_SetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
5075 { "wxGrid_SetLabelSize", (PyCFunction) _wrap_wxGrid_SetLabelSize, METH_VARARGS | METH_KEYWORDS },
5076 { "wxGrid_SetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_SetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5077 { "wxGrid_SetLabelAlignment", (PyCFunction) _wrap_wxGrid_SetLabelAlignment, METH_VARARGS | METH_KEYWORDS },
5078 { "wxGrid_SetGridCursor", (PyCFunction) _wrap_wxGrid_SetGridCursor, METH_VARARGS | METH_KEYWORDS },
5079 { "wxGrid_SetEditable", (PyCFunction) _wrap_wxGrid_SetEditable, METH_VARARGS | METH_KEYWORDS },
5080 { "wxGrid_SetDividerPen", (PyCFunction) _wrap_wxGrid_SetDividerPen, METH_VARARGS | METH_KEYWORDS },
5081 { "wxGrid_SetColumnWidth", (PyCFunction) _wrap_wxGrid_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5082 { "wxGrid_SetCellValue", (PyCFunction) _wrap_wxGrid_SetCellValue, METH_VARARGS | METH_KEYWORDS },
5083 { "wxGrid_SetDefCellTextFont", (PyCFunction) _wrap_wxGrid_SetDefCellTextFont, METH_VARARGS | METH_KEYWORDS },
5084 { "wxGrid_SetCellTextFont", (PyCFunction) _wrap_wxGrid_SetCellTextFont, METH_VARARGS | METH_KEYWORDS },
5085 { "wxGrid_SetDefCellTextColour", (PyCFunction) _wrap_wxGrid_SetDefCellTextColour, METH_VARARGS | METH_KEYWORDS },
5086 { "wxGrid_SetCellTextColour", (PyCFunction) _wrap_wxGrid_SetCellTextColour, METH_VARARGS | METH_KEYWORDS },
5087 { "wxGrid_SetDefCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetDefCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5088 { "wxGrid_SetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_SetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5089 { "wxGrid_SetDefCellAlignment", (PyCFunction) _wrap_wxGrid_SetDefCellAlignment, METH_VARARGS | METH_KEYWORDS },
5090 { "wxGrid_SetCellAlignment", (PyCFunction) _wrap_wxGrid_SetCellAlignment, METH_VARARGS | METH_KEYWORDS },
5091 { "wxGrid_OnActivate", (PyCFunction) _wrap_wxGrid_OnActivate, METH_VARARGS | METH_KEYWORDS },
5092 { "wxGrid_InsertRows", (PyCFunction) _wrap_wxGrid_InsertRows, METH_VARARGS | METH_KEYWORDS },
5093 { "wxGrid_InsertCols", (PyCFunction) _wrap_wxGrid_InsertCols, METH_VARARGS | METH_KEYWORDS },
5094 { "wxGrid_GetVertScrollBar", (PyCFunction) _wrap_wxGrid_GetVertScrollBar, METH_VARARGS | METH_KEYWORDS },
5095 { "wxGrid_GetTextItem", (PyCFunction) _wrap_wxGrid_GetTextItem, METH_VARARGS | METH_KEYWORDS },
5096 { "wxGrid_GetScrollPosY", (PyCFunction) _wrap_wxGrid_GetScrollPosY, METH_VARARGS | METH_KEYWORDS },
5097 { "wxGrid_GetScrollPosX", (PyCFunction) _wrap_wxGrid_GetScrollPosX, METH_VARARGS | METH_KEYWORDS },
5098 { "wxGrid_GetRows", (PyCFunction) _wrap_wxGrid_GetRows, METH_VARARGS | METH_KEYWORDS },
5099 { "wxGrid_GetRowHeight", (PyCFunction) _wrap_wxGrid_GetRowHeight, METH_VARARGS | METH_KEYWORDS },
5100 { "wxGrid_GetLabelValue", (PyCFunction) _wrap_wxGrid_GetLabelValue, METH_VARARGS | METH_KEYWORDS },
5101 { "wxGrid_GetLabelTextFont", (PyCFunction) _wrap_wxGrid_GetLabelTextFont, METH_VARARGS | METH_KEYWORDS },
5102 { "wxGrid_GetLabelTextColour", (PyCFunction) _wrap_wxGrid_GetLabelTextColour, METH_VARARGS | METH_KEYWORDS },
5103 { "wxGrid_GetLabelSize", (PyCFunction) _wrap_wxGrid_GetLabelSize, METH_VARARGS | METH_KEYWORDS },
5104 { "wxGrid_GetLabelBackgroundColour", (PyCFunction) _wrap_wxGrid_GetLabelBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5105 { "wxGrid_GetLabelAlignment", (PyCFunction) _wrap_wxGrid_GetLabelAlignment, METH_VARARGS | METH_KEYWORDS },
5106 { "wxGrid_GetHorizScrollBar", (PyCFunction) _wrap_wxGrid_GetHorizScrollBar, METH_VARARGS | METH_KEYWORDS },
5107 { "wxGrid_GetEditable", (PyCFunction) _wrap_wxGrid_GetEditable, METH_VARARGS | METH_KEYWORDS },
5108 { "wxGrid_GetCursorRow", (PyCFunction) _wrap_wxGrid_GetCursorRow, METH_VARARGS | METH_KEYWORDS },
5109 { "wxGrid_GetCursorColumn", (PyCFunction) _wrap_wxGrid_GetCursorColumn, METH_VARARGS | METH_KEYWORDS },
5110 { "wxGrid_GetCurrentRect", (PyCFunction) _wrap_wxGrid_GetCurrentRect, METH_VARARGS | METH_KEYWORDS },
5111 { "wxGrid_GetColumnWidth", (PyCFunction) _wrap_wxGrid_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
5112 { "wxGrid_GetCols", (PyCFunction) _wrap_wxGrid_GetCols, METH_VARARGS | METH_KEYWORDS },
5113 { "wxGrid_GetCellValue", (PyCFunction) _wrap_wxGrid_GetCellValue, METH_VARARGS | METH_KEYWORDS },
5114 { "wxGrid_GetDefCellTextFont", (PyCFunction) _wrap_wxGrid_GetDefCellTextFont, METH_VARARGS | METH_KEYWORDS },
5115 { "wxGrid_GetCellTextFont", (PyCFunction) _wrap_wxGrid_GetCellTextFont, METH_VARARGS | METH_KEYWORDS },
5116 { "wxGrid_GetDefCellTextColour", (PyCFunction) _wrap_wxGrid_GetDefCellTextColour, METH_VARARGS | METH_KEYWORDS },
5117 { "wxGrid_GetCellTextColour", (PyCFunction) _wrap_wxGrid_GetCellTextColour, METH_VARARGS | METH_KEYWORDS },
5118 { "wxGrid_GetCells", (PyCFunction) _wrap_wxGrid_GetCells, METH_VARARGS | METH_KEYWORDS },
5119 { "wxGrid_GetDefCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetDefCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5120 { "wxGrid_GetCellBackgroundColour", (PyCFunction) _wrap_wxGrid_GetCellBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5121 { "wxGrid_GetDefCellAlignment", (PyCFunction) _wrap_wxGrid_GetDefCellAlignment, METH_VARARGS | METH_KEYWORDS },
5122 { "wxGrid_GetCellAlignment", (PyCFunction) _wrap_wxGrid_GetCellAlignment, METH_VARARGS | METH_KEYWORDS },
5123 { "wxGrid_GetCell", (PyCFunction) _wrap_wxGrid_GetCell, METH_VARARGS | METH_KEYWORDS },
5124 { "wxGrid_GetBatchCount", (PyCFunction) _wrap_wxGrid_GetBatchCount, METH_VARARGS | METH_KEYWORDS },
5125 { "wxGrid_EndBatch", (PyCFunction) _wrap_wxGrid_EndBatch, METH_VARARGS | METH_KEYWORDS },
5126 { "wxGrid_DeleteRows", (PyCFunction) _wrap_wxGrid_DeleteRows, METH_VARARGS | METH_KEYWORDS },
5127 { "wxGrid_DeleteCols", (PyCFunction) _wrap_wxGrid_DeleteCols, METH_VARARGS | METH_KEYWORDS },
5128 { "wxGrid_CurrentCellVisible", (PyCFunction) _wrap_wxGrid_CurrentCellVisible, METH_VARARGS | METH_KEYWORDS },
5129 { "wxGrid_CreateGrid", (PyCFunction) _wrap_wxGrid_CreateGrid, METH_VARARGS | METH_KEYWORDS },
5130 { "wxGrid_CellHitTest", (PyCFunction) _wrap_wxGrid_CellHitTest, METH_VARARGS | METH_KEYWORDS },
5131 { "wxGrid_BeginBatch", (PyCFunction) _wrap_wxGrid_BeginBatch, METH_VARARGS | METH_KEYWORDS },
5132 { "wxGrid_AppendRows", (PyCFunction) _wrap_wxGrid_AppendRows, METH_VARARGS | METH_KEYWORDS },
5133 { "wxGrid_AppendCols", (PyCFunction) _wrap_wxGrid_AppendCols, METH_VARARGS | METH_KEYWORDS },
5134 { "wxGrid_AdjustScrollbars", (PyCFunction) _wrap_wxGrid_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
5135 { "new_wxGrid", (PyCFunction) _wrap_new_wxGrid, METH_VARARGS | METH_KEYWORDS },
5136 { "wxGridCell_SetCellBitmap", (PyCFunction) _wrap_wxGridCell_SetCellBitmap, METH_VARARGS | METH_KEYWORDS },
5137 { "wxGridCell_GetCellBitmap", (PyCFunction) _wrap_wxGridCell_GetCellBitmap, METH_VARARGS | METH_KEYWORDS },
5138 { "wxGridCell_SetAlignment", (PyCFunction) _wrap_wxGridCell_SetAlignment, METH_VARARGS | METH_KEYWORDS },
5139 { "wxGridCell_GetAlignment", (PyCFunction) _wrap_wxGridCell_GetAlignment, METH_VARARGS | METH_KEYWORDS },
5140 { "wxGridCell_GetBackgroundBrush", (PyCFunction) _wrap_wxGridCell_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS },
5141 { "wxGridCell_SetBackgroundColour", (PyCFunction) _wrap_wxGridCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5142 { "wxGridCell_GetBackgroundColour", (PyCFunction) _wrap_wxGridCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
5143 { "wxGridCell_SetTextColour", (PyCFunction) _wrap_wxGridCell_SetTextColour, METH_VARARGS | METH_KEYWORDS },
5144 { "wxGridCell_GetTextColour", (PyCFunction) _wrap_wxGridCell_GetTextColour, METH_VARARGS | METH_KEYWORDS },
5145 { "wxGridCell_SetFont", (PyCFunction) _wrap_wxGridCell_SetFont, METH_VARARGS | METH_KEYWORDS },
5146 { "wxGridCell_GetFont", (PyCFunction) _wrap_wxGridCell_GetFont, METH_VARARGS | METH_KEYWORDS },
5147 { "wxGridCell_SetTextValue", (PyCFunction) _wrap_wxGridCell_SetTextValue, METH_VARARGS | METH_KEYWORDS },
5148 { "wxGridCell_GetTextValue", (PyCFunction) _wrap_wxGridCell_GetTextValue, METH_VARARGS | METH_KEYWORDS },
5149 { "delete_wxGridCell", (PyCFunction) _wrap_delete_wxGridCell, METH_VARARGS | METH_KEYWORDS },
5150 { "new_wxGridCell", (PyCFunction) _wrap_new_wxGridCell, METH_VARARGS | METH_KEYWORDS },
5151 { NULL, NULL }
5152 };
5153 #ifdef __cplusplus
5154 }
5155 #endif
5156 /*
5157 * This table is used by the pointer type-checker
5158 */
5159 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5160 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5161 { "_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5162 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5163 { "_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5164 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5165 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
5166 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
5167 { "_wxEvent","_class_wxEvent",0},
5168 { "_class_wxActivateEvent","_wxActivateEvent",0},
5169 { "_signed_long","_long",0},
5170 { "_wxMenuEvent","_class_wxMenuEvent",0},
5171 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5172 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5173 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5174 { "_wxPrintQuality","_wxCoord",0},
5175 { "_wxPrintQuality","_int",0},
5176 { "_wxPrintQuality","_signed_int",0},
5177 { "_wxPrintQuality","_unsigned_int",0},
5178 { "_wxPrintQuality","_wxWindowID",0},
5179 { "_wxPrintQuality","_uint",0},
5180 { "_wxPrintQuality","_EBool",0},
5181 { "_wxPrintQuality","_size_t",0},
5182 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5183 { "_class_wxRegionIterator","_wxRegionIterator",0},
5184 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5185 { "_class_wxMenuBar","_wxMenuBar",0},
5186 { "_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5187 { "_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5188 { "_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler},
5189 { "_class_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5190 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
5191 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
5192 { "_class_wxEvtHandler","_wxEvtHandler",0},
5193 { "_wxPaintEvent","_class_wxPaintEvent",0},
5194 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5195 { "_wxCursor","_class_wxCursor",0},
5196 { "_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5197 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5198 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5199 { "_wxMask","_class_wxMask",0},
5200 { "_wxGrid","_class_wxGrid",0},
5201 { "_wxPen","_class_wxPen",0},
5202 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5203 { "_byte","_unsigned_char",0},
5204 { "_wxDataObject","_class_wxDataObject",0},
5205 { "_wxStaticBox","_class_wxStaticBox",0},
5206 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5207 { "_wxPyDropSource","_class_wxPyDropSource",0},
5208 { "_wxChoice","_class_wxChoice",0},
5209 { "_wxSlider","_class_wxSlider",0},
5210 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
5211 { "_long","_wxDash",0},
5212 { "_long","_unsigned_long",0},
5213 { "_long","_signed_long",0},
5214 { "_wxImageList","_class_wxImageList",0},
5215 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5216 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5217 { "_wxBitmapButton","_class_wxBitmapButton",0},
5218 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5219 { "_class_wxClipboard","_wxClipboard",0},
5220 { "_class_wxGauge","_wxGauge",0},
5221 { "_wxDC","_class_wxDC",0},
5222 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5223 { "_wxSpinEvent","_class_wxSpinEvent",0},
5224 { "_size_t","_wxCoord",0},
5225 { "_size_t","_wxPrintQuality",0},
5226 { "_size_t","_unsigned_int",0},
5227 { "_size_t","_int",0},
5228 { "_size_t","_wxWindowID",0},
5229 { "_size_t","_uint",0},
5230 { "_class_wxRealPoint","_wxRealPoint",0},
5231 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5232 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5233 { "_class_wxMenuItem","_wxMenuItem",0},
5234 { "_class_wxPaintEvent","_wxPaintEvent",0},
5235 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5236 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5237 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
5238 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel},
5239 { "_wxPanel","_class_wxPanel",0},
5240 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5241 { "_wxCheckBox","_class_wxCheckBox",0},
5242 { "_wxPyEvent","_class_wxPyEvent",0},
5243 { "_wxTextCtrl","_class_wxTextCtrl",0},
5244 { "_class_wxMask","_wxMask",0},
5245 { "_wxTextDataObject","_class_wxTextDataObject",0},
5246 { "_class_wxKeyEvent","_wxKeyEvent",0},
5247 { "_class_wxGrid","_wxGrid",0},
5248 { "_wxColour","_class_wxColour",0},
5249 { "_class_wxDialog","_wxDialog",0},
5250 { "_class_wxFileDataObject","_wxFileDataObject",0},
5251 { "_wxIdleEvent","_class_wxIdleEvent",0},
5252 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5253 { "_class_wxDataObject","_wxDataObject",0},
5254 { "_wxStaticLine","_class_wxStaticLine",0},
5255 { "_wxBrush","_class_wxBrush",0},
5256 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
5257 { "_wxDataFormat","_class_wxDataFormat",0},
5258 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5259 { "_wxShowEvent","_class_wxShowEvent",0},
5260 { "_uint","_wxCoord",0},
5261 { "_uint","_wxPrintQuality",0},
5262 { "_uint","_size_t",0},
5263 { "_uint","_unsigned_int",0},
5264 { "_uint","_int",0},
5265 { "_uint","_wxWindowID",0},
5266 { "_wxPyValidator","_class_wxPyValidator",0},
5267 { "_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5268 { "_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5269 { "_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5270 { "_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5271 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent},
5272 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent},
5273 { "_class_wxEvent","_wxEvent",0},
5274 { "_wxCheckListBox","_class_wxCheckListBox",0},
5275 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
5276 { "_wxGridEvent","_class_wxGridEvent",0},
5277 { "_wxRect","_class_wxRect",0},
5278 { "_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5279 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5280 { "_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5281 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5282 { "_wxCommandEvent","_class_wxCommandEvent",0},
5283 { "_wxSizeEvent","_class_wxSizeEvent",0},
5284 { "_wxPoint","_class_wxPoint",0},
5285 { "_class_wxButton","_wxButton",0},
5286 { "_wxRadioBox","_class_wxRadioBox",0},
5287 { "_wxBitmap","_class_wxBitmap",0},
5288 { "_wxPyTimer","_class_wxPyTimer",0},
5289 { "_wxWindowDC","_class_wxWindowDC",0},
5290 { "_wxScrollBar","_class_wxScrollBar",0},
5291 { "_wxSpinButton","_class_wxSpinButton",0},
5292 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5293 { "_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5294 { "_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5295 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5296 { "_class_wxValidator","_wxValidator",0},
5297 { "_class_wxPyEvent","_wxPyEvent",0},
5298 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5299 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5300 { "_wxDropTarget","_class_wxDropTarget",0},
5301 { "_class_wxStaticLine","_wxStaticLine",0},
5302 { "_wxScrollEvent","_class_wxScrollEvent",0},
5303 { "_EBool","_wxCoord",0},
5304 { "_EBool","_wxPrintQuality",0},
5305 { "_EBool","_signed_int",0},
5306 { "_EBool","_int",0},
5307 { "_EBool","_wxWindowID",0},
5308 { "_class_wxRegion","_wxRegion",0},
5309 { "_class_wxDataFormat","_wxDataFormat",0},
5310 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5311 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5312 { "_wxStaticText","_class_wxStaticText",0},
5313 { "_wxFont","_class_wxFont",0},
5314 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5315 { "_wxCloseEvent","_class_wxCloseEvent",0},
5316 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
5317 { "_wxNotebook","_class_wxNotebook",0},
5318 { "_unsigned_long","_wxDash",0},
5319 { "_unsigned_long","_long",0},
5320 { "_class_wxRect","_wxRect",0},
5321 { "_class_wxDC","_wxDC",0},
5322 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5323 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5324 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5325 { "_class_wxPyTimer","_wxPyTimer",0},
5326 { "_wxFocusEvent","_class_wxFocusEvent",0},
5327 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5328 { "_class_wxSpinButton","_wxSpinButton",0},
5329 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5330 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel},
5331 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel},
5332 { "_class_wxPanel","_wxPanel",0},
5333 { "_class_wxCheckBox","_wxCheckBox",0},
5334 { "_wxComboBox","_class_wxComboBox",0},
5335 { "_wxRadioButton","_class_wxRadioButton",0},
5336 { "_signed_int","_wxCoord",0},
5337 { "_signed_int","_wxPrintQuality",0},
5338 { "_signed_int","_EBool",0},
5339 { "_signed_int","_wxWindowID",0},
5340 { "_signed_int","_int",0},
5341 { "_class_wxTextCtrl","_wxTextCtrl",0},
5342 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5343 { "_class_wxTextDataObject","_wxTextDataObject",0},
5344 { "_wxMenu","_class_wxMenu",0},
5345 { "_class_wxMoveEvent","_wxMoveEvent",0},
5346 { "_wxListBox","_class_wxListBox",0},
5347 { "_wxScreenDC","_class_wxScreenDC",0},
5348 { "_WXTYPE","_short",0},
5349 { "_WXTYPE","_signed_short",0},
5350 { "_WXTYPE","_unsigned_short",0},
5351 { "_class_wxDropTarget","_wxDropTarget",0},
5352 { "_class_wxBrush","_wxBrush",0},
5353 { "_unsigned_short","_WXTYPE",0},
5354 { "_unsigned_short","_short",0},
5355 { "_class_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5356 { "_class_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5357 { "_class_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow},
5358 { "_class_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5359 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
5360 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow},
5361 { "_class_wxWindow","_wxWindow",0},
5362 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
5363 { "_class_wxStaticText","_wxStaticText",0},
5364 { "_class_wxFont","_wxFont",0},
5365 { "_wxClipboard","_class_wxClipboard",0},
5366 { "_class_wxPyValidator","_wxPyValidator",0},
5367 { "_class_wxCloseEvent","_wxCloseEvent",0},
5368 { "_wxBusyInfo","_class_wxBusyInfo",0},
5369 { "_class_wxMenuEvent","_wxMenuEvent",0},
5370 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5371 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5372 { "_wxClientDC","_class_wxClientDC",0},
5373 { "_wxMouseEvent","_class_wxMouseEvent",0},
5374 { "_class_wxPoint","_wxPoint",0},
5375 { "_wxRealPoint","_class_wxRealPoint",0},
5376 { "_class_wxRadioBox","_wxRadioBox",0},
5377 { "_wxGridCell","_class_wxGridCell",0},
5378 { "_signed_short","_WXTYPE",0},
5379 { "_signed_short","_short",0},
5380 { "_wxMemoryDC","_class_wxMemoryDC",0},
5381 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5382 { "_wxPaintDC","_class_wxPaintDC",0},
5383 { "_class_wxWindowDC","_wxWindowDC",0},
5384 { "_class_wxFocusEvent","_wxFocusEvent",0},
5385 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5386 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5387 { "_class_wxCursor","_wxCursor",0},
5388 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5389 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5390 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5391 { "_unsigned_char","_byte",0},
5392 { "_class_wxMenu","_wxMenu",0},
5393 { "_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
5394 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5395 { "_wxControl","_class_wxControl",0},
5396 { "_class_wxListBox","_wxListBox",0},
5397 { "_unsigned_int","_wxCoord",0},
5398 { "_unsigned_int","_wxPrintQuality",0},
5399 { "_unsigned_int","_size_t",0},
5400 { "_unsigned_int","_uint",0},
5401 { "_unsigned_int","_wxWindowID",0},
5402 { "_unsigned_int","_int",0},
5403 { "_wxIcon","_class_wxIcon",0},
5404 { "_wxDialog","_class_wxDialog",0},
5405 { "_class_wxPen","_wxPen",0},
5406 { "_short","_WXTYPE",0},
5407 { "_short","_unsigned_short",0},
5408 { "_short","_signed_short",0},
5409 { "_class_wxStaticBox","_wxStaticBox",0},
5410 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5411 { "_class_wxPyDropSource","_wxPyDropSource",0},
5412 { "_class_wxScrollEvent","_wxScrollEvent",0},
5413 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5414 { "_class_wxChoice","_wxChoice",0},
5415 { "_class_wxSlider","_wxSlider",0},
5416 { "_class_wxImageList","_wxImageList",0},
5417 { "_class_wxBitmapButton","_wxBitmapButton",0},
5418 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5419 { "_class_wxNotebook","_wxNotebook",0},
5420 { "_wxWindowID","_wxCoord",0},
5421 { "_wxWindowID","_wxPrintQuality",0},
5422 { "_wxWindowID","_size_t",0},
5423 { "_wxWindowID","_EBool",0},
5424 { "_wxWindowID","_uint",0},
5425 { "_wxWindowID","_int",0},
5426 { "_wxWindowID","_signed_int",0},
5427 { "_wxWindowID","_unsigned_int",0},
5428 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5429 { "_int","_wxCoord",0},
5430 { "_int","_wxPrintQuality",0},
5431 { "_int","_size_t",0},
5432 { "_int","_EBool",0},
5433 { "_int","_uint",0},
5434 { "_int","_wxWindowID",0},
5435 { "_int","_unsigned_int",0},
5436 { "_int","_signed_int",0},
5437 { "_class_wxMouseEvent","_wxMouseEvent",0},
5438 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5439 { "_class_wxSpinEvent","_wxSpinEvent",0},
5440 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5441 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5442 { "_wxButton","_class_wxButton",0},
5443 { "_wxSize","_class_wxSize",0},
5444 { "_wxRegionIterator","_class_wxRegionIterator",0},
5445 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5446 { "_class_wxPaintDC","_wxPaintDC",0},
5447 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5448 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5449 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5450 { "_class_wxComboBox","_wxComboBox",0},
5451 { "_class_wxRadioButton","_wxRadioButton",0},
5452 { "_wxValidator","_class_wxValidator",0},
5453 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5454 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5455 { "_class_wxControl","_class_wxNotebook",SwigwxNotebookTowxControl},
5456 { "_class_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5457 { "_class_wxControl","_wxControl",0},
5458 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5459 { "_class_wxIcon","_wxIcon",0},
5460 { "_class_wxColour","_wxColour",0},
5461 { "_class_wxScreenDC","_wxScreenDC",0},
5462 { "_wxPalette","_class_wxPalette",0},
5463 { "_class_wxIdleEvent","_wxIdleEvent",0},
5464 { "_wxCoord","_int",0},
5465 { "_wxCoord","_signed_int",0},
5466 { "_wxCoord","_unsigned_int",0},
5467 { "_wxCoord","_wxWindowID",0},
5468 { "_wxCoord","_uint",0},
5469 { "_wxCoord","_EBool",0},
5470 { "_wxCoord","_size_t",0},
5471 { "_wxCoord","_wxPrintQuality",0},
5472 { "_wxEraseEvent","_class_wxEraseEvent",0},
5473 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5474 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5475 { "_wxRegion","_class_wxRegion",0},
5476 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
5477 { "_class_wxShowEvent","_wxShowEvent",0},
5478 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5479 { "_wxActivateEvent","_class_wxActivateEvent",0},
5480 { "_wxGauge","_class_wxGauge",0},
5481 { "_class_wxCheckListBox","_wxCheckListBox",0},
5482 { "_class_wxBusyInfo","_wxBusyInfo",0},
5483 { "_class_wxGridEvent","_wxGridEvent",0},
5484 { "_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5485 { "_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5486 { "_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5487 { "_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5488 { "_class_wxCommandEvent","_wxCommandEvent",0},
5489 { "_class_wxClientDC","_wxClientDC",0},
5490 { "_class_wxSizeEvent","_wxSizeEvent",0},
5491 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5492 { "_class_wxGridCell","_wxGridCell",0},
5493 { "_class_wxSize","_wxSize",0},
5494 { "_class_wxBitmap","_wxBitmap",0},
5495 { "_class_wxMemoryDC","_wxMemoryDC",0},
5496 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5497 { "_wxMenuBar","_class_wxMenuBar",0},
5498 { "_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5499 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5500 { "_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler},
5501 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5502 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler},
5503 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler},
5504 { "_wxEvtHandler","_class_wxEvtHandler",0},
5505 { "_wxMenuItem","_class_wxMenuItem",0},
5506 { "_class_wxScrollBar","_wxScrollBar",0},
5507 { "_wxDash","_unsigned_long",0},
5508 { "_wxDash","_long",0},
5509 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5510 { "_wxKeyEvent","_class_wxKeyEvent",0},
5511 { "_wxMoveEvent","_class_wxMoveEvent",0},
5512 { "_class_wxPalette","_wxPalette",0},
5513 { "_wxFileDataObject","_class_wxFileDataObject",0},
5514 { "_class_wxEraseEvent","_wxEraseEvent",0},
5515 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5516 { "_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5517 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5518 { "_wxWindow","_class_wxNotebook",SwigwxNotebookTowxWindow},
5519 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5520 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow},
5521 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow},
5522 { "_wxWindow","_class_wxWindow",0},
5523 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5524 {0,0,0}};
5525
5526 static PyObject *SWIG_globals;
5527 #ifdef __cplusplus
5528 extern "C"
5529 #endif
5530 SWIGEXPORT(void) initwindows2c() {
5531 PyObject *m, *d;
5532 SWIG_globals = SWIG_newvarlink();
5533 m = Py_InitModule("windows2c", windows2cMethods);
5534 d = PyModule_GetDict(m);
5535 PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
5536 PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
5537 PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
5538 PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
5539 PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL));
5540 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS));
5541 PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL));
5542 PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
5543 PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK));
5544 PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK));
5545 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK));
5546 PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK));
5547 {
5548 int i;
5549 for (i = 0; _swig_mapping[i].n1; i++)
5550 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5551 }
5552 }