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