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