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