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